diff --git a/.travis.yml b/.travis.yml
index df3974fea3d657a38d61ab7a55d8ba787f9118d6..868a6c6c238fcb2fe2d3faa232dceee0594521ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,8 +3,11 @@ env:
   - DB=mysql
 before_install:
   - sudo apt-get install libicu-dev -y
-  - sudo apt-get install libqt4-dev libqtwebkit-dev -y
-  - gem install charlock_holmes -v="0.6.8"
+  - wget -P /tmp http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2
+  - tar -xf  /tmp/phantomjs-1.7.0-linux-i686.tar.bz2 -C /tmp/
+  - sudo rm -rf /usr/local/phantomjs
+  - sudo mv /tmp/phantomjs-1.7.0-linux-i686 /usr/local/phantomjs
+  - gem install charlock_holmes -v="0.6.9"
 branches:
   only:
     - 'master'
diff --git a/CHANGELOG b/CHANGELOG
index a4debcc44200f2fd64f8f510aab310c64c57e40b..2eca1f14c4f940181c3a0b7cade93c0a79087cc3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,21 @@
+v 3.1.0
+  - Updated gems
+  - Services: Gitlab CI integration
+  - Events filter on dashboard
+  - Own namespace for redis/resque
+  - Optimized commit diff views
+  - add alphabetical order for projects admin page
+  - Improved web editor
+  - Commit stats page
+  - Documentation split and cleanup
+  - Link to commit authors everywhere
+  - Restyled milestones list
+  - added Milestone to Merge Request
+  - Restyled Top panel
+  - Refactored Satellite Code
+  - Added file line links
+  - moved from capybara-webkit to poltergeist + phantomjs
+
 v 3.0.3
   - Fixed bug with issues list in Chrome
   - New Feature: Import team from another project
@@ -28,7 +46,7 @@ v 3.0.0
   - Reject ssh keys that break gitolite
   - [API] list one project hook
   - [API] edit project hook
-  - [API] add project snippets list
+  - [API] list project snippets
   - [API] allow to authorize using private token in HTTP header
   - [API] add user creation
 
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4b87ac4cff9cb2dbff5c960f3049c8ac5c3b9b20..5f8314462a2bf5ffc23bb23f5805dbe12db8ba9a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,4 +1,4 @@
-## Contribute to GitLab 
+## Contribute to GitLab
 
 If you want to contribute to GitLab, follow this process:
 
@@ -7,24 +7,20 @@ If you want to contribute to GitLab, follow this process:
 3. Code
 4. Create a pull request
 
-We will only accept pull requests if: 
+We will only accept pull requests if:
 
 * Your code has proper tests and all tests pass
-* Your code can be merged w/o problems 
+* Your code can be merged w/o problems
 * It won't break existing functionality
 * It's quality code
 * We like it :)
 
-## [You may need a developer VM](https://github.com/gitlabhq/developer-vm)
+For examples of feedback on pull requests please look at the [closed pull requests](https://github.com/gitlabhq/gitlabhq/pulls?direction=desc&page=1&sort=created&state=closed).
 
-## Running tests
-
-To run the specs for GitLab, you need to run seeds for test db.
+## Installation
 
-    cd gitlabhq
-    rake db:seed_fu RAILS_ENV=test
+Install the Gitlab development in a virtual machine with the [Gitlab Vagrant virtual machine](https://github.com/gitlabhq/gitlab-vagrant-vm). Installing it in a virtual machine makes it much easier to set up all the dependencies for integration testing.
 
-Then you can run the test suite with rake:
-
-    rake gitlab:test
+## Running tests
 
+For more information on running the tests please read the [development tips](https://github.com/gitlabhq/gitlabhq/blob/master/doc/development.md)
diff --git a/Gemfile b/Gemfile
index 65c69e7e629ce9a2975dda5a6f76c9751574359c..f723f587fbc037806250d7e659bb01e7acbca5cd 100644
--- a/Gemfile
+++ b/Gemfile
@@ -8,34 +8,35 @@ def linux_only(require_as)
   RUBY_PLATFORM.include?('linux') && require_as
 end
 
-gem "rails", "3.2.8"
+gem "rails", "3.2.9"
 
 # Supported DBs
-gem "sqlite3", :group => :sqlite
-gem "mysql2", :group => :mysql
-gem "pg", :group => :postgres
+gem "sqlite3", group: :sqlite
+gem "mysql2", group: :mysql
+gem "pg", group: :postgres
 
 # Auth
 gem "devise", "~> 2.1.0"
-gem 'omniauth'
+gem 'omniauth', "~> 1.1.1"
 gem 'omniauth-google-oauth2'
 gem 'omniauth-twitter'
 gem 'omniauth-github'
 
 # GITLAB patched libs
-gem "grit",          :git => "https://github.com/gitlabhq/grit.git",            :ref => "7f35cb98ff17d534a07e3ce6ec3d580f67402837"
-gem "omniauth-ldap", :git => "https://github.com/gitlabhq/omniauth-ldap.git",   :ref => "f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e"
-gem 'yaml_db',       :git => "https://github.com/gitlabhq/yaml_db.git"
-gem 'grack',         :git => "https://github.com/gitlabhq/grack.git"
+gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
+gem "omniauth-ldap", git: "https://github.com/gitlabhq/omniauth-ldap.git",  ref: 'f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e'
+gem 'yaml_db',       git: "https://github.com/gitlabhq/yaml_db.git",        ref: '98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd'
+gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
+gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '212fd40bea61f3c6a167223768e7295dc32bbc10'
 
 # Gitolite client (for work with gitolite-admin repo)
 gem "gitolite", '1.1.0'
 
 # Syntax highlighter
-gem "pygments.rb", "0.3.1"
+gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", ref: '4db80c599067e2d5f23c5c243bf85b8ca0368ad4'
 
 # Language detection
-gem "github-linguist", "~> 2.3.4" , :require => "linguist"
+gem "github-linguist", "~> 2.3.4" , require: "linguist"
 
 # API
 gem "grape", "~> 0.2.1"
@@ -45,13 +46,13 @@ gem "grape", "~> 0.2.1"
 gem "stamp"
 
 # Pagination
-gem "kaminari"
+gem "kaminari", "~> 0.14.1"
 
 # HAML
-gem "haml-rails"
+gem "haml-rails", "~> 0.3.5"
 
 # Files attachments
-gem "carrierwave"
+gem "carrierwave", "~> 0.7.1"
 
 # Authorization
 gem "six"
@@ -63,59 +64,57 @@ gem "ffaker"
 gem "seed-fu"
 
 # Markdown to HTML
-gem "redcarpet",     "~> 2.1.1"
+gem "redcarpet",     "~> 2.2.2"
 gem "github-markup", "~> 0.7.4", require: 'github/markup'
 
 # Servers
-gem "thin"
-gem "unicorn"
+gem "thin", '~> 1.5.0'
+gem "unicorn", "~> 4.4.0"
 
 # Issue tags
-gem "acts-as-taggable-on", "2.3.1"
+gem "acts-as-taggable-on", "2.3.3"
 
 # Decorators
-gem "draper"
+gem "draper", "~> 0.18.0"
 
 # Background jobs
-gem "resque", "~> 1.20.0"
+gem "resque", "~> 1.23.0"
 gem 'resque_mailer'
 
 # HTTP requests
 gem "httparty"
 
-# Handle encodings
-gem "charlock_holmes"
-
 # Colored output to console
 gem "colored"
 
-# GITLAB settings
+# GitLab settings
 gem 'settingslogic'
 
 # Misc
 gem "foreman"
-gem 'gemoji', require: 'emoji/railtie'
 gem "git"
 
 group :assets do
-  gem "sass-rails",   "3.2.5"
-  gem "coffee-rails", "3.2.2"
-  gem "uglifier",     "1.0.3"
+  gem "sass-rails",   "~> 3.2.5"
+  gem "coffee-rails", "~> 3.2.2"
+  gem "uglifier",     "~> 1.3.0"
   gem "therubyracer"
 
-  gem 'chosen-rails'
-  gem 'jquery-atwho-rails', '0.1.6'
-  gem "jquery-rails",     "2.0.2"
-  gem "jquery-ui-rails",  "0.5.0"
-  gem "modernizr",        "2.5.3"
-  gem "raphael-rails",    "1.5.2"
-  gem 'bootstrap-sass',   "2.0.4"
+  gem 'chosen-rails',     "0.9.8"
+  gem 'jquery-atwho-rails', "0.1.6"
+  gem "jquery-rails",     "2.1.3"
+  gem "jquery-ui-rails",  "2.0.2"
+  gem "modernizr",        "2.6.2"
+  gem "raphael-rails",    "2.1.0"
+  gem 'bootstrap-sass',   "2.2.1.1"
   gem "font-awesome-sass-rails", "~> 2.0.0"
+  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
 end
 
 group :development do
+  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
   gem "letter_opener"
-  gem "annotate", :git => "https://github.com/ctran/annotate_models.git"
+  gem 'quiet_assets', '~> 1.0.1'
   gem 'rack-mini-profiler'
 end
 
@@ -124,8 +123,6 @@ group :development, :test do
   gem 'spinach-rails'
   gem "rspec-rails"
   gem "capybara"
-  gem "capybara-webkit"
-  gem "headless"
   gem "pry"
   gem "awesome_print"
   gem "database_cleaner"
@@ -137,14 +134,17 @@ group :development, :test do
   gem 'guard-spinach'
 
   # Notification
-  gem 'rb-fsevent', :require => darwin_only('rb-fsevent')
-  gem 'growl',      :require => darwin_only('growl')
-  gem 'rb-inotify', :require => linux_only('rb-inotify')
+  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
+  gem 'growl',      require: darwin_only('growl')
+  gem 'rb-inotify', require: linux_only('rb-inotify')
+
+  # PhantomJS driver for Capybara
+  gem 'poltergeist'
 end
 
 group :test do
-  gem "simplecov", :require => false
-  gem "shoulda-matchers"
+  gem "simplecov", require: false
+  gem "shoulda-matchers", "1.3.0"
   gem 'email_spec'
   gem 'resque_spec'
   gem "webmock"
@@ -152,5 +152,5 @@ group :test do
 end
 
 group :production do
-  gem "gitlab_meta", '3.0'
+  gem "gitlab_meta", '3.1'
 end
diff --git a/Gemfile.lock b/Gemfile.lock
index 7dd69034b68c6aa25e875f2e193b8dbe1b5332a5..0e3a9810dbe78bbaa6d53f77c548df270b2b98a7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,12 +1,15 @@
 GIT
   remote: https://github.com/ctran/annotate_models.git
-  revision: 18cd39ad01829deba5aa34634b8540d6675ab978
+  revision: be4e26825b521f0b2d86b181e2dff89901aa9b1e
   specs:
-    annotate (2.4.1.beta1)
+    annotate (2.6.0.beta1)
+      activerecord (>= 2.3.0)
+      rake (>= 0.8.7)
 
 GIT
   remote: https://github.com/gitlabhq/grack.git
   revision: ba46f3b0845c6a09d488ae6abdce6ede37e227e8
+  ref: ba46f3b0845c6a09d488ae6abdce6ede37e227e8
   specs:
     grack (1.0.0)
       rack (~> 1.4.1)
@@ -21,6 +24,14 @@ GIT
       mime-types (~> 1.15)
       posix-spawn (~> 0.3.6)
 
+GIT
+  remote: https://github.com/gitlabhq/grit_ext.git
+  revision: 212fd40bea61f3c6a167223768e7295dc32bbc10
+  ref: 212fd40bea61f3c6a167223768e7295dc32bbc10
+  specs:
+    grit_ext (0.6.0)
+      charlock_holmes (~> 0.6.9)
+
 GIT
   remote: https://github.com/gitlabhq/omniauth-ldap.git
   revision: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e
@@ -32,115 +43,126 @@ GIT
       pyu-ruby-sasl (~> 0.0.3.1)
       rubyntlm (~> 0.1.1)
 
+GIT
+  remote: https://github.com/gitlabhq/pygments.rb.git
+  revision: 4db80c599067e2d5f23c5c243bf85b8ca0368ad4
+  ref: 4db80c599067e2d5f23c5c243bf85b8ca0368ad4
+  specs:
+    pygments.rb (0.3.2)
+      posix-spawn (~> 0.3.6)
+      yajl-ruby (~> 1.1.0)
+
 GIT
   remote: https://github.com/gitlabhq/yaml_db.git
   revision: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
+  ref: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
   specs:
     yaml_db (0.2.2)
 
 GEM
   remote: http://rubygems.org/
   specs:
-    actionmailer (3.2.8)
-      actionpack (= 3.2.8)
+    actionmailer (3.2.9)
+      actionpack (= 3.2.9)
       mail (~> 2.4.4)
-    actionpack (3.2.8)
-      activemodel (= 3.2.8)
-      activesupport (= 3.2.8)
+    actionpack (3.2.9)
+      activemodel (= 3.2.9)
+      activesupport (= 3.2.9)
       builder (~> 3.0.0)
       erubis (~> 2.7.0)
       journey (~> 1.0.4)
       rack (~> 1.4.0)
       rack-cache (~> 1.2)
       rack-test (~> 0.6.1)
-      sprockets (~> 2.1.3)
-    activemodel (3.2.8)
-      activesupport (= 3.2.8)
+      sprockets (~> 2.2.1)
+    activemodel (3.2.9)
+      activesupport (= 3.2.9)
       builder (~> 3.0.0)
-    activerecord (3.2.8)
-      activemodel (= 3.2.8)
-      activesupport (= 3.2.8)
+    activerecord (3.2.9)
+      activemodel (= 3.2.9)
+      activesupport (= 3.2.9)
       arel (~> 3.0.2)
       tzinfo (~> 0.3.29)
-    activeresource (3.2.8)
-      activemodel (= 3.2.8)
-      activesupport (= 3.2.8)
-    activesupport (3.2.8)
+    activeresource (3.2.9)
+      activemodel (= 3.2.9)
+      activesupport (= 3.2.9)
+    activesupport (3.2.9)
       i18n (~> 0.6)
       multi_json (~> 1.0)
-    acts-as-taggable-on (2.3.1)
+    acts-as-taggable-on (2.3.3)
       rails (~> 3.0)
-    addressable (2.2.8)
+    addressable (2.3.2)
     arel (3.0.2)
-    awesome_print (1.0.2)
+    awesome_print (1.1.0)
+    backports (2.6.5)
     bcrypt-ruby (3.0.1)
-    blankslate (2.1.2.4)
-    bootstrap-sass (2.0.4.0)
-    builder (3.0.2)
-    capybara (1.1.2)
+    blankslate (3.1.2)
+    bootstrap-sass (2.2.1.1)
+      sass (~> 3.2)
+    builder (3.0.4)
+    capybara (1.1.3)
       mime-types (>= 1.16)
       nokogiri (>= 1.3.3)
       rack (>= 1.0.0)
       rack-test (>= 0.5.4)
       selenium-webdriver (~> 2.0)
       xpath (~> 0.1.4)
-    capybara-webkit (0.12.1)
-      capybara (>= 1.0.0, < 1.2)
-      json
-    carrierwave (0.6.2)
+    carrierwave (0.7.1)
       activemodel (>= 3.2.0)
       activesupport (>= 3.2.0)
-    charlock_holmes (0.6.8)
-    childprocess (0.3.2)
-      ffi (~> 1.0.6)
-    chosen-rails (0.9.8.3)
+    charlock_holmes (0.6.9)
+    childprocess (0.3.6)
+      ffi (~> 1.0, >= 1.0.6)
+    chosen-rails (0.9.8)
       railties (~> 3.0)
       thor (~> 0.14)
-    coderay (1.0.6)
+    coderay (1.0.8)
     coffee-rails (3.2.2)
       coffee-script (>= 2.2.0)
       railties (~> 3.2.0)
     coffee-script (2.2.0)
       coffee-script-source
       execjs
-    coffee-script-source (1.3.3)
+    coffee-script-source (1.4.0)
     colored (1.2)
     colorize (0.5.8)
     crack (0.3.1)
-    daemons (1.1.8)
-    database_cleaner (0.8.0)
+    daemons (1.1.9)
+    database_cleaner (0.9.1)
     devise (2.1.2)
       bcrypt-ruby (~> 3.0)
       orm_adapter (~> 0.1)
       railties (~> 3.1)
       warden (~> 1.2.1)
     diff-lcs (1.1.3)
-    draper (0.17.0)
+    draper (0.18.0)
       actionpack (~> 3.2)
       activesupport (~> 3.2)
-    email_spec (1.2.1)
+    email_spec (1.4.0)
+      launchy (~> 2.1)
       mail (~> 2.2)
-      rspec (~> 2.0)
     erubis (2.7.0)
     escape_utils (0.2.4)
-    eventmachine (0.12.10)
+    eventmachine (1.0.0)
     execjs (1.4.0)
       multi_json (~> 1.0)
-    factory_girl (4.0.0)
+    factory_girl (4.1.0)
       activesupport (>= 3.0.0)
-    factory_girl_rails (4.0.0)
-      factory_girl (~> 4.0.0)
+    factory_girl_rails (4.1.0)
+      factory_girl (~> 4.1.0)
       railties (>= 3.0.0)
     faraday (0.8.4)
       multipart-post (~> 1.1)
-    ffaker (1.14.0)
-    ffi (1.0.11)
+    faye-websocket (0.4.6)
+      eventmachine (>= 0.12.0)
+    ffaker (1.15.0)
+    ffi (1.1.5)
     font-awesome-sass-rails (2.0.0.0)
       railties (>= 3.1.1)
       sass-rails (>= 3.1.1)
-    foreman (0.47.0)
+    foreman (0.60.2)
       thor (>= 0.13.6)
-    gemoji (1.1.1)
+    gemoji (1.2.1)
     gherkin-ruby (0.2.1)
     git (1.2.5)
     github-linguist (2.3.4)
@@ -149,80 +171,87 @@ GEM
       mime-types (~> 1.19)
       pygments.rb (>= 0.2.13)
     github-markup (0.7.4)
-    gitlab_meta (3.0)
+    gitlab_meta (3.1)
     gitolite (1.1.0)
       gratr19 (~> 0.4.4.1)
       grit (~> 2.5.0)
       hashery (~> 1.5.0)
-    grape (0.2.1)
+    grape (0.2.2)
+      activesupport
       hashie (~> 1.2)
-      multi_json
+      multi_json (>= 1.3.2)
       multi_xml
       rack
+      rack-accept
       rack-mount
+      virtus
     gratr19 (0.4.4.1)
     growl (1.0.3)
-    guard (1.3.2)
+    guard (1.5.4)
       listen (>= 0.4.2)
+      lumberjack (>= 1.0.2)
+      pry (>= 0.9.10)
       thor (>= 0.14.6)
-    guard-rspec (1.2.1)
+    guard-rspec (2.1.2)
       guard (>= 1.1)
+      rspec (~> 2.11)
     guard-spinach (0.0.2)
       guard (>= 1.1)
       spinach
-    haml (3.1.6)
-    haml-rails (0.3.4)
-      actionpack (~> 3.0)
-      activesupport (~> 3.0)
-      haml (~> 3.0)
-      railties (~> 3.0)
+    haml (3.1.7)
+    haml-rails (0.3.5)
+      actionpack (>= 3.1, < 4.1)
+      activesupport (>= 3.1, < 4.1)
+      haml (~> 3.1)
+      railties (>= 3.1, < 4.1)
     hashery (1.5.0)
       blankslate
     hashie (1.2.0)
-    headless (0.3.1)
     hike (1.2.1)
-    httparty (0.8.3)
+    http_parser.rb (0.5.3)
+    httparty (0.9.0)
       multi_json (~> 1.0)
       multi_xml
-    httpauth (0.1)
+    httpauth (0.2.0)
     i18n (0.6.1)
     journey (1.0.4)
     jquery-atwho-rails (0.1.6)
-    jquery-rails (2.0.2)
-      railties (>= 3.2.0, < 5.0)
+    jquery-rails (2.1.3)
+      railties (>= 3.1.0, < 5.0)
       thor (~> 0.14)
-    jquery-ui-rails (0.5.0)
+    jquery-ui-rails (2.0.2)
       jquery-rails
       railties (>= 3.1.0)
     json (1.7.5)
     jwt (0.1.5)
       multi_json (>= 1.0)
-    kaminari (0.14.0)
+    kaminari (0.14.1)
       actionpack (>= 3.0.0)
       activesupport (>= 3.0.0)
     kgio (2.7.4)
-    launchy (2.1.0)
-      addressable (~> 2.2.6)
-    letter_opener (0.0.2)
-      launchy
+    launchy (2.1.2)
+      addressable (~> 2.3)
+    letter_opener (1.0.0)
+      launchy (>= 2.0.4)
     libv8 (3.3.10.4)
-    libwebsocket (0.1.3)
-      addressable
-    listen (0.5.0)
+    libwebsocket (0.1.6)
+      websocket
+    listen (0.5.3)
+    lumberjack (1.0.2)
     mail (2.4.4)
       i18n (>= 0.4.0)
       mime-types (~> 1.16)
       treetop (~> 1.4.8)
-    method_source (0.7.1)
+    method_source (0.8.1)
     mime-types (1.19)
-    modernizr (2.5.3)
+    modernizr (2.6.2)
       sprockets (~> 2.0)
-    multi_json (1.3.6)
+    multi_json (1.3.7)
     multi_xml (0.5.1)
     multipart-post (1.1.5)
     mysql2 (0.3.11)
     net-ldap (0.2.2)
-    nokogiri (1.5.3)
+    nokogiri (1.5.5)
     oauth (0.4.7)
     oauth2 (0.8.0)
       faraday (~> 0.8)
@@ -230,7 +259,7 @@ GEM
       jwt (~> 0.1.4)
       multi_json (~> 1.0)
       rack (~> 1.2)
-    omniauth (1.1.0)
+    omniauth (1.1.1)
       hashie (~> 1.2)
       rack
     omniauth-github (1.0.3)
@@ -242,28 +271,35 @@ GEM
     omniauth-oauth (1.0.1)
       oauth
       omniauth (~> 1.0)
-    omniauth-oauth2 (1.1.0)
+    omniauth-oauth2 (1.1.1)
       oauth2 (~> 0.8.0)
       omniauth (~> 1.0)
-    omniauth-twitter (0.0.13)
+    omniauth-twitter (0.0.14)
       multi_json (~> 1.3)
       omniauth-oauth (~> 1.0)
-    orm_adapter (0.3.0)
-    pg (0.14.0)
+    orm_adapter (0.4.0)
+    pg (0.14.1)
+    poltergeist (1.0.2)
+      capybara (~> 1.1)
+      childprocess (~> 0.3)
+      faye-websocket (~> 0.4, >= 0.4.4)
+      http_parser.rb (~> 0.5.3)
+      multi_json (~> 1.0)
     polyglot (0.3.3)
     posix-spawn (0.3.6)
-    pry (0.9.9.6)
+    pry (0.9.10)
       coderay (~> 1.0.5)
-      method_source (~> 0.7.1)
-      slop (>= 2.4.4, < 3)
-    pygments.rb (0.3.1)
-      posix-spawn (~> 0.3.6)
-      yajl-ruby (~> 1.1.0)
+      method_source (~> 0.8)
+      slop (~> 3.3.1)
     pyu-ruby-sasl (0.0.3.3)
+    quiet_assets (1.0.1)
+      railties (~> 3.1)
     rack (1.4.1)
+    rack-accept (0.4.5)
+      rack (>= 0.4)
     rack-cache (1.2)
       rack (>= 0.4)
-    rack-mini-profiler (0.1.9)
+    rack-mini-profiler (0.1.23)
       rack (>= 1.1.3)
     rack-mount (0.8.3)
       rack (>= 1.0.0)
@@ -271,65 +307,66 @@ GEM
       rack
     rack-ssl (1.3.2)
       rack
-    rack-test (0.6.1)
+    rack-test (0.6.2)
       rack (>= 1.0)
-    rails (3.2.8)
-      actionmailer (= 3.2.8)
-      actionpack (= 3.2.8)
-      activerecord (= 3.2.8)
-      activeresource (= 3.2.8)
-      activesupport (= 3.2.8)
+    rails (3.2.9)
+      actionmailer (= 3.2.9)
+      actionpack (= 3.2.9)
+      activerecord (= 3.2.9)
+      activeresource (= 3.2.9)
+      activesupport (= 3.2.9)
       bundler (~> 1.0)
-      railties (= 3.2.8)
+      railties (= 3.2.9)
     rails-dev-tweaks (0.6.1)
       actionpack (~> 3.1)
       railties (~> 3.1)
-    railties (3.2.8)
-      actionpack (= 3.2.8)
-      activesupport (= 3.2.8)
+    railties (3.2.9)
+      actionpack (= 3.2.9)
+      activesupport (= 3.2.9)
       rack-ssl (~> 1.3.2)
       rake (>= 0.8.7)
       rdoc (~> 3.4)
       thor (>= 0.14.6, < 2.0)
-    raindrops (0.9.0)
-    rake (0.9.2.2)
-    raphael-rails (1.5.2)
-    rb-fsevent (0.9.1)
+    raindrops (0.10.0)
+    rake (10.0.1)
+    raphael-rails (2.1.0)
+    rb-fsevent (0.9.2)
     rb-inotify (0.8.8)
       ffi (>= 0.5.0)
     rdoc (3.12)
       json (~> 1.4)
-    redcarpet (2.1.1)
-    redis (2.2.2)
-    redis-namespace (1.0.3)
-      redis (< 3.0.0)
-    resque (1.20.0)
+    redcarpet (2.2.2)
+    redis (3.0.2)
+    redis-namespace (1.2.1)
+      redis (~> 3.0.0)
+    resque (1.23.0)
       multi_json (~> 1.0)
-      redis-namespace (~> 1.0.2)
+      redis-namespace (~> 1.0)
       sinatra (>= 0.9.2)
       vegas (~> 0.1.2)
-    resque_mailer (2.0.3)
-      actionmailer (>= 3.0.0)
-      resque (>= 1.2.3)
-    resque_spec (0.11.0)
+    resque_mailer (2.1.0)
+      actionmailer (~> 3.0)
+    resque_spec (0.12.5)
       resque (>= 1.19.0)
       rspec (>= 2.5.0)
-    rspec (2.10.0)
-      rspec-core (~> 2.10.0)
-      rspec-expectations (~> 2.10.0)
-      rspec-mocks (~> 2.10.0)
-    rspec-core (2.10.1)
-    rspec-expectations (2.10.0)
+    rspec (2.12.0)
+      rspec-core (~> 2.12.0)
+      rspec-expectations (~> 2.12.0)
+      rspec-mocks (~> 2.12.0)
+    rspec-core (2.12.0)
+    rspec-expectations (2.12.0)
       diff-lcs (~> 1.1.3)
-    rspec-mocks (2.10.1)
-    rspec-rails (2.10.1)
+    rspec-mocks (2.12.0)
+    rspec-rails (2.12.0)
       actionpack (>= 3.0)
       activesupport (>= 3.0)
       railties (>= 3.0)
-      rspec (~> 2.10.0)
+      rspec-core (~> 2.12.0)
+      rspec-expectations (~> 2.12.0)
+      rspec-mocks (~> 2.12.0)
     rubyntlm (0.1.1)
-    rubyzip (0.9.8)
-    sass (3.1.19)
+    rubyzip (0.9.9)
+    sass (3.2.3)
     sass-rails (3.2.5)
       railties (~> 3.2.0)
       sass (>= 3.1.10)
@@ -337,25 +374,24 @@ GEM
     seed-fu (2.2.0)
       activerecord (~> 3.1)
       activesupport (~> 3.1)
-    selenium-webdriver (2.22.2)
+    selenium-webdriver (2.26.0)
       childprocess (>= 0.2.5)
-      ffi (~> 1.0)
       libwebsocket (~> 0.1.3)
       multi_json (~> 1.0)
       rubyzip
     settingslogic (2.0.8)
     shoulda-matchers (1.3.0)
       activesupport (>= 3.0.0)
-    simplecov (0.6.4)
+    simplecov (0.7.1)
       multi_json (~> 1.0)
-      simplecov-html (~> 0.5.3)
-    simplecov-html (0.5.3)
-    sinatra (1.3.2)
+      simplecov-html (~> 0.7.1)
+    simplecov-html (0.7.1)
+    sinatra (1.3.3)
       rack (~> 1.3, >= 1.3.6)
       rack-protection (~> 1.2)
       tilt (~> 1.3, >= 1.3.3)
     six (0.2.0)
-    slop (2.4.4)
+    slop (3.3.3)
     spinach (0.5.2)
       colorize
       gherkin-ruby (~> 0.2.0)
@@ -363,39 +399,43 @@ GEM
       capybara (~> 1)
       railties (>= 3)
       spinach (>= 0.4)
-    sprockets (2.1.3)
+    sprockets (2.2.1)
       hike (~> 1.2)
+      multi_json (~> 1.0)
       rack (~> 1.0)
       tilt (~> 1.1, != 1.3.0)
     sqlite3 (1.3.6)
-    stamp (0.1.6)
+    stamp (0.3.0)
     test_after_commit (0.0.1)
-    therubyracer (0.10.1)
+    therubyracer (0.10.2)
       libv8 (~> 3.3.10)
-    thin (1.3.1)
+    thin (1.5.0)
       daemons (>= 1.0.9)
       eventmachine (>= 0.12.6)
       rack (>= 1.0.0)
     thor (0.16.0)
     tilt (1.3.3)
-    treetop (1.4.10)
+    treetop (1.4.12)
       polyglot
       polyglot (>= 0.3.1)
-    tzinfo (0.3.33)
-    uglifier (1.0.3)
+    tzinfo (0.3.35)
+    uglifier (1.3.0)
       execjs (>= 0.3.0)
-      multi_json (>= 1.0.2)
-    unicorn (4.3.1)
+      multi_json (~> 1.0, >= 1.0.2)
+    unicorn (4.4.0)
       kgio (~> 2.6)
       rack
       raindrops (~> 0.7)
     vegas (0.1.11)
       rack (>= 1.0.0)
+    virtus (0.5.2)
+      backports (~> 2.6.1)
     warden (1.2.1)
       rack (>= 1.0)
-    webmock (1.8.7)
+    webmock (1.9.0)
       addressable (>= 2.2.7)
       crack (>= 0.1.7)
+    websocket (1.0.2)
     xpath (0.1.4)
       nokogiri (~> 1.3)
     yajl-ruby (1.1.0)
@@ -404,71 +444,71 @@ PLATFORMS
   ruby
 
 DEPENDENCIES
-  acts-as-taggable-on (= 2.3.1)
+  acts-as-taggable-on (= 2.3.3)
   annotate!
   awesome_print
-  bootstrap-sass (= 2.0.4)
+  bootstrap-sass (= 2.2.1.1)
   capybara
-  capybara-webkit
-  carrierwave
-  charlock_holmes
-  chosen-rails
-  coffee-rails (= 3.2.2)
+  carrierwave (~> 0.7.1)
+  chosen-rails (= 0.9.8)
+  coffee-rails (~> 3.2.2)
   colored
   database_cleaner
   devise (~> 2.1.0)
-  draper
+  draper (~> 0.18.0)
   email_spec
   factory_girl_rails
   ffaker
   font-awesome-sass-rails (~> 2.0.0)
   foreman
-  gemoji
+  gemoji (~> 1.2.1)
   git
   github-linguist (~> 2.3.4)
   github-markup (~> 0.7.4)
-  gitlab_meta (= 3.0)
+  gitlab_meta (= 3.1)
   gitolite (= 1.1.0)
   grack!
   grape (~> 0.2.1)
   grit!
+  grit_ext!
   growl
   guard-rspec
   guard-spinach
-  haml-rails
-  headless
+  haml-rails (~> 0.3.5)
   httparty
   jquery-atwho-rails (= 0.1.6)
-  jquery-rails (= 2.0.2)
-  jquery-ui-rails (= 0.5.0)
-  kaminari
+  jquery-rails (= 2.1.3)
+  jquery-ui-rails (= 2.0.2)
+  kaminari (~> 0.14.1)
   launchy
   letter_opener
-  modernizr (= 2.5.3)
+  modernizr (= 2.6.2)
   mysql2
-  omniauth
+  omniauth (~> 1.1.1)
   omniauth-github
   omniauth-google-oauth2
   omniauth-ldap!
   omniauth-twitter
   pg
+  poltergeist
   pry
-  pygments.rb (= 0.3.1)
+  pygments.rb!
+  quiet_assets (~> 1.0.1)
   rack-mini-profiler
-  rails (= 3.2.8)
+  rails (= 3.2.9)
   rails-dev-tweaks
-  raphael-rails (= 1.5.2)
+  raphael-rails (= 2.1.0)
   rb-fsevent
   rb-inotify
-  redcarpet (~> 2.1.1)
-  resque (~> 1.20.0)
+  redcarpet (~> 2.2.2)
+  resque (~> 1.23.0)
   resque_mailer
   resque_spec
   rspec-rails
-  sass-rails (= 3.2.5)
+  sass-rails (~> 3.2.5)
   seed-fu
   settingslogic
-  shoulda-matchers
+  shoulda-matchers (= 1.3.0)
   simplecov
   six
   spinach-rails
@@ -476,8 +516,8 @@ DEPENDENCIES
   stamp
   test_after_commit
   therubyracer
-  thin
-  uglifier (= 1.0.3)
-  unicorn
+  thin (~> 1.5.0)
+  uglifier (~> 1.3.0)
+  unicorn (~> 4.4.0)
   webmock
   yaml_db!
diff --git a/Procfile.production b/Procfile.production
deleted file mode 100644
index f1126486512411f376b7cebbb8256247d3708506..0000000000000000000000000000000000000000
--- a/Procfile.production
+++ /dev/null
@@ -1,2 +0,0 @@
-web: bundle exec rails s -p $PORT -e production
-worker: bundle exec rake environment resque:work RAILS_ENV=production QUEUE=*
diff --git a/README.md b/README.md
index a8f8c0bb0efa130f9dbbbe8ff9bdb6c8f6da088e..1816629d3aafb21740d92b65705b61bde7d5509f 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ GitLab is a free project and repository management application
 
 * Ubuntu/Debian
 * ruby 1.9.3+
-* mysql or sqlite
+* MySQL
 * git
 * gitolite
 * redis
diff --git a/ROADMAP.md b/ROADMAP.md
new file mode 100644
index 0000000000000000000000000000000000000000..295a52440fa5436d1165ccf72f4664a024312827
--- /dev/null
+++ b/ROADMAP.md
@@ -0,0 +1,25 @@
+## GitLab Roadmap
+
+### Common 
+
+* Help page for service tasks like repos import, backup etc
+* Hide last push widget after following link
+* Add comment events 
+* gitolite namespaces for projects per user/group. It will allow us same project names for different users
+
+### Issues
+
+* labels autocomplete via jquery autocomplete
+* Import/Export issues
+* Form: Assign to me link right to the selectbox
+
+### Merge Request
+
+* Save code fragments with MR comments
+
+### Services
+
+* Campfire integration service
+* Hipchat integration service
+* Travis CI integration service
+* Jenkins CI integration service
diff --git a/VERSION b/VERSION
index 75a22a26ac4a92e24ce8482a583721b31258bbf2..fd2a01863fdd3035fac5918c59666363544bfe23 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.0.3
+3.1.0
diff --git a/app/assets/images/event_filter_comments.png b/app/assets/images/event_filter_comments.png
new file mode 100644
index 0000000000000000000000000000000000000000..aed113faa7ae70e5c5fbe307ff24d5be39258d1f
Binary files /dev/null and b/app/assets/images/event_filter_comments.png differ
diff --git a/app/assets/images/event_filter_merged.png b/app/assets/images/event_filter_merged.png
new file mode 100644
index 0000000000000000000000000000000000000000..30aea0b6e55985cc8e881d952d1f4282cc80a046
Binary files /dev/null and b/app/assets/images/event_filter_merged.png differ
diff --git a/app/assets/images/event_filter_push.png b/app/assets/images/event_filter_push.png
new file mode 100644
index 0000000000000000000000000000000000000000..930faee6aa2a441ab0805910cf815212f95cfe83
Binary files /dev/null and b/app/assets/images/event_filter_push.png differ
diff --git a/app/assets/images/event_filter_team.png b/app/assets/images/event_filter_team.png
new file mode 100644
index 0000000000000000000000000000000000000000..2dc66c85165bd02f5f2368415ccdf4820d4754d0
Binary files /dev/null and b/app/assets/images/event_filter_team.png differ
diff --git a/app/assets/images/gitlab_classic.png b/app/assets/images/gitlab_classic.png
deleted file mode 100644
index 4e189e220abb3d6e08f067802f95cdbe862853bc..0000000000000000000000000000000000000000
Binary files a/app/assets/images/gitlab_classic.png and /dev/null differ
diff --git a/app/assets/images/gitlab_default.png b/app/assets/images/gitlab_default.png
deleted file mode 100644
index 6e9dfb58896757f03d03302ff9f84b255a895e0a..0000000000000000000000000000000000000000
Binary files a/app/assets/images/gitlab_default.png and /dev/null differ
diff --git a/app/assets/images/gitlab_modern.png b/app/assets/images/gitlab_modern.png
deleted file mode 100644
index b2d73b7a789f048a9947d68a0b942abe57c0b2e2..0000000000000000000000000000000000000000
Binary files a/app/assets/images/gitlab_modern.png and /dev/null differ
diff --git a/app/assets/images/logo_dark.png b/app/assets/images/logo_dark.png
index fab64c2d5a9d7b46ad90daa132623a6d2046dddd..4a3e3391599aec7205c0e7cfdd4b18b988f953bc 100644
Binary files a/app/assets/images/logo_dark.png and b/app/assets/images/logo_dark.png differ
diff --git a/app/assets/images/logo_white.png b/app/assets/images/logo_white.png
index 3f74025449c2e1a3aa4af6052098366e89ae90c2..366e3f3f3b9f16a15f43a7f3fdd04aa2470a177f 100644
Binary files a/app/assets/images/logo_white.png and b/app/assets/images/logo_white.png differ
diff --git a/app/assets/images/service-disabled-gitlab-ci.png b/app/assets/images/service-disabled-gitlab-ci.png
new file mode 100644
index 0000000000000000000000000000000000000000..8d1f9d0b50d01604383045d307369096fbfbda7f
Binary files /dev/null and b/app/assets/images/service-disabled-gitlab-ci.png differ
diff --git a/app/assets/images/service-gitlab-ci.png b/app/assets/images/service-gitlab-ci.png
new file mode 100644
index 0000000000000000000000000000000000000000..bcb30a3fb1ada06b21c05de1814b7b6bea9e7652
Binary files /dev/null and b/app/assets/images/service-gitlab-ci.png differ
diff --git a/app/assets/images/trans_bg.gif b/app/assets/images/trans_bg.gif
new file mode 100644
index 0000000000000000000000000000000000000000..c7e98e044f578204f9c1ebdefcb05f4b2baaea32
Binary files /dev/null and b/app/assets/images/trans_bg.gif differ
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
index d88f2a669e789646d4444918bd94ba672e88bf44..49effdf9c152a9cf2ce3fd613cade95372a3f4db 100644
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -13,10 +13,13 @@
 //= require jquery.history
 //= require jquery.waitforimages
 //= require jquery.atwho
+//= require jquery.scrollto
 //= require bootstrap
 //= require modernizr
 //= require chosen-jquery
 //= require raphael
+//= require g.raphael-min
+//= require g.bar-min
 //= require branch-graph
 //= require ace-src-noconflict/ace
 //= require_tree .
diff --git a/app/assets/javascripts/gfm_auto_complete.js.coffee b/app/assets/javascripts/gfm_auto_complete.js.coffee
index 203a5b6745aa7ddc29ce43febfd520b1ed017212..ffc4c409b5421be9f093f061cc8d219c2447ab70 100644
--- a/app/assets/javascripts/gfm_auto_complete.js.coffee
+++ b/app/assets/javascripts/gfm_auto_complete.js.coffee
@@ -1,57 +1,52 @@
+# Creates the variables for setting up GFM auto-completion
+
+window.GitLab ?= {}
+GitLab.GfmAutoComplete ?= {}
 
-###
-  Creates the variables for setting up GFM auto-completion
-###
 # Emoji
-window.autocompleteEmojiData = [];
-window.autocompleteEmojiTemplate = "<li data-value='${insert}'>${name} <img alt='${name}' height='20' src='${image}' width='20' /></li>";
+data      = []
+template  = "<li data-value='${insert}'>${name} <img alt='${name}' height='20' src='${image}' width='20' /></li>"
+GitLab.GfmAutoComplete.Emoji = {data, template}
 
 # Team Members
-window.autocompleteMembersUrl = "";
-window.autocompleteMembersParams =
-  private_token: ""
-  page: 1
-window.autocompleteMembersData = [];
-
-
-
-###
-  Add GFM auto-completion to all input fields, that accept GFM input.
-###
-window.setupGfmAutoComplete = ->
-  ###
-    Emoji
-  ###
-  $('.gfm-input').atWho ':',
-    data: autocompleteEmojiData,
-    tpl: autocompleteEmojiTemplate
-
-  ###
-    Team Members
-  ###
-  $('.gfm-input').atWho '@', (query, callback) ->
+data      = []
+url     = '';
+params  = {private_token: '', page: 1}
+GitLab.GfmAutoComplete.Members = {data, url, params}
+
+# Add GFM auto-completion to all input fields, that accept GFM input.
+GitLab.GfmAutoComplete.setup = ->
+  input = $('.js-gfm-input')
+
+  # Emoji
+  input.atWho ':',
+    data: GitLab.GfmAutoComplete.Emoji.data,
+    tpl: GitLab.GfmAutoComplete.Emoji.template
+
+  # Team Members
+  input.atWho '@', (query, callback) ->
     (getMoreMembers = ->
-      $.getJSON(autocompleteMembersUrl, autocompleteMembersParams)
+      $.getJSON(GitLab.GfmAutoComplete.Members.url, GitLab.GfmAutoComplete.Members.params)
         .success (members) ->
           # pick the data we need
-          newMembersData = $.map members, (m) -> m.name
+          newMembersData = $.map(members, (m) -> m.name )
 
           # add the new page of data to the rest
-          $.merge autocompleteMembersData, newMembersData
+          $.merge(GitLab.GfmAutoComplete.Members.data, newMembersData)
 
           # show the pop-up with a copy of the current data
-          callback autocompleteMembersData[..]
+          callback(GitLab.GfmAutoComplete.Members.data[..])
 
           # are we past the last page?
-          if newMembersData.length == 0
+          if newMembersData.length is 0
             # set static data and stop callbacks
-            $('.gfm-input').atWho '@',
-              data: autocompleteMembersData
+            input.atWho '@',
+              data: GitLab.GfmAutoComplete.Members.data
               callback: null
           else
             # get next page
             getMoreMembers()
 
       # so the next request gets the next page
-      autocompleteMembersParams.page += 1;
-    ).call();
\ No newline at end of file
+      GitLab.GfmAutoComplete.Members.params.page += 1
+    ).call()
diff --git a/app/assets/javascripts/graph.js.coffee b/app/assets/javascripts/graph.js.coffee
deleted file mode 100644
index 5fe8ae3f02021eaf90c1bb7ccbf6fce124e8c5ca..0000000000000000000000000000000000000000
--- a/app/assets/javascripts/graph.js.coffee
+++ /dev/null
@@ -1,10 +0,0 @@
-initGraphNav = ->
-  $('.graph svg').css 'position', 'relative'
-
-  $('body').bind 'keyup', (e) ->
-    if e.keyCode is 37 # left
-      $('.graph svg').animate left: '+=400'
-    else if e.keyCode is 39 # right
-      $('.graph svg').animate left: '-=400'
-
-window.initGraphNav = initGraphNav
diff --git a/app/assets/javascripts/issues.js b/app/assets/javascripts/issues.js
index c3cf364f5e23ba4b522c0cfe7d632e8adf152405..e2fe107590321496a283ed485e0b07da17d3d97d 100644
--- a/app/assets/javascripts/issues.js
+++ b/app/assets/javascripts/issues.js
@@ -1,24 +1,22 @@
-function switchToNewIssue(form){
+function switchToNewIssue(){
   $(".issues_content").hide("fade", { direction: "left" }, 150, function(){
-    $(".issues_content").after(form);
     $('select#issue_assignee_id').chosen();
     $('select#issue_milestone_id').chosen();
     $("#new_issue_dialog").show("fade", { direction: "right" }, 150);
     $('.top-tabs .add_new').hide();
     disableButtonIfEmptyField("#issue_title", ".save-btn");
-    setupGfmAutoComplete();
+    GitLab.GfmAutoComplete.setup();
   });
 }
 
-function switchToEditIssue(form){
+function switchToEditIssue(){
   $(".issues_content").hide("fade", { direction: "left" }, 150, function(){
-    $(".issues_content").after(form);
     $('select#issue_assignee_id').chosen();
     $('select#issue_milestone_id').chosen();
     $("#edit_issue_dialog").show("fade", { direction: "right" }, 150);
     $('.add_new').hide();
     disableButtonIfEmptyField("#issue_title", ".save-btn");
-    setupGfmAutoComplete();
+    GitLab.GfmAutoComplete.setup();
   });
 }
 
@@ -33,18 +31,18 @@ function switchFromEditIssue(){
 function backToIssues(){
   $("#edit_issue_dialog, #new_issue_dialog").hide("fade", { direction: "right" }, 150, function(){
     $(".issues_content").show("fade", { direction: "left" }, 150, function() { 
-      $("#edit_issue_dialog").remove();
-      $("#new_issue_dialog").remove();
+      $("#edit_issue_dialog").html("");
+      $("#new_issue_dialog").html("");
       $('.add_new').show();
     });
   });
 }
 
 function initIssuesSearch() { 
-  var href       = $('.issue_search').parent().attr('action');
+  var href       = $('#issue_search_form').attr('action');
   var last_terms = '';
 
-  $('.issue_search').keyup(function() {
+  $('#issue_search').keyup(function() {
     var terms       = $(this).val();
     var milestone_id  = $('#milestone_id').val();
     var status      = $('#status').val();
@@ -59,10 +57,6 @@ function initIssuesSearch() {
       }
     }
   });
-
-  $('.delete-issue').live('ajax:success', function() {
-    $(this).closest('tr').fadeOut(); updatePage();
-  });
 }
 
 /**
diff --git a/app/assets/javascripts/loader.js.coffee b/app/assets/javascripts/loader.js.coffee
deleted file mode 100644
index 66f8e8b1bb3a4caeaad8b0e9cd609efdc04bd3b1..0000000000000000000000000000000000000000
--- a/app/assets/javascripts/loader.js.coffee
+++ /dev/null
@@ -1,5 +0,0 @@
-Loader =
-  html: (width) ->
-    $('<img>').attr src: '/assets/ajax-loader.gif', width: width
-
-window.Loader = Loader
diff --git a/app/assets/javascripts/main.js.coffee b/app/assets/javascripts/main.js.coffee
index 86b191626b3780949cd0e55aa2ffe81415de862a..3f4b0f61dc45ce41838e341263df4aceb92e030e 100644
--- a/app/assets/javascripts/main.js.coffee
+++ b/app/assets/javascripts/main.js.coffee
@@ -7,29 +7,36 @@ window.slugify = (text) ->
 window.ajaxGet = (url) ->
   $.ajax({type: "GET", url: url, dataType: "script"})
 
- # Disable button if text field is empty
+# Disable button if text field is empty
 window.disableButtonIfEmptyField = (field_selector, button_selector) ->
   field = $(field_selector)
   closest_submit = field.closest("form").find(button_selector)
 
   closest_submit.disable() if field.val() is ""
 
-  field.on "keyup", ->
-    if $(this).val() is ""
+  field.on "input", ->
+    if $(@).val() is ""
       closest_submit.disable()
     else
       closest_submit.enable()
 
 $ ->
   # Click a .one_click_select field, select the contents
-  $(".one_click_select").live 'click', -> $(this).select()
+  $(".one_click_select").on 'click', -> $(@).select()
 
   # Initialize chosen selects
   $('select.chosen').chosen()
 
+  # Initialize tooltips
+  $('.has_tooltip').tooltip()
+
+  # Bottom tooltip
+  $('.has_bottom_tooltip').tooltip(placement: 'bottom')
+
+
   # Disable form buttons while a form is submitting
   $('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
-    buttons = $('[type="submit"]', this)
+    buttons = $('[type="submit"]', @)
 
     switch e.type
       when 'ajax:beforeSend', 'submit'
@@ -38,7 +45,7 @@ $ ->
         buttons.enable()
 
   # Show/Hide the profile menu when hovering the account box
-  $('.account-box').hover -> $(this).toggleClass('hover')
+  $('.account-box').hover -> $(@).toggleClass('hover')
 
   # Focus search field by pressing 's' key
   $(document).keypress (e) ->
@@ -52,41 +59,22 @@ $ ->
 
   # Commit show suppressed diff
   $(".supp_diff_link").bind "click", ->
-    $(this).next('table').show()
-    $(this).remove()
-
-  # Note markdown preview
-  $(document).on 'click', '#preview-link', (e) ->
-    $('#preview-note').text('Loading...')
-
-    previewLinkText = if $(this).text() == 'Preview' then 'Edit' else 'Preview'
-    $(this).text(previewLinkText)
-
-    note = $('#note_note').val()
-
-    if note.trim().length == 0
-      $('#preview-note').text("Nothing to preview.")
-    else
-      $.post $(this).attr('href'), {note: note}, (data) ->
-        $('#preview-note').html(data)
-
-    $('#preview-note, #note_note').toggle()
-    e.preventDefault()
-    false
+    $(@).next('table').show()
+    $(@).remove()
 
 (($) ->
   _chosen = $.fn.chosen
   $.fn.extend chosen: (options) ->
     default_options = search_contains: "true"
     $.extend default_options, options
-    _chosen.apply this, [default_options]
+    _chosen.apply @, [default_options]
 
   # Disable an element and add the 'disabled' Bootstrap class
   $.fn.extend disable: ->
-    $(this).attr('disabled', 'disabled').addClass('disabled')
+    $(@).attr('disabled', 'disabled').addClass('disabled')
 
   # Enable an element and remove the 'disabled' Bootstrap class
   $.fn.extend enable: ->
-    $(this).removeAttr('disabled').removeClass('disabled')
+    $(@).removeAttr('disabled').removeClass('disabled')
 
 )(jQuery)
diff --git a/app/assets/javascripts/merge_requests.js b/app/assets/javascripts/merge_requests.js
index 0ab6f6e22a13cf4a7b9742fe43e6ed0d3c456614..cc6b0771af54a66972823e9203a88bb3d504b75c 100644
--- a/app/assets/javascripts/merge_requests.js
+++ b/app/assets/javascripts/merge_requests.js
@@ -115,4 +115,15 @@ var MergeRequest = {
         $(".merge_in_progress").hide();
         $(".automerge_widget.already_cannot_be_merged").show();
     }
+};
+
+/*
+ * Filter merge requests
+ */
+function merge_requestsPage() {
+  $("#assignee_id").chosen();
+  $("#milestone_id").chosen();
+  $("#milestone_id, #assignee_id").on("change", function(){
+    $(this).closest("form").submit();
+  });
 }
diff --git a/app/assets/javascripts/milestones.js.coffee b/app/assets/javascripts/milestones.js.coffee
index 13aba8609322a9e6458789e56ee931bec4c4d77f..e40a69ebaa5350a7098c6ad04e6189daf744719f 100644
--- a/app/assets/javascripts/milestones.js.coffee
+++ b/app/assets/javascripts/milestones.js.coffee
@@ -5,3 +5,10 @@ $ ->
     $('.milestone-issue-filter li').toggleClass('active')
     $('.milestone-issue-filter tr[data-closed]').toggleClass('hide')
     false
+
+  $('.milestone-merge-requests-filter tr[data-closed]').addClass('hide')
+
+  $('.milestone-merge-requests-filter ul.nav li a').click ->
+    $('.milestone-merge-requests-filter li').toggleClass('active')
+    $('.milestone-merge-requests-filter tr[data-closed]').toggleClass('hide')
+    false
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index 558643d504db3710cd5a13706bfcfe2ba5101120..b6f65b7aa5e2938ac33c1a1314843777d77d5557 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -14,8 +14,8 @@ var NoteList = {
       this.notes_path = path + ".js";
       this.target_id = tid;
       this.target_type = tt;
-      this.reversed = $("#notes-list").hasClass("reversed");
-      this.target_params = "&target_type=" + this.target_type + "&target_id=" + this.target_id;
+      this.reversed = $("#notes-list").is(".reversed");
+      this.target_params = "target_type=" + this.target_type + "&target_id=" + this.target_id;
 
       // get initial set of notes
       this.getContent();
@@ -33,6 +33,8 @@ var NoteList = {
 
       $(".note-form-holder").on("ajax:complete", function(){
         $(".submit_note").enable();
+        $('#preview-note').hide();
+        $('#note_note').show();
       })
 
       disableButtonIfEmptyField(".note-text", ".submit_note");
@@ -52,6 +54,26 @@ var NoteList = {
           $('.note_advanced_opts').show();
         });
       }
+
+      // Setup note preview
+      $(document).on('click', '#preview-link', function(e) {
+        $('#preview-note').text('Loading...');
+
+        $(this).text($(this).text() === "Edit" ? "Preview" : "Edit");
+
+        var note_text = $('#note_note').val();
+
+        if(note_text.trim().length === 0) {
+          $('#preview-note').text('Nothing to preview.');
+        } else {
+          $.post($(this).attr('href'), {note: note_text}).success(function(data) {
+            $('#preview-note').html(data);
+          });
+        }
+
+        $('#preview-note, #note_note').toggle();
+        e.preventDefault();
+      });
     },
 
 
@@ -69,7 +91,7 @@ var NoteList = {
       $.ajax({
         type: "GET",
       url: this.notes_path,
-      data: "?" + this.target_params,
+      data: this.target_params,
       complete: function(){ $('.notes-status').removeClass("loading")},
       beforeSend: function() { $('.notes-status').addClass("loading") },
       dataType: "script"});
@@ -131,7 +153,7 @@ var NoteList = {
       $.ajax({
         type: "GET",
         url: this.notes_path,
-        data: "loading_more=1&" + (this.reversed ? "before_id" : "after_id") + "=" + this.bottom_id + this.target_params,
+        data: this.target_params + "&loading_more=1&" + (this.reversed ? "before_id" : "after_id") + "=" + this.bottom_id,
         complete: function(){ $('.notes-status').removeClass("loading")},
         beforeSend: function() { $('.notes-status').addClass("loading") },
         dataType: "script"});
@@ -192,7 +214,7 @@ var NoteList = {
       $.ajax({
         type: "GET",
       url: this.notes_path,
-      data: "loading_new=1&after_id=" + (this.reversed ? this.top_id : this.bottom_id) + this.target_params,
+      data: this.target_params + "&loading_new=1&after_id=" + (this.reversed ? this.top_id : this.bottom_id),
       dataType: "script"});
     },
 
@@ -264,7 +286,7 @@ var PerLineNotes = {
         $(this).closest("tr").after(form);
         form.find("#note_line_code").val($(this).data("lineCode"));
         form.show();
-        return false;
+        e.preventDefault();
       });
 
       disableButtonIfEmptyField(".line-note-text", ".submit_inline_note");
@@ -285,7 +307,7 @@ var PerLineNotes = {
         // elements must really be removed for this to work reliably
         var trLine = trNote.prev();
         var trRpl  = trNote.next();
-        if (trLine.hasClass("line_holder") && trRpl.hasClass("reply")) {
+        if (trLine.is(".line_holder") && trRpl.is(".reply")) {
           trRpl.fadeOut(function() { $(this).remove(); });
         }
       });
diff --git a/app/assets/javascripts/profile.js.coffee b/app/assets/javascripts/profile.js.coffee
new file mode 100644
index 0000000000000000000000000000000000000000..e536afad939916d9eb2a54cf134212fa0e6713f7
--- /dev/null
+++ b/app/assets/javascripts/profile.js.coffee
@@ -0,0 +1,10 @@
+$ ->
+  $('.edit_user .application-theme input, .edit_user .code-preview-theme input').click ->
+    # Hide any previous submission feedback
+    $('.edit_user .update-feedback').hide()
+
+    # Submit the form
+    $('.edit_user').submit()
+
+    # Go up the hierarchy and show the corresponding submission feedback element
+    $(@).closest('fieldset').find('.update-feedback').show('highlight', {color: '#DFF0D8'}, 500)
diff --git a/app/assets/javascripts/projects.js.coffee b/app/assets/javascripts/projects.js.coffee
index 008fa8e91164c65a0492015e49da21b35c9dc1ef..3059723dfa040b95ec79639698c0698b1112978f 100644
--- a/app/assets/javascripts/projects.js.coffee
+++ b/app/assets/javascripts/projects.js.coffee
@@ -22,3 +22,10 @@ $ ->
   # Ref switcher
   $('.project-refs-select').on 'change', ->
     $(@).parents('form').submit()
+
+class @GraphNav
+  @init: ->
+    $('.graph svg').css 'position', 'relative'
+    $('body').bind 'keyup', (e) ->
+      $('.graph svg').animate(left: '+=400') if e.keyCode is 37 # left
+      $('.graph svg').animate(left: '-=400') if e.keyCode is 39 # right
diff --git a/app/assets/javascripts/snippets.js.coffee b/app/assets/javascripts/snippets.js.coffee
deleted file mode 100644
index af4385deb51d5045307ba23b16cab0bd23b5d457..0000000000000000000000000000000000000000
--- a/app/assets/javascripts/snippets.js.coffee
+++ /dev/null
@@ -1,6 +0,0 @@
-$ ->
-  $('#snippets-table .snippet').live 'click', (e) ->
-    if e.target.nodeName isnt 'A' and e.target.nodeName isnt 'INPUT'
-      location.href = $(@).attr 'url'
-      e.stopPropagation()
-      false
diff --git a/app/assets/javascripts/tree.js.coffee b/app/assets/javascripts/tree.js.coffee
index 47d49abc7a5e432a95f4b879b1ec9fdde22660d0..3f8ed6c25522d5d83f3e81528633ba127d1dd109 100644
--- a/app/assets/javascripts/tree.js.coffee
+++ b/app/assets/javascripts/tree.js.coffee
@@ -17,23 +17,40 @@ $ ->
       "ajax:beforeSend": -> $('.tree_progress').addClass("loading")
       "ajax:complete":   -> $('.tree_progress').removeClass("loading")
 
-# Maintain forward/back history while browsing the file tree
-
-((window) ->
-  History = window.History
-  $ = window.jQuery
-  document = window.document
-
-  # Check to see if History.js is enabled for our Browser
-  unless History.enabled
-    return false
-
-  $ ->
-    $('#tree-slider .tree-item-file-name a, .breadcrumb li > a').live 'click', (e) ->
-      History.pushState(null, null, $(@).attr('href'))
-      return false
-
-    History.Adapter.bind window, 'statechange', ->
-      state = History.getState()
-      window.ajaxGet(state.url)
-)(window)
+    # Maintain forward/back history while browsing the file tree
+    ((window) ->
+      History = window.History
+      $ = window.jQuery
+      document = window.document
+
+      # Check to see if History.js is enabled for our Browser
+      unless History.enabled
+        return false
+
+      $('#tree-slider .tree-item-file-name a, .breadcrumb li > a').live 'click', (e) ->
+        History.pushState(null, null, $(@).attr('href'))
+        return false
+
+      History.Adapter.bind window, 'statechange', ->
+        state = History.getState()
+        window.ajaxGet(state.url)
+    )(window)
+
+  # See if there are lines selected
+  # "#L12" and "#L34-56" supported
+  highlightBlobLines = ->
+    if window.location.hash isnt ""
+      matches = window.location.hash.match(/\#L(\d+)(\-(\d+))?/)
+      first_line = parseInt(matches?[1])
+      last_line = parseInt(matches?[3])
+
+      unless isNaN first_line
+        last_line = first_line if isNaN(last_line)
+        $("#tree-content-holder .highlight .line").removeClass("hll")
+        $("#LC#{line}").addClass("hll") for line in [first_line..last_line]
+        $("#L#{first_line}").ScrollTo()
+
+  # Highlight the correct lines on load
+  highlightBlobLines()
+  # Highlight the correct lines when the hash part of the URL changes
+  $(window).on 'hashchange', highlightBlobLines
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index 8ebbb53b96407dcab46ec5cef11d13b33bf7f66c..e45cb876e7d8a41b1b81bada7fb39ea6f2bf614b 100644
--- a/app/assets/stylesheets/common.scss
+++ b/app/assets/stylesheets/common.scss
@@ -20,18 +20,6 @@ body {
   float:right;
 }
 
-.profile_avatar_holder {
-  float:left;
-  width:60px;
-  height:60px;
-  margin-right:20px;
-  img {
-    width:60px;
-    height:60px;
-    background:#eee;
-  }
-}
-
 
 .visible_link,
 .author_link {
@@ -596,25 +584,6 @@ li.note {
   }
 }
 
-.themes_opts {
-  padding-left:20px;
-
-  label {
-    width:175px;
-    margin-right:40px;
-
-    .prev {
-      @extend .thumbnail;
-      height:120px;
-      width:175px;
-      margin-bottom:10px;
-      img {
-        width:180px;
-      }
-    }
-  }
-}
-
 .git_error_tips {
   @extend .span6;
   text-align:left;
@@ -628,10 +597,11 @@ li.note {
 
 .error_message {
   @extend .cred;
-  border-bottom: 1px solid #D21;
-  padding-bottom:20px;
-  text-align:center;
-  margin-bottom:10px;
+  border-left: 4px solid #E99;
+  padding: 10px;
+  margin-bottom: 10px;
+  background: #FEE;
+  padding-left: 20px;
 }
 
 .oauth_select_holder {
@@ -670,3 +640,16 @@ pre {
     padding:0;
   }
 }
+
+.milestone .progress {
+  margin-bottom: 0;
+  margin-top:4px;
+}
+
+.float-link {
+  float:left;
+  margin-right:15px;
+  .s16 {
+    margin-right:5px;
+  }
+}
diff --git a/app/assets/stylesheets/gitlab_bootstrap/buttons.scss b/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
index 4f631a3e79adfc629a2895afce7e9c45975f04a1..f9249e871b71a7b6d232f67900f9fa2d5d90b7bf 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
@@ -94,6 +94,7 @@
   &.very_small {
     font-size:11px;
     padding:2px 6px;
+    line-height: 16px;
     margin:2px;
   }
 
diff --git a/app/assets/stylesheets/gitlab_bootstrap/common.scss b/app/assets/stylesheets/gitlab_bootstrap/common.scss
index 85bb5b228df605043ea817ce90426c6ca2d5b04a..c1b2880140dfe40a025615dde11c1434190faa5c 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/common.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/common.scss
@@ -26,8 +26,10 @@
 .underlined { border-bottom: 1px solid #CCC; }
 .no-borders { border:none; }
 .vlink { color: $link_color !important; }
+.underlined_link { text-decoration: underline; }
 .borders { border: 1px solid #ccc; @include shade; }
 .hint { font-style: italic; color: #999; }
+.light { color: #888 }
 
 /** PILLS & TABS**/
 .nav-pills a:hover { background-color:#888; }
@@ -38,6 +40,7 @@
     > a {
       padding:8px 20px;
       margin-right: 7px;
+      line-height: 19px;
       border-color: #EEE;
       color:#888;
       border-bottom: 1px solid #ddd;
@@ -66,11 +69,12 @@
 .alert-message.error { @extend .alert-error; }
 
 /** AVATARS **/
-img.avatar { float:left; margin-right:15px; width:40px; border:1px solid #ddd; padding:1px; }
-img.avatar.s16 { width:16px; height:16px; }
-img.avatar.s24 { width:24px; height:24px; }
-img.avatar.s32 { width:32px; height:32px; }
+img.avatar { float:left; margin-right:12px; width:40px; border:1px solid #ddd; padding:1px; }
+img.avatar.s16 { width:16px; height:16px; margin-right:6px; }
+img.avatar.s24 { width:24px; height:24px; margin-right:8px; }
+img.avatar.s32 { width:32px; height:32px; margin-right:10px; }
 img.lil_av { padding-left: 4px; padding-right:3px; }
+img.small { width: 80px; }
 
 /** HELPERS **/
 .nothing_here_message { text-align:center; padding:20px; color:#777; }
@@ -85,3 +89,5 @@ input[type='search'].search-text-input {
   @include border-radius(4px);
   border:1px solid #ccc;
 }
+
+fieldset legend { font-size: 17px; }
diff --git a/app/assets/stylesheets/gitlab_bootstrap/files.scss b/app/assets/stylesheets/gitlab_bootstrap/files.scss
index cbc58d2220305088cae01ed5b92ba3ddc32e54e6..4887d1c9402489ea4e239ef0f1fff65c8a80f474 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/files.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/files.scss
@@ -132,35 +132,74 @@
      *  Code file
      */
     &.code {
-      padding:0;
-      td.code {
-        width: 100%;
-        .highlight {
-          margin-left: 55px;
-          overflow:auto;
-          overflow-y:hidden;
-        }
-      }
-      .highlight pre {
-        white-space: pre;
-        word-wrap:normal;
-      }
+      padding: 0;
 
-      table.highlighttable {
+      table.lines {
         border: none;
-      }
-      body.project-page table.highlighttable td { border: none }
-      table.highlighttable tr:hover { background:none;}
+        box-shadow: none;
+        margin: 0px;
+        padding: 0px;
+        table-layout: fixed;
 
-      table.highlighttable pre{
-        line-height:16px !important;
-        font-size:12px !important;
-      }
+        pre {
+          background: none;
+          border: none;
+          font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
+          font-size: 12px !important;
+          line-height: 16px !important;
+          margin: 0;
+          padding: 10px 0;
+        }
+        td {
+          border: none;
+          margin: 0;
+          padding: 0;
+          vertical-align: top;
+
+          &:first-child {
+            background: #eee;
+            width: 50px;
+          }
+          &:last-child {
+          }
+        }
+        tr:hover {
+          background: none;
+        }
+
+        pre.line_numbers {
+          color: #666;
+          padding: 10px 6px 10px 0;
+          text-align: right;
+
+          a {
+            color: #666;
+
+            i {
+              display: none;
+              font-size: 14px;
+              line-height: 14px;
+            }
+            &:hover i {
+              display: inherit;
+            }
+          }
+        }
 
-      table.highlighttable .linenodiv pre {
-        text-align: right;
-        padding-right: 4px;
-        color:#666;
+        .highlight {
+          border-left: 1px solid #DEE2E3;
+          overflow: auto;
+          overflow-y: hidden;
+
+          pre {
+            white-space: pre;
+            word-wrap: normal;
+
+            .line {
+              padding: 0 10px;
+            }
+          }
+        }
       }
     }
   }
diff --git a/app/assets/stylesheets/gitlab_bootstrap/lists.scss b/app/assets/stylesheets/gitlab_bootstrap/lists.scss
index a5d6bd0af4ca1b6dc3a18a67e609337dcd279840..4fe45ecc2776156cefad7ffad9d73385e1e76943 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/lists.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/lists.scss
@@ -21,7 +21,7 @@ ul {
     .author { color: #999; }
 
     p {
-      padding-top:5px;
+      padding-top: 1px;
       margin:0;
       color:#222;
       img {
@@ -31,3 +31,11 @@ ul {
     }
   }
 }
+
+ol, ul {
+  &.styled {
+    li {
+      padding:2px;
+    }
+  }
+}
diff --git a/app/assets/stylesheets/gitlab_bootstrap/tables.scss b/app/assets/stylesheets/gitlab_bootstrap/tables.scss
index 7a3bda2bff040e5be6af663bc04ac5895ec7a398..549cdfee5a67084ba56c76cb933b2ab8d560b34a 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/tables.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/tables.scss
@@ -34,6 +34,11 @@ table {
     border-color:#f1f1f1;
     line-height:28px;
 
+    .s16 {
+      margin-top: 5px;
+      margin-right: 5px;
+    }
+
     &:first-child {
       border-left:1px solid #bbb;
     }
diff --git a/app/assets/stylesheets/gitlab_bootstrap/typography.scss b/app/assets/stylesheets/gitlab_bootstrap/typography.scss
index 97e854928753632daabb7d47ebd2cf84a20cac31..fe3bd68b608f6887a4ce7ef6b19ac409d009a2b1 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/typography.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/typography.scss
@@ -2,8 +2,11 @@
  * Headers
  *
  */
+
+h1, h2, h3, h4, h5, h6 { margin: 0; }
 h3, h4, h5, h6 { line-height: 36px; }
 h5 { font-size:14px; }
+
 h3.page_title {
   color:#456;
   font-size:20px;
@@ -11,6 +14,11 @@ h3.page_title {
   line-height: 28px;
 }
 
+h6 {
+  color: #888;
+  text-transform: uppercase;
+}
+
 /** CODE **/
 pre {
   font-family:'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index 97c57835b7519865829c695b59567623ee901fe5..0996cc772f4523cc0a019a4f8a7ec836765ee9ad 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -1,9 +1,8 @@
-.black .highlighttable { 
-  td.linenos { border:none; }
-  pre { color: #eee }
-  .highlight { background: #333; border-left:1px solid #555; }
+.black .lines .highlight {
+  background: #333;
+  pre { color: #eee; }
 
-  .hll { background-color: #ffffff }
+  .hll { display: block; background-color: darken($hover, 65%) }
   .c { color: #888888; font-style: italic } /* Comment */
   .err { color: #a61717; background-color: #e3d2d2 } /* Error */
   .k { color: #CDA869; font-weight: bold } /* Keyword */
@@ -22,43 +21,43 @@
   .gs { font-weight: bold } /* Generic.Strong */
   .gu { color: #606060 } /* Generic.Subheading */
   .gt { color: #aa0000 } /* Generic.Traceback */
-  .highlight .kc{font-weight:bold;} /* Keyword.Constant */
-  .highlight .kd{font-weight:bold;} /* Keyword.Declaration */
-  .highlight .kn{font-weight:bold;} /* Keyword.Namespace */
-  .highlight .kp{font-weight:bold;} /* Keyword.Pseudo */
-  .highlight .kr{font-weight:bold;} /* Keyword.Reserved */
-  .highlight .kt{color:#458;font-weight:bold;} /* Keyword.Type */
+  .kc{font-weight:bold;} /* Keyword.Constant */
+  .kd{font-weight:bold;} /* Keyword.Declaration */
+  .kn{font-weight:bold;} /* Keyword.Namespace */
+  .kp{font-weight:bold;} /* Keyword.Pseudo */
+  .kr{font-weight:bold;} /* Keyword.Reserved */
+  .kt{color:#458;font-weight:bold;} /* Keyword.Type */
   .m { color: #0000DD; font-weight: bold } /* Literal.Number */
   .p { color: #eee;  }
   .s { color: #0AD; background-color: transparent } /* Literal.String */
-  .highlight .na{color:#008080;} /* Name.Attribute */
-  .highlight .nb{color:#0086B3;} /* Name.Builtin */
-  .highlight .nc{color:#ccc;font-weight:bold;} /* Name.Class */
-  .highlight .no{color:turquoise;} /* Name.Constant */
-  .highlight .ni{color:#800080;}
-  .highlight .ne{color:#900;font-weight:bold;} /* Name.Exception */
-  .highlight .nf{color:#ccc;font-weight:bold;} /* Name.Function */
-  .highlight .nn{color:#79C3E0;font-weight:bold;} /* Name.Namespace */
-  .highlight .nt{color:#fc5;} /* Name.Tag */
-  .highlight .nv{color:#FA4;} /* Name.Variable */
+  .na{color:#008080;} /* Name.Attribute */
+  .nb{color:#0086B3;} /* Name.Builtin */
+  .nc{color:#ccc;font-weight:bold;} /* Name.Class */
+  .no{color:turquoise;} /* Name.Constant */
+  .ni{color:#800080;}
+  .ne{color:#900;font-weight:bold;} /* Name.Exception */
+  .nf{color:#ccc;font-weight:bold;} /* Name.Function */
+  .nn{color:#79C3E0;font-weight:bold;} /* Name.Namespace */
+  .nt{color:#fc5;} /* Name.Tag */
+  .nv{color:#FA4;} /* Name.Variable */
   .py { color: #336699; font-weight: bold } /* Name.Property */
   .ow { color: #008800 } /* Operator.Word */
   .w { color: #bbbbbb } /* Text.Whitespace */
   .mf { color: #7AC; font-weight: bold } /* Literal.Number.Float */
   .mh { color: #7AC; font-weight: bold } /* Literal.Number.Hex */
-  .highlight .mi {color:#099;} /* Literal.Number.Integer */
+  .mi {color:#099;} /* Literal.Number.Integer */
   .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
   .sb { color: #dd2200; background-color: transparent; } /* Literal.String.Backtick */
-  .highlight .sc{color:#d14;} /* Literal.String.Char */
+  .sc{color:#d14;} /* Literal.String.Char */
   .sd { color: #dd2200; background-color: transparent; } /* Literal.String.Doc */
-  .highlight .s2{color:orange;} /* Literal.String.Double */
-  .highlight .se{color:orange;} /* Literal.String.Escape */
-  .highlight .sh{color:orange;} /* Literal.String.Heredoc */
-  .highlight .si{color:orange;} /* Literal.String.Interpol */
-  .highlight .sx{color:orange;} /* Literal.String.Other */
-  .highlight .sr{color:orange;} /* Literal.String.Regex */
-  .highlight .s1{color:orange;} /* Literal.String.Single */
-  .highlight .ss{color:orange;} /* Literal.String.Symbol */
+  .s2{color:orange;} /* Literal.String.Double */
+  .se{color:orange;} /* Literal.String.Escape */
+  .sh{color:orange;} /* Literal.String.Heredoc */
+  .si{color:orange;} /* Literal.String.Interpol */
+  .sx{color:orange;} /* Literal.String.Other */
+  .sr{color:orange;} /* Literal.String.Regex */
+  .s1{color:orange;} /* Literal.String.Single */
+  .ss{color:orange;} /* Literal.String.Symbol */
   .bp { color: #D58 } /* Name.Builtin.Pseudo */
   .vc { color: #336699 } /* Name.Variable.Class */
   .vg { color: #dd7700 } /* Name.Variable.Global */
diff --git a/app/assets/stylesheets/highlight/white.scss b/app/assets/stylesheets/highlight/white.scss
index 9b003b8ace530bffd75a84f69c752083fe135503..d6792b37e9cbbfb852f0b2197aa8f46ce6399177 100644
--- a/app/assets/stylesheets/highlight/white.scss
+++ b/app/assets/stylesheets/highlight/white.scss
@@ -1,141 +1,69 @@
-table.highlighttable {
-  margin:0px;
-  padding:0px;
-  font-size:12px;
-  table-layout:fixed;
-  background: #EEE;
-  box-shadow: none;
-  border: none;
-  td.linenos {
-    background:#eee;
-    border-left:none;
-  }
-  td.code {
-    border-right:none;
-  }
-}
-
-
-td.code,
-td.linenos{
-  padding:0;
-  margin:0;
-  border-top:0;
-  vertical-align:top;
-}
-
-.highlighttable .highlight{
-  background:none;
-  padding:10px 0px 0px 10px;
-  margin-left:0px;
-  border-left: 1px solid #DEE2E3;
+.white .lines .highlight {
   background: white;
-}
-
-.linenodiv pre,
-.highlighttable .highlight pre{
-  margin:0;
-  padding:0;
-  background:none;
-  border:none;
-}
+  pre { color: #333; }
 
-.linenodiv pre {
-  white-space:pre-line;
+  .hll { display: block; background-color: $hover }
+  .c { color: #888888; font-style: italic } /* Comment */
+  .err { color: #a61717; background-color: #e3d2d2 } /* Error */
+  .k { color: #000000; font-weight: bold } /* Keyword */
+  .cm { color: #888888 } /* Comment.Multiline */
+  .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
+  .c1 { color: #888888 } /* Comment.Single */
+  .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
+  .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+  .ge { font-style: italic } /* Generic.Emph */
+  .gr { color: #aa0000 } /* Generic.Error */
+  .gh { color: #303030 } /* Generic.Heading */
+  .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+  .go { color: #888888 } /* Generic.Output */
+  .gp { color: #555555 } /* Generic.Prompt */
+  .gs { font-weight: bold } /* Generic.Strong */
+  .gu { color: #606060 } /* Generic.Subheading */
+  .gt { color: #aa0000 } /* Generic.Traceback */
+  .kc{font-weight:bold;} /* Keyword.Constant */
+  .kd{font-weight:bold;} /* Keyword.Declaration */
+  .kn{font-weight:bold;} /* Keyword.Namespace */
+  .kp{font-weight:bold;} /* Keyword.Pseudo */
+  .kr{font-weight:bold;} /* Keyword.Reserved */
+  .kt{color:#458;font-weight:bold;} /* Keyword.Type */
+  .m { color: #0000DD; font-weight: bold } /* Literal.Number */
+  .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
+  .na{color:#008080;} /* Name.Attribute */
+  .nb{color:#0086B3;} /* Name.Builtin */
+  .nc{color:#458;font-weight:bold;} /* Name.Class */
+  .no{color:#008080;} /* Name.Constant */
+  .ni{color:#800080;}
+  .ne{color:#900;font-weight:bold;} /* Name.Exception */
+  .nf{color:#900;font-weight:bold;} /* Name.Function */
+  .nn{color:#005;font-weight:bold;} /* Name.Namespace */
+  .nt{color:#000080;} /* Name.Tag */
+  .nv{color:#008080;} /* Name.Variable */
+  .py { color: #336699; font-weight: bold } /* Name.Property */
+  .ow { color: #008800 } /* Operator.Word */
+  .w { color: #bbbbbb } /* Text.Whitespace */
+  .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
+  .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
+  .mi {color:#099;} /* Literal.Number.Integer */
+  .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
+  .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
+  .sc{color:#d14;} /* Literal.String.Char */
+  .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
+  .s2{color:#d14;} /* Literal.String.Double */
+  .se{color:#d14;} /* Literal.String.Escape */
+  .sh{color:#d14;} /* Literal.String.Heredoc */
+  .si{color:#d14;} /* Literal.String.Interpol */
+  .sx{color:#d14;} /* Literal.String.Other */
+  .sr{color:#d14;} /* Literal.String.Regex */
+  .s1{color:#d14;} /* Literal.String.Single */
+  .ss{color:#d14;} /* Literal.String.Symbol */
+  .bp { color: #003388 } /* Name.Builtin.Pseudo */
+  .vc { color: #336699 } /* Name.Variable.Class */
+  .vg { color: #dd7700 } /* Name.Variable.Global */
+  .vi { color: #3333bb }
 }
 
-td.linenos {
-  /*background:#F7F7F7;*/
-  color:#666;
-  padding:10px 0px 0px 10px;
-  float:left;
-  width:45px;
-  border-right: 1px solid #ccc;
-
-}
-
-td.code .highlight {
-  overflow: auto;
-}
-table.highlighttable pre{
-  padding:0;
-  margin:0;
-  font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
-  color: #333;
-  text-align:left;
-}
-
-.git-empty .highlight {
-  pre{
-    padding:15px;
-    line-height:2.0;
-    margin:0;
-    font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
-    color: #333;
-    text-align:left;}
-  }
-
-.shadow{
+.shadow {
   -webkit-box-shadow:0 5px 15px #000;
   -moz-box-shadow:0 5px 15px #000;
   box-shadow:0 5px 15px #000;
 }
-
-.hll { background-color: #ffffff }
-.c { color: #888888; font-style: italic } /* Comment */
-.err { color: #a61717; background-color: #e3d2d2 } /* Error */
-.k { color: #000000; font-weight: bold } /* Keyword */
-.cm { color: #888888 } /* Comment.Multiline */
-.cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
-.c1 { color: #888888 } /* Comment.Single */
-.cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
-.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
-.ge { font-style: italic } /* Generic.Emph */
-.gr { color: #aa0000 } /* Generic.Error */
-.gh { color: #303030 } /* Generic.Heading */
-.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
-.go { color: #888888 } /* Generic.Output */
-.gp { color: #555555 } /* Generic.Prompt */
-.gs { font-weight: bold } /* Generic.Strong */
-.gu { color: #606060 } /* Generic.Subheading */
-.gt { color: #aa0000 } /* Generic.Traceback */
-.highlight .kc{font-weight:bold;} /* Keyword.Constant */
-.highlight .kd{font-weight:bold;} /* Keyword.Declaration */
-.highlight .kn{font-weight:bold;} /* Keyword.Namespace */
-.highlight .kp{font-weight:bold;} /* Keyword.Pseudo */
-.highlight .kr{font-weight:bold;} /* Keyword.Reserved */
-.highlight .kt{color:#458;font-weight:bold;} /* Keyword.Type */
-.m { color: #0000DD; font-weight: bold } /* Literal.Number */
-.s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
-.highlight .na{color:#008080;} /* Name.Attribute */
-.highlight .nb{color:#0086B3;} /* Name.Builtin */
-.highlight .nc{color:#458;font-weight:bold;} /* Name.Class */
-.highlight .no{color:#008080;} /* Name.Constant */
-.highlight .ni{color:#800080;}
-.highlight .ne{color:#900;font-weight:bold;} /* Name.Exception */
-.highlight .nf{color:#900;font-weight:bold;} /* Name.Function */
-.highlight .nn{color:#005;font-weight:bold;} /* Name.Namespace */
-.highlight .nt{color:#000080;} /* Name.Tag */
-.highlight .nv{color:#008080;} /* Name.Variable */
-.py { color: #336699; font-weight: bold } /* Name.Property */
-.ow { color: #008800 } /* Operator.Word */
-.w { color: #bbbbbb } /* Text.Whitespace */
-.mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
-.mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
-.highlight .mi {color:#099;} /* Literal.Number.Integer */
-.mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
-.sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
-.highlight .sc{color:#d14;} /* Literal.String.Char */
-.sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
-.highlight .s2{color:#d14;} /* Literal.String.Double */
-.highlight .se{color:#d14;} /* Literal.String.Escape */
-.highlight .sh{color:#d14;} /* Literal.String.Heredoc */
-.highlight .si{color:#d14;} /* Literal.String.Interpol */
-.highlight .sx{color:#d14;} /* Literal.String.Other */
-.highlight .sr{color:#d14;} /* Literal.String.Regex */
-.highlight .s1{color:#d14;} /* Literal.String.Single */
-.highlight .ss{color:#d14;} /* Literal.String.Symbol */
-.bp { color: #003388 } /* Name.Builtin.Pseudo */
-.vc { color: #336699 } /* Name.Variable.Class */
-.vg { color: #dd7700 } /* Name.Variable.Global */
-.vi { color: #3333bb }
diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss
index c821c3c18a8f1465d465e9590c47a1344104c74a..7ae32b3a7d9380e348cea6b2d1b2c9c7f3116b8c 100644
--- a/app/assets/stylesheets/main.scss
+++ b/app/assets/stylesheets/main.scss
@@ -1,15 +1,21 @@
+/** Override bootstrap variables **/
+$baseFontSize: 13px !default;
+$baseLineHeight: 18px !default;
+
 @import "bootstrap";
 @import "bootstrap-responsive";
 @import 'font-awesome';
 
 /** GitLab colors **/
-$link_color:#3A89A3;
-$blue_link: #2fa0bb;
-$style_color: #474d57;
+$link_color: #3A89A3;
+$blue_link: #2FA0BB;
+$style_color: #474D57;
 $hover: #D9EDF7;
+$hover_border: #ADF;
 
 /** GitLab Fonts **/
 @font-face { font-family: Korolev; src: font-url('korolev-medium-compressed.otf'); }
+$monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono', 'lucida console', monospace;
 
 /** MIXINS **/
 @mixin shade {
@@ -19,9 +25,9 @@ $hover: #D9EDF7;
 }
 
 @mixin solid_shade {
-  -moz-box-shadow: 0 0 0 3px #eee;
-  -webkit-box-shadow: 0 0 0 3px #eee;
-  box-shadow: 0 0 0 3px #eee;
+  -moz-box-shadow: 0 0 0 3px #f1f1f1;
+  -webkit-box-shadow: 0 0 0 3px #f1f1f1;
+  box-shadow: 0 0 0 3px #f1f1f1;
 }
 
 @mixin border-radius($radius) {
@@ -64,6 +70,14 @@ $hover: #D9EDF7;
   background-image: -o-linear-gradient($from, $to);
 }
 
+@mixin bg-light-gray-gradient {
+  background:#f1f1f1;
+  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));
+  background-image: -webkit-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
+  background-image: -moz-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
+  background-image: -o-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
+}
+
 @mixin bg-gray-gradient {
   background:#eee;
   background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
@@ -104,14 +118,12 @@ $hover: #D9EDF7;
 @import "themes/ui_basic.scss";
 
 /**
- * UI mars theme
+ * UI themes:
  */
 @import "themes/ui_mars.scss";
-
-/**
- * UI Modern theme
- */
 @import "themes/ui_modern.scss";
+@import "themes/ui_gray.scss";
+@import "themes/ui_color.scss";
 
 /**
  * GitLab bootstrap.
@@ -145,6 +157,7 @@ $hover: #D9EDF7;
 @import "sections/merge_requests.scss";
 @import "sections/graph.scss";
 @import "sections/events.scss";
+@import "sections/themes.scss";
 
 /**
  * This scss file redefine chozen selectbox styles for
diff --git a/app/assets/stylesheets/ref_select.scss b/app/assets/stylesheets/ref_select.scss
index ed6760f1b434252ac3994430070e2fcd0b26ba68..377d008605e409c658f83dc4c5c9defe2a872a1f 100644
--- a/app/assets/stylesheets/ref_select.scss
+++ b/app/assets/stylesheets/ref_select.scss
@@ -19,31 +19,66 @@
   margin-right: 10px;
 
   .chzn-drop {
-    margin:7px 0;
     min-width: 400px;
-    border: 2px solid $blue_link;
-    @include border-radius(4px);
+    .chzn-results {
+      max-height:300px;
+    }
+    .chzn-search input {
+      min-width:365px;
+    }
+  }
+}
+
+/** Fix for Search Dropdown Border **/
+.chzn-container {
+  .chzn-search {
+    input:focus {
+      -webkit-box-shadow: none;
+      -moz-box-shadow: none;
+      box-shadow: none;
+    }
+  }
+
+  .chzn-drop {
+    margin:7px 0;
+    min-width: 200px;
+    border: 1px solid #bbb;
+    border-radius:0;
 
     .chzn-results {
+      margin-top: 5px;
       max-height:300px;
 
       .group-result {
-        color: $blue_link;
+        color: $style_color;
+        border-bottom: 1px solid #EEE;
+        padding: 8px;
       }
       .active-result {
+        border-radius: 0;
+
         &.highlighted {
-          background: $blue_link;
+          background: $hover;
+          color: $style_color;
+        }
+        &.result-selected {
+          background: #EEE;
+          border-left: 4px solid #CCC;
         }
       }
     }
 
-    .chzn-search input {
-      min-width:365px;
+    .chzn-search {
+      @include bg-gray-gradient;
+      input {
+        min-width:165px;
+        border-color: #CCC;
+      }
     }
   }
 
   .chzn-single {
-    @include bg-gray-gradient;
+    @include bg-light-gray-gradient;
 
     div {
       background:transparent;
@@ -55,14 +90,3 @@
     }
   }
 }
-
-/** Fix for Search Dropdown Border **/
-.chzn-container {
-  .chzn-search {
-    input:focus {
-      -webkit-box-shadow: none;
-      -moz-box-shadow: none;
-      box-shadow: none;
-    }
-  }
-}
diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss
index 139d734778c61ef4cffb805404e7114946d3a908..9cce5bd0389f38d9f54ffb5c33c5ce5567a3ba93 100644
--- a/app/assets/stylesheets/sections/commits.scss
+++ b/app/assets/stylesheets/sections/commits.scss
@@ -47,12 +47,15 @@
       padding-left: 32px;
     }
 
-    .author,
-    .committer {
+    .author a,
+    .committer a {
       font-size:14px;
       line-height:22px;
       text-shadow:0 1px 1px #fff;
       color:#777;
+      &:hover {
+        color: #999;
+      }
     }
 
     .avatar {
@@ -71,7 +74,9 @@
   margin-bottom:1em;
 
   .diff_file_header {
-    padding:7px 5px;
+    @extend .clearfix;
+    padding: 5px 5px 5px 10px;
+    color: #555;
     border-bottom:1px solid #CCC;
     background: #eee;
     background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
@@ -79,8 +84,23 @@
     background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
     background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
 
-    span {
+    > span {
+      font-family: $monospace;
       font-size:14px;
+      line-height: 30px;
+    }
+
+    a.view-commit{
+      font-weight: bold;
+    }
+
+    .commit-short-id{
+      font-family: $monospace;
+      font-size: smaller;
+    }
+
+    .file-mode{
+      font-family: $monospace;
     }
   }
   .diff_file_content {
@@ -89,7 +109,7 @@
     background:#fff;
     color:#333;
     font-size: 12px;
-    font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
+    font-family: $monospace;
     .old{
       span.idiff{
         background-color:#FAA;
@@ -110,22 +130,34 @@
   .diff_file_content_image {
     background:#eee;
     text-align:center;
-    img {
+    .image {
+      display: inline-block;
       margin:50px;
-      padding:1px;
       max-width:400px;
 
-      &.diff_image_removed {
-        border: 1px solid #C00;
+      img{
+        background: url('trans_bg.gif');
+      }
+
+      &.diff_removed {
+        img{
+          border: 1px solid #C00;
+        }
+      }
+
+      &.diff_added {
+        img{
+          border: 1px solid #0C0;
+        }
       }
 
-      &.diff_image_added {
-        border: 1px solid #0C0;;
+      .image-info{
+        margin: 5px 0 0 0;
       }
     }
 
     &.img_compared {
-      img {
+      .image {
         max-width:300px;
       }
     }
@@ -222,26 +254,41 @@
     float:left;
     @extend .lined;
     min-width:65px;
-    font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
+    font-family: $monospace;
   }
 
   .commit-author-name {
     color: #777;
+    &:hover {
+      color: #999;
+    }
   }
 }
 
 .diff_file_header a,
-.file_stats a {
-  color:$style_color;
+.file-stats a {
+  color: $style_color;
 }
 
-.file_stats {
-  span {
-    img {
-      width:14px;
-      float:left;
-      margin-right:6px;
-      padding:2px 0;
+.file-stats {
+  .new-file{
+    i{
+      color: #1BCF00;
+    }
+  }
+  .renamed-file{
+    i{
+      color: #FE9300;
+    }
+  }
+  .deleted-file{
+    i{
+      color: #FF0000;
+    }
+  }
+  .edit-file{
+    i{
+      color: #555;
     }
   }
 }
@@ -253,5 +300,5 @@
   font-size:13px;
   background: #474D57;
   color:#fff;
-  font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
+  font-family: $monospace;
 }
diff --git a/app/assets/stylesheets/sections/editor.scss b/app/assets/stylesheets/sections/editor.scss
index 84f221bd621928f338d2ca3d62f6e363dfa7e4ee..711dc0d8e43cb07550e3e2333bdc7c05d9daa05b 100644
--- a/app/assets/stylesheets/sections/editor.scss
+++ b/app/assets/stylesheets/sections/editor.scss
@@ -1,14 +1,48 @@
 .file-editor {
   #editor{
+    border: none;
+    border-radius: 0;
     height: 500px;
-    width: 100%;
+    margin: 0;
+    padding: 0;
     position: relative;
+    width: 100%;
   }
-  .editor-commit-comment {
-    padding-top:20px;
+
+  .cancel-btn {
+    color: #B94A48;
+    &:hover {
+      color: #B94A48;
+    }
+  }
+  .commit-button-annotation {
+    @extend .alert;
+    @extend .alert-info;
+    display: inline-block;
+    margin: 0;
+    padding: 2px;
+
+    > * {
+      float: left;
+    }
+
+    .commit-btn {
+      @extend .save-btn;
+    }
+    .message {
+      display: inline-block;
+      margin: 5px 8px 0 8px;
+    }
+  }
+  .commit_message-group {
+    margin-top: 20px;
+
+    label {
+      font-size: 16px;
+      line-height: 20px;
+    }
     textarea {
-      width: 50%;
-      margin-left: 20px;
+      @extend .span8;
     }
   }
 }
diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss
index 17df600c1af4faf8781483018c17969e191e76bf..369ebc81e31abbfef432c15ba96e2f214a9a43aa 100644
--- a/app/assets/stylesheets/sections/events.scss
+++ b/app/assets/stylesheets/sections/events.scss
@@ -43,6 +43,7 @@
   .event-body {
     p {
       color:#555;
+      padding-top: 5px;
     }
     .event-info {
       color:#666;
@@ -115,3 +116,29 @@
     margin: -3px;
   }
 }
+
+/**
+ * Event filter
+ *
+ */
+.event_filter {
+  position: absolute;
+  width: 40px;
+  margin-left: -50px;
+
+  .filter_icon {
+    float: left;
+    border-left: 3px solid #4bc;
+    padding: 7px;
+    background: #f9f9f9;
+    margin-bottom: 10px;
+    img {
+      width:20px;
+    }
+
+    &.inactive {
+      border-left: 3px solid #EEE;
+      opacity: 0.5;
+    }
+  }
+}
diff --git a/app/assets/stylesheets/sections/header.scss b/app/assets/stylesheets/sections/header.scss
index 8328a5ab9a7f0f254eec4a16c093ae7600bb59d9..0db40ec9ac7504527a9c12e010b0ea17c6844d4f 100644
--- a/app/assets/stylesheets/sections/header.scss
+++ b/app/assets/stylesheets/sections/header.scss
@@ -3,18 +3,29 @@
  *
  */
 header {
-  width:100%;
-  padding:0;
-  margin:0;
-  top:1px;
-  left:0;
-  background: #F1F1F1; /* for non-css3 browsers */
-  border-bottom: 1px solid #ccc;
-  box-shadow: 0 -1px 0 white inset;
-  -moz-box-shadow: 0 -1px 0 white inset;
-  -webkit-box-shadow: 0 -1px 0 white inset;
+  &.navbar-gitlab {
+    .navbar-inner {
+      height:45px;
+      padding: 5px;
+      background: #F1F1F1;
+
+      .nav > li > a {
+        color: $style_color;
+        text-shadow: 0 1px 0 #fff;
+        font-size: 18px;
+        padding: 11px;
+      }
+
+      /** NAV block with links and profile **/
+      .nav {
+        float: right;
+        margin-right: 0;
+      }
+    }
+  }
+
   z-index:10;
-  height:60px;
+  /*height:60px;*/
 
   /**
    *
@@ -22,45 +33,26 @@ header {
    *
    */
   .app_logo {
-    width:200px;
+    width:170px;
     float:left;
-    position:relative;
-    top:-5px;
     a {
       float:left;
+      padding: 0px;
 
       h1 {
-        padding-top: 5px;
         width:90px;
-        background: url('logo_dark.png') no-repeat 0px -3px;
+        background: url('logo_dark.png') no-repeat 0px 2px;
         float:left;
-        margin-left:5px;
-        font-size:36px;
-        line-height:36px;
+        margin-left:2px;
+        font-size:30px;
+        line-height:48px;
         font-weight:normal;
         color:$style_color;
         text-shadow: 0 1px 1px #FFF;
-        padding-left:50px;
+        padding-left:45px;
         height:40px;
         font-family: 'Korolev', sans-serif;
       }
-
-    }
-    .separator {
-      margin-left:20px;
-      float: left;
-      height: 60px;
-      width: 1px;
-      background: white;
-      border-left: 1px solid #DDD;
-      margin-top: -10px;
-    }
-  }
-  .container {
-    .top_panel_content {
-      margin:auto;
-      position:relative;
-      padding:15px 0;
     }
   }
 
@@ -74,33 +66,23 @@ header {
     float:left;
     margin:0;
     margin-right:30px;
-    font-size:36px;
-    line-height:36px;
+    font-size:30px;
+    line-height:48px;
     font-weight:normal;
     color:$style_color;
     text-shadow: 0 1px 1px #FFF;
     font-family: 'Korolev', sans-serif;
   }
 
-  .fbtn {
-    float: right;
-    margin-right:10px;
-    .btn {
-      margin-left:7px;
-      background: #F1F1F1;
-      border: 1px solid #CCC;
-    }
-  }
-
-
   /**
    *
    * Search box
    *
    */
   .search {
-    float: right;
     margin-right: 45px;
+    margin-left:10px;
+    margin-top: 2px;
 
     .search-input {
       @extend .span2;
@@ -108,8 +90,13 @@ header {
       background-repeat: no-repeat;
       background-position: 10px;
       padding-left:25px;
-      @include border-radius(5px);
-      border:1px solid #ccc;
+      font-size: 13px;
+      @include border-radius(3px);
+      border:1px solid #c6c6c6;
+      box-shadow:none;
+      &:focus {
+        @extend .span3;
+      }
     }
   }
 
@@ -121,7 +108,7 @@ header {
   .account-box {
     position: absolute;
     right: 0;
-    top: 13px;
+    top: 6px;
     z-index: 10000;
     width: 128px;
     font-size: 11px;
@@ -129,13 +116,13 @@ header {
     display: block;
     cursor: pointer;
     img {
-      @include border-radius(4px);
+      @include border-radius(3px);
       right: 5px;
       position: absolute;
       width: 28px;
       height: 28px;
       display: block;
-      top: 2px;
+      top:1px;
       &:after {
         content: " ";
         display: block;
@@ -162,12 +149,7 @@ header {
   display: block; } }
 
   .account-links {
-    background: #79C3E0;
-    display: none;
     border-radius: 5px;
-    width: 100px;
-    margin-top: 0;
-    float: right;
     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
     position: relative;
     &:before {
@@ -177,32 +159,33 @@ header {
       position: absolute;
       border: 5px solid transparent;
       border-color: rgba(255, 255, 255, 0);
-      border-bottom-color: #333;
+      border-bottom-color: #555;
       text-indent: -9999px;
       top: -10px;
       line-height: 0;
       right: 10px;
     z-index: 10; }
-    background: #333;
+    background: #555;
     display: none;
     z-index: 100000;
-    border-radius: 5px;
+    @include border-radius(4px);
     width: 100px;
     position: absolute;
-    right: 10px;
-    top: 42px;
+    right: 5px;
+    top: 38px;
     margin-top: 0;
     float: right;
     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
     a {
-      color: #EEE;
-      padding: 6px 10px;
+      color: #fff;
+      padding: 7px 10px;
       display: block;
       text-shadow: none;
-      border-bottom: 1px solid #555;
+      border-bottom: 1px solid #666;
+      font-size: 12px;
       &:hover {
-        color:#eee;
-        background: #444;
+        color:#fff;
+        background: #333;
       }
     }
   }
@@ -228,5 +211,52 @@ header {
       border-bottom-right-radius: 5px;
       border-bottom-left-radius: 5px;
   border-bottom: 0; } }
+
+
+
+  /*
+   * Dark header
+   *
+   */
+  &.header-dark {
+    &.navbar-gitlab {
+      .navbar-inner {
+        background: #708090;
+        border-bottom: 1px solid #AAA;
+
+        .nav > li > a {
+          color: #fff;
+          text-shadow: 0 1px 0 #111;
+        }
+      }
+    }
+
+    .search {
+      .search-input {
+        background-color: #D2D5DA;
+        background-color: rgba(255, 255, 255, 0.5);
+
+        &:focus {
+          background-color: white;
+        }
+      }
+    }
+    .search-input::-webkit-input-placeholder {
+      color: #666;
+    }
+    .app_logo {
+      a {
+        h1 {
+          background: url('logo_white.png') no-repeat 0px 2px;
+          color:#fff;
+          text-shadow: 0 1px 1px #111;
+        }
+      }
+    }
+    .project_name {
+      color:#fff;
+      text-shadow: 0 1px 1px #111;
+    }
+  }
 }
 
diff --git a/app/assets/stylesheets/sections/issues.scss b/app/assets/stylesheets/sections/issues.scss
index 3ad9d6f7c812ea2f7f1841e6dec709493ba82cd0..93622d6149ab95da4291bcd6b05460b79d980618 100644
--- a/app/assets/stylesheets/sections/issues.scss
+++ b/app/assets/stylesheets/sections/issues.scss
@@ -44,7 +44,7 @@
 
     img.avatar {
       width:32px;
-      margin-top:4px;
+      margin-top:1px;
     }
   }
 }
diff --git a/app/assets/stylesheets/sections/merge_requests.scss b/app/assets/stylesheets/sections/merge_requests.scss
index c932f0fc67bd1d1e75fa17e9d23185a221b29b00..9087e7c2f59d9bf5b4e53ae5cacf378bdd71873a 100644
--- a/app/assets/stylesheets/sections/merge_requests.scss
+++ b/app/assets/stylesheets/sections/merge_requests.scss
@@ -71,7 +71,7 @@ li.merge_request {
   padding:7px 10px;
   img.avatar {
     width: 32px;
-    margin-top: 4px;
+    margin-top: 1px;
   }
   p {
     padding: 0px;
@@ -121,3 +121,25 @@ li.merge_request {
 .mr_direction_tip {
   margin-top:40px
 }
+
+.merge_requests_form_box {
+  @extend .main_box;
+  .merge_requests_middle_box {
+    @extend .middle_box_content;
+    height:30px;
+    .merge_requests_assignee {
+      @extend .span6;
+      float:left;
+    }
+    .merge_requests_milestone {
+      @extend .span4;
+      float:left;
+    }
+  }
+}
+
+.status-badge {
+  height: 32px;
+  width: 100%;
+  @include border-radius(5px);
+}
diff --git a/app/assets/stylesheets/sections/nav.scss b/app/assets/stylesheets/sections/nav.scss
index 98bc727564067f1002d9d72c3103dd24457abe6a..5707216922c34c8bd559b01a88858ccc8ccf2e6c 100644
--- a/app/assets/stylesheets/sections/nav.scss
+++ b/app/assets/stylesheets/sections/nav.scss
@@ -6,7 +6,7 @@ ul.main_menu {
   border-radius: 4px;
   margin: auto;
   margin:30px 0;
-  border:1px solid #AAA;
+  border:1px solid #BBB;
   height:37px;
   @include bg-gray-gradient;
   position:relative;
diff --git a/app/assets/stylesheets/sections/profile.scss b/app/assets/stylesheets/sections/profile.scss
index 206da3a95f796910dc9bc41fd39f97147272ab36..e945ca009183f9c409d0a06a4cfa4bee488a6abc 100644
--- a/app/assets/stylesheets/sections/profile.scss
+++ b/app/assets/stylesheets/sections/profile.scss
@@ -6,3 +6,17 @@
     }
   }
 }
+
+.profile_avatar_holder {
+  float:left;
+  width:60px;
+  height:60px;
+  margin-right:20px;
+  img {
+    width:60px;
+    height:60px;
+    background:#fff;
+    padding: 1px;
+    border: 1px solid #ddd;
+  }
+}
diff --git a/app/assets/stylesheets/sections/projects.scss b/app/assets/stylesheets/sections/projects.scss
index b1f20a3e06bad98321a3172b909f999ed77d10d9..c9d386ab5bb71caae96d813c0738bbbfe4bc9d31 100644
--- a/app/assets/stylesheets/sections/projects.scss
+++ b/app/assets/stylesheets/sections/projects.scss
@@ -85,9 +85,18 @@
 }
 
 .project_clone_holder {
+  input[type="text"],
+  .btn {
+    font-size:12px;
+    line-height: 18px;
+    margin: 0;
+    padding: 3px 10px;
+  }
+
   input[type="text"] {
     border: 1px solid #BBB;
     box-shadow: none;
+    margin-left: -1px;
   }
 }
 
diff --git a/app/assets/stylesheets/sections/themes.scss b/app/assets/stylesheets/sections/themes.scss
new file mode 100644
index 0000000000000000000000000000000000000000..2d121519b02d29fe5b4ef8bfda192ff92e1008a6
--- /dev/null
+++ b/app/assets/stylesheets/sections/themes.scss
@@ -0,0 +1,60 @@
+.application-theme, .code-preview-theme {
+  .update-feedback {
+    color: #468847;
+    float: right;
+  }
+}
+
+.themes_opts {
+  padding-left:20px;
+
+  label {
+    width:175px;
+    margin-right:40px;
+
+    .prev {
+      @extend .thumbnail;
+      height:30px;
+      width:175px;
+      margin-bottom:10px;
+
+      &.classic {
+        background: #31363e;
+      }
+
+      &.default {
+        background: #f1f1f1;
+      }
+
+      &.modern {
+        background: #567;
+      }
+
+      &.gray {
+        background: #708090;
+      }
+
+      &.violet {
+        background: #657;
+      }
+    }
+  }
+}
+
+.code_highlight_opts {
+  padding-left:20px;
+
+  label {
+    width:220px;
+    margin-right:40px;
+
+    .prev {
+      @extend .thumbnail;
+      height:151px;
+      width:220px;
+      margin-bottom:10px;
+    }
+  }
+}
+
+
diff --git a/app/assets/stylesheets/sections/tree.scss b/app/assets/stylesheets/sections/tree.scss
index e17487fdb2d1c086d7ef12a3be139677cdb1e37a..f6bdb0f3dba774ef13602f5951be537057c5c6bb 100644
--- a/app/assets/stylesheets/sections/tree.scss
+++ b/app/assets/stylesheets/sections/tree.scss
@@ -57,10 +57,7 @@
     padding-right: 8px;
 
     img.avatar {
-      border: 0 none;
-      float: none;
-      margin-right: 0;
-      padding: 0;
+      margin-top: 0;
       width: 16px;
     }
   }
@@ -75,6 +72,15 @@
       }
     }
   }
+
+  .blame {
+    img.avatar {
+      border: 0 none;
+      float: none;
+      margin: 0;
+      padding: 0;
+    }
+  }
 }
 
 .tree-btn-group {
diff --git a/app/assets/stylesheets/themes/ui_basic.scss b/app/assets/stylesheets/themes/ui_basic.scss
index cf5eda1c893c891c7cb7ec6a867778aafc043741..1f3d3d3d3895d2056403488ce9455b5b137b5a95 100644
--- a/app/assets/stylesheets/themes/ui_basic.scss
+++ b/app/assets/stylesheets/themes/ui_basic.scss
@@ -16,35 +16,21 @@
     }
   }
 
-  header { 
-    .fbtn {
-      .btn {
-        background-color: #F8F8F8;
-        background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#ECECEC));
-        background-image: -webkit-linear-gradient(top,#F8F8F8,#ECECEC);
-        background-image: -moz-linear-gradient(top,#F8F8F8,#ECECEC);
-        background-image: -ms-linear-gradient(top,#F8F8F8,#ECECEC);
-        background-image: -o-linear-gradient(top,#F8F8F8,#ECECEC);
-        background-image: linear-gradient(top,#F8F8F8,#ECECEC);
-        filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f8f8f8',EndColorStr='#ececec');
-        border-color: #C6C6C6;
-        margin-left:7px;
-        @include border-radius(3px);
-        box-shadow:none;
-        color:#666;
-      }
-    }
-    .search {
-      .search-input {
-        @include border-radius(3px);
-        border-color: #C6C6C6;
-        box-shadow:none;
-      }
-    }
-    .pic { 
-      img { 
-        @include border-radius(3px);
-      }
+  .app_logo {
+    .separator {
+      margin-left: 0;
+      margin-right: 0;
     }
   }
+
+  .separator {
+    float: left;
+    height: 60px;
+    width: 1px;
+    background: white;
+    border-left: 1px solid #DDD;
+    margin-top: -10px;
+    margin-left: 10px;
+    margin-right: 10px;
+  }
 }
diff --git a/app/assets/stylesheets/themes/ui_color.scss b/app/assets/stylesheets/themes/ui_color.scss
new file mode 100644
index 0000000000000000000000000000000000000000..8c60fabb3a7bea6e490fc09cdbe334cfa78a7cf5
--- /dev/null
+++ b/app/assets/stylesheets/themes/ui_color.scss
@@ -0,0 +1,23 @@
+/**
+ * This file represent some UI that can be changed
+ * during web app restyle or theme select.
+ *
+ * Next items should be placed there
+ * - link colors
+ * - header restyles
+ *
+ */
+.ui_color {
+  /*
+   *  Application Header
+   *
+   */
+  header {
+    @extend .header-dark;
+    &.navbar-gitlab {
+      .navbar-inner {
+        background: #657;
+      }
+    }
+  }
+}
diff --git a/app/assets/stylesheets/themes/ui_gray.scss b/app/assets/stylesheets/themes/ui_gray.scss
new file mode 100644
index 0000000000000000000000000000000000000000..e80137a69c85caee8a5f6367a971bbaf81cc6367
--- /dev/null
+++ b/app/assets/stylesheets/themes/ui_gray.scss
@@ -0,0 +1,23 @@
+/**
+ * This file represent some UI that can be changed
+ * during web app restyle or theme select.
+ *
+ * Next items should be placed there
+ * - link colors
+ * - header restyles
+ *
+ */
+.ui_gray {
+  /*
+   *  Application Header
+   *
+   */
+  header {
+    @extend .header-dark;
+    &.navbar-gitlab {
+      .navbar-inner {
+        background: #708090;
+      }
+    }
+  }
+}
diff --git a/app/assets/stylesheets/themes/ui_mars.scss b/app/assets/stylesheets/themes/ui_mars.scss
index c630f38894538091b56e7ae1b9fb3ff4860782fa..a9d2124130d364f6c3186457b4f6305a73afa49b 100644
--- a/app/assets/stylesheets/themes/ui_mars.scss
+++ b/app/assets/stylesheets/themes/ui_mars.scss
@@ -14,45 +14,24 @@
    *
    */
   header {
-    background: #474D57 url('bg-header.png') repeat-x bottom;
-    box-shadow:none;
-    border-bottom: 1px solid #444;
 
-    .fbtn {
-      .btn {
-        i {
-          position: relative;
-          top: 1px;
-        }
-        margin-left:8px;
-        background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595D63), to(#31363E));
-        background-image: -webkit-linear-gradient(#595D63 6.6%, #31363E);
-        background-image: -moz-linear-gradient(#595D63 6.6%, #31363E);
-        background-image: -o-linear-gradient(#595D63 6.6%, #31363E);
-        font-size: 12px;
-        &:hover {
-          background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595D63), to(#2C2F35));
-          background-image: -webkit-linear-gradient(#595D63 6.6%, #2C2F35);
-          background-image: -moz-linear-gradient(#595D63 6.6%, #202227);
-          background-image: -o-linear-gradient(#595D63 6.6%, #202227);
-          background-position:0 0;
-          color:#fff;
-          i { 
-            @extend .icon-white;
-          }
-        }
+    &.navbar-gitlab {
+      .navbar-inner {
+        background: #474D57 url('bg-header.png') repeat-x bottom;
+        border-bottom: 1px solid #444;
 
-        border: 1px solid #31363E;
-        color:#D6DADF;
-        text-shadow: 0 -1px 0 #000000;
+        .nav > li > a {
+          color: #eee;
+          text-shadow: 0 1px 0 #444;
+        }
       }
     }
+
     .search {
       float: right;
       margin-right: 45px;
       .search-input {
         border: 1px solid rgba(0, 0, 0, 0.7);
-        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.4) inset;
         background-color: #D2D5DA;
         background-color: rgba(255, 255, 255, 0.5);
 
@@ -67,8 +46,8 @@
     .app_logo {
       a {
         h1 {
-          background: url('logo_white.png') no-repeat 0px -3px;
-          color:#fff;
+          background: url('logo_white.png') no-repeat 0px 2px;
+          color:#eee;
           text-shadow: 0 1px 1px #111;
         }
       }
@@ -78,7 +57,7 @@
 
     }
     .project_name {
-      color:#fff;
+      color:#eee;
       text-shadow: 0 1px 1px #111;
     }
   }
diff --git a/app/assets/stylesheets/themes/ui_modern.scss b/app/assets/stylesheets/themes/ui_modern.scss
index 1f0d795562ba1185bf9cd57bb0217c658f22ee70..32b5ad7d968c8a649532f192a18dad7ae3ff48e8 100644
--- a/app/assets/stylesheets/themes/ui_modern.scss
+++ b/app/assets/stylesheets/themes/ui_modern.scss
@@ -4,8 +4,7 @@
  *
  * Next items should be placed there
  * - link colors
- * - header styles
- * - main menu styles
+ * - header restyles
  *
  */
 .ui_modern {
@@ -14,120 +13,10 @@
    *
    */
   header {
-    height:40px;
-    background-image: -moz-linear-gradient(top, #333, #222);
-    background-image: -ms-linear-gradient(top, #333, #222);
-    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#222));
-    background-image: -webkit-linear-gradient(top, #333, #222);
-    background-image: -o-linear-gradient(top, #333, #222);
-    background-image: linear-gradient(top, #333, #222);
-    background-repeat: repeat-x;
-    background-repeat: repeat-x;
-    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
-    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-
-    .container .top_panel_content  { padding: 5px 0; }
-
-
-    /**
-     *
-     * Logo holder
-     *
-     */
-    .app_logo {
-      width:160px;
-      a {
-        h1 {
-          background: none;
-          color:#DDD;
-          font-size:30px;
-          text-shadow: 0 1px 1px #111;
-          padding-left: 0;
-        }
-      }
-      .separator {
-        width: 1px;
-        height: 40px;
-        margin: 0 10px;
-        overflow: hidden;
-        background: #222;
-        border-left: 1px solid #333;
-      }
-    }
-
-    .fbtn {
-      .btn {
-        i {
-          position: relative;
-          top: 2px;
-        }
-        background:none;
-        margin-left:8px;
-        font-size: 13px;
-        line-height: 19px;
-        color:#ccc;
-        &:hover {
-          color:#fff;
-          i { 
-            @extend .icon-white;
-          }
-        }
-        border: none;
-        box-shadow:none;
-        text-shadow: 0 -1px 0 #000000;
-        border-left: 1px solid #333;
-      }
-    }
-
-    /**
-     *
-     * Search box
-     *
-     */
-    .search {
-      float: right;
-      margin-right: 45px;
-      .search-input {
-        border: 1px solid rgba(0, 0, 0, 0.7);
-        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.4) inset;
-        background-color: #D2D5DA;
-        background-color: rgba(255, 255, 255, 0.5);
-
-        &:focus {
-          background-color: white;
-        }
-      }
-      .search-input::-webkit-input-placeholder {
-        color: #666;
-      }
-    }
-
-    /**
-     *
-     * Project / Area name
-     *
-     */
-    .project_name {
-      line-height:36px;
-      font-size:30px;
-      color:#DDD;
-      text-shadow: 0 1px 1px #111;
-    }
-
-    /**
-     *
-     * Account box
-     *
-     */
-    .account-box {
-      top:6px;
-      img {
-        top:1px;
-        right: 5px;
-        width: 26px;
-        height: 26px;
+    @extend .header-dark;
+    &.navbar-gitlab {
+      .navbar-inner {
+        background: #567;
       }
     }
   }
diff --git a/app/contexts/commit_load_context.rb b/app/contexts/commit_load_context.rb
index b3548ed858e672c24cac30212dd6d6ef0a9607e7..e43e5a078055b81866aa6287957d15d8557cc239 100644
--- a/app/contexts/commit_load_context.rb
+++ b/app/contexts/commit_load_context.rb
@@ -21,7 +21,7 @@ class CommitLoadContext < BaseContext
       result[:notes_count] = line_notes.count + project.commit_notes(commit).count
 
       begin
-        result[:suppress_diff] = true if commit.diffs.size > 200 && !params[:force_show_diff]
+        result[:suppress_diff] = true if commit.diffs.size > Commit::DIFF_SAFE_SIZE && !params[:force_show_diff]
       rescue Grit::Git::GitTimeout
         result[:suppress_diff] = true
         result[:status] = :huge_commit
diff --git a/app/contexts/merge_requests_load_context.rb b/app/contexts/merge_requests_load_context.rb
index e7dbdd285eeb62061242972a30a48cfe08c02033..4ec66cd9b78a3fdf070e55f55bf746f251e0bd9d 100644
--- a/app/contexts/merge_requests_load_context.rb
+++ b/app/contexts/merge_requests_load_context.rb
@@ -1,3 +1,5 @@
+# Build collection of Merge Requests
+# based on filtering passed via params for @project
 class MergeRequestsLoadContext < BaseContext
   def execute
     type = params[:f]
@@ -9,8 +11,21 @@ class MergeRequestsLoadContext < BaseContext
                      when 'closed' then merge_requests.closed
                      when 'assigned-to-me' then merge_requests.opened.assigned(current_user)
                      else merge_requests.opened
-                     end.page(params[:page]).per(20)
+                     end
 
-    merge_requests.includes(:author, :project).order("closed, created_at desc")
+    merge_requests = merge_requests.page(params[:page]).per(20)
+    merge_requests = merge_requests.includes(:author, :project).order("closed, created_at desc")
+
+    # Filter by specific assignee_id (or lack thereof)?
+    if params[:assignee_id].present?
+      merge_requests = merge_requests.where(assignee_id: (params[:assignee_id] == '0' ? nil : params[:assignee_id]))
+    end
+
+    # Filter by specific milestone_id (or lack thereof)?
+    if params[:milestone_id].present?
+      merge_requests = merge_requests.where(milestone_id: (params[:milestone_id] == '0' ? nil : params[:milestone_id]))
+    end
+
+    merge_requests
   end
 end
diff --git a/app/contexts/search_context.rb b/app/contexts/search_context.rb
index 6e5e8c5e9b5ee7e1a9b28ed9dac5cec8fe7113df..9becb8d674f2380c2a7e309fbc52aa9d6502ddef 100644
--- a/app/contexts/search_context.rb
+++ b/app/contexts/search_context.rb
@@ -13,6 +13,7 @@ class SearchContext
     result[:projects] = Project.where(id: project_ids).search(query).limit(10)
     result[:merge_requests] = MergeRequest.where(project_id: project_ids).search(query).limit(10)
     result[:issues] = Issue.where(project_id: project_ids).search(query).limit(10)
+    result[:wiki_pages] = Wiki.where(project_id: project_ids).search(query).limit(10)
     result
   end
 
@@ -20,7 +21,8 @@ class SearchContext
     @result ||= {
       projects: [],
       merge_requests: [],
-      issues: []
+      issues: [],
+      wiki_pages: []
     }
   end
 end
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index 5152f6fa83d139589cd309fe23f1919956f1f130..827dd0cf7cd82052d378fce885ed18791d9b620c 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -1,8 +1,13 @@
 class Admin::DashboardController < AdminController
   def index
-    @workers = Resque.workers
-    @pending_jobs = Resque.size(:post_receive)
     @projects = Project.order("created_at DESC").limit(10)
     @users = User.order("created_at DESC").limit(10)
+
+    @resque_accessible = true
+    @workers = Resque.workers
+    @pending_jobs = Resque.size(:post_receive)
+
+  rescue Redis::InheritedError
+    @resque_accessible = false
   end
 end
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb
index 24406525cd8da867556cb58ac330f07202c2ad4a..d27b657de3a2acd8c7840f1b362eeeeff231854a 100644
--- a/app/controllers/admin/projects_controller.rb
+++ b/app/controllers/admin/projects_controller.rb
@@ -4,7 +4,7 @@ class Admin::ProjectsController < AdminController
   def index
     @admin_projects = Project.scoped
     @admin_projects = @admin_projects.search(params[:name]) if params[:name].present?
-    @admin_projects = @admin_projects.page(params[:page]).per(20)
+    @admin_projects = @admin_projects.order("name ASC").page(params[:page]).per(20)
   end
 
   def show
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb
index c9586ad5da9339005f9b68ebebe1b804a445c1c5..744b1912a6ca8a3ce573acf316a0bca3fda8a8c7 100644
--- a/app/controllers/admin/users_controller.rb
+++ b/app/controllers/admin/users_controller.rb
@@ -98,6 +98,9 @@ class Admin::UsersController < AdminController
 
   def destroy
     @admin_user = User.find(params[:id])
+    if @admin_user.my_own_projects.count > 0
+      redirect_to admin_users_path, alert: "User is a project owner and can't be removed." and return
+    end
     @admin_user.destroy
 
     respond_to do |format|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index b597795a51962fedef1416632e1cd99ef7866f42..ef6fc81a5d5e02aff566ae928252d983a215c4c0 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -9,19 +9,28 @@ class ApplicationController < ActionController::Base
   helper_method :abilities, :can?
 
   rescue_from Gitlab::Gitolite::AccessDenied do |exception|
+    log_exception(exception)
     render "errors/gitolite", layout: "errors", status: 500
   end
 
   rescue_from Encoding::CompatibilityError do |exception|
+    log_exception(exception)
     render "errors/encoding", layout: "errors", status: 500
   end
 
   rescue_from ActiveRecord::RecordNotFound do |exception|
+    log_exception(exception)
     render "errors/not_found", layout: "errors", status: 404
   end
 
   protected
 
+  def log_exception(exception)
+    application_trace = ActionDispatch::ExceptionWrapper.new(env, exception).application_trace
+    application_trace.map!{ |t| "  #{t}\n" }
+    logger.error "\n#{exception.class.name} (#{exception.message}):\n#{application_trace.join}"
+  end
+
   def reject_blocked!
     if current_user && current_user.blocked
       sign_out current_user
diff --git a/app/controllers/blob_controller.rb b/app/controllers/blob_controller.rb
index 30069d199654e40cb6c46f949ad6c5067496a9fc..d4a45d9508e168e4b05159f582d6064acbb1201b 100644
--- a/app/controllers/blob_controller.rb
+++ b/app/controllers/blob_controller.rb
@@ -1,7 +1,6 @@
 # Controller for viewing a file's blame
 class BlobController < ProjectResourceController
   include ExtractsPath
-  include Gitlab::Encode
 
   # Authorize
   before_filter :authorize_read_project!
@@ -12,16 +11,9 @@ class BlobController < ProjectResourceController
 
   def show
     if @tree.is_blob?
-      if @tree.text?
-        encoding = detect_encoding(@tree.data)
-        mime_type = encoding ? "text/plain; charset=#{encoding}" : "text/plain"
-      else
-        mime_type = @tree.mime_type
-      end
-
       send_data(
         @tree.data,
-        type: mime_type,
+        type: @tree.mime_type,
         disposition: 'inline',
         filename: @tree.name
       )
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index af23f970a6d8914b6da26da3b5ca173d94b9f72e..8d9329f2b32e0f5d03c31fbe59da544c69d6e105 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -1,12 +1,17 @@
 class DashboardController < ApplicationController
   respond_to :html
 
+  before_filter :event_filter, only: :index
+
   def index
     @groups = Group.where(id: current_user.projects.pluck(:group_id))
-    @projects = current_user.projects_with_events
+    @projects = current_user.projects_sorted_by_activity
     @projects = @projects.page(params[:page]).per(30)
 
-    @events = Event.in_projects(current_user.project_ids).limit(20).offset(params[:offset] || 0)
+    @events = Event.in_projects(current_user.project_ids)
+    @events = @event_filter.apply_filter(@events)
+    @events = @events.limit(20).offset(params[:offset] || 0)
+
     @last_push = current_user.recent_push
 
     respond_to do |format|
@@ -34,4 +39,8 @@ class DashboardController < ApplicationController
       format.atom { render layout: false }
     end
   end
+
+  def event_filter
+    @event_filter ||= EventFilter.new(params[:event_filter])
+  end
 end
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 761238a98b5f602d74ae6adfab4f706b2a28ab3f..63f70cd00275dc9b57f072ade08b2055378cc545 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -54,7 +54,7 @@ class GroupsController < ApplicationController
   end
 
   def projects
-    @projects ||= current_user.projects_with_events.where(group_id: @group.id)
+    @projects ||= current_user.projects_sorted_by_activity.where(group_id: @group.id)
   end
 
   def project_ids
diff --git a/app/controllers/milestones_controller.rb b/app/controllers/milestones_controller.rb
index fa202cf4677c00f74ed8ea11c45c50d67192162b..fadfee2dc0625eff7788d8bd385f002fa7f3263b 100644
--- a/app/controllers/milestones_controller.rb
+++ b/app/controllers/milestones_controller.rb
@@ -31,7 +31,8 @@ class MilestonesController < ProjectResourceController
 
   def show
     @issues = @milestone.issues
-    @users = @milestone.participants
+    @users = UserDecorator.decorate(@milestone.participants)
+    @merge_requests = @milestone.merge_requests
 
     respond_to do |format|
       format.html
diff --git a/app/controllers/profile_controller.rb b/app/controllers/profile_controller.rb
index 2b8e18f6286afb432fa3d7c503aa255fff401465..5f8b11fdded2e98cd495a1d7f59f8fff2e0291ad 100644
--- a/app/controllers/profile_controller.rb
+++ b/app/controllers/profile_controller.rb
@@ -9,7 +9,11 @@ class ProfileController < ApplicationController
 
   def update
     @user.update_attributes(params[:user])
-    redirect_to :back
+
+    respond_to do |format|
+      format.html { redirect_to :back }
+      format.js
+    end
   end
 
   def token
@@ -22,7 +26,7 @@ class ProfileController < ApplicationController
       flash[:notice] = "Password was successfully updated. Please login with it"
       redirect_to new_user_session_path
     else
-      render action: "password"
+      render 'account'
     end
   end
 
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 13b264a4059456a112db8ec6db6f550cca78e7a8..72080070bed7a1e948aa4d9d6944dcf0857eae8b 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -1,4 +1,4 @@
-require Rails.root.join('lib', 'gitlab', 'graph_commit')
+require Rails.root.join('lib', 'gitlab', 'graph', 'json_builder')
 
 class ProjectsController < ProjectResourceController
   skip_before_filter :project, only: [:new, :create]
@@ -21,9 +21,10 @@ class ProjectsController < ProjectResourceController
     @project = Project.create_by_user(params[:project], current_user)
 
     respond_to do |format|
+      flash[:notice] = 'Project was successfully created.' if @project.saved?
       format.html do
         if @project.saved?
-          redirect_to(@project, notice: 'Project was successfully created.')
+          redirect_to @project
         else
           render action: "new"
         end
@@ -79,7 +80,9 @@ class ProjectsController < ProjectResourceController
   end
 
   def graph
-    @days_json, @commits_json = Gitlab::GraphCommit.to_graph(project)
+    graph = Gitlab::Graph::JsonBuilder.new(project)
+
+    @days_json, @commits_json = graph.days_json, graph.commits_json
   end
 
   def destroy
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb
index 977ccea7cd8dc80a301fbe0ed40a153c321be4a4..b48d5ec702744a8ccf9fa4684b5cba5d5b359d87 100644
--- a/app/controllers/refs_controller.rb
+++ b/app/controllers/refs_controller.rb
@@ -1,5 +1,4 @@
 class RefsController < ProjectResourceController
-  include Gitlab::Encode
 
   # Authorize
   before_filter :authorize_read_project!
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 18b240e45504a43ae9056df4fc02c1ccf2024f7c..7678fbff3f17a704da75e0c74338ede71b3786e7 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -16,9 +16,14 @@ class RepositoriesController < ProjectResourceController
     @tags = @project.tags
   end
 
+  def stats
+    @stats = Gitlab::GitStats.new(@project.repo, @project.root_ref)
+    @graph = @stats.graph
+  end
+
   def archive
     unless can?(current_user, :download_code, @project)
-      render_404 and return 
+      render_404 and return
     end
 
 
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 1dc8507e019073dec2b0081d8ba7d8c90d3286a0..4f45f9ddccb204c779d68cd67d979d38a7351500 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -5,5 +5,6 @@ class SearchController < ApplicationController
     @projects       = result[:projects]
     @merge_requests = result[:merge_requests]
     @issues         = result[:issues]
+    @wiki_pages     = result[:wiki_pages]
   end
 end
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
new file mode 100644
index 0000000000000000000000000000000000000000..50f7e97af9faa8930c2b421aa4516a5f397012fc
--- /dev/null
+++ b/app/controllers/services_controller.rb
@@ -0,0 +1,37 @@
+class ServicesController < ProjectResourceController
+  # Authorize
+  before_filter :authorize_admin_project!
+
+  respond_to :html
+
+  def index
+    @gitlab_ci_service = @project.gitlab_ci_service
+  end
+
+  def edit
+    @service = @project.gitlab_ci_service
+
+    # Create if missing
+    @service = @project.create_gitlab_ci_service unless @service
+  end
+
+  def update
+    @service = @project.gitlab_ci_service
+
+    if @service.update_attributes(params[:service])
+      redirect_to edit_project_service_path(@project, :gitlab_ci)
+    else
+      render 'edit'
+    end
+  end
+
+  def test
+    commits = project.commits(project.default_branch, nil, 3)
+    data = project.post_receive_data(commits.last.id, commits.first.id, "refs/heads/#{project.default_branch}", current_user)
+
+    @service = project.gitlab_ci_service
+    @service.execute(data)
+
+    redirect_to :back
+  end
+end
diff --git a/app/controllers/tree_controller.rb b/app/controllers/tree_controller.rb
index e507fb5197565a6f550ad569ecbf6a609e57135c..725f48fa014ee2d9775c0dd6603cce85bd88972e 100644
--- a/app/controllers/tree_controller.rb
+++ b/app/controllers/tree_controller.rb
@@ -26,15 +26,14 @@ class TreeController < ProjectResourceController
   end
 
   def update
-    file_editor = Gitlab::FileEditor.new(current_user, @project, @ref)
-    update_status = file_editor.update(
-      @path,
+    edit_file_action = Gitlab::Satellite::EditFileAction.new(current_user, @project, @ref, @path)
+    updated_successfully = edit_file_action.commit!(
       params[:content],
       params[:commit_message],
       params[:last_commit]
     )
 
-    if update_status
+    if updated_successfully
       redirect_to project_tree_path(@project, @id), notice: "Your changes have been successfully commited"
     else
       flash[:notice] = "Your changes could not be commited, because the file has been changed"
diff --git a/app/decorators/commit_decorator.rb b/app/decorators/commit_decorator.rb
index 2472394103709380e265695dc4b9797fc9934f86..69d5b178214a40382e085e1c9e8100e07dd1e159 100644
--- a/app/decorators/commit_decorator.rb
+++ b/app/decorators/commit_decorator.rb
@@ -47,21 +47,15 @@ class CommitDecorator < ApplicationDecorator
   # Otherwise it will link to the author email as specified in the commit.
   #
   # options:
-  #  avatar: true   will prepend avatar image
-  def author_link(options)
-    text = if options[:avatar]
-            avatar = h.image_tag h.gravatar_icon(author_email), class: "avatar", width: 16
-            "#{avatar} #{author_name}"
-          else
-            author_name
-          end
-    team_member = @project.try(:team_member_by_name_or_email, author_name, author_email)
+  #  avatar: true will prepend the avatar image
+  #  size:   size of the avatar image in px
+  def author_link(options = {})
+    person_link(options.merge source: :author)
+  end
 
-    if team_member.nil?
-      h.mail_to author_email, text.html_safe, class: "commit-author-link"
-    else
-      h.link_to text, h.project_team_member_path(@project, team_member), class: "commit-author-link"
-    end
+  # Just like #author_link but for the committer.
+  def committer_link(options = {})
+    person_link(options.merge source: :committer)
   end
 
   protected
@@ -69,4 +63,30 @@ class CommitDecorator < ApplicationDecorator
   def no_commit_message
     "--no commit message"
   end
+
+  # Private: Returns a link to a person. If the person has a matching user and
+  # is a member of the current @project it will link to the team member page.
+  # Otherwise it will link to the person email as specified in the commit.
+  #
+  # options:
+  #  source: one of :author or :committer
+  #  avatar: true will prepend the avatar image
+  #  size:   size of the avatar image in px
+  def person_link(options = {})
+    source_name = send "#{options[:source]}_name".to_sym
+    source_email = send "#{options[:source]}_email".to_sym
+    text = if options[:avatar]
+            avatar = h.image_tag h.gravatar_icon(source_email, options[:size]), class: "avatar #{"s#{options[:size]}" if options[:size]}", width: options[:size]
+            %Q{#{avatar} <span class="commit-#{options[:source]}-name">#{source_name}</span>}
+          else
+            source_name
+          end
+    team_member = @project.try(:team_member_by_name_or_email, source_name, source_email)
+
+    if team_member.nil?
+      h.mail_to source_email, text.html_safe, class: "commit-#{options[:source]}-link"
+    else
+      h.link_to text, h.project_team_member_path(@project, team_member), class: "commit-#{options[:source]}-link"
+    end
+  end
 end
diff --git a/app/decorators/tree_decorator.rb b/app/decorators/tree_decorator.rb
index eb3859a990e4c5a413979037747b55f2b481aa57..c12227afb5d9255348ff4e718747d976d60a962e 100644
--- a/app/decorators/tree_decorator.rb
+++ b/app/decorators/tree_decorator.rb
@@ -8,14 +8,14 @@ class TreeDecorator < ApplicationDecorator
 
       #parts = parts[0...-1] if is_blob?
 
-      yield(h.link_to("..", "#", remote: true)) if parts.count > max_links
+      yield(h.link_to("..", "#")) if parts.count > max_links
 
       parts.each do |part|
         part_path = File.join(part_path, part) unless part_path.empty?
         part_path = part if part_path.empty?
 
         next unless parts.last(2).include?(part) if parts.count > max_links
-        yield(h.link_to(h.truncate(part, length: 40), h.project_tree_path(project, h.tree_join(ref, part_path)), remote: true))
+        yield(h.link_to(h.truncate(part, length: 40), h.project_tree_path(project, h.tree_join(ref, part_path))))
       end
     end
   end
diff --git a/app/decorators/user_decorator.rb b/app/decorators/user_decorator.rb
new file mode 100644
index 0000000000000000000000000000000000000000..af9c6a63e756147d0c59efa70de112e28a080f51
--- /dev/null
+++ b/app/decorators/user_decorator.rb
@@ -0,0 +1,11 @@
+class UserDecorator < ApplicationDecorator
+  decorates :user
+
+  def avatar_image size = 16
+    h.image_tag h.gravatar_icon(self.email, size), class: "avatar #{"s#{size}"}", width: size
+  end
+
+  def tm_of(project)
+    project.team_member_by_id(self.id)
+  end
+end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index a4d36c9bbc88566a9f83184f7122d8e3bf677b35..cba34c963a0b9db60f820f31cf0ccc7b7d0adff1 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -36,7 +36,7 @@ module ApplicationHelper
     else
       gravatar_prefix = request.ssl? ? "https://secure" : "http://www"
       user_email.strip!
-      "#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=identicon"
+      "#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&d=mm"
     end
   end
 
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 4b35b0ac910f15ba6fa849dee7ed209fb6329a34..2349888ed7a062cd88cfb28438966034b9cb0615 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -57,12 +57,17 @@ module CommitsHelper
 
   def image_diff_class(diff)
     if diff.deleted_file
-      "diff_image_removed"
+      "diff_removed"
     elsif diff.new_file
-      "diff_image_added"
+      "diff_added"
     else
       nil
     end
   end
 
+  def commit_to_html commit
+    if commit.model
+      escape_javascript(render 'commits/commit', commit: commit)
+    end
+  end
 end
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb
index 0eb87caadd7572686977c436b96b2e8efa54d297..a2548a23e5e3b80803bf2561445cb4bab4d1cf40 100644
--- a/app/helpers/events_helper.rb
+++ b/app/helpers/events_helper.rb
@@ -33,4 +33,22 @@ module EventsHelper
       image_tag event_image_path
     end
   end
+
+  def event_filter_link key, tooltip
+    key = key.to_s
+
+    filter = @event_filter.options key
+
+    inactive = if @event_filter.active? key
+                 nil
+               else
+                 'inactive'
+               end
+
+    content_tag :div, class: "filter_icon #{inactive}" do
+      link_to dashboard_path(event_filter: filter), class: 'has_tooltip', 'data-original-title' => tooltip do
+        image_tag "event_filter_#{key}.png"
+      end
+    end
+  end
 end
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb
index 16855989bdd98900273b55db7e0e2731258b4538..b23c4a8f0df1bd143bd5a1bbea4a1bdc637864c6 100644
--- a/app/helpers/merge_requests_helper.rb
+++ b/app/helpers/merge_requests_helper.rb
@@ -38,4 +38,8 @@ module MergeRequestsHelper
     classes << " merged" if mr.merged?
     classes
   end
+
+  def ci_status_path
+    @project.gitlab_ci_service.commit_badge_path(@merge_request.last_commit.sha)
+  end
 end
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 468ace156404c6ce33fc735c7b32a5b2c5627c73..7c302ef4176a9ce6528171f2bd3af989d1550169 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -10,5 +10,9 @@ module ProjectsHelper
   def link_to_project project
     link_to project.name, project
   end
+
+  def tm_path team_member
+    project_team_member_path(@project, team_member)
+  end
 end
 
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb
index 4fe87a2555442f39e2a0d532701de843856ad7e0..0f2b695e0adacce1157c2b148f79ffe6700edd4e 100644
--- a/app/helpers/tree_helper.rb
+++ b/app/helpers/tree_helper.rb
@@ -67,4 +67,29 @@ module TreeHelper
       can?(current_user, :push_code, @project)
     end
   end
+
+  # Breadcrumb links for a Project and, if applicable, a tree path
+  def breadcrumbs
+    return unless @project && @ref
+
+    # Add the root project link and the arrow icon
+    crumbs = content_tag(:li) do
+      content_tag(:span, nil, class: 'arrow') +
+      link_to(@project.name, project_commits_path(@project, @ref))
+    end
+
+    if @path
+      parts = @path.split('/')
+
+      parts.each_with_index do |part, i|
+        crumbs += content_tag(:span, '/', class: 'divider')
+        crumbs += content_tag(:li) do
+          # The text is just the individual part, but the link needs all the parts before it
+          link_to part, project_commits_path(@project, tree_join(@ref, parts[0..i].join('/')))
+        end
+      end
+    end
+
+    crumbs.html_safe
+  end
 end
diff --git a/app/models/commit.rb b/app/models/commit.rb
index a070e8306801b706a94735008c70f8fda7e40e5a..5efb20cea3b447417f3264e7253a9e178eceef75 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -1,9 +1,13 @@
 class Commit
   include ActiveModel::Conversion
-  include Gitlab::Encode
   include StaticModel
   extend ActiveModel::Naming
 
+  # Safe amount of files with diffs in one commit to render
+  # Used to prevent 500 error on huge commits by suppressing diff
+  #
+  DIFF_SAFE_SIZE = 100
+
   attr_accessor :commit, :head, :refs
 
   delegate  :message, :authored_date, :committed_date, :parents, :sha,
@@ -107,7 +111,7 @@ class Commit
   end
 
   def safe_message
-    @safe_message ||= utf8 message
+    @safe_message ||= message
   end
 
   def created_at
@@ -119,7 +123,7 @@ class Commit
   end
 
   def author_name
-    utf8 author.name
+    author.name
   end
 
   # Was this commit committed by a different person than the original author?
@@ -128,7 +132,7 @@ class Commit
   end
 
   def committer_name
-    utf8 committer.name
+    committer.name
   end
 
   def committer_email
diff --git a/app/models/event.rb b/app/models/event.rb
index 0ea3224a3b7b646a9540ac849eface8bca00a166..2b92783ceac6784c6a2a606910920d2ce16b210a 100644
--- a/app/models/event.rb
+++ b/app/models/event.rb
@@ -1,3 +1,19 @@
+# == Schema Information
+#
+# Table name: events
+#
+#  id          :integer          not null, primary key
+#  target_type :string(255)
+#  target_id   :integer
+#  title       :string(255)
+#  data        :text
+#  project_id  :integer
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
+#  action      :integer
+#  author_id   :integer
+#
+
 class Event < ActiveRecord::Base
   include PushEvent
 
@@ -144,20 +160,3 @@ class Event < ActiveRecord::Base
     end
   end
 end
-
-# == Schema Information
-#
-# Table name: events
-#
-#  id          :integer         not null, primary key
-#  target_type :string(255)
-#  target_id   :integer
-#  title       :string(255)
-#  data        :text
-#  project_id  :integer
-#  created_at  :datetime        not null
-#  updated_at  :datetime        not null
-#  action      :integer
-#  author_id   :integer
-#
-
diff --git a/app/models/gitlab_ci_service.rb b/app/models/gitlab_ci_service.rb
new file mode 100644
index 0000000000000000000000000000000000000000..24b70323098d64378135da9d8501830439f25cd3
--- /dev/null
+++ b/app/models/gitlab_ci_service.rb
@@ -0,0 +1,39 @@
+# == Schema Information
+#
+# Table name: services
+#
+#  id          :integer          not null, primary key
+#  type        :string(255)
+#  title       :string(255)
+#  token       :string(255)
+#  project_id  :integer          not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
+#  active      :boolean          default(FALSE), not null
+#  project_url :string(255)
+#
+
+class GitlabCiService < Service
+  attr_accessible :project_url
+
+  validates :project_url, presence: true, if: :activated?
+  validates :token, presence: true, if: :activated?
+
+  delegate :execute, to: :service_hook, prefix: nil
+
+  after_save :compose_service_hook, if: :activated?
+
+  def activated?
+    active
+  end
+
+  def compose_service_hook
+    hook = service_hook || build_service_hook
+    hook.url = [project_url, "/build", "?token=#{token}"].join("")
+    hook.save
+  end
+
+  def commit_badge_path sha
+    project_url + "/status?sha=#{sha}"
+  end
+end
diff --git a/app/models/group.rb b/app/models/group.rb
index ef8c7463974a6d11f6e8474263f27f444af2066a..1ff6872f6874bb2737dd0a411fc318b75b148ab6 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: groups
+#
+#  id         :integer          not null, primary key
+#  name       :string(255)      not null
+#  code       :string(255)      not null
+#  owner_id   :integer          not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#
+
 class Group < ActiveRecord::Base
   attr_accessible :code, :name, :owner_id
 
@@ -22,16 +34,3 @@ class Group < ActiveRecord::Base
     User.joins(:users_projects).where(users_projects: {project_id: project_ids}).uniq
   end
 end
-
-# == Schema Information
-#
-# Table name: groups
-#
-#  id         :integer         not null, primary key
-#  name       :string(255)     not null
-#  code       :string(255)     not null
-#  owner_id   :integer         not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#
-
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 3dd1c8c89910993759d2d280727fa03a147f91e0..1de9d0f9ebcd0f3fe5f26533033e8de3778bbd1b 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1,3 +1,21 @@
+# == Schema Information
+#
+# Table name: issues
+#
+#  id           :integer          not null, primary key
+#  title        :string(255)
+#  assignee_id  :integer
+#  author_id    :integer
+#  project_id   :integer
+#  created_at   :datetime         not null
+#  updated_at   :datetime         not null
+#  closed       :boolean          default(FALSE), not null
+#  position     :integer          default(0)
+#  branch_name  :string(255)
+#  description  :text
+#  milestone_id :integer
+#
+
 class Issue < ActiveRecord::Base
   include IssueCommonality
   include Votes
@@ -7,30 +25,9 @@ class Issue < ActiveRecord::Base
 
   acts_as_taggable_on :labels
 
-  belongs_to :milestone
-
   validates :description, length: { within: 0..2000 }
 
   def self.open_for(user)
     opened.assigned(user)
   end
 end
-
-# == Schema Information
-#
-# Table name: issues
-#
-#  id           :integer         not null, primary key
-#  title        :string(255)
-#  assignee_id  :integer
-#  author_id    :integer
-#  project_id   :integer
-#  created_at   :datetime        not null
-#  updated_at   :datetime        not null
-#  closed       :boolean         default(FALSE), not null
-#  position     :integer         default(0)
-#  branch_name  :string(255)
-#  description  :text
-#  milestone_id :integer
-#
-
diff --git a/app/models/key.rb b/app/models/key.rb
index e4710b85b1408d8b2565448bf86d1b063d2b93c8..5dac1c1c9fd7b6b503662325c224a0ed918ade5b 100644
--- a/app/models/key.rb
+++ b/app/models/key.rb
@@ -1,3 +1,17 @@
+# == Schema Information
+#
+# Table name: keys
+#
+#  id         :integer          not null, primary key
+#  user_id    :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  key        :text
+#  title      :string(255)
+#  identifier :string(255)
+#  project_id :integer
+#
+
 require 'digest/md5'
 
 class Key < ActiveRecord::Base
@@ -67,18 +81,3 @@ class Key < ActiveRecord::Base
     Key.where(identifier: identifier).count == 0
   end
 end
-
-# == Schema Information
-#
-# Table name: keys
-#
-#  id         :integer         not null, primary key
-#  user_id    :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  key        :text
-#  title      :string(255)
-#  identifier :string(255)
-#  project_id :integer
-#
-
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb
index 70780b75d45f0a1fc1d2889d08622aec09ee7788..0766e5baa7275dfa177dec0388f63d45be28f0d0 100644
--- a/app/models/merge_request.rb
+++ b/app/models/merge_request.rb
@@ -1,10 +1,32 @@
+# == Schema Information
+#
+# Table name: merge_requests
+#
+#  id            :integer          not null, primary key
+#  target_branch :string(255)      not null
+#  source_branch :string(255)      not null
+#  project_id    :integer          not null
+#  author_id     :integer
+#  assignee_id   :integer
+#  title         :string(255)
+#  closed        :boolean          default(FALSE), not null
+#  created_at    :datetime         not null
+#  updated_at    :datetime         not null
+#  st_commits    :text(2147483647)
+#  st_diffs      :text(2147483647)
+#  merged        :boolean          default(FALSE), not null
+#  state         :integer          default(1), not null
+#  milestone_id  :integer
+#
+
 require Rails.root.join("app/models/commit")
+require Rails.root.join("app/roles/static_model")
 
 class MergeRequest < ActiveRecord::Base
   include IssueCommonality
   include Votes
 
-  attr_accessible :title, :assignee_id, :closed, :target_branch, :source_branch,
+  attr_accessible :title, :assignee_id, :closed, :target_branch, :source_branch, :milestone_id,
                   :author_id_of_changes
 
   attr_accessor :should_remove_source_branch
@@ -26,6 +48,10 @@ class MergeRequest < ActiveRecord::Base
     where("source_branch LIKE :branch OR target_branch LIKE :branch", branch: branch_name)
   end
 
+  def self.find_all_by_milestone(milestone)
+    where("milestone_id = :milestone_id", milestone_id: milestone)
+  end
+
   def human_state
     states = {
       CAN_BE_MERGED =>  "can_be_merged",
@@ -60,7 +86,7 @@ class MergeRequest < ActiveRecord::Base
   end
 
   def check_if_can_be_merged
-    self.state = if Gitlab::Merge.new(self, self.author).can_be_merged?
+    self.state = if Gitlab::Satellite::MergeAction.new(self.author, self).can_be_merged?
                    CAN_BE_MERGED
                  else
                    CANNOT_BE_MERGED
@@ -167,7 +193,7 @@ class MergeRequest < ActiveRecord::Base
   end
 
   def automerge!(current_user)
-    if Gitlab::Merge.new(self, current_user).merge! && self.unmerged_commits.empty?
+    if Gitlab::Satellite::MergeAction.new(current_user, self).merge! && self.unmerged_commits.empty?
       self.merge!(current_user.id)
       true
     end
@@ -193,24 +219,3 @@ class MergeRequest < ActiveRecord::Base
     Note.where("(noteable_type = 'MergeRequest' AND noteable_id = :mr_id) OR (noteable_type = 'Commit' AND noteable_id IN (:commit_ids))", mr_id: id, commit_ids: commit_ids)
   end
 end
-
-# == Schema Information
-#
-# Table name: merge_requests
-#
-#  id            :integer         not null, primary key
-#  target_branch :string(255)     not null
-#  source_branch :string(255)     not null
-#  project_id    :integer         not null
-#  author_id     :integer
-#  assignee_id   :integer
-#  title         :string(255)
-#  closed        :boolean         default(FALSE), not null
-#  created_at    :datetime        not null
-#  updated_at    :datetime        not null
-#  st_commits    :text(4294967295
-#  st_diffs      :text(4294967295
-#  merged        :boolean         default(FALSE), not null
-#  state         :integer         default(1), not null
-#
-
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index 06c0943143bf250248eeedc5622e7f14b798d063..a50831a2241ce2cc102921910170175c4c2a54a6 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -1,11 +1,27 @@
+# == Schema Information
+#
+# Table name: milestones
+#
+#  id          :integer          not null, primary key
+#  title       :string(255)      not null
+#  project_id  :integer          not null
+#  description :text
+#  due_date    :date
+#  closed      :boolean          default(FALSE), not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
+#
+
 class Milestone < ActiveRecord::Base
   attr_accessible :title, :description, :due_date, :closed
 
   belongs_to :project
   has_many :issues
+  has_many :merge_requests
 
   validates :title, presence: true
   validates :project, presence: true
+  validates :closed, inclusion: { in: [true, false] }
 
   def self.active
     where("due_date > ? OR due_date IS NULL", Date.today)
@@ -15,8 +31,20 @@ class Milestone < ActiveRecord::Base
     User.where(id: issues.pluck(:assignee_id))
   end
 
+  def open_items_count
+    self.issues.opened.count + self.merge_requests.opened.count
+  end
+
+  def closed_items_count
+    self.issues.closed.count + self.merge_requests.closed.count
+  end
+
+  def total_items_count
+    self.issues.count + self.merge_requests.count
+  end
+
   def percent_complete
-    ((self.issues.closed.count * 100) / self.issues.count).abs
+    ((closed_items_count * 100) / total_items_count).abs
   rescue ZeroDivisionError
     100
   end
@@ -25,18 +53,3 @@ class Milestone < ActiveRecord::Base
     "expires at #{due_date.stamp("Aug 21, 2011")}" if due_date
   end
 end
-
-# == Schema Information
-#
-# Table name: milestones
-#
-#  id          :integer         not null, primary key
-#  title       :string(255)     not null
-#  project_id  :integer         not null
-#  description :text
-#  due_date    :date
-#  closed      :boolean         default(FALSE), not null
-#  created_at  :datetime        not null
-#  updated_at  :datetime        not null
-#
-
diff --git a/app/models/note.rb b/app/models/note.rb
index e2f4a89d7d6187210765b36e2c6b6aad355fef04..60846e048726a2bf2ee6bf27f0fa01d43bd0331e 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -1,3 +1,19 @@
+# == Schema Information
+#
+# Table name: notes
+#
+#  id            :integer          not null, primary key
+#  note          :text
+#  noteable_id   :string(255)
+#  noteable_type :string(255)
+#  author_id     :integer
+#  created_at    :datetime         not null
+#  updated_at    :datetime         not null
+#  project_id    :integer
+#  attachment    :string(255)
+#  line_code     :string(255)
+#
+
 require 'carrierwave/orm/activerecord'
 require 'file_size_validator'
 
@@ -23,13 +39,13 @@ class Note < ActiveRecord::Base
   mount_uploader  :attachment, AttachmentUploader
 
   # Scopes
-  scope :common, where(noteable_id: nil)
-  scope :today, where("created_at >= :date", date: Date.today)
-  scope :last_week, where("created_at  >= :date", date: (Date.today - 7.days))
+  scope :common, ->{ where(noteable_id: nil) }
+  scope :today, ->{ where("created_at >= :date", date: Date.today) }
+  scope :last_week, ->{ where("created_at  >= :date", date: (Date.today - 7.days)) }
   scope :since, ->(day) { where("created_at  >= :date", date: (day)) }
-  scope :fresh, order("created_at ASC, id ASC")
-  scope :inc_author_project, includes(:project, :author)
-  scope :inc_author, includes(:author)
+  scope :fresh, ->{ order("created_at ASC, id ASC") }
+  scope :inc_author_project, ->{ includes(:project, :author) }
+  scope :inc_author, ->{ includes(:author) }
 
   def self.create_status_change_note(noteable, author, status)
     create({
@@ -107,20 +123,3 @@ class Note < ActiveRecord::Base
     note.start_with?('-1') || note.start_with?(':-1:')
   end
 end
-
-# == Schema Information
-#
-# Table name: notes
-#
-#  id            :integer         not null, primary key
-#  note          :text
-#  noteable_id   :string(255)
-#  noteable_type :string(255)
-#  author_id     :integer
-#  created_at    :datetime        not null
-#  updated_at    :datetime        not null
-#  project_id    :integer
-#  attachment    :string(255)
-#  line_code     :string(255)
-#
-
diff --git a/app/models/project.rb b/app/models/project.rb
index 53fe0ee1ccb107f6cfad7ffed87c151e788bbb32..3cbc9417b8f0ac9a01709e8ff496c73c0e20b7ec 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -1,3 +1,24 @@
+# == Schema Information
+#
+# Table name: projects
+#
+#  id                     :integer          not null, primary key
+#  name                   :string(255)
+#  path                   :string(255)
+#  description            :text
+#  created_at             :datetime         not null
+#  updated_at             :datetime         not null
+#  private_flag           :boolean          default(TRUE), not null
+#  code                   :string(255)
+#  owner_id               :integer
+#  default_branch         :string(255)
+#  issues_enabled         :boolean          default(TRUE), not null
+#  wall_enabled           :boolean          default(TRUE), not null
+#  merge_requests_enabled :boolean          default(TRUE), not null
+#  wiki_enabled           :boolean          default(TRUE), not null
+#  group_id               :integer
+#
+
 require "grit"
 
 class Project < ActiveRecord::Base
@@ -26,6 +47,7 @@ class Project < ActiveRecord::Base
   has_many :wikis,          dependent: :destroy
   has_many :protected_branches, dependent: :destroy
   has_one :last_event, class_name: 'Event', order: 'events.created_at DESC', foreign_key: 'project_id'
+  has_one :gitlab_ci_service, dependent: :destroy
 
   delegate :name, to: :owner, allow_nil: true, prefix: true
 
@@ -104,8 +126,10 @@ class Project < ActiveRecord::Base
   end
 
   def repo_name
-    if path == "gitolite-admin"
-      errors.add(:path, " like 'gitolite-admin' is not allowed")
+    denied_paths = %w(gitolite-admin groups projects dashboard)
+
+    if denied_paths.include?(path)
+      errors.add(:path, "like #{path} is not allowed")
     end
   end
 
@@ -160,26 +184,12 @@ class Project < ActiveRecord::Base
   def issues_labels
     issues.tag_counts_on(:labels)
   end
-end
 
-# == Schema Information
-#
-# Table name: projects
-#
-#  id                     :integer         not null, primary key
-#  name                   :string(255)
-#  path                   :string(255)
-#  description            :text
-#  created_at             :datetime        not null
-#  updated_at             :datetime        not null
-#  private_flag           :boolean         default(TRUE), not null
-#  code                   :string(255)
-#  owner_id               :integer
-#  default_branch         :string(255)
-#  issues_enabled         :boolean         default(TRUE), not null
-#  wall_enabled           :boolean         default(TRUE), not null
-#  merge_requests_enabled :boolean         default(TRUE), not null
-#  wiki_enabled           :boolean         default(TRUE), not null
-#  group_id               :integer
-#
+  def services
+    [gitlab_ci_service].compact
+  end
 
+  def gitlab_ci?
+    gitlab_ci_service && gitlab_ci_service.active
+  end
+end
diff --git a/app/models/project_hook.rb b/app/models/project_hook.rb
index 92f6d1f0c53976607efdaa9ac86d3fa7bc0fc4ad..2576fc979d4b8f6798d92358c19d35315cd30396 100644
--- a/app/models/project_hook.rb
+++ b/app/models/project_hook.rb
@@ -1,16 +1,16 @@
-class ProjectHook < WebHook
-  belongs_to :project
-end
-
 # == Schema Information
 #
 # Table name: web_hooks
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  url        :string(255)
 #  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  type       :string(255)     default("ProjectHook")
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
 #
 
+class ProjectHook < WebHook
+  belongs_to :project
+end
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index 926692f1cbad130d56491d4683eb83de6b2676cf..c54aa3ce9a2ddf3d8679dec2b4dac16f10c71a87 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -1,3 +1,14 @@
+# == Schema Information
+#
+# Table name: protected_branches
+#
+#  id         :integer          not null, primary key
+#  project_id :integer          not null
+#  name       :string(255)      not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#
+
 class ProtectedBranch < ActiveRecord::Base
   include GitHost
 
@@ -18,15 +29,3 @@ class ProtectedBranch < ActiveRecord::Base
     project.commit(self.name)
   end
 end
-
-# == Schema Information
-#
-# Table name: protected_branches
-#
-#  id         :integer         not null, primary key
-#  project_id :integer         not null
-#  name       :string(255)     not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#
-
diff --git a/app/models/service.rb b/app/models/service.rb
new file mode 100644
index 0000000000000000000000000000000000000000..17a7a656de592bdd20321305c9c22959ddcd4497
--- /dev/null
+++ b/app/models/service.rb
@@ -0,0 +1,23 @@
+# == Schema Information
+#
+# Table name: services
+#
+#  id          :integer          not null, primary key
+#  type        :string(255)
+#  title       :string(255)
+#  token       :string(255)
+#  project_id  :integer          not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
+#  active      :boolean          default(FALSE), not null
+#  project_url :string(255)
+#
+
+class Service < ActiveRecord::Base
+  attr_accessible :title, :token, :type, :active
+
+  belongs_to :project
+  has_one :service_hook
+
+  validates :project_id, presence: true
+end
diff --git a/app/models/service_hook.rb b/app/models/service_hook.rb
new file mode 100644
index 0000000000000000000000000000000000000000..4cd2b272eece51050c3392b321b1f32900bd50b3
--- /dev/null
+++ b/app/models/service_hook.rb
@@ -0,0 +1,16 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+#  id         :integer          not null, primary key
+#  url        :string(255)
+#  project_id :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
+#
+
+class ServiceHook < WebHook
+  belongs_to :service
+end
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index 3525219e709731859618f1e24329c3d4061afb0f..997c19bdb6bf273af13d08f07e62073c8174afd3 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -1,3 +1,18 @@
+# == Schema Information
+#
+# Table name: snippets
+#
+#  id         :integer          not null, primary key
+#  title      :string(255)
+#  content    :text
+#  author_id  :integer          not null
+#  project_id :integer          not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  file_name  :string(255)
+#  expires_at :datetime
+#
+
 class Snippet < ActiveRecord::Base
   include Linguist::BlobHelper
 
@@ -48,19 +63,3 @@ class Snippet < ActiveRecord::Base
     expires_at && expires_at < Time.current
   end
 end
-
-# == Schema Information
-#
-# Table name: snippets
-#
-#  id         :integer         not null, primary key
-#  title      :string(255)
-#  content    :text
-#  author_id  :integer         not null
-#  project_id :integer         not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  file_name  :string(255)
-#  expires_at :datetime
-#
-
diff --git a/app/models/system_hook.rb b/app/models/system_hook.rb
index f56b80f46787363d9757ebd15b4e9ddf465e86d5..2ae5b1314e9ed3e601f6798b6caa200cec869078 100644
--- a/app/models/system_hook.rb
+++ b/app/models/system_hook.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+#  id         :integer          not null, primary key
+#  url        :string(255)
+#  project_id :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
+#
+
 class SystemHook < WebHook
   def self.all_hooks_fire(data)
     SystemHook.all.each do |sh|
@@ -9,16 +22,3 @@ class SystemHook < WebHook
     Resque.enqueue(SystemHookWorker, id, data)
   end
 end
-
-# == Schema Information
-#
-# Table name: web_hooks
-#
-#  id         :integer         not null, primary key
-#  url        :string(255)
-#  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  type       :string(255)     default("ProjectHook")
-#
-
diff --git a/app/models/tree.rb b/app/models/tree.rb
index e4297a71a52b0dc933dcdfe7ad3c34b07a099420..c3dfd4c718cfb246d6388b2a8d33cf4d544601fa 100644
--- a/app/models/tree.rb
+++ b/app/models/tree.rb
@@ -8,7 +8,7 @@ class Tree
   def initialize(raw_tree, project, ref = nil, path = nil)
     @project, @ref, @path = project, ref, path
     @tree = if path.present?
-              raw_tree / path.dup.force_encoding('ascii-8bit')
+              raw_tree / path
             else
               raw_tree
             end
diff --git a/app/models/user.rb b/app/models/user.rb
index b048469817bd778714141083a5b460a478e40048..6d539c1f498b22d1044d838241c97773e98b784f 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,3 +1,37 @@
+# == Schema Information
+#
+# Table name: users
+#
+#  id                     :integer          not null, primary key
+#  email                  :string(255)      default(""), not null
+#  encrypted_password     :string(255)      default(""), not null
+#  reset_password_token   :string(255)
+#  reset_password_sent_at :datetime
+#  remember_created_at    :datetime
+#  sign_in_count          :integer          default(0)
+#  current_sign_in_at     :datetime
+#  last_sign_in_at        :datetime
+#  current_sign_in_ip     :string(255)
+#  last_sign_in_ip        :string(255)
+#  created_at             :datetime         not null
+#  updated_at             :datetime         not null
+#  name                   :string(255)
+#  admin                  :boolean          default(FALSE), not null
+#  projects_limit         :integer          default(10)
+#  skype                  :string(255)      default(""), not null
+#  linkedin               :string(255)      default(""), not null
+#  twitter                :string(255)      default(""), not null
+#  authentication_token   :string(255)
+#  dark_scheme            :boolean          default(FALSE), not null
+#  theme_id               :integer          default(1), not null
+#  bio                    :string(255)
+#  blocked                :boolean          default(FALSE), not null
+#  failed_attempts        :integer          default(0)
+#  locked_at              :datetime
+#  extern_uid             :string(255)
+#  provider               :string(255)
+#
+
 class User < ActiveRecord::Base
   include Account
 
@@ -79,38 +113,3 @@ class User < ActiveRecord::Base
     end
   end
 end
-
-# == Schema Information
-#
-# Table name: users
-#
-#  id                     :integer         not null, primary key
-#  email                  :string(255)     default(""), not null
-#  encrypted_password     :string(128)     default(""), not null
-#  reset_password_token   :string(255)
-#  reset_password_sent_at :datetime
-#  remember_created_at    :datetime
-#  sign_in_count          :integer         default(0)
-#  current_sign_in_at     :datetime
-#  last_sign_in_at        :datetime
-#  current_sign_in_ip     :string(255)
-#  last_sign_in_ip        :string(255)
-#  created_at             :datetime        not null
-#  updated_at             :datetime        not null
-#  name                   :string(255)
-#  admin                  :boolean         default(FALSE), not null
-#  projects_limit         :integer         default(10)
-#  skype                  :string(255)     default(""), not null
-#  linkedin               :string(255)     default(""), not null
-#  twitter                :string(255)     default(""), not null
-#  authentication_token   :string(255)
-#  dark_scheme            :boolean         default(FALSE), not null
-#  theme_id               :integer         default(1), not null
-#  bio                    :string(255)
-#  blocked                :boolean         default(FALSE), not null
-#  failed_attempts        :integer         default(0)
-#  locked_at              :datetime
-#  extern_uid             :string(255)
-#  provider               :string(255)
-#
-
diff --git a/app/models/users_project.rb b/app/models/users_project.rb
index 967c78f22aa9865bc8174aadae25d8661cdf8101..6231088ff792cf9f14d4c8575f230bfa5a80d40d 100644
--- a/app/models/users_project.rb
+++ b/app/models/users_project.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: users_projects
+#
+#  id             :integer          not null, primary key
+#  user_id        :integer          not null
+#  project_id     :integer          not null
+#  created_at     :datetime         not null
+#  updated_at     :datetime         not null
+#  project_access :integer          default(0), not null
+#
+
 class UsersProject < ActiveRecord::Base
   include GitHost
 
@@ -119,16 +131,3 @@ class UsersProject < ActiveRecord::Base
     self.class.access_roles.invert[self.project_access]
   end
 end
-
-# == Schema Information
-#
-# Table name: users_projects
-#
-#  id             :integer         not null, primary key
-#  user_id        :integer         not null
-#  project_id     :integer         not null
-#  created_at     :datetime        not null
-#  updated_at     :datetime        not null
-#  project_access :integer         default(0), not null
-#
-
diff --git a/app/models/web_hook.rb b/app/models/web_hook.rb
index db773c55a69850aafff7a6859b3df0fa8e30bdd9..df58fa93b7e4d5c1a9f724f8ed7d30ff9184ddd1 100644
--- a/app/models/web_hook.rb
+++ b/app/models/web_hook.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+#  id         :integer          not null, primary key
+#  url        :string(255)
+#  project_id :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
+#
+
 class WebHook < ActiveRecord::Base
   include HTTParty
 
@@ -22,16 +35,3 @@ class WebHook < ActiveRecord::Base
     end
   end
 end
-
-# == Schema Information
-#
-# Table name: web_hooks
-#
-#  id         :integer         not null, primary key
-#  url        :string(255)
-#  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  type       :string(255)     default("ProjectHook")
-#
-
diff --git a/app/models/wiki.rb b/app/models/wiki.rb
index b1f41d636c72118be35f0026fb830e6b9551624e..252a97e8cca647dda190cec95f3a9bbe8129181e 100644
--- a/app/models/wiki.rb
+++ b/app/models/wiki.rb
@@ -1,3 +1,17 @@
+# == Schema Information
+#
+# Table name: wikis
+#
+#  id         :integer          not null, primary key
+#  title      :string(255)
+#  content    :text
+#  project_id :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  slug       :string(255)
+#  user_id    :integer
+#
+
 class Wiki < ActiveRecord::Base
   attr_accessible :title, :content, :slug
 
@@ -15,6 +29,12 @@ class Wiki < ActiveRecord::Base
     slug
   end
 
+  class << self
+    def search(query)
+      where("title like :query OR content like :query", query: "%#{query}%")
+    end
+  end
+
   protected
 
   def self.regenerate_from wiki
@@ -32,18 +52,3 @@ class Wiki < ActiveRecord::Base
   end
 
 end
-
-# == Schema Information
-#
-# Table name: wikis
-#
-#  id         :integer         not null, primary key
-#  title      :string(255)
-#  content    :text
-#  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  slug       :string(255)
-#  user_id    :integer
-#
-
diff --git a/app/roles/account.rb b/app/roles/account.rb
index 21545b91ce1a30d1cdbfc3c6b56a286417dd39c7..b80fbba0958d3f64b054fe0924eaa9c16bf8ae7c 100644
--- a/app/roles/account.rb
+++ b/app/roles/account.rb
@@ -67,7 +67,7 @@ module Account
     events = events.recent.limit(1).first
   end
 
-  def projects_with_events
-    projects.includes(:events).order("events.created_at DESC")
+  def projects_sorted_by_activity
+    projects.order("(SELECT max(events.created_at) FROM events WHERE events.project_id = projects.id) DESC")
   end
 end
diff --git a/app/roles/issue_commonality.rb b/app/roles/issue_commonality.rb
index 2d10bfec86646dc0523cf237e2819133ef988f61..79831cdca67215221ab1630af87becb2f02a88c5 100644
--- a/app/roles/issue_commonality.rb
+++ b/app/roles/issue_commonality.rb
@@ -6,6 +6,7 @@ module IssueCommonality
     belongs_to :project
     belongs_to :author, class_name: "User"
     belongs_to :assignee, class_name: "User"
+    belongs_to :milestone
     has_many :notes, as: :noteable, dependent: :destroy
 
     validates :project, presence: true
diff --git a/app/roles/push_observer.rb b/app/roles/push_observer.rb
index 947ed42345d494762cdf4deba278888c8e6c0f2b..2ee60646e97c4f03081f00b87143fa6c3cd3090b 100644
--- a/app/roles/push_observer.rb
+++ b/app/roles/push_observer.rb
@@ -2,45 +2,83 @@
 #
 # Triggered by PostReceive job
 module PushObserver
-  def observe_push(oldrev, newrev, ref, user)
+  # This method will be called after each post receive and only if the provided
+  # user is present in GitLab.
+  #
+  # All callbacks for post receive should be placed here.
+  def trigger_post_receive(oldrev, newrev, ref, user)
     data = post_receive_data(oldrev, newrev, ref, user)
 
-    Event.create(
-      project: self,
-      action: Event::Pushed,
-      data: data,
-      author_id: data[:user_id]
-    )
-  end
+    # Create push event
+    self.observe_push(data)
 
-  def update_merge_requests(oldrev, newrev, ref, user)
-    return true unless ref =~ /heads/
-    branch_name = ref.gsub("refs/heads/", "")
-    c_ids = self.commits_between(oldrev, newrev).map(&:id)
+    if push_to_branch? ref, oldrev
+      # Close merged MR
+      self.update_merge_requests(oldrev, newrev, ref, user)
 
-    # Update code for merge requests
-    mrs = self.merge_requests.opened.find_all_by_branch(branch_name).all
-    mrs.each { |merge_request| merge_request.reload_code; merge_request.mark_as_unchecked }
+      # Execute web hooks
+      self.execute_hooks(data.dup)
 
-    # Close merge requests
-    mrs = self.merge_requests.opened.where(target_branch: branch_name).all
-    mrs = mrs.select(&:last_commit).select { |mr| c_ids.include?(mr.last_commit.id) }
-    mrs.each { |merge_request| merge_request.merge!(user.id) }
+      # Execute project services
+      self.execute_services(data.dup)
+    end
 
-    true
+    # Create satellite
+    self.satellite.create unless self.satellite.exists?
+
+    # Discover the default branch, but only if it hasn't already been set to
+    # something else
+    if default_branch.nil?
+      update_attributes(default_branch: discover_default_branch)
+    end
   end
 
-  def execute_hooks(oldrev, newrev, ref, user)
+  def push_to_branch? ref, oldrev
     ref_parts = ref.split('/')
 
     # Return if this is not a push to a branch (e.g. new commits)
-    return if ref_parts[1] !~ /heads/ || oldrev == "00000000000000000000000000000000"
+    !(ref_parts[1] !~ /heads/ || oldrev == "00000000000000000000000000000000")
+  end
 
-    data = post_receive_data(oldrev, newrev, ref, user)
+  def observe_push(data)
+    Event.create(
+      project: self,
+      action: Event::Pushed,
+      data: data,
+      author_id: data[:user_id]
+    )
+  end
 
+  def execute_hooks(data)
     hooks.each { |hook| hook.execute(data) }
   end
 
+  def execute_services(data)
+    services.each do |service|
+
+      # Call service hook only if it is active
+      service.execute(data) if service.active
+    end
+  end
+
+  # Produce a hash of post-receive data
+  #
+  # data = {
+  #   before: String,
+  #   after: String,
+  #   ref: String,
+  #   user_id: String,
+  #   user_name: String,
+  #   repository: {
+  #     name: String,
+  #     url: String,
+  #     description: String,
+  #     homepage: String,
+  #   },
+  #   commits: Array,
+  #   total_commits_count: Fixnum
+  # }
+  #
   def post_receive_data(oldrev, newrev, ref, user)
 
     push_commits = commits_between(oldrev, newrev)
@@ -87,27 +125,20 @@ module PushObserver
     data
   end
 
-  # This method will be called after each post receive and only if the provided
-  # user is present in GitLab.
-  #
-  # All callbacks for post receive should be placed here.
-  def trigger_post_receive(oldrev, newrev, ref, user)
-    # Create push event
-    self.observe_push(oldrev, newrev, ref, user)
-
-    # Close merged MR
-    self.update_merge_requests(oldrev, newrev, ref, user)
+  def update_merge_requests(oldrev, newrev, ref, user)
+    return true unless ref =~ /heads/
+    branch_name = ref.gsub("refs/heads/", "")
+    c_ids = self.commits_between(oldrev, newrev).map(&:id)
 
-    # Execute web hooks
-    self.execute_hooks(oldrev, newrev, ref, user)
+    # Update code for merge requests
+    mrs = self.merge_requests.opened.find_all_by_branch(branch_name).all
+    mrs.each { |merge_request| merge_request.reload_code; merge_request.mark_as_unchecked }
 
-    # Create satellite
-    self.satellite.create unless self.satellite.exists?
+    # Close merge requests
+    mrs = self.merge_requests.opened.where(target_branch: branch_name).all
+    mrs = mrs.select(&:last_commit).select { |mr| c_ids.include?(mr.last_commit.id) }
+    mrs.each { |merge_request| merge_request.merge!(user.id) }
 
-    # Discover the default branch, but only if it hasn't already been set to
-    # something else
-    if default_branch.nil?
-      update_attributes(default_branch: discover_default_branch)
-    end
+    true
   end
 end
diff --git a/app/roles/repository.rb b/app/roles/repository.rb
index 8942eaea7541b29fe6bda3c7cb914d12126ad9e9..884681178227f78e6e93d7a565cfd9911f0fc697 100644
--- a/app/roles/repository.rb
+++ b/app/roles/repository.rb
@@ -41,7 +41,7 @@ module Repository
   end
 
   def satellite
-    @satellite ||= Gitlab::Satellite.new(self)
+    @satellite ||= Gitlab::Satellite::Satellite.new(self)
   end
 
   def has_post_receive_file?
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 3e26f566a2eef91c253b5ddde1009a615975e470..b0b59a46fdb230a9425f7c81d188261de6dc6508 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -4,13 +4,21 @@
       %h5
         Resque Workers
       .data.padded
-        = link_to admin_resque_path do
-          %h1{class: @workers.present? ? "cgreen" : "cred"}
-            = @workers.count
-        %hr
-        %p
-          %strong{class: @pending_jobs > 0 ? "cred" : "cgreen"}
-            #{@pending_jobs} post receive jobs waiting
+        - if @resque_accessible
+          = link_to admin_resque_path do
+            %h1{class: @workers.present? ? "cgreen" : "cred"}
+              = @workers.count
+          %hr
+          %p
+            %strong{class: @pending_jobs > 0 ? "cred" : "cgreen"}
+              #{@pending_jobs} post receive jobs waiting
+        - else
+          = link_to admin_resque_path do
+            %h1.cdark ?
+          %hr
+          %p
+            %strong Resque status unknown
+
 
   .span4
     .ui-box
@@ -42,6 +50,6 @@
     %hr
     - @users.each do |user|
       %p
-        = link_to [:admin, user] do 
+        = link_to [:admin, user] do
           = user.name
           %small= user.email
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index c742fb3365a26e5041c10b671b261a2951950249..78df8f2d2e95b2b1e0780e61cd88988e4d2b7121 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -43,7 +43,7 @@
       %b
         Owner:
     %td
-      = @admin_project.owner.name
+      = @admin_project.owner_name || '(deleted)'
   %tr
     %td
       %b
diff --git a/app/views/admin/resque/show.html.haml b/app/views/admin/resque/show.html.haml
index 8850e378a6ccbc6cfa8db5c9f452a586f1ac76e9..41254a6b6c225ae253982deeb480601e2616f468 100644
--- a/app/views/admin/resque/show.html.haml
+++ b/app/views/admin/resque/show.html.haml
@@ -1,4 +1,4 @@
 %h3.page_title Resque
 %br
 .ui-box
-  %iframe{src: resque_url, width: '100%', height: 600, style: "border: none"}
+  %iframe{src: resque_path, width: '100%', height: 600, style: "border: none"}
diff --git a/app/views/blame/_head.html.haml b/app/views/blame/_head.html.haml
index 175719b1199aa9d2d192d41cc34db7ed7f6bba82..85da18052b4aca1045b90c5f264fa060d4073299 100644
--- a/app/views/blame/_head.html.haml
+++ b/app/views/blame/_head.html.haml
@@ -4,7 +4,4 @@
   = nav_link(controller: :refs) do
     = link_to 'Source', project_tree_path(@project, @ref)
   %li.right
-    .input-prepend.project_clone_holder
-      %button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
-      %button{class: "btn small", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.web_protocol.upcase
-      = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
+    = render "shared/clone_panel"
diff --git a/app/views/blame/show.html.haml b/app/views/blame/show.html.haml
index 5c3231e23187ae1db990efc3e84324acab0da592..c5192c53cc378aca1c8c95244a15481568b48dd0 100644
--- a/app/views/blame/show.html.haml
+++ b/app/views/blame/show.html.haml
@@ -15,7 +15,7 @@
     .file_title
       %i.icon-file
       %span.file_name
-        = @tree.name.force_encoding('utf-8')
+        = @tree.name
         %small= number_to_human_size @tree.size
       %span.options= render "tree/blob_actions"
     .file_content.blame
@@ -24,9 +24,7 @@
           - commit = Commit.new(commit)
           - commit = CommitDecorator.decorate(commit)
           %tr
-            %td.author
-              = image_tag gravatar_icon(commit.author_email, 16)
-              = commit.author_name
+            %td.author= commit.author_link avatar: true, size: 16
             %td.blame_commit
               &nbsp;
               %code= link_to commit.short_id, project_commit_path(@project, commit)
@@ -34,4 +32,4 @@
             %td.lines
               = preserve do
                 %pre
-                  = Gitlab::Encode.utf8 lines.join("\n")
+                  = lines.join("\n")
diff --git a/app/views/commits/huge_commit.html.haml b/app/views/commit/huge_commit.html.haml
similarity index 100%
rename from app/views/commits/huge_commit.html.haml
rename to app/views/commit/huge_commit.html.haml
diff --git a/app/views/commit/show.html.haml b/app/views/commit/show.html.haml
index d12fff96835e5f77adba037c8ade5535d524bfb5..432d55b19e3679a5b81df34fde5d47b9e9f0688f 100644
--- a/app/views/commit/show.html.haml
+++ b/app/views/commit/show.html.haml
@@ -7,4 +7,19 @@
 :javascript
   $(function(){
     PerLineNotes.init();
+    var w, h;
+    $('.diff_file').each(function(){
+      $('.image.diff_removed img', this).on('load', $.proxy(function(event){
+        var w = event.currentTarget.naturalWidth
+          , h = event.currentTarget.naturalHeight;
+        $('.image.diff_removed .image-info', this).append(' | <b>W:</b> ' + w + 'px | <b>H:</b> ' + h + 'px');
+      }, this));
+      $('.image.diff_added img', this).on('load', $.proxy(function(event){
+        var w = event.currentTarget.naturalWidth
+          , h = event.currentTarget.naturalHeight;
+        $('.image.diff_added .image-info', this).append(' | <b>W:</b> ' + w + 'px | <b>H:</b> ' + h + 'px');
+      }, this));
+      
+    });
+    
   });
diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml
index 9abadc5d80770958572cc67104d24a063e4ee70e..156ff1e9d85cf4a32635c3d3542d789342a3a0d1 100644
--- a/app/views/commits/_commit.html.haml
+++ b/app/views/commits/_commit.html.haml
@@ -4,9 +4,8 @@
       %strong= link_to "Browse Code »", project_tree_path(@project, commit), class: "right"
   %p
     = link_to commit.short_id(8), project_commit_path(@project, commit), class: "commit_short_id"
-    %strong.commit-author-name= commit.author_name
-    %span.dash &ndash;
-    = image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
+    = commit.author_link avatar: true, size: 24
+    &nbsp;
     = link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, commit.id), class: "row_title"
 
     %span.committed_ago
diff --git a/app/views/commits/_commit_box.html.haml b/app/views/commits/_commit_box.html.haml
index ece0df229d34f345ecd18afa38f662046defc1ba..26753a1465f7b159be8a1cf7d5e1787f2ca5ac9e 100644
--- a/app/views/commits/_commit_box.html.haml
+++ b/app/views/commits/_commit_box.html.haml
@@ -18,16 +18,15 @@
   .commit-info
     .row
       .span5
-        = image_tag gravatar_icon(@commit.author_email, 40), class: "avatar"
         .author
-          %strong= @commit.author_name
+          %strong= @commit.author_link avatar: true, size: 40
           authored
           %time{title: @commit.authored_date.stamp("Aug 21, 2011 9:23pm")}
             #{time_ago_in_words(@commit.authored_date)} ago
         - if @commit.different_committer?
           .committer
             &rarr;
-            %strong= @commit.committer_name
+            %strong= @commit.committer_link
             committed
             %time{title: @commit.committed_date.stamp("Aug 21, 2011 9:23pm")}
               #{time_ago_in_words(@commit.committed_date)} ago
diff --git a/app/views/commits/_diff_head.html.haml b/app/views/commits/_diff_head.html.haml
index 710e88576498fbf93ac64302fa55baae7b18e889..5aa542287feb24923f462bb2e339530d2996d7be 100644
--- a/app/views/commits/_diff_head.html.haml
+++ b/app/views/commits/_diff_head.html.haml
@@ -1,26 +1,26 @@
 %ul.bordered-list
-  - diffs.each do |diff|
+  - diffs.each_with_index do |diff, i|
     %li
       - if diff.deleted_file
-        %span.removed_file
-          %a{href: "##{diff.old_path}"}
+        %span.deleted-file
+          %a{href: "#diff-#{i}"}
+            %i.icon-minus
             = diff.old_path
-            = image_tag "diff_file_delete.png"
       - elsif diff.renamed_file
-        %span.moved_file
-          %a{href: "##{diff.new_path}"}
+        %span.renamed-file
+          %a{href: "#diff-#{i}"}
+            %i.icon-minus
             = diff.old_path
             = "->"
             = diff.new_path
-            = image_tag "diff_file_notice.png"
       - elsif diff.new_file
-        %span.new_file
-          %a{href: "##{diff.new_path}"}
+        %span.new-file
+          %a{href: "#diff-#{i}"}
+            %i.icon-plus
             = diff.new_path
-            = image_tag "diff_file_add.png"
       - else
-        %span.edit_file
-          %a{href: "##{diff.new_path}"}
+        %span.edit-file
+          %a{href: "#diff-#{i}"}
+            %i.icon-adjust
             = diff.new_path
-            = image_tag "diff_file_info.png"
 
diff --git a/app/views/commits/_diffs.html.haml b/app/views/commits/_diffs.html.haml
index 026fe27e0754e34d593b038b5d616a9603882ef6..53c2319fb38400dd692bc187c9352a1777d7ff78 100644
--- a/app/views/commits/_diffs.html.haml
+++ b/app/views/commits/_diffs.html.haml
@@ -1,15 +1,15 @@
 - if @suppress_diff
   .alert-message.block-message
     %p
-      %strong Warning! Large commit with more then 200 files changed.
+      %strong Warning! Large commit with more then #{Commit::DIFF_SAFE_SIZE} files changed.
     %p To prevent performance issue we rejected diff information.
     %p
       But if you still want to see diff
-      = link_to "click this link", project_commit_path(@project, @commit, force_show_diff: true), class: "dark"
+      = link_to "click this link", project_commit_path(@project, @commit, force_show_diff: true), class: "underlined_link"
 
 %p.cgray
   Showing #{pluralize(diffs.count, "changed file")}
-.file_stats
+.file-stats
   = render "commits/diff_head", diffs: diffs
 
 - unless @suppress_diff
@@ -18,30 +18,44 @@
     - file = (@commit.tree / diff.new_path)
     - file = (@commit.prev_commit.tree / diff.old_path) unless file
     - next unless file
-    .diff_file
+    .diff_file{id: "diff-#{i}"}
       .diff_file_header
         - if diff.deleted_file
-          %i.icon-file
-          %span{id: "#{diff.old_path}"}= diff.old_path
+          %span= diff.old_path
+
+          - if @commit.prev_commit
+            = link_to project_tree_path(@project, tree_join(@commit.prev_commit_id, diff.new_path)), {:class => 'btn right view-commit'} do
+              View file @
+              %span.commit-short-id= @commit.short_id(6)
         - else
-          = link_to project_tree_path(@project, tree_join(@commit.id, diff.new_path)) do
-            %i.icon-file
-            %span{id: "#{diff.new_path}"}= diff.new_path
+          %span= diff.new_path
+          - if diff.a_mode && diff.b_mode && diff.a_mode != diff.b_mode
+            %span.file-mode= "#{diff.a_mode} → #{diff.b_mode}"
+
+          = link_to project_tree_path(@project, tree_join(@commit.id, diff.new_path)), {:class => 'btn very_small right view-commit'} do
+            View file @
+            %span.commit-short-id= @commit.short_id(6)
+
         %br/
       .diff_file_content
         -# Skipp all non non-supported blobs
         - next unless file.respond_to?('text?')
-
         - if file.text?
           = render "commits/text_file", diff: diff, index: i
         - elsif file.image?
-          - if diff.renamed_file || diff.new_file || diff.deleted_file 
+          - old_file = (@commit.prev_commit.tree / diff.old_path)
+          - if diff.renamed_file || diff.new_file || diff.deleted_file
             .diff_file_content_image
-              %img{class: image_diff_class(diff), src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
-          - else 
-            - old_file = (@commit.prev_commit.tree / diff.old_path)
+              .image{class: image_diff_class(diff)}
+                %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
+                %div.image-info= "#{number_to_human_size file.size}"
+          - else
             .diff_file_content_image.img_compared
-              %img{class: "diff_image_removed", src: "data:#{file.mime_type};base64,#{Base64.encode64(old_file.data)}"}
-              %img{class: "diff_image_added", src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
+              .image.diff_removed
+                %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(old_file.data)}"}
+                %div.image-info= "#{number_to_human_size file.size}"
+              .image.diff_added
+                %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
+                %div.image-info= "#{number_to_human_size file.size}"
         - else
           %p.nothing_here_message No preview for this file type
diff --git a/app/views/commits/_head.html.haml b/app/views/commits/_head.html.haml
index c001c2f70cecaff430a9fd51922bcd49ac4d9de8..2ec1d24bbef7473cb06a71a574d81a2e4e498034 100644
--- a/app/views/commits/_head.html.haml
+++ b/app/views/commits/_head.html.haml
@@ -16,6 +16,11 @@
       Tags
       %span.badge= @project.tags.length
 
+  = nav_link(controller: :repositories, action: :stats) do
+    = link_to stats_project_repository_path(@project) do
+      Stats
+
+
   - if current_controller?(:commits) && current_user.private_token
     %li.right
       %span.rss-icon
diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml
index ac0636382f58147902a828850e556d9248da1474..9451a038df057692cd6ac6672d72305bf091d576 100644
--- a/app/views/commits/show.html.haml
+++ b/app/views/commits/show.html.haml
@@ -2,14 +2,7 @@
 
 - if @path.present?
   %ul.breadcrumb
-    %li
-      %span.arrow
-      = link_to project_commits_path(@project) do
-        = @project.name
-      %span.divider
-        \/
-    %li
-      %a{href: "#"}= @path.split("/").join(" / ")
+    = breadcrumbs
 
 %div{id: dom_id(@project)}
   #commits_list= render "commits"
diff --git a/app/views/dashboard/index.html.haml b/app/views/dashboard/index.html.haml
index 6c4ff96bb50ffa78488e3fd81430f98ea2907878..d0882c6dab72af3e89151829a9f565d5e520f25d 100644
--- a/app/views/dashboard/index.html.haml
+++ b/app/views/dashboard/index.html.haml
@@ -3,10 +3,17 @@
     .activities.span8
       = render "events/event_last_push", event: @last_push
       = render 'shared/no_ssh'
+
+      .event_filter
+        = event_filter_link EventFilter.push, 'Push events'
+        = event_filter_link EventFilter.merged, 'Merge events'
+        = event_filter_link EventFilter.comments, 'Comments'
+        = event_filter_link EventFilter.team, 'Team'
+
       - if @events.any?
         .content_list= render @events
       - else
-        %h4.nothing_here_message Projects activity will be displayed here
+        %p.nothing_here_message Projects activity will be displayed here
       .loading.hide
     .side
       - if @groups.present?
diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml
index 07ecf70b6c912cc5be2261df72f84a84e8d1fc49..38192d7107d16af0238248d009a1baaf0f3da85d 100644
--- a/app/views/devise/sessions/new.html.haml
+++ b/app/views/devise/sessions/new.html.haml
@@ -14,8 +14,9 @@
     = f.submit "Sign in", :class => "primary btn wide"
     .right
       = render :partial => "devise/shared/links"
-    - if devise_mapping.omniauthable?
-      %hr/
-      - resource_class.omniauth_providers.each do |provider|
-        %span
-          = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
+    .clearfix
+    - if devise_mapping.omniauthable? && resource_class.omniauth_providers.present?
+      %div
+        - resource_class.omniauth_providers.each do |provider|
+          %span
+            = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
diff --git a/app/views/help/system_hooks.html.haml b/app/views/help/system_hooks.html.haml
index 736c818bc57cc72b0fb3d0e8655c245e51722d45..c25b60deeb090ac1814485113ae42cfa115d0ecc 100644
--- a/app/views/help/system_hooks.html.haml
+++ b/app/views/help/system_hooks.html.haml
@@ -5,9 +5,10 @@
 %hr
 
 %p.slead
-  Your GitLab instance can perform HTTP POST request on next event: create_project, delete_project, create_user, delete_user, change_team_member.
+  Your GitLab instance can perform HTTP POST requests on the following events: create_project, delete_project, create_user, delete_user, change_team_member.
   %br
-  System Hooks can be used for logging or change information in LDAP server.
+  %br
+  System Hooks can be used, e.g. for logging or changing information in a LDAP server.
   %br
 %h5 Hooks request example:
 = render "admin/hooks/data_ex"
diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml
index 2ba72975282ed3b75d9ea7f75218c753b51d79b3..670b4e059f4fe87f84fce15bef2fe02641ddd152 100644
--- a/app/views/issues/_form.html.haml
+++ b/app/views/issues/_form.html.haml
@@ -12,7 +12,7 @@
           = f.label :title do
             %strong= "Subject *"
           .input
-            = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input", autofocus: true
+            = f.text_field :title, maxlength: 255, class: "xxlarge js-gfm-input", autofocus: true
       .issue_middle_block
         .issue_assignee
           = f.label :assignee_id do
@@ -37,7 +37,7 @@
         .clearfix
           = f.label :description, "Details"
           .input
-            = f.text_area :description, maxlength: 2000, class: "xxlarge gfm-input", rows: 14
+            = f.text_area :description, maxlength: 2000, class: "xxlarge js-gfm-input", rows: 14
             %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
 
 
diff --git a/app/views/issues/edit.js.haml b/app/views/issues/edit.js.haml
index 76d9e02ecb1234672a52aea2150e706ae0e6e30c..a994572f9b9f5c0e6adb77a8ca3c158aa1bf33a9 100644
--- a/app/views/issues/edit.js.haml
+++ b/app/views/issues/edit.js.haml
@@ -1,5 +1,4 @@
 :plain
-  var edit_issue_dialog = $("<div id='edit_issue_dialog'></div>");
-  edit_issue_dialog.html("#{escape_javascript(render('form'))}");
-  switchToEditIssue(edit_issue_dialog);
+  $("#edit_issue_dialog").html("#{escape_javascript(render('form'))}");
+  switchToEditIssue();
 
diff --git a/app/views/issues/index.html.haml b/app/views/issues/index.html.haml
index 22c34baaccd65f767cb67beb2402e19cccb48b40..d89b183d36028afaae34194ee59ac4629d9b851e 100644
--- a/app/views/issues/index.html.haml
+++ b/app/views/issues/index.html.haml
@@ -58,6 +58,8 @@
     %ul#issues-table.unstyled.issues_table
       = render "issues"
 
+#new_issue_dialog
+#edit_issue_dialog
 
 :javascript
   $(function(){
diff --git a/app/views/issues/new.js.haml b/app/views/issues/new.js.haml
index afa2b86ea926feec328e5f41175916a4f38daf5f..4cbcc563e285ab7ec7f1e9795d5795f7259c42c9 100644
--- a/app/views/issues/new.js.haml
+++ b/app/views/issues/new.js.haml
@@ -1,4 +1,3 @@
 :plain
-  var new_issue_dialog = $("<div id='new_issue_dialog'></div>");
-  new_issue_dialog.html("#{escape_javascript(render('form'))}");
-  switchToNewIssue(new_issue_dialog);
+  $("#new_issue_dialog").html("#{escape_javascript(render('form'))}");
+  switchToNewIssue();
diff --git a/app/views/keys/index.html.haml b/app/views/keys/index.html.haml
index fd5a9dad2385dd1a888e7fda1141827b4573e6ac..f5a8283a0ce3738e4e902e4ae3e787a1ac1bf5c1 100644
--- a/app/views/keys/index.html.haml
+++ b/app/views/keys/index.html.haml
@@ -18,5 +18,5 @@
   - if @keys.blank?
     %tr
       %td{colspan: 3}
-        %h3.nothing_here_message There are no SSH keys with access to your account.
+        %p.nothing_here_message There are no SSH keys with access to your account.
 
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml
index 7f89bdf0e9a6435fbab13f0dc0e829891fd57462..38e1d7f05978cfdc97c642b0d5bf2f3f2c0ff78f 100644
--- a/app/views/layouts/_head_panel.html.haml
+++ b/app/views/layouts/_head_panel.html.haml
@@ -1,39 +1,37 @@
-/ Page Header
-%header.top_panel_holder
-  .container
-    .top_panel_content
+%header.navbar.navbar-static-top.navbar-gitlab
+  .navbar-inner
+    .container
       %div.app_logo
         = link_to root_path, class: "home", title: "Home" do
-          %h1
-            GITLAB
+          %h1 GITLAB
         %span.separator
       %h1.project_name= title
-      .search
-        = form_tag search_path, method: :get do |f|
-          = text_field_tag "search", nil, placeholder: "Search", class: "search-input"
-      .fbtn
+      %ul.nav
         - if current_user.is_admin?
-          = link_to admin_root_path, class: "btn small", title: "Admin area" do
-            %i.icon-cog
-            Admin
+          %li
+            = link_to admin_root_path, title: "Admin area", class: 'has_bottom_tooltip', 'data-original-title' => 'Admin area' do
+              %i.icon-cogs
         - if current_user.can_create_project?
-          = link_to new_project_path, class: "btn small", title: "Create New Project" do
-            %i.icon-plus
-            Project
-      .account-box
-        = link_to profile_path, class: "pic" do
-          = image_tag gravatar_icon(current_user.email)
-        .account-links
-          = link_to profile_path, class: "username" do
-            My profile
-          = link_to 'Logout', destroy_user_session_path, class: "logout", method: :delete
+          %li
+            = link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project'  do
+              %i.icon-plus
+        %li
+          = link_to profile_path, title: "Your Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile'  do
+            %i.icon-user
+        %span.separator
+        %li
+          = render "layouts/search"
+        %li
+          .account-box
+            = link_to profile_path, class: "pic" do
+              = image_tag gravatar_icon(current_user.email)
+            .account-links
+              = link_to profile_path, class: "username" do
+                %i.icon-user.icon-white
+                My profile
+              = link_to destroy_user_session_path, class: "logout", method: :delete do
+                %i.icon-signout.icon-white
+                Logout
 
-= render "layouts/init_auto_complete"
 
-:javascript
-  $(function(){
-    $("#search").autocomplete({
-      source: #{raw search_autocomplete_source},
-      select: function(event, ui) { location.href = ui.item.url }
-    });
-  });
+= render "layouts/init_auto_complete"
diff --git a/app/views/layouts/_init_auto_complete.html.haml b/app/views/layouts/_init_auto_complete.html.haml
index 87a746551286b6b61a8efeee5f9644e09e3bed31..502f289ec05bf4ea426c7518c12cc56023df0a46 100644
--- a/app/views/layouts/_init_auto_complete.html.haml
+++ b/app/views/layouts/_init_auto_complete.html.haml
@@ -1,11 +1,11 @@
 :javascript
   $(function() {
-    autocompleteMembersUrl = "#{ "/api/v2/projects/#{@project.code}/members" if @project }";
-    autocompleteMembersParams.private_token = "#{current_user.authentication_token}";
+    GitLab.GfmAutoComplete.Members.url = "#{ "/api/v2/projects/#{@project.code}/members" if @project }";
+    GitLab.GfmAutoComplete.Members.params.private_token = "#{current_user.private_token}";
 
-    autocompleteEmojiData = #{raw emoji_autocomplete_source};
+    GitLab.GfmAutoComplete.Emoji.data = #{raw emoji_autocomplete_source};
     // convert the list so that the items have the right format for completion
-    autocompleteEmojiData = $.map(autocompleteEmojiData, function(value) {
+    GitLab.GfmAutoComplete.Emoji.data = $.map(GitLab.GfmAutoComplete.Emoji.data, function(value) {
       return {
         name: value,
         insert: value+':',
@@ -13,5 +13,5 @@
       }
     });
 
-    setupGfmAutoComplete();
+    GitLab.GfmAutoComplete.setup();
   });
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..7ea9079849a0d9c115c57d1cdc073dc7c5afe3a0
--- /dev/null
+++ b/app/views/layouts/_search.html.haml
@@ -0,0 +1,11 @@
+.search
+  = form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f|
+    = text_field_tag "search", nil, placeholder: "Search", class: "search-input"
+
+:javascript
+  $(function(){
+    $("#search").autocomplete({
+      source: #{raw search_autocomplete_source},
+      select: function(event, ui) { location.href = ui.item.url }
+    });
+  });
diff --git a/app/views/merge_requests/_form.html.haml b/app/views/merge_requests/_form.html.haml
index 30f8810259c3e24a80e345199d546482da34ac5c..302e75cfb007bb6249e4b7009a8aabcd7a806d02 100644
--- a/app/views/merge_requests/_form.html.haml
+++ b/app/views/merge_requests/_form.html.haml
@@ -28,16 +28,22 @@
   %h4.cdark 2. Fill info
 
   .clearfix
-    .main_box
+    .merge_requests_form_box
       .top_box_content
-        = f.label :title do 
+        = f.label :title do
           %strong= "Title *"
-        .input= f.text_field :title, class: "input-xxlarge pad gfm-input", maxlength: 255, rows: 5
-      .middle_box_content
-        = f.label :assignee_id do 
-          %i.icon-user 
-          Assign to
-        .input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { include_blank: "Select user" }, {class: 'chosen span3'})
+        .input= f.text_field :title, class: "input-xxlarge pad js-gfm-input", maxlength: 255, rows: 5
+      .merge_requests_middle_box
+        .merge_requests_assignee
+          = f.label :assignee_id do
+            %i.icon-user
+            Assign to
+          .input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { include_blank: "Select user" }, {class: 'chosen span3'})
+        .merge_requests_milestone
+          = f.label :milestone_id do
+            %i.icon-time
+            Milestone
+          .input= f.select(:milestone_id, @project.milestones.active.all.collect {|p| [ p.title, p.id ] }, { include_blank: "Select milestone" }, {class: 'chosen'})
 
   .control-group
 
diff --git a/app/views/merge_requests/_merge_request.html.haml b/app/views/merge_requests/_merge_request.html.haml
index 419419d2b0f5edb3ae17cea58c0dd842fdc00543..4f68c5f2620deea4c8bda22eaca7e541598b79ac 100644
--- a/app/views/merge_requests/_merge_request.html.haml
+++ b/app/views/merge_requests/_merge_request.html.haml
@@ -10,6 +10,10 @@
         %span.btn.small.disabled.grouped
           %i.icon-comment
           = merge_request.mr_and_commit_notes.count
+      - if merge_request.milestone_id?
+        %span.btn.small.disabled.grouped
+          %i.icon-time
+          = merge_request.milestone.title
       %span.btn.small.disabled.grouped
         = merge_request.source_branch
         &rarr;
diff --git a/app/views/merge_requests/branch_from.js.haml b/app/views/merge_requests/branch_from.js.haml
index 156b4f0dc7319e9646355fb8a779c332050fa5a4..0637fdcb72e81dcc07a735ca62363f47c729b2fc 100644
--- a/app/views/merge_requests/branch_from.js.haml
+++ b/app/views/merge_requests/branch_from.js.haml
@@ -1,2 +1,2 @@
 :plain
-  $(".mr_source_commit").html("#{escape_javascript(render 'commits/commit', commit: @commit)}");
+  $(".mr_source_commit").html("#{commit_to_html(@commit)}");
diff --git a/app/views/merge_requests/branch_to.js.haml b/app/views/merge_requests/branch_to.js.haml
index 8a201d42088e0766285a60dfc33297cdce9bf637..974100d1ba742e71c9c2d8d41c40b837117cc8e8 100644
--- a/app/views/merge_requests/branch_to.js.haml
+++ b/app/views/merge_requests/branch_to.js.haml
@@ -1,3 +1,2 @@
 :plain
-  $(".mr_target_commit").html("#{escape_javascript(render 'commits/commit', commit: @commit)}");
-
+  $(".mr_target_commit").html("#{commit_to_html(@commit)}");
diff --git a/app/views/merge_requests/index.html.haml b/app/views/merge_requests/index.html.haml
index bbf35dc72d225b5d19947c48c1fc14df98b6c762..7bcb7a81e1ac4990b5d7339b84aa19512a17ea28 100644
--- a/app/views/merge_requests/index.html.haml
+++ b/app/views/merge_requests/index.html.haml
@@ -9,19 +9,26 @@
 
 .ui-box
   .title
-    %ul.nav.nav-pills
-      %li{class: ("active" if (params[:f] == 'open' || !params[:f]))}
-        = link_to project_merge_requests_path(@project, f: 'open') do
-          Open
-      %li{class: ("active" if params[:f] == "closed")}
-        = link_to project_merge_requests_path(@project, f: "closed") do
-          Closed
-      %li{class: ("active" if params[:f] == 'assigned-to-me')}
-        = link_to project_merge_requests_path(@project, f: 'assigned-to-me') do
-          To Me
-      %li{class: ("active" if params[:f] == 'all')}
-        = link_to project_merge_requests_path(@project, f: 'all') do
-          All
+    .left
+      %ul.nav.nav-pills
+        %li{class: ("active" if (params[:f] == 'open' || !params[:f]))}
+          = link_to project_merge_requests_path(@project, f: 'open', milestone_id: params[:milestone_id]) do
+            Open
+        %li{class: ("active" if params[:f] == "closed")}
+          = link_to project_merge_requests_path(@project, f: "closed", milestone_id: params[:milestone_id]) do
+            Closed
+        %li{class: ("active" if params[:f] == 'assigned-to-me')}
+          = link_to project_merge_requests_path(@project, f: 'assigned-to-me', milestone_id: params[:milestone_id]) do
+            To Me
+        %li{class: ("active" if params[:f] == 'all')}
+          = link_to project_merge_requests_path(@project, f: 'all', milestone_id: params[:milestone_id]) do
+            All
+    .right
+      = form_tag project_merge_requests_path(@project), id: "merge_requests_search_form", method: :get, class: :right  do
+        = select_tag(:assignee_id, options_from_collection_for_select([unassigned_filter] + @project.users.all, "id", "name", params[:assignee_id]), prompt: "Assignee")
+        = select_tag(:milestone_id, options_from_collection_for_select([unassigned_filter] + @project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), prompt: "Milestone")
+        = hidden_field_tag :f, params[:f]
+    .clearfix
 
   %ul.unstyled
     = render @merge_requests
@@ -35,3 +42,7 @@
           .span4.right
             %span.cgray.right #{@merge_requests.total_count} merge requests for this filter
 
+:javascript
+  $(function() {
+      merge_requestsPage();
+    })
diff --git a/app/views/merge_requests/show/_mr_box.html.haml b/app/views/merge_requests/show/_mr_box.html.haml
index 89c3110bddfe8b43c99f92afe4a2a934fe3518e0..b4b4be2980ab4f8bc26e5cb9d1991506d2a6e3fc 100644
--- a/app/views/merge_requests/show/_mr_box.html.haml
+++ b/app/views/merge_requests/show/_mr_box.html.haml
@@ -6,6 +6,9 @@
       - else
         .alert-message.success.status_info Open
       = gfm escape_once(@merge_request.title)
+      - if @project.gitlab_ci?
+        .right
+          = image_tag ci_status_path, class: 'status-badge'
 
   .middle_box_content
     %div
@@ -14,9 +17,13 @@
       %strong.author= link_to_merge_request_author(@merge_request)
 
       - if @merge_request.assignee
-        %cite.cgray and currently assigned to
+        %cite.cgray , currently assigned to
         = image_tag gravatar_icon(@merge_request.assignee_email), width: 16, class: "lil_av"
         %strong.author= link_to_merge_request_assignee(@merge_request)
+      - if @merge_request.milestone
+        - milestone = @merge_request.milestone
+        %cite.cgray and attached to milestone
+        %strong= link_to_gfm truncate(milestone.title, length: 20), project_milestone_path(milestone.project, milestone)
 
 
   - if @merge_request.closed
diff --git a/app/views/milestones/_milestone.html.haml b/app/views/milestones/_milestone.html.haml
index 205b864f80fda44dd577ee17ac1a02ae0b4be7f6..7c4c0e67d7ce2f58f080e9062f6fc4e3712dec40 100644
--- a/app/views/milestones/_milestone.html.haml
+++ b/app/views/milestones/_milestone.html.haml
@@ -1,18 +1,22 @@
 %li{class: "milestone", id: dom_id(milestone) }
   .right
-    - if milestone.issues.any?
-      %span.btn.small.disabled.grouped= pluralize milestone.issues.count, 'issues'
-    - if milestone.issues.count > 0
-      = link_to 'Browse Issues', project_issues_path(milestone.project, milestone_id: milestone.id), class: "btn small grouped"
     - if can? current_user, :admin_milestone, milestone.project
-      = link_to 'Edit', edit_project_milestone_path(milestone.project, milestone), class: "btn small edit-milestone-link grouped"
+      = link_to edit_project_milestone_path(milestone.project, milestone), class: "btn small edit-milestone-link grouped" do
+        %i.icon-edit
+        Edit
   %h4
-    = link_to_gfm truncate(milestone.title, length: 100), project_milestone_path(milestone.project, milestone), class: "row_title"
+    = link_to_gfm truncate(milestone.title, length: 100), project_milestone_path(milestone.project, milestone)
     %small
       = milestone.expires_at
-    %br
-    .progress.progress-success.span3
-      .bar{style: "width: #{milestone.percent_complete}%;"}
-
-
-  &nbsp;
+  .row
+    .span4
+      .progress.progress-info
+        .bar{style: "width: #{milestone.percent_complete}%;"}
+    .span6
+      = link_to project_issues_path(milestone.project, milestone_id: milestone.id) do
+        = pluralize milestone.issues.count, 'Issue'
+      &nbsp;
+      = link_to project_merge_requests_path(milestone.project, milestone_id: milestone.id) do
+        = pluralize milestone.merge_requests.count, 'Merge Request'
+      &nbsp;
+      %span.light #{milestone.percent_complete}% complete
diff --git a/app/views/milestones/show.html.haml b/app/views/milestones/show.html.haml
index c113c81f33cd6b10cca21fc0e7707e45db27b996..b8bc788c953610b6d83d6be3de0fd08ba175df6c 100644
--- a/app/views/milestones/show.html.haml
+++ b/app/views/milestones/show.html.haml
@@ -31,10 +31,10 @@
     %h5
       Progress:
       %small
-        #{@milestone.issues.closed.count} closed
+        #{@milestone.closed_items_count} closed
         &ndash;
-        #{@milestone.issues.opened.count} open
-    .progress.progress-success
+        #{@milestone.open_items_count} open
+    .progress.progress-info
       .bar{style: "width: #{@milestone.percent_complete}%;"}
 
 
@@ -58,15 +58,28 @@
               %span.badge.badge-info ##{issue.id}
             &ndash;
             = link_to_gfm truncate(issue.title, length: 60), [@project, issue]
-    %br
 
   .span6
-    %table
+    %table.milestone-merge-requests-filter
       %thead
-        %th Participants
-      - @users.each do |user|
-        %tr
+        %th
+          %ul.nav.nav-pills
+            %li.active= link_to('Open Merge Requests', '#')
+            %li=link_to('All Merge Requests', '#')
+      - @merge_requests.each do |merge_request|
+        %tr{data: {closed: merge_request.closed}}
           %td
-            = image_tag gravatar_icon(user.email, 24), width: "24"
-            &nbsp;
-            = user.name
+            = link_to [@project, merge_request] do
+              %span.badge.badge-info ##{merge_request.id}
+            &ndash;
+            = link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request]
+
+%hr
+%h6 Participants:
+%div
+  - @users.each do |user|
+    = link_to tm_path(user.tm_of(@project)), class: 'float-link' do
+      = user.avatar_image
+      = user.name
+
+.clearfix
diff --git a/app/views/notes/_common_form.html.haml b/app/views/notes/_common_form.html.haml
index a9f2907b05adf23bc994947caadce6cccc3f8409..0725082d504503d0e141a4a25753cf50cfa72f52 100644
--- a/app/views/notes/_common_form.html.haml
+++ b/app/views/notes/_common_form.html.haml
@@ -8,7 +8,7 @@
 
     = f.hidden_field :noteable_id
     = f.hidden_field :noteable_type
-    = f.text_area :note, size: 255, class: 'note-text gfm-input'
+    = f.text_area :note, size: 255, class: 'note-text js-gfm-input'
     #preview-note.preview_note.hide
     .hint
       .right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
diff --git a/app/views/notes/_create_common_note.js.haml b/app/views/notes/_create_common_note.js.haml
index e7df64c4c1e7e3ca0020a8d1da1c28ca924adb31..217c908064ad2adc5cf864e0585714b10d5f00b3 100644
--- a/app/views/notes/_create_common_note.js.haml
+++ b/app/views/notes/_create_common_note.js.haml
@@ -9,6 +9,5 @@
 
 - else
   :plain
-    $(".note-form-holder").replaceWith("#{escape_javascript(render 'form')}");
-    setupGfmAutoComplete();
-
+    $(".note-form-holder").replaceWith("#{escape_javascript(render 'notes/common_form')}");
+    GitLab.GfmAutoComplete.setup();
diff --git a/app/views/notes/_per_line_form.html.haml b/app/views/notes/_per_line_form.html.haml
index ee0cde4bcf12149138dfc7aecc83dc10ea6ec930..c8d79850162c2340d1cf7b87f5e7e77910ad76e2 100644
--- a/app/views/notes/_per_line_form.html.haml
+++ b/app/views/notes/_per_line_form.html.haml
@@ -13,7 +13,7 @@
             = f.hidden_field :noteable_id
             = f.hidden_field :noteable_type
             = f.hidden_field :line_code
-            = f.text_area :note,  size: 255, class: 'line-note-text gfm-input'
+            = f.text_area :note,  size: 255, class: 'line-note-text js-gfm-input'
             .note_actions
               .buttons
                 = f.submit 'Add note', class: "btn save-btn submit_note submit_inline_note", id: "submit_note"
diff --git a/app/views/notify/project_access_granted_email.html.haml b/app/views/notify/project_access_granted_email.html.haml
index 154c2aaa01e65d0c45e450fa2e15e40cba92a4ec..72b3f0658fc5dfe9c31b6d37aaad45edff1ac5b0 100644
--- a/app/views/notify/project_access_granted_email.html.haml
+++ b/app/views/notify/project_access_granted_email.html.haml
@@ -4,7 +4,7 @@
       %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
       %td{align: "left", style: "padding: 20px 0 0;"}
         %h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
-          = "You got granted #{@users_project.project_access_human} access to project"
+          = "You have been granted #{@users_project.project_access_human} access to project"
       %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
     %tr
       %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
diff --git a/app/views/profile/account.html.haml b/app/views/profile/account.html.haml
index 6707a8ff443c47cd53a9bb2a7091b311d1b5a9ba..1e3a8b1a0d4a0ba9c6349c8a229fa84ea1b54ea4 100644
--- a/app/views/profile/account.html.haml
+++ b/app/views/profile/account.html.haml
@@ -1,7 +1,6 @@
 - if Gitlab.config.omniauth_enabled?
   %fieldset
-    %legend
-      %h3.page_title Social Accounts
+    %legend Social Accounts
     .oauth_select_holder
       %p.hint Tip: Click on icon to activate sigin with one of the following services
       - User.omniauth_providers.each do |provider|
@@ -11,10 +10,9 @@
 
 %fieldset
   %legend
-    %h3.page_title
-      Private token
-      %span.cred.right
-        keep it in secret!
+    Private token
+    %span.cred.right
+      keep it secret!
   .padded
     = form_for @user, url: profile_reset_private_token_path, method: :put do |f|
       .data
@@ -31,8 +29,7 @@
             = f.submit 'Generate', class: "btn success btn-build-token"
 
 %fieldset
-  %legend
-    %h3.page_title Password
+  %legend Password
   = form_for @user, url: profile_password_path, method: :put do |f|
     .padded
       %p.slead After successful password update you will be redirected to login page where you should login with new password
diff --git a/app/views/profile/design.html.haml b/app/views/profile/design.html.haml
index d70483a25d8428f00b8fd097c1f426a06499e51b..502cca42f2d722e35819464704b24f0712b40c71 100644
--- a/app/views/profile/design.html.haml
+++ b/app/views/profile/design.html.haml
@@ -1,45 +1,52 @@
 = form_for @user, url: profile_update_path, remote: true, method: :put do |f|
-  %div
-    %h3.page_title Application theme
-    %br
+  %fieldset.application-theme
+    %legend
+      Application theme
+      .update-feedback.hide
+        %i.icon-ok
+        Saved
     .themes_opts
       = label_tag do
-        .prev
-          = image_tag "gitlab_default.png"
+        .prev.default
         = f.radio_button :theme_id, 1
         Default
 
       = label_tag do
-        .prev
-          = image_tag "gitlab_classic.png"
+        .prev.classic
         = f.radio_button :theme_id, 2
         Classic
 
       = label_tag do
-        .prev
-          = image_tag "gitlab_modern.png"
+        .prev.modern
         = f.radio_button :theme_id, 3
         Modern
+
+      = label_tag do
+        .prev.gray
+        = f.radio_button :theme_id, 4
+        SlateGray
+
+      = label_tag do
+        .prev.violet
+        = f.radio_button :theme_id, 5
+        Violet
     %br
     .clearfix
 
-  %h3.page_title Code review
-  %br
-  .themes_opts
-    = label_tag do
-      .prev
-        = image_tag "white.png"
-      = f.radio_button :dark_scheme, false
-      White code preview
-    = label_tag do
-      .prev
-        = image_tag "dark.png"
-      = f.radio_button :dark_scheme, true
-      Dark code preview
-
-:javascript
-  $(function(){
-    $(".edit_user input").bind("click", function() {
-      $(".edit_user").submit();
-    });
-  })
+  %fieldset.code-preview-theme
+    %legend
+      Code preview theme
+      .update-feedback.hide
+        %i.icon-ok
+        Saved
+    .code_highlight_opts
+      = label_tag do
+        .prev
+          = image_tag "white.png"
+        = f.radio_button :dark_scheme, false
+        White code preview
+      = label_tag do
+        .prev
+          = image_tag "dark.png"
+        = f.radio_button :dark_scheme, true
+        Dark code preview
diff --git a/app/views/profile/show.html.haml b/app/views/profile/show.html.haml
index 7b62529116e35253a2b53001949a67049a0aff23..7d9e90cf3f870f63647847987f90074cab00a143 100644
--- a/app/views/profile/show.html.haml
+++ b/app/views/profile/show.html.haml
@@ -1,5 +1,5 @@
 .profile_avatar_holder
-  = image_tag gravatar_icon(@user.email, 90), class: "styled_image"
+  = image_tag gravatar_icon(@user.email, 90)
 %h3.page_title
   = @user.name
   %br
@@ -19,21 +19,23 @@
       .control-group
         = f.label :name, class: "control-label"
         .controls
-          = f.text_field :name, class: "input-xlarge"
+          = f.text_field :name, class: "input-xlarge", required: true
           %span.help-block Enter your name, so people you know can recognize you.
       .control-group
         = f.label :email, class: "control-label"
         .controls
-          = f.text_field :email, class: "input-xlarge"
+          = f.text_field :email, class: "input-xlarge", required: true
           %span.help-block We also use email for avatar detection.
 
     .span5.right
-      %div.tips
-        %h6 Tips:
+      %fieldset.tips
+        %legend Tips:
         %ul
+          %li
+            %p You can change your password on Account page
           -unless Gitlab.config.disable_gravatar?
             %li
-              %p.hint You can change your avatar at #{link_to "gravatar.com", "http://gravatar.com"}
+              %p You can change your avatar at #{link_to "gravatar.com", "http://gravatar.com"}
 
           - if Gitlab.config.omniauth_enabled? && @user.provider?
             %li
@@ -41,7 +43,6 @@
                 You can login through #{@user.provider.titleize}!
                 = link_to "click here to change", profile_account_path
 
-  %hr
   .row
     .span7
       .control-group
@@ -59,23 +60,22 @@
           = f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250
           %span.help-block Tell us about yourself in fewer than 250 characters.
     .span5.right
-      .ui-box.white
-        .ui-box-body
-          %h4
-            Personal projects:
-            %small.right
-              %span= current_user.my_own_projects.count
-              of
-              %span= current_user.projects_limit
+      %fieldset
+        %legend
+          Personal projects:
+          %small.right
+            %span= current_user.my_own_projects.count
+            of
+            %span= current_user.projects_limit
+        .padded
           .progress
             .bar{style: "width: #{current_user.projects_limit_percent}%;"}
 
-      .ui-box.white
-        .ui-box-body
-          %h4
-            SSH public keys:
-            %strong.right= link_to current_user.keys.count, keys_path
-
+      %fieldset
+        %legend
+          SSH public keys:
+          %strong.right= link_to current_user.keys.count, keys_path
+        .padded
           = link_to "Add Public Key", new_key_path, class: "btn small"
 
   .form-actions
diff --git a/app/views/profile/update.js.erb b/app/views/profile/update.js.erb
new file mode 100644
index 0000000000000000000000000000000000000000..04b5cf4827de0bd5d07fc077af4ad691bf350dcd
--- /dev/null
+++ b/app/views/profile/update.js.erb
@@ -0,0 +1,9 @@
+// Remove body class for any previous theme, re-add current one
+$('body').removeClass('ui_basic ui_mars ui_modern ui_gray ui_color')
+$('body').addClass('<%= app_theme %>')
+
+// Re-render the header to reflect the new theme
+$('header').html('<%= escape_javascript(render("layouts/head_panel", title: "Profile")) %>')
+
+// Re-initialize header tooltips
+$('.has_bottom_tooltip').tooltip({placement: 'bottom'})
diff --git a/app/views/projects/_clone_panel.html.haml b/app/views/projects/_clone_panel.html.haml
index 4411ff1734b1823ffd8dfe2ee8f66ea6ad71290b..461f4feaf61b9225f6aa7c0a9735122aaeb47e7e 100644
--- a/app/views/projects/_clone_panel.html.haml
+++ b/app/views/projects/_clone_panel.html.haml
@@ -1,21 +1,17 @@
 .project_clone_panel
   .row
     .span7
-      .form-horizontal
-        .input-prepend.project_clone_holder
-          %button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
-          %button{class: "btn small", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.web_protocol.upcase
-          = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
+      .form-horizontal= render "shared/clone_panel"
     .span4.right
       .right
         - unless @project.empty_repo?
           - if can? current_user, :download_code, @project
-            = link_to archive_project_repository_path(@project), class: "btn small grouped" do
+            = link_to archive_project_repository_path(@project), class: "btn grouped" do
               %i.icon-download-alt
               Download
           - if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
-            = link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn small grouped" do
+            = link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn grouped" do
               Merge Request
           - if @project.issues_enabled && can?(current_user, :write_issue, @project)
-            = link_to new_project_issue_path(@project), title: "New Issue", class: "btn small grouped" do
+            = link_to new_project_issue_path(@project), title: "New Issue", class: "btn grouped" do
               Issue
diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml
index 8bdeda1cafe15ab13b2836e53801af5df17a79b9..9ee65942fe9c92b51deb7064f0fc32f6f22183e4 100644
--- a/app/views/projects/_form.html.haml
+++ b/app/views/projects/_form.html.haml
@@ -10,9 +10,8 @@
     .input
       = f.text_field :name, placeholder: "Example Project", class: "xxlarge"
 
-  %hr
-  .adv_settings
-    %h6 Advanced settings:
+  %fieldset
+    %legend  Advanced settings:
     .clearfix
       = f.label :path do
         Path
@@ -34,9 +33,8 @@
         .input= f.select(:default_branch, @project.heads.map(&:name), {}, style: "width:210px;")
 
   - unless @project.new_record?
-    %hr
-    .adv_settings
-      %h6 Features:
+    %fieldset
+      %legend Features:
 
       .clearfix
         = f.label :issues_enabled, "Issues"
diff --git a/app/views/projects/_project_head.html.haml b/app/views/projects/_project_head.html.haml
index 47a790735f34847be45f0c531bd4c7103106d060..94052650694b284251343ff63bd5eea4d1815131 100644
--- a/app/views/projects/_project_head.html.haml
+++ b/app/views/projects/_project_head.html.haml
@@ -21,6 +21,10 @@
       = link_to project_hooks_path(@project) do
         %span
         Hooks
+    = nav_link(controller: :services, html_options: {class: 'right'}) do
+      = link_to project_services_path(@project) do
+        %span
+        Services
     = nav_link(path: 'projects#edit', html_options: {class: 'right'}) do
       = link_to edit_project_path(@project), class: "stat-tab tab " do
         %i.icon-edit
diff --git a/app/views/projects/create.js.haml b/app/views/projects/create.js.haml
index 2f6264a15afab8156700f661b6a537b985ba820b..ce73fe0cf013d872563082457e8e28bd43defb0f 100644
--- a/app/views/projects/create.js.haml
+++ b/app/views/projects/create.js.haml
@@ -1,11 +1,11 @@
 - if @project.saved?
   :plain
-    location.href = "#{project_path(@project, notice: 'Project was successfully created.')}";
+    location.href = "#{project_path(@project)}";
 - else
   - if @project.git_error?
     location.href = "#{errors_githost_path}";
-  -else 
+  -else
   :plain
     $('.project_new_holder').show();
     $("#new_project").replaceWith("#{escape_javascript(render('new_form'))}");
-    $('.ajax_loader').hide();
+    $('.save-project-loader').hide();
diff --git a/app/views/projects/graph.html.haml b/app/views/projects/graph.html.haml
index 76ada998389907d0900cd0564ef68ef928ac81a5..07f038d28a236bc2fb6795218a732f59c15944ea 100644
--- a/app/views/projects/graph.html.haml
+++ b/app/views/projects/graph.html.haml
@@ -10,5 +10,5 @@
   initGraph();
   $(function(){
     branchGraph($("#holder")[0]);
-    initGraphNav();
+    GraphNav.init();
   });
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml
index a961dc39791ff611fc22969233f7e24ba9eed2df..8aaa0e491dd856f348fe14f3f418815b433802a4 100644
--- a/app/views/projects/update.js.haml
+++ b/app/views/projects/update.js.haml
@@ -5,4 +5,4 @@
   :plain
     $('.project_edit_holder').show();
     $(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
-    $('.ajax_loader').hide();
+    $('.save-project-loader').hide();
diff --git a/app/views/repositories/_branch.html.haml b/app/views/repositories/_branch.html.haml
index 3c1fe47cc437aafcbafc0a6c31bcfddb8f8d1420..2728b100ff6e60079eb8ff2dbaafc72a6ac80bb2 100644
--- a/app/views/repositories/_branch.html.haml
+++ b/app/views/repositories/_branch.html.haml
@@ -3,19 +3,25 @@
 %tr
   %td
     = link_to project_commits_path(@project, branch.name) do
+      - if @project.protected_branch? branch.name
+        %i.icon-lock
+      - else
+        %i.icon-unlock
       %strong= truncate(branch.name, length: 60)
       - if branch.name == @project.root_ref
         %span.label default
   %td
-    = link_to project_commit_path(@project, commit) do
-      %code= commit.short_id
-
-    = image_tag gravatar_icon(commit.author_email), class: "", width: 16
-    = gfm escape_once(truncate(commit.title, length: 40))
-    %span.update-author.right
+    = link_to project_commit_path(@project, commit.id), class: 'commit_short_id' do
+      = commit.short_id
+    = image_tag gravatar_icon(commit.author_email), class: "avatar s16"
+    %span.light
+      = gfm escape_once(truncate(commit.title, length: 40))
+    %span
       = time_ago_in_words(commit.committed_date)
       ago
   %td
     - if can? current_user, :download_code, @project
-      = link_to "Download", archive_project_repository_path(@project, ref: branch.name), class: "visible_link download_repo_link"
+      = link_to archive_project_repository_path(@project, ref: branch.name) do
+        %i.icon-download
+        Download
 
diff --git a/app/views/repositories/_branches_head.html.haml b/app/views/repositories/_branches_head.html.haml
index 25a988cf01b61c97318cc92017ff43625a8d187d..8f3e1ba3f816345f54ec271147657df19f3c8e00 100644
--- a/app/views/repositories/_branches_head.html.haml
+++ b/app/views/repositories/_branches_head.html.haml
@@ -3,6 +3,8 @@
   = nav_link(path: 'repositories#show') do
     = link_to 'Recent', project_repository_path(@project)
   = nav_link(path: 'protected_branches#index') do
-    = link_to 'Protected', project_protected_branches_path(@project)
+    = link_to project_protected_branches_path(@project) do
+      %i.icon-lock
+      Protected
   = nav_link(path: 'repositories#branches') do
     = link_to 'All', branches_project_repository_path(@project)
diff --git a/app/views/repositories/stats.html.haml b/app/views/repositories/stats.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..a93814a477780b293af955dbb0f6a2c768bf116d
--- /dev/null
+++ b/app/views/repositories/stats.html.haml
@@ -0,0 +1,41 @@
+= render "commits/head"
+.row
+  .span5
+    %h4
+      Stats:
+    %p
+      %b Total commits:
+      %span= @stats.commits_count
+    %p
+      %b Total files in #{@project.root_ref}:
+      %span= @stats.files_count
+    %p
+      %b Authors:
+      %span= @stats.authors_count
+
+    %br
+    %div#activity-chart
+  .span7
+    %h4 Top 50 Committers:
+    %ol.styled
+      - @stats.authors[0...50].each do |author|
+        %li
+          = image_tag gravatar_icon(author.email, 16), class: 'avatar s16'
+          = author.name
+          %small.light= author.email
+          .right
+            = author.commits
+
+
+:javascript
+  $(function(){
+    var labels = [#{@graph.labels.to_json}];
+    var commits = [#{@graph.commits.join(', ')}];
+    var r = Raphael('activity-chart');
+    r.text(160, 10, "Commit activity for last #{@graph.weeks} weeks").attr({ font: "13px sans-serif" });
+    r.barchart(
+      10, 10, 400, 160,
+      [commits],
+      {colors:["#456"]}
+    ).label(labels, true);
+  })
diff --git a/app/views/repositories/tags.html.haml b/app/views/repositories/tags.html.haml
index 38cc3acafaebd91b9301d0e663c7e6b75a492809..193cb2e30f234b08c8d491348257efe5552b1f2b 100644
--- a/app/views/repositories/tags.html.haml
+++ b/app/views/repositories/tags.html.haml
@@ -5,27 +5,29 @@
       %tr
         %th Name
         %th Last commit
-        %th Updated at
         %th
     - @tags.each do |tag|
       - commit = Commit.new(tag.commit)
       - commit = CommitDecorator.decorate(commit)
       %tr
         %td
-          %strong= link_to tag.name, project_commits_path(@project, tag.name), class: ""
+          %strong
+            = link_to project_commits_path(@project, tag.name), class: "" do
+              %i.icon-tag
+              = tag.name
+          %small.light= truncate(tag.message || '', length: 70)
         %td
-          = link_to project_commit_path(@project, commit.id) do
-            %code= commit.short_id
-          = image_tag gravatar_icon(commit.author_email), class: "", width: 16
-          = gfm escape_once(truncate(commit.title, length: 40))
-        %td
-          %span.update-author.right
+          = image_tag gravatar_icon(commit.author_email), class: "avatar s16"
+          = link_to project_commit_path(@project, commit.id), class: 'commit_short_id' do
+            = commit.short_id
+          %span.light
             = time_ago_in_words(commit.committed_date)
             ago
-            &nbsp;
         %td
           - if can? current_user, :download_code, @project
-            = link_to "Download", archive_project_repository_path(@project, ref: tag.name), class: "visible_link download_repo_link"
+            = link_to archive_project_repository_path(@project, ref: tag.name) do
+              %i.icon-download
+              Download
 
 - else
   %h3 No tags
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index d85c24ec1057f2ba277cf744abcbb5c9a7f15f64..0d5f545850a1c599298a2dc212ef8e99f826dd80 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -9,7 +9,7 @@
   %br
   %h3
     Search results
-    %small (#{@projects.count + @merge_requests.count + @issues.count})
+    %small (#{@projects.count + @merge_requests.count + @issues.count + @wiki_pages.count})
   %hr
   .search_results
     .row
@@ -69,6 +69,23 @@
               %tr
                 %td
                   %h4.nothing_here_message No Issues
+      .span6
+        %table
+          %thead
+            %tr
+              %th Wiki
+          %tbody
+            - @wiki_pages.each do |wiki_page|
+              %tr
+                %td
+                  = link_to project_wiki_path(wiki_page.project, wiki_page) do
+                    %strong.term= truncate wiki_page.title, length: 40
+                  %strong.right
+                    %span.label= wiki_page.project.name
+            - if @wiki_pages.blank?
+              %tr
+                %td
+                  %h4.nothing_here_message No wiki pages
   :javascript
     $(function() {
       $(".search_results .term").highlight("#{params[:search]}");
diff --git a/app/views/services/_gitlab_ci.html.haml b/app/views/services/_gitlab_ci.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..3c9820b32b4b48804527e15f108e2a041697b2c7
--- /dev/null
+++ b/app/views/services/_gitlab_ci.html.haml
@@ -0,0 +1,43 @@
+%h3.page_title
+  Services &rarr; GitLab CI Integration
+
+  .right
+    .thumbnail
+      - if @service.active
+        = image_tag 'service-gitlab-ci.png', class: 'small'
+      - else
+        = image_tag 'service-disabled-gitlab-ci.png', class: 'small'
+
+%hr
+
+
+= form_for(@service, :as => :service, :url => project_service_path(@project, :gitlab_ci), :method => :put) do |f|
+  - if @service.errors.any?
+    .alert-message.block-message.error
+      %ul
+        - @service.errors.full_messages.each do |msg|
+          %li= msg
+
+
+  .control-group
+    = f.label :active, "Active", class: "control-label"
+    .controls
+      = f.check_box :active
+
+  .control-group
+    = f.label :active, "Project URL", class: "control-label"
+    .controls
+      = f.text_field :project_url, class: "input-xlarge", placeholder: "http://ci.gitlabhq.com/projects/3"
+
+  .control-group
+    = f.label :token, class: "control-label" do
+      CI Project token
+    .controls
+      = f.text_field :token, class: "input-xlarge", placeholder: "GitLab CI project specific token"
+
+
+  .form-actions
+    = f.submit 'Save', class: 'btn save-btn'
+    &nbsp;
+    - if @service.valid? && @service.active
+      = link_to 'Test settings', test_project_service_path(@project), class: 'btn btn-small'
diff --git a/app/views/services/edit.html.haml b/app/views/services/edit.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..d893847f1ae675e4ef5f8f34eb04396c65c3da05
--- /dev/null
+++ b/app/views/services/edit.html.haml
@@ -0,0 +1,2 @@
+= render "projects/project_head"
+= render 'gitlab_ci'
diff --git a/app/views/services/index.html.haml b/app/views/services/index.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..3894fcee36902920e036b8ea6246484f7c038079
--- /dev/null
+++ b/app/views/services/index.html.haml
@@ -0,0 +1,15 @@
+= render "projects/project_head"
+%h3.page_title Services
+%hr
+
+.row
+  .span6
+    .padded
+      %p.slead Continuous integration server from GitLab
+      .thumbnail.left
+        = link_to edit_project_service_path(@project, :gitlab_ci) do
+          - if @gitlab_ci_service.try :active
+            = image_tag 'service-gitlab-ci.png'
+          - else
+            = image_tag 'service-disabled-gitlab-ci.png'
+
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
new file mode 100644
index 0000000000000000000000000000000000000000..924eb3fcae4456ff4fd25da27993a72971943fe3
--- /dev/null
+++ b/app/views/shared/_clone_panel.html.haml
@@ -0,0 +1,4 @@
+.input-prepend.project_clone_holder
+  %button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
+  %button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.web_protocol.upcase
+  = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index b6ab666bc5d6214b6f6c3ec95c4573753d42c5a7..c75a1d93b70a49ba0c282bdac75515595d1c7422 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,8 +1,3 @@
 - if current_user.require_ssh_key?
-  %h6.error_message
-    %span
-      You wont be able to pull/push project code unless you
-      %strong
-        = link_to new_key_path, class: "vlink" do
-          add SSH key
-      to your profile
+  %p.error_message
+    You won't be able to pull or push project code until you #{link_to 'add an SSH key', new_key_path} to your profile
diff --git a/app/views/tree/_blob.html.haml b/app/views/tree/_blob.html.haml
index 9ede3f8eb205ced6246faac22af9e6af44def26b..ebf1ee2c6783367aeda88ba2d8445bb2bf2a63ab 100644
--- a/app/views/tree/_blob.html.haml
+++ b/app/views/tree/_blob.html.haml
@@ -2,7 +2,7 @@
   .file_title
     %i.icon-file
     %span.file_name
-      = blob.name.force_encoding('utf-8')
+      = blob.name
       %small= number_to_human_size blob.size
     %span.options= render "tree/blob_actions"
   - if blob.text?
diff --git a/app/views/tree/_head.html.haml b/app/views/tree/_head.html.haml
index f1b3f63fedf821dc78bf935dfd1dbcef96fa3fcf..f8e5c99f06a1c00220aa52f1851a857a62bf70a3 100644
--- a/app/views/tree/_head.html.haml
+++ b/app/views/tree/_head.html.haml
@@ -4,7 +4,4 @@
   = nav_link(controller: :tree) do
     = link_to 'Source', project_tree_path(@project, @ref)
   %li.right
-    .input-prepend.project_clone_holder
-      %button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
-      %button{class: "btn small", :"data-clone" => @project.http_url_to_repo} HTTP
-      = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
+    = render "shared/clone_panel"
\ No newline at end of file
diff --git a/app/views/tree/_submodule_item.html.haml b/app/views/tree/_submodule_item.html.haml
index 43fa7f246420603d2c9dcdc670dfb86c89edd54e..b0562fe1b19fd4a6e0cc6aa6da9a5a61a3d2dea9 100644
--- a/app/views/tree/_submodule_item.html.haml
+++ b/app/views/tree/_submodule_item.html.haml
@@ -1,4 +1,4 @@
-- url = submodule_item.url(@ref) rescue nil
+- url = submodule_item.url(@ref) rescue ''
 - name = submodule_item.basename
 - return unless url
 %tr{ class: "tree-item", url: url }
diff --git a/app/views/tree/blob/_text.html.haml b/app/views/tree/blob/_text.html.haml
index c506a39f3389d22f3f80cdd8bad45c12e16f90b1..9e0f4bc4bc1af3330e7c143ac4e8e5c42c7b79fb 100644
--- a/app/views/tree/blob/_text.html.haml
+++ b/app/views/tree/blob/_text.html.haml
@@ -10,6 +10,6 @@
     - unless blob.empty?
       %div{class: current_user.dark_scheme ? "black" : "white"}
         = preserve do
-          = raw blob.colorize(options: { linenos: 'True'})
+          = raw blob.colorize(formatter: :gitlab)
     - else
       %h4.nothing_here_message Empty file
diff --git a/app/views/tree/edit.html.haml b/app/views/tree/edit.html.haml
index fdd334a3abec59dc3c3a73c299dca181b122f354..adee68a00f8f8955b1f5b9c676714eb133308cb1 100644
--- a/app/views/tree/edit.html.haml
+++ b/app/views/tree/edit.html.haml
@@ -1,28 +1,44 @@
 .file-editor
-  = form_tag(project_tree_path(@project, @id), :method => :put) do
+  = form_tag(project_tree_path(@project, @id), method: :put, class: "form-horizontal") do
     .file_holder
       .file_title
         %i.icon-file
         %span.file_name
-          = "#{@tree.path.force_encoding('utf-8')} (#{@ref})"
+          = @tree.path
+          %small
+            on
+            %strong= @ref
+        %span.options
+          .btn-group.tree-btn-group
+            = link_to "Cancel", project_tree_path(@project, @id), class: "btn very_small cancel-btn", confirm: "Are you sure?"
       .file_content.code
-        #editor= @tree.data
+        %pre#editor= @tree.data
 
-    .editor-commit-comment
-      = label_tag 'commit_message' do
-        %p.slead Commit message
-      = text_area_tag 'commit_message', '', :required => true
+    .control-group.commit_message-group
+      = label_tag 'commit_message', class: "control-label" do
+        Commit message
+      .controls
+        = text_area_tag 'commit_message', '', placeholder: "Update #{@tree.name}", required: true, rows: 3
     .form-actions
       = hidden_field_tag 'last_commit', @last_commit
-      = hidden_field_tag 'content', '', :id => :file_content
-      = button_tag "Commit", class: 'btn save-btn'
+      = hidden_field_tag 'content', '', id: :file_content
+      .commit-button-annotation
+        = button_tag "Commit", class: 'btn commit-btn js-commit-button'
+        .message
+          to branch
+          %strong= @ref
       = link_to "Cancel", project_tree_path(@project, @id), class: "btn cancel-btn", confirm: "Are you sure?"
 
 :javascript
+  var ace_mode = "#{@tree.language.try(:ace_mode)}";
   var editor = ace.edit("editor");
-  editor.getSession().setMode("ace/mode/javascript");
+  if (ace_mode) {
+    editor.getSession().setMode('ace/mode/' + ace_mode);
+  }
 
-  $(".save-btn").click(function(){
+  disableButtonIfEmptyField("#commit_message", ".js-commit-button");
+
+  $(".js-commit-button").click(function(){
     $("#file_content").val(editor.getValue());
-    $(".form_editor form").submit();
+    $(".file-editor form").submit();
   });
diff --git a/app/views/wikis/_form.html.haml b/app/views/wikis/_form.html.haml
index 89bbe2ea960c9268786652a3f11e14a9b22a7a86..83b16b138d377d833df16da754239ca089923213 100644
--- a/app/views/wikis/_form.html.haml
+++ b/app/views/wikis/_form.html.haml
@@ -21,7 +21,7 @@
 
     .bottom_box_content
       = f.label :content
-      .input= f.text_area :content, class: 'span8 gfm-input'
+      .input= f.text_area :content, class: 'span8 js-gfm-input'
   .actions
     = f.submit 'Save', class: "save-btn btn"
     = link_to "Cancel", project_wiki_path(@project, :index), class: "btn cancel-btn"
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb
index 5311ede72e273add56b5f6a8ea9c3e7ac100ba66..10128660cd4fedbbc8a07422284598d1ac7f0c3e 100644
--- a/app/workers/post_receive.rb
+++ b/app/workers/post_receive.rb
@@ -6,11 +6,15 @@ class PostReceive
     return false if project.nil?
 
     # Ignore push from non-gitlab users
-    if /^[A-Z0-9._%a-z\-]+@(?:[A-Z0-9a-z\-]+\.)+[A-Za-z]{2,4}$/.match(identifier)
-      return false unless user = User.find_by_email(identifier)
+    user = if identifier.eql? Gitlab.config.gitolite_admin_key 
+      email = project.commit(newrev).author.email
+      User.find_by_email(email)
+    elsif /^[A-Z0-9._%a-z\-]+@(?:[A-Z0-9a-z\-]+\.)+[A-Za-z]{2,4}$/.match(identifier)
+      User.find_by_email(identifier)
     else
-      return false unless user = Key.find_by_identifier(identifier).try(:user)
+      Key.find_by_identifier(identifier).try(:user)
     end
+    return false unless user
 
     project.trigger_post_receive(oldrev, newrev, ref, user)
   end
diff --git a/config/application.rb b/config/application.rb
index 74ed330effdcb4db277bcfc8f6ec3b947575e592..d6bb90a30528abf6c6a3bb821eb6343746ac094e 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -4,7 +4,7 @@ require 'rails/all'
 
 if defined?(Bundler)
   # If you precompile assets before deploying to production, use this line
-  # Bundler.require *Rails.groups(:assets => %w(development test))
+  # Bundler.require(*Rails.groups(:assets => %w(development test)))
   # If you want your assets lazily compiled in production, use this line
   Bundler.require(:default, :assets, Rails.env)
 end
@@ -47,6 +47,14 @@ module Gitlab
     # Configure sensitive parameters which will be filtered from the log file.
     config.filter_parameters += [:password]
 
+    # Enable escaping HTML in JSON.
+    config.active_support.escape_html_entities_in_json = true
+
+    # Use SQL instead of Active Record's schema dumper when creating the database.
+    # This is necessary if your schema can't be completely dumped by the schema dumper,
+    # like if you have constraints or database-specific column types
+    # config.active_record.schema_format = :sql
+
     # Enforce whitelist mode for mass assignment.
     # This will create an empty whitelist of attributes available for mass-assignment for all models
     # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 38400d17c8b8eacae26e935cad5c2b846be4a318..6cba17f6ea2152f3a371ca3d63c4b24d6961824c 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -2,7 +2,7 @@ Gitlab::Application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
   # In the development environment your application's code is reloaded on
-  # every request.  This slows down response time but is perfect for development
+  # every request. This slows down response time but is perfect for development
   # since you don't have to restart the web server when you make code changes.
   config.cache_classes = false
 
@@ -22,19 +22,21 @@ Gitlab::Application.configure do
   # Only use best-standards-support built into browsers
   config.action_dispatch.best_standards_support = :builtin
 
+  # Raise exception on mass assignment protection for Active Record models
+  config.active_record.mass_assignment_sanitizer = :strict
+
+  # Log the query plan for queries taking more than this (works
+  # with SQLite, MySQL, and PostgreSQL)
+  config.active_record.auto_explain_threshold_in_seconds = 0.5
+
   # Do not compress assets
   config.assets.compress = false
 
   # Expands the lines which load the assets
   config.assets.debug = true
 
-  config.action_mailer.default_url_options = { :host => 'localhost:3000' }
+  # For having correct urls in mails
+  config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
+  # Open sent mails in browser
   config.action_mailer.delivery_method = :letter_opener
-
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 0.5
 end
diff --git a/config/environments/production.rb b/config/environments/production.rb
index fc8d4c1135c85d8c87363fba7617cdaa7f6216a7..52fb8877cf3df20820b4ed7353bf2cf4507001a3 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -20,7 +20,7 @@ Gitlab::Application.configure do
   # Generate digests for assets URLs
   config.assets.digest = true
 
-  # Defaults to Rails.root.join("public/assets")
+  # Defaults to nil and saved in location specified by config.assets.prefix
   # config.assets.manifest = YOUR_PATH
 
   # Specifies the header that your server uses for sending files
@@ -33,8 +33,11 @@ Gitlab::Application.configure do
   # See everything in the log (default is :info)
   # config.log_level = :debug
 
+  # Prepend all log lines with the following tags
+  # config.log_tags = [ :subdomain, :uuid ]
+
   # Use a different logger for distributed setups
-  # config.logger = SyslogLogger.new
+  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
 
   # Use a different cache store in production
   config.cache_store = :memory_store
@@ -58,6 +61,10 @@ Gitlab::Application.configure do
   # Send deprecation notices to registered listeners
   config.active_support.deprecation = :notify
 
+  # Log the query plan for queries taking more than this (works
+  # with SQLite, MySQL, and PostgreSQL)
+  # config.active_record.auto_explain_threshold_in_seconds = 0.5
+
   config.action_mailer.delivery_method = :sendmail
   # Defaults to:
   # # config.action_mailer.sendmail_settings = {
diff --git a/config/environments/test.rb b/config/environments/test.rb
index f5816e42b7fb68b7f807b0b4f13b64f813544a11..b626986299ba6830068ef83eb9f001bfcb049bae 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -2,9 +2,9 @@ Gitlab::Application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
   # The test environment is used exclusively to run your application's
-  # test suite.  You never need to work with it otherwise.  Remember that
+  # test suite. You never need to work with it otherwise. Remember that
   # your test database is "scratch space" for the test suite and is wiped
-  # and recreated between test runs.  Don't rely on the data there!
+  # and recreated between test runs. Don't rely on the data there!
   config.cache_classes = true
 
   # Configure static asset server for tests with Cache-Control for performance
@@ -29,17 +29,9 @@ Gitlab::Application.configure do
   # ActionMailer::Base.deliveries array.
   config.action_mailer.delivery_method = :test
 
-  # Use SQL instead of Active Record's schema dumper when creating the test database.
-  # This is necessary if your schema can't be completely dumped by the schema dumper,
-  # like if you have constraints or database-specific column types
-  # config.active_record.schema_format = :sql
-
   # Raise exception on mass assignment protection for Active Record models
   # config.active_record.mass_assignment_sanitizer = :strict
 
   # Print deprecation notices to the stderr
   config.active_support.deprecation = :stderr
-
-  # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
-  config.assets.allow_debugging = true
 end
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 28323484a3744e576fea23f0d1a31bad2c00d1cc..3568348971b18276970ffece4db09215450cdf1e 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -74,6 +74,7 @@ git_host:
   upload_pack: true
   receive_pack: true
   # host: localhost
+  # config_file: gitolite.conf
   # port: 22
 
 # Git settings
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index fb80963655758b0f5edd7501d9db6a096015a12a..32af3d077784a435232bab0f7a7734de0d654ecd 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -104,6 +104,10 @@ class Settings < Settingslogic
       git_host['admin_uri'] || 'git@localhost:gitolite-admin'
     end
 
+    def gitolite_config_file
+      git_host['config_file'] || 'gitolite.conf'
+    end
+
     def gitolite_admin_key
       git_host['gitolite_admin_key'] || 'gitlab'
     end
diff --git a/config/initializers/3_grit_ext.rb b/config/initializers/3_grit_ext.rb
index fd7e288a2ba3595aac331c2056b50bed7d64cdaf..d114ea6cc8bfe9cc5507c937160c095bb6c79fb2 100644
--- a/config/initializers/3_grit_ext.rb
+++ b/config/initializers/3_grit_ext.rb
@@ -6,23 +6,4 @@ Grit::Git.git_max_size = Gitlab.config.git_max_size
 
 Grit::Blob.class_eval do
   include Linguist::BlobHelper
-
-  def data
-    @data ||= @repo.git.cat_file({:p => true}, id)
-    Gitlab::Encode.utf8 @data
-  end
-end
-
-Grit::Diff.class_eval do
-  def old_path
-    Gitlab::Encode.utf8 @a_path
-  end
-
-  def new_path
-    Gitlab::Encode.utf8 @b_path
-  end
-
-  def diff
-    Gitlab::Encode.utf8 @diff
-  end
 end
diff --git a/config/initializers/4_resque.rb b/config/initializers/4_resque.rb
index 2a5721ec742c900549d46fbe195aa0486e585955..419dbe0606107554236ba85e1abd556bb03c1dfa 100644
--- a/config/initializers/4_resque.rb
+++ b/config/initializers/4_resque.rb
@@ -1,13 +1,11 @@
 # Custom Redis configuration
-rails_root  = ENV['RAILS_ROOT'] || File.dirname(__FILE__) + '/../..'
-rails_env   = ENV['RAILS_ENV'] || 'development'
-config_file = File.join(rails_root, 'config', 'resque.yml')
+config_file = Rails.root.join('config', 'resque.yml')
 
 if File.exists?(config_file)
   resque_config = YAML.load_file(config_file)
-  Resque.redis = resque_config[rails_env]
+  Resque.redis = resque_config[Rails.env]
 end
-
+Resque.redis.namespace = 'resque:gitlab'
 # Queues
 Resque.watch_queue(PostReceive.instance_variable_get("@queue"))
 
diff --git a/config/initializers/gemoji.rb b/config/initializers/gemoji.rb
new file mode 100644
index 0000000000000000000000000000000000000000..8c85aad5d3ba4ba4a4b9a962aedb9e086aa687c6
--- /dev/null
+++ b/config/initializers/gemoji.rb
@@ -0,0 +1,2 @@
+# Workaround for https://github.com/github/gemoji/pull/18
+Gitlab::Application.config.assets.paths << Emoji.images_path
diff --git a/config/initializers/quite_assets.rb b/config/initializers/quite_assets.rb
deleted file mode 100644
index 6fed1803ae10441863bc8649987bc7b827b7e2e6..0000000000000000000000000000000000000000
--- a/config/initializers/quite_assets.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-if Rails.env.development?
-  Rails.application.assets.logger = Logger.new('/dev/null')
-  Rails::Rack::Logger.class_eval do
-    def call_with_quiet_assets(env)
-      previous_level = Rails.logger.level
-      Rails.logger.level = Logger::ERROR if env['PATH_INFO'] =~ %r{^/assets/}
-      call_without_quiet_assets(env)
-    ensure
-      Rails.logger.level = previous_level
-    end
-    alias_method_chain :call, :quiet_assets
-  end
-end
diff --git a/config/routes.rb b/config/routes.rb
index adaf6a1e35e0192c114ddbb0411664739c1dbfc3..98cf7e812c90b138debe0d8c4a80e8b08d7db6f6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -18,7 +18,7 @@ Gitlab::Application.routes.draw do
     project_root: Gitlab.config.git_base_path,
     upload_pack:  Gitlab.config.git_upload_pack,
     receive_pack: Gitlab.config.git_receive_pack
-  }), at: '/:path', constraints: { path: /[\w-]+\.git/ }
+  }), at: '/:path', constraints: { path: /[\w\.-]+\.git/ }
 
   #
   # Help
@@ -128,10 +128,17 @@ Gitlab::Application.routes.draw do
       member do
         get "branches"
         get "tags"
+        get "stats"
         get "archive"
       end
     end
 
+    resources :services, constraints: { id: /[^\/]+/ }, only: [:index, :edit, :update] do
+      member do
+        get :test
+      end
+    end
+
     resources :deploy_keys
     resources :protected_branches, only: [:index, :create, :destroy]
 
diff --git a/db/fixtures/development/002_project.rb b/db/fixtures/development/002_project.rb
index eea987ffcc203e22850e95b832d41e45f34c32a9..eb68b5fe93a956b0789bc3b0e4ebc2f258bfa1de 100644
--- a/db/fixtures/development/002_project.rb
+++ b/db/fixtures/development/002_project.rb
@@ -1,5 +1,5 @@
 Project.seed(:id, [
-  { :id => 1, :name => "Rubinius", :path => "rubinius", :code => "rubinius", :owner_id => 1 },
-  { :id => 2, :name => "Diaspora", :path => "diaspora", :code => "diaspora", :owner_id => 1 },
-  { :id => 3, :name => "Ruby on Rails", :path => "ruby_on_rails", :code => "ruby_on_rails", :owner_id => 1 }
+  { id: 1, name: "Underscore.js", path: "underscore", code: "underscore", owner_id: 1 },
+  { id: 2, name: "Diaspora", path: "diaspora", code: "diaspora", owner_id: 1 },
+  { id: 3, name: "Ruby on Rails", path: "rails", code: "rails", owner_id: 1 }
 ])
diff --git a/db/fixtures/development/004_teams.rb b/db/fixtures/development/004_teams.rb
index 5af98b92c0230d06b03d42da681d50f7966feffb..2752cb44e1d80bbcfcf5254470964df31a277767 100644
--- a/db/fixtures/development/004_teams.rb
+++ b/db/fixtures/development/004_teams.rb
@@ -1,3 +1,5 @@
+UsersProject.skip_callback(:save, :after, :update_repository)
+
 UsersProject.seed(:id, [
   { :id => 1,  :project_id => 1, :user_id => 1, :project_access => UsersProject::MASTER },
   { :id => 2,  :project_id => 1, :user_id => 2, :project_access => UsersProject::REPORTER},
@@ -18,4 +20,8 @@ UsersProject.seed(:id, [
   { :id => 16, :project_id => 3, :user_id => 5, :project_access => UsersProject::MASTER}
 ])
 
+UsersProject.set_callback(:save, :after, :update_repository)
 
+puts "\nRebuild gitolite\n".yellow
+Project.all.each(&:update_repository)
+puts "OK".green
diff --git a/db/fixtures/development/005_issues.rb b/db/fixtures/development/005_issues.rb
deleted file mode 100644
index 32375387bfbe8082aeb3a155d35979b6e65243d0..0000000000000000000000000000000000000000
--- a/db/fixtures/development/005_issues.rb
+++ /dev/null
@@ -1,40 +0,0 @@
-Issue.seed(:id, [
-  { :id => 1,  :project_id => 1, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6) },
-  { :id => 2,  :project_id => 1, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6) },
-  { :id => 3,  :project_id => 1, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6) },
-  { :id => 4,  :project_id => 1, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6) },
-  { :id => 5,  :project_id => 1, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6) },
-
-  { :id => 6,  :project_id => 2, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6) },
-  { :id => 7,  :project_id => 2, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6) },
-  { :id => 8,  :project_id => 2, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6) },
-  { :id => 9,  :project_id => 2, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6) },
-  { :id => 11, :project_id => 2, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6) },
-
-  { :id => 12, :project_id => 3, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6)},
-  { :id => 13, :project_id => 3, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6)},
-  { :id => 14, :project_id => 3, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6)},
-  { :id => 15, :project_id => 3, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6)},
-  { :id => 16, :project_id => 3, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6)},
-
-  { :id => 21, :project_id => 1, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6) },
-  { :id => 22, :project_id => 1, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6) },
-  { :id => 23, :project_id => 1, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6) },
-  { :id => 24, :project_id => 1, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6) },
-  { :id => 25, :project_id => 1, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6) },
-
-  { :id => 26, :project_id => 2, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6) },
-  { :id => 27, :project_id => 2, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6) },
-  { :id => 28, :project_id => 2, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6) },
-  { :id => 29, :project_id => 2, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6) },
-  { :id => 30, :project_id => 2, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6) },
-
-  { :id => 32, :project_id => 3, :author_id => 1, :assignee_id => 1, :title => Faker::Lorem.sentence(6)},
-  { :id => 33, :project_id => 3, :author_id => 2, :assignee_id => 2, :title => Faker::Lorem.sentence(6)},
-  { :id => 34, :project_id => 3, :author_id => 3, :assignee_id => 3, :title => Faker::Lorem.sentence(6)},
-  { :id => 35, :project_id => 3, :author_id => 4, :assignee_id => 4, :title => Faker::Lorem.sentence(6)},
-  { :id => 36, :project_id => 3, :author_id => 5, :assignee_id => 5, :title => Faker::Lorem.sentence(6)}
-])
-
-
-
diff --git a/db/fixtures/development/005_milestones.rb b/db/fixtures/development/005_milestones.rb
new file mode 100644
index 0000000000000000000000000000000000000000..a77f619f995f280cf1b2eeb00e5f57cb3eb8f920
--- /dev/null
+++ b/db/fixtures/development/005_milestones.rb
@@ -0,0 +1,13 @@
+Milestone.seed(:id, [
+  { :id => 1,  :project_id => 1, :title => 'v' + Faker::Address.zip_code },
+  { :id => 2,  :project_id => 1, :title => 'v' + Faker::Address.zip_code },
+  { :id => 3,  :project_id => 1, :title => 'v' + Faker::Address.zip_code },
+  { :id => 4,  :project_id => 2, :title => 'v' + Faker::Address.zip_code },
+  { :id => 5,  :project_id => 2, :title => 'v' + Faker::Address.zip_code },
+
+  { :id => 6,  :project_id => 2, :title => 'v' + Faker::Address.zip_code },
+  { :id => 7,  :project_id => 2, :title => 'v' + Faker::Address.zip_code },
+  { :id => 8,  :project_id => 3, :title => 'v' + Faker::Address.zip_code },
+  { :id => 9,  :project_id => 3, :title => 'v' + Faker::Address.zip_code },
+  { :id => 11, :project_id => 3, :title => 'v' + Faker::Address.zip_code },
+])
diff --git a/db/fixtures/development/006_wall.rb b/db/fixtures/development/006_wall.rb
index 7c0d25d1000448bb8808c4b787df5c9d4f122c6a..a9fb66dda6b9a11f2ff2109e243913b944e6ba77 100644
--- a/db/fixtures/development/006_wall.rb
+++ b/db/fixtures/development/006_wall.rb
@@ -1,40 +1,19 @@
-Note.seed(:id, [
-  { :id => 1,  :project_id => 1, :author_id => 1, :note => Faker::Lorem.sentence(6) },
-  { :id => 2,  :project_id => 1, :author_id => 2, :note => Faker::Lorem.sentence(6) },
-  { :id => 3,  :project_id => 1, :author_id => 3, :note => Faker::Lorem.sentence(6) },
-  { :id => 4,  :project_id => 1, :author_id => 4, :note => Faker::Lorem.sentence(6) },
-  { :id => 5,  :project_id => 1, :author_id => 5, :note => Faker::Lorem.sentence(6) },
-
-  { :id => 6,  :project_id => 2, :author_id => 1, :note => Faker::Lorem.sentence(6) },
-  { :id => 7,  :project_id => 2, :author_id => 2, :note => Faker::Lorem.sentence(6) },
-  { :id => 8,  :project_id => 2, :author_id => 3, :note => Faker::Lorem.sentence(6) },
-  { :id => 9,  :project_id => 2, :author_id => 4, :note => Faker::Lorem.sentence(6) },
-  { :id => 11, :project_id => 2, :author_id => 5, :note => Faker::Lorem.sentence(6) },
-
-  { :id => 12, :project_id => 3, :author_id => 1, :note => Faker::Lorem.sentence(6)},
-  { :id => 13, :project_id => 3, :author_id => 2, :note => Faker::Lorem.sentence(6)},
-  { :id => 14, :project_id => 3, :author_id => 3, :note => Faker::Lorem.sentence(6)},
-  { :id => 15, :project_id => 3, :author_id => 4, :note => Faker::Lorem.sentence(6)},
-  { :id => 16, :project_id => 3, :author_id => 5, :note => Faker::Lorem.sentence(6)},
-
-  { :id => 21, :project_id => 1, :author_id => 1, :note => Faker::Lorem.sentence(6) },
-  { :id => 22, :project_id => 1, :author_id => 2, :note => Faker::Lorem.sentence(6) },
-  { :id => 23, :project_id => 1, :author_id => 3, :note => Faker::Lorem.sentence(6) },
-  { :id => 24, :project_id => 1, :author_id => 4, :note => Faker::Lorem.sentence(6) },
-  { :id => 25, :project_id => 1, :author_id => 5, :note => Faker::Lorem.sentence(6) },
-
-  { :id => 26, :project_id => 2, :author_id => 1, :note => Faker::Lorem.sentence(6) },
-  { :id => 27, :project_id => 2, :author_id => 2, :note => Faker::Lorem.sentence(6) },
-  { :id => 28, :project_id => 2, :author_id => 3, :note => Faker::Lorem.sentence(6) },
-  { :id => 29, :project_id => 2, :author_id => 4, :note => Faker::Lorem.sentence(6) },
-  { :id => 30, :project_id => 2, :author_id => 5, :note => Faker::Lorem.sentence(6) },
-
-  { :id => 32, :project_id => 3, :author_id => 1, :note => Faker::Lorem.sentence(6)},
-  { :id => 33, :project_id => 3, :author_id => 2, :note => Faker::Lorem.sentence(6)},
-  { :id => 34, :project_id => 3, :author_id => 3, :note => Faker::Lorem.sentence(6)},
-  { :id => 35, :project_id => 3, :author_id => 4, :note => Faker::Lorem.sentence(6)},
-  { :id => 36, :project_id => 3, :author_id => 5, :note => Faker::Lorem.sentence(6)}
-])
-
-
-
+Gitlab::Seeder.quiet do
+  (1..300).each  do |i|
+    # Random Project
+    project_id = rand(2) + 1
+    project = Project.find(project_id)
+
+    # Random user
+    user = project.users.sample
+    user_id = user.id
+
+    Note.seed(:id, [{
+      id: i,
+      project_id: project_id,
+      author_id: user_id,
+      note: Faker::Lorem.sentence(6)
+    }])
+    print('.')
+  end
+end
diff --git a/db/fixtures/development/007_issues.rb b/db/fixtures/development/007_issues.rb
new file mode 100644
index 0000000000000000000000000000000000000000..98e32fccc3d6e5ce69a4df57d87fd40de534e1f0
--- /dev/null
+++ b/db/fixtures/development/007_issues.rb
@@ -0,0 +1,23 @@
+Gitlab::Seeder.quiet do
+  (1..300).each  do |i|
+    # Random Project
+    project_id = rand(2) + 1
+    project = Project.find(project_id)
+
+    # Random user
+    user = project.users.sample
+    user_id = user.id
+    IssueObserver.current_user = user
+
+    Issue.seed(:id, [{
+      id: i,
+      project_id: project_id,
+      author_id: user_id,
+      assignee_id: user_id,
+      closed: [true, false].sample,
+      milestone: project.milestones.sample,
+      title: Faker::Lorem.sentence(6)
+    }])
+    print('.')
+  end
+end
diff --git a/db/fixtures/development/008_merge_requests.rb b/db/fixtures/development/008_merge_requests.rb
new file mode 100644
index 0000000000000000000000000000000000000000..698c55ad95fb972791105335a6d0b864ca090960
--- /dev/null
+++ b/db/fixtures/development/008_merge_requests.rb
@@ -0,0 +1,25 @@
+Gitlab::Seeder.quiet do
+  (1..300).each  do |i|
+    # Random Project
+    project_id = rand(2) + 1
+    project = Project.find(project_id)
+
+    # Random user
+    user = project.users.sample
+    user_id = user.id
+    MergeRequestObserver.current_user = user
+
+    MergeRequest.seed(:id, [{
+      id: i,
+      source_branch: 'master',
+      target_branch: 'feature',
+      project_id: project_id,
+      author_id: user_id,
+      assignee_id: user_id,
+      closed: [true, false].sample,
+      milestone: project.milestones.sample,
+      title: Faker::Lorem.sentence(6)
+    }])
+    print('.')
+  end
+end
diff --git a/db/fixtures/development/009_source_code.rb b/db/fixtures/development/009_source_code.rb
new file mode 100644
index 0000000000000000000000000000000000000000..489bd02ea3247de80bd4e642a85cd2326c9fd79e
--- /dev/null
+++ b/db/fixtures/development/009_source_code.rb
@@ -0,0 +1,27 @@
+root = Gitlab.config.git_base_path
+
+projects = [
+  { path: 'underscore.git', git: 'https://github.com/documentcloud/underscore.git' },
+  { path: 'diaspora.git', git: 'https://github.com/diaspora/diaspora.git' },
+  { path: 'rails.git', git: 'https://github.com/rails/rails.git' },
+]
+
+projects.each do |project|
+  project_path = File.join(root, project[:path])
+
+
+  next if File.exists?(project_path)
+
+  cmds = [
+    "cd #{root} && sudo -u git -H git clone --bare #{project[:git]}",
+    "sudo cp ./lib/hooks/post-receive #{project_path}/hooks/post-receive",
+    "sudo chown git:git #{project_path}/hooks/post-receive"
+  ]
+
+  cmds.each do |cmd|
+    puts cmd.yellow
+    `#{cmd}`
+  end
+end
+
+puts "OK".green
diff --git a/db/migrate/20121026114600_add_milestone_id_to_merge_requests.rb b/db/migrate/20121026114600_add_milestone_id_to_merge_requests.rb
new file mode 100644
index 0000000000000000000000000000000000000000..b516772434870c85dc76134146188afe4d0a0f8c
--- /dev/null
+++ b/db/migrate/20121026114600_add_milestone_id_to_merge_requests.rb
@@ -0,0 +1,5 @@
+class AddMilestoneIdToMergeRequests < ActiveRecord::Migration
+  def change
+    add_column :merge_requests, :milestone_id, :integer, :null => true
+  end
+end
diff --git a/db/migrate/20121119170638_create_services.rb b/db/migrate/20121119170638_create_services.rb
new file mode 100644
index 0000000000000000000000000000000000000000..f7cac1445a78adba9728fe0946bb51799f54b804
--- /dev/null
+++ b/db/migrate/20121119170638_create_services.rb
@@ -0,0 +1,12 @@
+class CreateServices < ActiveRecord::Migration
+  def change
+    create_table :services do |t|
+      t.string :type
+      t.string :title
+      t.string :token
+      t.integer :project_id, null: false
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20121120051432_add_service_id_to_web_hook.rb b/db/migrate/20121120051432_add_service_id_to_web_hook.rb
new file mode 100644
index 0000000000000000000000000000000000000000..77adf92578ff0829e85eba7a46ef169330aa1940
--- /dev/null
+++ b/db/migrate/20121120051432_add_service_id_to_web_hook.rb
@@ -0,0 +1,5 @@
+class AddServiceIdToWebHook < ActiveRecord::Migration
+  def change
+    add_column :web_hooks, :service_id, :integer, null: true
+  end
+end
diff --git a/db/migrate/20121120103700_add_active_to_service.rb b/db/migrate/20121120103700_add_active_to_service.rb
new file mode 100644
index 0000000000000000000000000000000000000000..f45ef52e6f06b59a188af02de0099e01c100e8e8
--- /dev/null
+++ b/db/migrate/20121120103700_add_active_to_service.rb
@@ -0,0 +1,5 @@
+class AddActiveToService < ActiveRecord::Migration
+  def change
+    add_column :services, :active, :boolean, default: false, null: false
+  end
+end
diff --git a/db/migrate/20121120113838_add_project_url_to_service.rb b/db/migrate/20121120113838_add_project_url_to_service.rb
new file mode 100644
index 0000000000000000000000000000000000000000..13ffbdb192f4152898e8827e473eba7b9ac4590d
--- /dev/null
+++ b/db/migrate/20121120113838_add_project_url_to_service.rb
@@ -0,0 +1,5 @@
+class AddProjectUrlToService < ActiveRecord::Migration
+  def change
+    add_column :services, :project_url, :string, null: true
+  end
+end
diff --git a/db/schema.rb b/db/schema.rb
index a703781113f85df05daee10f925b2e6b3d605e48..27b1f4aa84af8df04c43f06d28861ec97ea4440f 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20121009205010) do
+ActiveRecord::Schema.define(:version => 20121120113838) do
 
   create_table "events", :force => true do |t|
     t.string   "target_type"
@@ -73,6 +73,7 @@ ActiveRecord::Schema.define(:version => 20121009205010) do
     t.text     "st_diffs",      :limit => 2147483647
     t.boolean  "merged",                              :default => false, :null => false
     t.integer  "state",                               :default => 1,     :null => false
+    t.integer  "milestone_id"
   end
 
   add_index "merge_requests", ["project_id"], :name => "index_merge_requests_on_project_id"
@@ -126,6 +127,17 @@ ActiveRecord::Schema.define(:version => 20121009205010) do
     t.datetime "updated_at", :null => false
   end
 
+  create_table "services", :force => true do |t|
+    t.string   "type"
+    t.string   "title"
+    t.string   "token"
+    t.integer  "project_id",                     :null => false
+    t.datetime "created_at",                     :null => false
+    t.datetime "updated_at",                     :null => false
+    t.boolean  "active",      :default => false, :null => false
+    t.string   "project_url"
+  end
+
   create_table "snippets", :force => true do |t|
     t.string   "title"
     t.text     "content"
@@ -155,30 +167,30 @@ ActiveRecord::Schema.define(:version => 20121009205010) do
   end
 
   create_table "users", :force => true do |t|
-    t.string   "email",                                 :default => "",    :null => false
-    t.string   "encrypted_password",     :limit => 128, :default => "",    :null => false
+    t.string   "email",                  :default => "",    :null => false
+    t.string   "encrypted_password",     :default => "",    :null => false
     t.string   "reset_password_token"
     t.datetime "reset_password_sent_at"
     t.datetime "remember_created_at"
-    t.integer  "sign_in_count",                         :default => 0
+    t.integer  "sign_in_count",          :default => 0
     t.datetime "current_sign_in_at"
     t.datetime "last_sign_in_at"
     t.string   "current_sign_in_ip"
     t.string   "last_sign_in_ip"
-    t.datetime "created_at",                                               :null => false
-    t.datetime "updated_at",                                               :null => false
+    t.datetime "created_at",                                :null => false
+    t.datetime "updated_at",                                :null => false
     t.string   "name"
-    t.boolean  "admin",                                 :default => false, :null => false
-    t.integer  "projects_limit",                        :default => 10
-    t.string   "skype",                                 :default => "",    :null => false
-    t.string   "linkedin",                              :default => "",    :null => false
-    t.string   "twitter",                               :default => "",    :null => false
+    t.boolean  "admin",                  :default => false, :null => false
+    t.integer  "projects_limit",         :default => 10
+    t.string   "skype",                  :default => "",    :null => false
+    t.string   "linkedin",               :default => "",    :null => false
+    t.string   "twitter",                :default => "",    :null => false
     t.string   "authentication_token"
-    t.boolean  "dark_scheme",                           :default => false, :null => false
-    t.integer  "theme_id",                              :default => 1,     :null => false
+    t.boolean  "dark_scheme",            :default => false, :null => false
+    t.integer  "theme_id",               :default => 1,     :null => false
     t.string   "bio"
-    t.boolean  "blocked",                               :default => false, :null => false
-    t.integer  "failed_attempts",                       :default => 0
+    t.boolean  "blocked",                :default => false, :null => false
+    t.integer  "failed_attempts",        :default => 0
     t.datetime "locked_at"
     t.string   "extern_uid"
     t.string   "provider"
@@ -202,6 +214,7 @@ ActiveRecord::Schema.define(:version => 20121009205010) do
     t.datetime "created_at",                            :null => false
     t.datetime "updated_at",                            :null => false
     t.string   "type",       :default => "ProjectHook"
+    t.integer  "service_id"
   end
 
   create_table "wikis", :force => true do |t|
diff --git a/doc/README_FOR_APP b/doc/README_FOR_APP
deleted file mode 100644
index fe41f5cc24d667635c46a533fd09bf7bb514e032..0000000000000000000000000000000000000000
--- a/doc/README_FOR_APP
+++ /dev/null
@@ -1,2 +0,0 @@
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
new file mode 100644
index 0000000000000000000000000000000000000000..e5b067a61d949715ffd7f7e14f54bb9588fb0b87
--- /dev/null
+++ b/doc/api/merge_requests.md
@@ -0,0 +1,194 @@
+## List merge requests
+
+Get all MR for this project.
+
+```
+GET /projects/:id/merge_requests
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
+
+```json
+[
+    {
+        "id":1,
+        "target_branch":"master",
+        "source_branch":"test1",
+        "project_id":3,
+        "title":"test1",
+        "closed":true,
+        "merged":false,
+        "author":{
+            "id":1,
+            "email":"admin@local.host",
+            "name":"Administrator",
+            "blocked":false,
+            "created_at":"2012-04-29T08:46:00Z"
+        },
+        "assignee":{
+            "id":1,
+            "email":"admin@local.host",
+            "name":"Administrator",
+            "blocked":false,
+            "created_at":"2012-04-29T08:46:00Z"
+        }
+    }
+]
+```
+
+## Show MR
+
+Show information about MR.
+
+```
+GET /projects/:id/merge_request/:merge_request_id
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
++ `merge_request_id` (required) - The ID of MR
+
+```json
+{
+    "id":1,
+    "target_branch":"master",
+    "source_branch":"test1",
+    "project_id":3,
+    "title":"test1",
+    "closed":true,
+    "merged":false,
+    "author":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    },
+    "assignee":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    }
+}
+```
+
+
+## Create MR
+
+Create MR.
+
+```
+POST /projects/:id/merge_requests
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
++ `source_branch` (required) - The source branch
++ `target_branch` (required) - The target branch
++ `assignee_id`              - Assignee user ID
++ `title` (required)         - Title of MR
+
+```json
+{
+    "id":1,
+    "target_branch":"master",
+    "source_branch":"test1",
+    "project_id":3,
+    "title":"test1",
+    "closed":true,
+    "merged":false,
+    "author":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    },
+    "assignee":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    }
+}
+```
+
+## Update MR
+
+Update MR. You can change branches, title, or even close the MR.
+
+```
+PUT /projects/:id/merge_request/:merge_request_id
+```
+
+Parameters:
+
++ `id` (required)               - The ID or code name of a project
++ `merge_request_id` (required) - ID of MR
++ `source_branch`               - The source branch
++ `target_branch`               - The target branch
++ `assignee_id`                 - Assignee user ID
++ `title`                       - Title of MR
++ `closed`                      - Status of MR. true - closed
+
+
+```json
+{
+    "id":1,
+    "target_branch":"master",
+    "source_branch":"test1",
+    "project_id":3,
+    "title":"test1",
+    "closed":true,
+    "merged":false,
+    "author":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    },
+    "assignee":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    }
+}
+```
+## Post comment to MR
+
+Post comment to MR
+
+```
+POST /projects/:id/merge_request/:merge_request_id/comments
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
++ `merge_request_id` (required) - ID of MR
++ `note` (required) - Text of comment
+
+Will return created note with status `201 Created` on success, or `404 Not found` on fail.
+
+```json
+{
+    "author":{
+        "id":1,
+        "email":"admin@local.host",
+        "name":"Administrator",
+        "blocked":false,
+        "created_at":"2012-04-29T08:46:00Z"
+    },
+    "note":"text1"
+}
+```
diff --git a/doc/api/users.md b/doc/api/users.md
index 63271ee83b08811c6d93f7d6c3d97e0f47bda980..c116144d91e5fdacd8a4139649d9aba0099aedbb 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -74,14 +74,12 @@ POST /users
 
 Parameters:
 + `email` (required)                  - Email
-+ `name` (required)                   - Name
 + `password` (required)               - Password
-+ `password_confirmation` (required)  - Password confirmation
++ `name`                              - Name
 + `skype`                             - Skype ID
 + `linkedin`                          - Linkedin
 + `twitter`                           - Twitter account
-+ `projects_limit`                    - Limit projects wich user can create
-
++ `projects_limit`                    - Number of projects user can create
 
 Will return created user with status `201 Created` on success, or `404 Not
 found` on fail.
diff --git a/doc/app/Ability.html b/doc/app/Ability.html
new file mode 100644
index 0000000000000000000000000000000000000000..f780d06733281a61d6440c8cbf3974b4bcf0d0f4
--- /dev/null
+++ b/doc/app/Ability.html
@@ -0,0 +1,570 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Ability - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/ability.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-allowed">::allowed</a>
+    
+    <li><a href="#method-c-project_abilities">::project_abilities</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Ability</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-allowed" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">allowed</span><span
+            class="method-args">(object, subject)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="allowed-source">
+            <pre><span class="ruby-comment"># File app/models/ability.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">case</span> <span class="ruby-identifier">subject</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;Project&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">project_abilities</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;Issue&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">issue_abilities</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;Note&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">note_abilities</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;Snippet&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">snippet_abilities</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;MergeRequest&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">merge_request_abilities</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-keyword">else</span> []
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- allowed-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- allowed-method -->
+
+    
+      <div id="method-c-project_abilities" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_abilities</span><span
+            class="method-args">(user, project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_abilities-source">
+            <pre><span class="ruby-comment"># File app/models/ability.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_abilities</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">rules</span> = []
+
+  <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+    <span class="ruby-value">:read_project</span>,
+    <span class="ruby-value">:read_wiki</span>,
+    <span class="ruby-value">:read_issue</span>,
+    <span class="ruby-value">:read_milestone</span>,
+    <span class="ruby-value">:read_snippet</span>,
+    <span class="ruby-value">:read_team_member</span>,
+    <span class="ruby-value">:read_merge_request</span>,
+    <span class="ruby-value">:read_note</span>,
+    <span class="ruby-value">:write_project</span>,
+    <span class="ruby-value">:write_issue</span>,
+    <span class="ruby-value">:write_note</span>
+  ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">guest_access_for?</span>(<span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+    <span class="ruby-value">:download_code</span>,
+    <span class="ruby-value">:write_merge_request</span>,
+    <span class="ruby-value">:write_snippet</span>
+  ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">report_access_for?</span>(<span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+    <span class="ruby-value">:write_wiki</span>,
+    <span class="ruby-value">:push_code</span>
+  ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dev_access_for?</span>(<span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+    <span class="ruby-value">:push_code_to_protected_branches</span>
+  ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">master_access_for?</span>(<span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+    <span class="ruby-value">:modify_issue</span>,
+    <span class="ruby-value">:modify_snippet</span>,
+    <span class="ruby-value">:modify_merge_request</span>,
+    <span class="ruby-value">:admin_project</span>,
+    <span class="ruby-value">:admin_issue</span>,
+    <span class="ruby-value">:admin_milestone</span>,
+    <span class="ruby-value">:admin_snippet</span>,
+    <span class="ruby-value">:admin_team_member</span>,
+    <span class="ruby-value">:admin_merge_request</span>,
+    <span class="ruby-value">:admin_note</span>,
+    <span class="ruby-value">:accept_mr</span>,
+    <span class="ruby-value">:admin_wiki</span>
+  ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">master_access_for?</span>(<span class="ruby-identifier">user</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">owner</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">user</span>
+
+  <span class="ruby-identifier">rules</span>.<span class="ruby-identifier">flatten</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_abilities-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_abilities-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Account.html b/doc/app/Account.html
new file mode 100644
index 0000000000000000000000000000000000000000..58f657586b293cd36b25261608cc9fd5d2de59fa
--- /dev/null
+++ b/doc/app/Account.html
@@ -0,0 +1,881 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Account - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/account.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-block">#block</a>
+    
+    <li><a href="#method-i-can_create_group-3F">#can_create_group?</a>
+    
+    <li><a href="#method-i-can_create_project-3F">#can_create_project?</a>
+    
+    <li><a href="#method-i-cared_merge_requests">#cared_merge_requests</a>
+    
+    <li><a href="#method-i-first_name">#first_name</a>
+    
+    <li><a href="#method-i-identifier">#identifier</a>
+    
+    <li><a href="#method-i-is_admin-3F">#is_admin?</a>
+    
+    <li><a href="#method-i-last_activity_project">#last_activity_project</a>
+    
+    <li><a href="#method-i-project_ids">#project_ids</a>
+    
+    <li><a href="#method-i-projects_limit_percent">#projects_limit_percent</a>
+    
+    <li><a href="#method-i-projects_with_events">#projects_with_events</a>
+    
+    <li><a href="#method-i-recent_push">#recent_push</a>
+    
+    <li><a href="#method-i-require_ssh_key-3F">#require_ssh_key?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Account</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-block" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">block</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Remove user from all projects and set blocked attribute to true</p>
+          
+
+          
+          <div class="method-source-code" id="block-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">block</span>
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">find_each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">membership</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">membership</span>.<span class="ruby-identifier">destroy</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">blocked</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- block-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- block-method -->
+
+    
+      <div id="method-i-can_create_group-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can_create_group?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can_create_group-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_create_group?</span>
+  <span class="ruby-identifier">is_admin?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can_create_group-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can_create_group-3F-method -->
+
+    
+      <div id="method-i-can_create_project-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can_create_project?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can_create_project-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_create_project?</span>
+  <span class="ruby-identifier">projects_limit</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">my_own_projects</span>.<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can_create_project-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can_create_project-3F-method -->
+
+    
+      <div id="method-i-cared_merge_requests" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">cared_merge_requests</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="cared_merge_requests-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">cared_merge_requests</span>
+  <span class="ruby-constant">MergeRequest</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;author_id = :id or assignee_id = :id&quot;</span>, <span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">opened</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- cared_merge_requests-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- cared_merge_requests-method -->
+
+    
+      <div id="method-i-first_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">first_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="first_name-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">first_name</span>
+  <span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>.<span class="ruby-identifier">first</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- first_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- first_name-method -->
+
+    
+      <div id="method-i-identifier" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">identifier</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns a string for use as a Gitolite user identifier</p>
+
+<p><a href="Note.html">Note</a> that Gitolite 2.x requires the following
+pattern for users:</p>
+
+<pre>^@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$</pre>
+          
+
+          
+          <div class="method-source-code" id="identifier-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">identifier</span>
+  <span class="ruby-comment"># Replace non-word chars with underscores, then make sure it starts with</span>
+  <span class="ruby-comment"># valid chars</span>
+  <span class="ruby-identifier">email</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\W/</span>, <span class="ruby-string">'_'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\A([\W\_])+/</span>, <span class="ruby-string">''</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- identifier-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- identifier-method -->
+
+    
+      <div id="method-i-is_admin-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_admin?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_admin-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_admin?</span>
+  <span class="ruby-identifier">admin</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_admin-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_admin-3F-method -->
+
+    
+      <div id="method-i-last_activity_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_activity_project</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_activity_project-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_activity_project</span>
+  <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_activity_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_activity_project-method -->
+
+    
+      <div id="method-i-project_ids" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_ids</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_ids-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_ids</span>
+  <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_ids-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_ids-method -->
+
+    
+      <div id="method-i-projects_limit_percent" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">projects_limit_percent</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="projects_limit_percent-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">projects_limit_percent</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-value">100</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">projects_limit</span>.<span class="ruby-identifier">zero?</span>
+  (<span class="ruby-identifier">my_own_projects</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">projects_limit</span>) * <span class="ruby-value">100</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- projects_limit_percent-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- projects_limit_percent-method -->
+
+    
+      <div id="method-i-projects_with_events" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">projects_with_events</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="projects_with_events-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">projects_with_events</span>
+  <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:events</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;events.created_at DESC&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- projects_with_events-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- projects_with_events-method -->
+
+    
+      <div id="method-i-recent_push" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">recent_push</span><span
+            class="method-args">(project_id = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="recent_push-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">recent_push</span> <span class="ruby-identifier">project_id</span> = <span class="ruby-keyword">nil</span>
+  <span class="ruby-comment"># Get push events not earlier than 2 hours ago</span>
+  <span class="ruby-identifier">events</span> = <span class="ruby-identifier">recent_events</span>.<span class="ruby-identifier">code_push</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;created_at &gt; ?&quot;</span>, <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span> <span class="ruby-operator">-</span> <span class="ruby-value">2</span>.<span class="ruby-identifier">hours</span>)
+  <span class="ruby-identifier">events</span> = <span class="ruby-identifier">events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_id</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">project_id</span>
+
+  <span class="ruby-comment"># Take only latest one</span>
+  <span class="ruby-identifier">events</span> = <span class="ruby-identifier">events</span>.<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-value">1</span>).<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- recent_push-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- recent_push-method -->
+
+    
+      <div id="method-i-require_ssh_key-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">require_ssh_key?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="require_ssh_key-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/account.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">require_ssh_key?</span>
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- require_ssh_key-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- require_ssh_key-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ActivityObserver.html b/doc/app/ActivityObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..3b31271d5ca7f135444598fecade1a40aed56e2b
--- /dev/null
+++ b/doc/app/ActivityObserver.html
@@ -0,0 +1,531 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ActivityObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/activity_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_save">#after_save</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ActivityObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(record)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/activity_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">record</span>)
+  <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">project</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">project</span>,
+    <span class="ruby-identifier">target_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">id</span>,
+    <span class="ruby-identifier">target_type</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>,
+    <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span>.<span class="ruby-identifier">determine_action</span>(<span class="ruby-identifier">record</span>),
+    <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">author_id</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_save" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_save</span><span
+            class="method-args">(record)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_save-source">
+            <pre><span class="ruby-comment"># File app/observers/activity_observer.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_save</span>(<span class="ruby-identifier">record</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">changed</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;closed&quot;</span>) 
+    <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+      <span class="ruby-identifier">project</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">project</span>,
+      <span class="ruby-identifier">target_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">id</span>,
+      <span class="ruby-identifier">target_type</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> (<span class="ruby-identifier">record</span>.<span class="ruby-identifier">closed</span> <span class="ruby-operator">?</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Closed</span> <span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Reopened</span>),
+      <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">author_id_of_changes</span>
+    )
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_save-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_save-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin.html b/doc/app/Admin.html
new file mode 100644
index 0000000000000000000000000000000000000000..94fb27efb980f71bdd627344ee6f90d484d9e991
--- /dev/null
+++ b/doc/app/Admin.html
@@ -0,0 +1,432 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Admin - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Admin</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/DashboardController.html b/doc/app/Admin/DashboardController.html
new file mode 100644
index 0000000000000000000000000000000000000000..00154b3dff32dc864e6813ff882bba0f3a7c2532
--- /dev/null
+++ b/doc/app/Admin/DashboardController.html
@@ -0,0 +1,488 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::DashboardController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/dashboard_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-index">#index</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::DashboardController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/dashboard_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@workers</span> = <span class="ruby-constant">Resque</span>.<span class="ruby-identifier">workers</span>
+  <span class="ruby-ivar">@pending_jobs</span> = <span class="ruby-constant">Resque</span>.<span class="ruby-identifier">size</span>(<span class="ruby-value">:post_receive</span>)
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at DESC&quot;</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">10</span>)
+  <span class="ruby-ivar">@users</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at DESC&quot;</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">10</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/GroupsController.html b/doc/app/Admin/GroupsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..ef4dae9ecdab694445d6e9727a68f72e91939f93
--- /dev/null
+++ b/doc/app/Admin/GroupsController.html
@@ -0,0 +1,771 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::GroupsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/groups_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-project_update">#project_update</a>
+    
+    <li><a href="#method-i-remove_project">#remove_project</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::GroupsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@group</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:group</span>])
+  <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-identifier">current_user</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@group</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Group was successfully created.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_groups_path</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Group was successfully deleted.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@groups</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">scoped</span>
+  <span class="ruby-ivar">@groups</span> = <span class="ruby-ivar">@groups</span>.<span class="ruby-identifier">search</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>].<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@groups</span> = <span class="ruby-ivar">@groups</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@group</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-project_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_update</span>
+  <span class="ruby-identifier">project_ids</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_ids</span>]
+  <span class="ruby-constant">Project</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">update_all</span>(<span class="ruby-identifier">group_id</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">id</span>)
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Group was successfully updated.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_update-method -->
+
+    
+      <div id="method-i-remove_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">remove_project</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="remove_project-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_project</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>])
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">group_id</span> = <span class="ruby-keyword">nil</span>
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">save</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Group was successfully updated.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- remove_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- remove_project-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">scoped</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">not_in_group</span>(<span class="ruby-ivar">@group</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-identifier">group_params</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:group</span>].<span class="ruby-identifier">dup</span>
+  <span class="ruby-identifier">owner_id</span> =<span class="ruby-identifier">group_params</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:owner_id</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">owner_id</span>
+    <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">owner_id</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">group_params</span>)
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@group</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Group was successfully updated.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/HooksController.html b/doc/app/Admin/HooksController.html
new file mode 100644
index 0000000000000000000000000000000000000000..48cd5d00454e69c58291eb1313a821f19c0f18da
--- /dev/null
+++ b/doc/app/Admin/HooksController.html
@@ -0,0 +1,603 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::HooksController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/hooks_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-test">#test</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::HooksController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/hooks_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:hook</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_hooks_path</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Hook was successfully created.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-ivar">@hooks</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-value">:index</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/hooks_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_hooks_path</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/hooks_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@hooks</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-test" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">test</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="test-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/hooks_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">test</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:hook_id</span>])
+  <span class="ruby-identifier">data</span> = {
+    <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;project_create&quot;</span>,
+    <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Ruby&quot;</span>,
+    <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;ruby&quot;</span>,
+    <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-value">1</span>,
+    <span class="ruby-identifier">owner_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Someone&quot;</span>,
+    <span class="ruby-identifier">owner_email</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;example@gitlabhq.com&quot;</span>
+  }
+  <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-identifier">data</span>)
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- test-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- test-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/LogsController.html b/doc/app/Admin/LogsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..8f70b1ade2c985cec7c132e941e2cd66f16a1b78
--- /dev/null
+++ b/doc/app/Admin/LogsController.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::LogsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/logs_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::LogsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/ProjectsController.html b/doc/app/Admin/ProjectsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..5744746b47c533fab6201da4a41aad02ca76873d
--- /dev/null
+++ b/doc/app/Admin/ProjectsController.html
@@ -0,0 +1,733 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::ProjectsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/projects_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-team_update">#team_update</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::ProjectsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@admin_project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>])
+  <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-identifier">current_user</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_project</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully created.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_projects_url</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully deleted.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@admin_projects</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">scoped</span>
+  <span class="ruby-ivar">@admin_projects</span> = <span class="ruby-ivar">@admin_projects</span>.<span class="ruby-identifier">search</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>].<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@admin_projects</span> = <span class="ruby-ivar">@admin_projects</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@admin_project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@users</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">scoped</span>
+  <span class="ruby-ivar">@users</span> = <span class="ruby-ivar">@users</span>.<span class="ruby-identifier">not_in_project</span>(<span class="ruby-ivar">@admin_project</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@users</span> = <span class="ruby-ivar">@users</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-team_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">team_update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="team_update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">team_update</span>
+  <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">add_users_ids_to_team</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:user_ids</span>], <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_access</span>])
+
+  <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_project</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully updated.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- team_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- team_update-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-identifier">owner_id</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-value">:owner_id</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">owner_id</span>
+    <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">owner_id</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_project</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>])
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_project</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully updated.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/ResqueController.html b/doc/app/Admin/ResqueController.html
new file mode 100644
index 0000000000000000000000000000000000000000..db73599b4a788b0d124b52a5e2b6d10bc915826e
--- /dev/null
+++ b/doc/app/Admin/ResqueController.html
@@ -0,0 +1,484 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::ResqueController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/resque_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::ResqueController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/resque_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/TeamMembersController.html b/doc/app/Admin/TeamMembersController.html
new file mode 100644
index 0000000000000000000000000000000000000000..907bf279f8e0101eb1e6e71990e840b27caa9947
--- /dev/null
+++ b/doc/app/Admin/TeamMembersController.html
@@ -0,0 +1,558 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::TeamMembersController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/team_members_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::TeamMembersController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/team_members_controller.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@admin_team_member</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@admin_team_member</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/team_members_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-ivar">@admin_team_member</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/team_members_controller.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@admin_team_member</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_team_member</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:team_member</span>])
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_team_member</span>.<span class="ruby-identifier">project</span>],  <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project Access was successfully updated.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Admin/UsersController.html b/doc/app/Admin/UsersController.html
new file mode 100644
index 0000000000000000000000000000000000000000..b300e4f7fc5e81ffd2046bcdbcee577cd99b21e3
--- /dev/null
+++ b/doc/app/Admin/UsersController.html
@@ -0,0 +1,839 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Admin::UsersController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin/users_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../AdminController.html">AdminController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-block">#block</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-team_update">#team_update</a>
+    
+    <li><a href="#method-i-unblock">#unblock</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Admin::UsersController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-block" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">block</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="block-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">block</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">block</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">alert</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Successfully blocked&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">alert</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Error occured. User was not blocked&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- block-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- block-method -->
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-identifier">admin</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-string">&quot;admin&quot;</span>)
+
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>], <span class="ruby-identifier">as</span><span class="ruby-operator">:</span> <span class="ruby-value">:admin</span>)
+  <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">admin</span> = (<span class="ruby-identifier">admin</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">admin</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">save</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_user</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'User was successfully created.'</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">json</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">json</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@admin_user</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">:created</span>, <span class="ruby-identifier">location</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@admin_user</span> }
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;new&quot;</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">json</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">json</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">errors</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">:unprocessable_entity</span> }
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_users_url</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">json</span> { <span class="ruby-identifier">head</span> <span class="ruby-value">:ok</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@admin_users</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">scoped</span>
+  <span class="ruby-ivar">@admin_users</span> = <span class="ruby-ivar">@admin_users</span>.<span class="ruby-identifier">filter</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:filter</span>])
+  <span class="ruby-ivar">@admin_users</span> = <span class="ruby-ivar">@admin_users</span>.<span class="ruby-identifier">search</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:name</span>].<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@admin_users</span> = <span class="ruby-ivar">@admin_users</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;updated_at DESC&quot;</span>).<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">new</span>({ <span class="ruby-identifier">projects_limit</span><span class="ruby-operator">:</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">default_projects_limit</span> }, <span class="ruby-identifier">as</span><span class="ruby-operator">:</span> <span class="ruby-value">:admin</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">empty?</span>
+             <span class="ruby-constant">Project</span>
+           <span class="ruby-keyword">else</span>
+             <span class="ruby-constant">Project</span>.<span class="ruby-identifier">without_user</span>(<span class="ruby-ivar">@admin_user</span>)
+           <span class="ruby-keyword">end</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-team_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">team_update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="team_update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">team_update</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">user_bulk_import</span>(
+    <span class="ruby-ivar">@admin_user</span>,
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_ids</span>],
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_access</span>]
+  )
+
+  <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_user</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Teams were successfully updated.'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- team_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- team_update-method -->
+
+    
+      <div id="method-i-unblock" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unblock</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unblock-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unblock</span>
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">update_attribute</span>(<span class="ruby-value">:blocked</span>, <span class="ruby-keyword">false</span>)
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">alert</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Successfully unblocked&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">alert</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Error occured. User was not unblocked&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unblock-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unblock-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin/users_controller.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-identifier">admin</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-string">&quot;admin&quot;</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>][<span class="ruby-value">:password</span>].<span class="ruby-identifier">blank?</span>
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-value">:password</span>)
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-value">:password_confirmation</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@admin_user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">admin</span> = (<span class="ruby-identifier">admin</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">admin</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>], <span class="ruby-identifier">as</span><span class="ruby-operator">:</span> <span class="ruby-value">:admin</span>)
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</span>, <span class="ruby-ivar">@admin_user</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'User was successfully updated.'</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">json</span> { <span class="ruby-identifier">head</span> <span class="ruby-value">:ok</span> }
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">json</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">json</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">errors</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">:unprocessable_entity</span> }
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/AdminController.html b/doc/app/AdminController.html
new file mode 100644
index 0000000000000000000000000000000000000000..bdda7958da9871050ee7cfdc1b336e6a0dba7c57
--- /dev/null
+++ b/doc/app/AdminController.html
@@ -0,0 +1,490 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class AdminController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/admin_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-authenticate_admin-21">#authenticate_admin!</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class AdminController</h1>
+
+  <div id="description" class="description">
+    
+<p>Provides a base class for <a href="Admin.html">Admin</a> controllers to
+subclass</p>
+
+<p>Automatically sets the layout and ensures an administrator is logged in</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-authenticate_admin-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authenticate_admin!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authenticate_admin-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/admin_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authenticate_admin!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">is_admin?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authenticate_admin-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authenticate_admin-21-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ApplicationController.html b/doc/app/ApplicationController.html
new file mode 100644
index 0000000000000000000000000000000000000000..dafa341313abddbdcd75e7a03295fe68f1aacfef
--- /dev/null
+++ b/doc/app/ApplicationController.html
@@ -0,0 +1,1015 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ApplicationController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/application_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActionController::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-abilities">#abilities</a>
+    
+    <li><a href="#method-i-access_denied-21">#access_denied!</a>
+    
+    <li><a href="#method-i-add_project_abilities">#add_project_abilities</a>
+    
+    <li><a href="#method-i-after_sign_in_path_for">#after_sign_in_path_for</a>
+    
+    <li><a href="#method-i-authorize_code_access-21">#authorize_code_access!</a>
+    
+    <li><a href="#method-i-authorize_project-21">#authorize_project!</a>
+    
+    <li><a href="#method-i-can-3F">#can?</a>
+    
+    <li><a href="#method-i-dev_tools">#dev_tools</a>
+    
+    <li><a href="#method-i-git_not_found-21">#git_not_found!</a>
+    
+    <li><a href="#method-i-method_missing">#method_missing</a>
+    
+    <li><a href="#method-i-no_cache_headers">#no_cache_headers</a>
+    
+    <li><a href="#method-i-not_found-21">#not_found!</a>
+    
+    <li><a href="#method-i-project">#project</a>
+    
+    <li><a href="#method-i-reject_blocked-21">#reject_blocked!</a>
+    
+    <li><a href="#method-i-render_404">#render_404</a>
+    
+    <li><a href="#method-i-require_non_empty_project">#require_non_empty_project</a>
+    
+    <li><a href="#method-i-set_current_user_for_observers">#set_current_user_for_observers</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ApplicationController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-abilities" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">abilities</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="abilities-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">abilities</span>
+  <span class="ruby-ivar">@abilities</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Six</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- abilities-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- abilities-method -->
+
+    
+      <div id="method-i-access_denied-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">access_denied!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="access_denied-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">access_denied!</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;errors/access_denied&quot;</span>, <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;errors&quot;</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">404</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- access_denied-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- access_denied-21-method -->
+
+    
+      <div id="method-i-add_project_abilities" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_project_abilities</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_project_abilities-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_project_abilities</span>
+  <span class="ruby-identifier">abilities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Ability</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_project_abilities-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_project_abilities-method -->
+
+    
+      <div id="method-i-after_sign_in_path_for" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_sign_in_path_for</span><span
+            class="method-args">(resource)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_sign_in_path_for-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_sign_in_path_for</span> <span class="ruby-identifier">resource</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">User</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:blocked</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">blocked</span>
+    <span class="ruby-identifier">sign_out</span> <span class="ruby-identifier">resource</span>
+    <span class="ruby-identifier">flash</span>[<span class="ruby-value">:alert</span>] = <span class="ruby-string">&quot;Your account was blocked&quot;</span>
+    <span class="ruby-identifier">new_user_session_path</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">super</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_sign_in_path_for-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_sign_in_path_for-method -->
+
+    
+      <div id="method-i-authorize_code_access-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_code_access!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_code_access-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_code_access!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:download_code</span>, <span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_code_access-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_code_access-21-method -->
+
+    
+      <div id="method-i-authorize_project-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_project!</span><span
+            class="method-args">(action)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_project-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_project!</span>(<span class="ruby-identifier">action</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_project-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_project-21-method -->
+
+    
+      <div id="method-i-can-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can?</span><span
+            class="method-args">(object, action, subject)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can-3F-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-identifier">abilities</span>.<span class="ruby-identifier">allowed?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can-3F-method -->
+
+    
+      <div id="method-i-dev_tools" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">dev_tools</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="dev_tools-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">dev_tools</span>
+  <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">MiniProfiler</span>.<span class="ruby-identifier">authorize_request</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- dev_tools-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- dev_tools-method -->
+
+    
+      <div id="method-i-git_not_found-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">git_not_found!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="git_not_found-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">git_not_found!</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;errors/git_not_found&quot;</span>, <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;errors&quot;</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">404</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- git_not_found-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- git_not_found-21-method -->
+
+    
+      <div id="method-i-method_missing" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">method_missing</span><span
+            class="method-args">(method_sym, *arguments, &block)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="method_missing-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">method_sym</span>, *<span class="ruby-identifier">arguments</span>, &amp;<span class="ruby-identifier">block</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">method_sym</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^authorize_(.*)!$/</span>
+    <span class="ruby-identifier">authorize_project!</span>(<span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">super</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- method_missing-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- method_missing-method -->
+
+    
+      <div id="method-i-no_cache_headers" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">no_cache_headers</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="no_cache_headers-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 101</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">no_cache_headers</span>
+  <span class="ruby-identifier">response</span>.<span class="ruby-identifier">headers</span>[<span class="ruby-string">&quot;Cache-Control&quot;</span>] = <span class="ruby-string">&quot;no-cache, no-store, max-age=0, must-revalidate&quot;</span>
+  <span class="ruby-identifier">response</span>.<span class="ruby-identifier">headers</span>[<span class="ruby-string">&quot;Pragma&quot;</span>] = <span class="ruby-string">&quot;no-cache&quot;</span>
+  <span class="ruby-identifier">response</span>.<span class="ruby-identifier">headers</span>[<span class="ruby-string">&quot;Expires&quot;</span>] = <span class="ruby-string">&quot;Fri, 01 Jan 1990 00:00:00 GMT&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- no_cache_headers-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- no_cache_headers-method -->
+
+    
+      <div id="method-i-not_found-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">not_found!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="not_found-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">not_found!</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;errors/not_found&quot;</span>, <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;errors&quot;</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">404</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- not_found-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- not_found-21-method -->
+
+    
+      <div id="method-i-project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-ivar">@project</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">find_by_code</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@project</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">render_404</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project-method -->
+
+    
+      <div id="method-i-reject_blocked-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reject_blocked!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reject_blocked-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reject_blocked!</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_user</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">blocked</span>
+    <span class="ruby-identifier">sign_out</span> <span class="ruby-identifier">current_user</span>
+    <span class="ruby-identifier">flash</span>[<span class="ruby-value">:alert</span>] = <span class="ruby-string">&quot;Your account was blocked&quot;</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">new_user_session_path</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reject_blocked-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reject_blocked-21-method -->
+
+    
+      <div id="method-i-render_404" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">render_404</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="render_404-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 93</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">render_404</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-identifier">file</span><span class="ruby-operator">:</span> <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;public&quot;</span>, <span class="ruby-string">&quot;404&quot;</span>), <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>, <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;404&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- render_404-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- render_404-method -->
+
+    
+      <div id="method-i-require_non_empty_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">require_non_empty_project</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="require_non_empty_project-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 97</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">require_non_empty_project</span>
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-ivar">@project</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">empty_repo?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- require_non_empty_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- require_non_empty_project-method -->
+
+    
+      <div id="method-i-set_current_user_for_observers" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">set_current_user_for_observers</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="set_current_user_for_observers-source">
+            <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_current_user_for_observers</span>
+  <span class="ruby-constant">MergeRequestObserver</span>.<span class="ruby-identifier">current_user</span> = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-constant">IssueObserver</span>.<span class="ruby-identifier">current_user</span> = <span class="ruby-identifier">current_user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- set_current_user_for_observers-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- set_current_user_for_observers-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ApplicationDecorator.html b/doc/app/ApplicationDecorator.html
new file mode 100644
index 0000000000000000000000000000000000000000..72a459bb686c0e41f0bb03cd7b191a2cc042d961
--- /dev/null
+++ b/doc/app/ApplicationDecorator.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ApplicationDecorator - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/decorators/application_decorator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Draper::Base
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ApplicationDecorator</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ApplicationHelper.html b/doc/app/ApplicationHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..9bc4243e2d06f58bdd95cd7fe199e8d157d7c5cf
--- /dev/null
+++ b/doc/app/ApplicationHelper.html
@@ -0,0 +1,1018 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module ApplicationHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/application_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-app_theme">#app_theme</a>
+    
+    <li><a href="#method-i-authbutton">#authbutton</a>
+    
+    <li><a href="#method-i-current_action-3F">#current_action?</a>
+    
+    <li><a href="#method-i-current_controller-3F">#current_controller?</a>
+    
+    <li><a href="#method-i-emoji_autocomplete_source">#emoji_autocomplete_source</a>
+    
+    <li><a href="#method-i-gravatar_icon">#gravatar_icon</a>
+    
+    <li><a href="#method-i-grouped_options_refs">#grouped_options_refs</a>
+    
+    <li><a href="#method-i-hexdigest">#hexdigest</a>
+    
+    <li><a href="#method-i-last_commit">#last_commit</a>
+    
+    <li><a href="#method-i-ldap_enable-3F">#ldap_enable?</a>
+    
+    <li><a href="#method-i-project_last_activity">#project_last_activity</a>
+    
+    <li><a href="#method-i-request_protocol">#request_protocol</a>
+    
+    <li><a href="#method-i-search_autocomplete_source">#search_autocomplete_source</a>
+    
+    <li><a href="#method-i-show_last_push_widget-3F">#show_last_push_widget?</a>
+    
+    <li><a href="#method-i-web_app_url">#web_app_url</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module ApplicationHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-app_theme" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">app_theme</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="app_theme-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 125</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">app_theme</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Theme</span>.<span class="ruby-identifier">css_class_by_id</span>(<span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:theme_id</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- app_theme-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- app_theme-method -->
+
+    
+      <div id="method-i-authbutton" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authbutton</span><span
+            class="method-args">(provider, size = 64)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authbutton-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 150</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authbutton</span>(<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">size</span> = <span class="ruby-value">64</span>)
+  <span class="ruby-identifier">file_name</span> = <span class="ruby-node">&quot;#{provider.to_s.split('_').first}_#{size}.png&quot;</span>
+  <span class="ruby-identifier">image_tag</span>(<span class="ruby-node">&quot;authbuttons/#{file_name}&quot;</span>,
+            <span class="ruby-identifier">alt</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;Sign in with #{provider.to_s.titleize}&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authbutton-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authbutton-method -->
+
+    
+      <div id="method-i-current_action-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">current_action?</span><span
+            class="method-args">(*args)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Check if a partcular action is the current one</p>
+
+<p>args - One or more action names to check</p>
+
+<p>Examples</p>
+
+<pre class="ruby"><span class="ruby-comment"># On Projects#new</span>
+<span class="ruby-identifier">current_action?</span>(:<span class="ruby-identifier">new</span>)           <span class="ruby-comment"># =&gt; true</span>
+<span class="ruby-identifier">current_action?</span>(:<span class="ruby-identifier">create</span>)        <span class="ruby-comment"># =&gt; false</span>
+<span class="ruby-identifier">current_action?</span>(:<span class="ruby-identifier">new</span>, :<span class="ruby-identifier">create</span>)  <span class="ruby-comment"># =&gt; true</span>
+</pre>
+          
+
+          
+          <div class="method-source-code" id="current_action-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">current_action?</span>(*<span class="ruby-identifier">args</span>)
+  <span class="ruby-identifier">args</span>.<span class="ruby-identifier">any?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">action_name</span> }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- current_action-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- current_action-3F-method -->
+
+    
+      <div id="method-i-current_controller-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">current_controller?</span><span
+            class="method-args">(*args)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Check if a particular controller is the current one</p>
+
+<p>args - One or more controller names to check</p>
+
+<p>Examples</p>
+
+<pre class="ruby"><span class="ruby-comment"># On TreeController</span>
+<span class="ruby-identifier">current_controller?</span>(:<span class="ruby-identifier">tree</span>)           <span class="ruby-comment"># =&gt; true</span>
+<span class="ruby-identifier">current_controller?</span>(:<span class="ruby-identifier">commits</span>)        <span class="ruby-comment"># =&gt; false</span>
+<span class="ruby-identifier">current_controller?</span>(:<span class="ruby-identifier">commits</span>, :<span class="ruby-identifier">tree</span>) <span class="ruby-comment"># =&gt; true</span>
+</pre>
+          
+
+          
+          <div class="method-source-code" id="current_controller-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">current_controller?</span>(*<span class="ruby-identifier">args</span>)
+  <span class="ruby-identifier">args</span>.<span class="ruby-identifier">any?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">controller_name</span> }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- current_controller-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- current_controller-3F-method -->
+
+    
+      <div id="method-i-emoji_autocomplete_source" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">emoji_autocomplete_source</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="emoji_autocomplete_source-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 115</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">emoji_autocomplete_source</span>
+  <span class="ruby-comment"># should be an array of strings</span>
+  <span class="ruby-comment"># so to_s can be called, because it is sufficient and to_json is too slow</span>
+  <span class="ruby-constant">Emoji</span>.<span class="ruby-identifier">names</span>.<span class="ruby-identifier">to_s</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- emoji_autocomplete_source-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- emoji_autocomplete_source-method -->
+
+    
+      <div id="method-i-gravatar_icon" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">gravatar_icon</span><span
+            class="method-args">(user_email = '', size = 40)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="gravatar_icon-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">gravatar_icon</span>(<span class="ruby-identifier">user_email</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">size</span> = <span class="ruby-value">40</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">disable_gravatar?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">user_email</span>.<span class="ruby-identifier">blank?</span>
+    <span class="ruby-string">'no_avatar.png'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">gravatar_prefix</span> = <span class="ruby-identifier">request</span>.<span class="ruby-identifier">ssl?</span> <span class="ruby-operator">?</span> <span class="ruby-string">&quot;https://secure&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-string">&quot;http://www&quot;</span>
+    <span class="ruby-identifier">user_email</span>.<span class="ruby-identifier">strip!</span>
+    <span class="ruby-node">&quot;#{gravatar_prefix}.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email.downcase)}?s=#{size}&amp;d=identicon&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- gravatar_icon-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- gravatar_icon-method -->
+
+    
+      <div id="method-i-grouped_options_refs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">grouped_options_refs</span><span
+            class="method-args">(destination = :tree)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="grouped_options_refs-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">grouped_options_refs</span>(<span class="ruby-identifier">destination</span> = <span class="ruby-value">:tree</span>)
+  <span class="ruby-identifier">options</span> = [
+    [<span class="ruby-string">&quot;Branch&quot;</span>, <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">branch_names</span> ],
+    [ <span class="ruby-string">&quot;Tag&quot;</span>, <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">tag_names</span> ]
+  ]
+
+  <span class="ruby-comment"># If reference is commit id -</span>
+  <span class="ruby-comment"># we should add it to branch/tag selectbox</span>
+  <span class="ruby-keyword">if</span>(<span class="ruby-ivar">@ref</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">options</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@ref</span>) <span class="ruby-operator">&amp;&amp;</span>
+     <span class="ruby-ivar">@ref</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^[0-9a-zA-Z]{6,52}$/</span>)
+    <span class="ruby-identifier">options</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-string">&quot;Commit&quot;</span>, [<span class="ruby-ivar">@ref</span>]]
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">grouped_options_for_select</span>(<span class="ruby-identifier">options</span>, <span class="ruby-ivar">@ref</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">default_branch</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- grouped_options_refs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- grouped_options_refs-method -->
+
+    
+      <div id="method-i-hexdigest" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">hexdigest</span><span
+            class="method-args">(string)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="hexdigest-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 137</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">string</span>)
+  <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">SHA1</span>.<span class="ruby-identifier">hexdigest</span> <span class="ruby-identifier">string</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- hexdigest-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- hexdigest-method -->
+
+    
+      <div id="method-i-last_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_commit</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_commit-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_commit</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo_exists?</span>
+    <span class="ruby-identifier">time_ago_in_words</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">committed_date</span>) <span class="ruby-operator">+</span> <span class="ruby-string">&quot; ago&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;Never&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-string">&quot;Never&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_commit-method -->
+
+    
+      <div id="method-i-ldap_enable-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ldap_enable?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ldap_enable-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ldap_enable?</span>
+  <span class="ruby-constant">Devise</span>.<span class="ruby-identifier">omniauth_providers</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value">:ldap</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ldap_enable-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ldap_enable-3F-method -->
+
+    
+      <div id="method-i-project_last_activity" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_last_activity</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_last_activity-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 141</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_last_activity</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">activity</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">last_activity</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">activity</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">activity</span>.<span class="ruby-identifier">created_at</span>
+    <span class="ruby-identifier">time_ago_in_words</span>(<span class="ruby-identifier">activity</span>.<span class="ruby-identifier">created_at</span>) <span class="ruby-operator">+</span> <span class="ruby-string">&quot; ago&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;Never&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_last_activity-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_last_activity-method -->
+
+    
+      <div id="method-i-request_protocol" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">request_protocol</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="request_protocol-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">request_protocol</span>
+  <span class="ruby-identifier">request</span>.<span class="ruby-identifier">ssl?</span> <span class="ruby-operator">?</span> <span class="ruby-string">&quot;https&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-string">&quot;http&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- request_protocol-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- request_protocol-method -->
+
+    
+      <div id="method-i-search_autocomplete_source" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search_autocomplete_source</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search_autocomplete_source-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search_autocomplete_source</span>
+  <span class="ruby-identifier">projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">map</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_path</span>(<span class="ruby-identifier">p</span>) } }
+
+  <span class="ruby-identifier">default_nav</span> = [
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;My Profile&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">profile_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;My SSH Keys&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">keys_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;My Dashboard&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">root_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Admin Section&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">admin_root_path</span> },
+  ]
+
+  <span class="ruby-identifier">help_nav</span> = [
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Workflow Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_workflow_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Permissions Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_permissions_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Web Hooks Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_web_hooks_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;System Hooks Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_system_hooks_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;API Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_api_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Markdown Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_markdown_path</span> },
+    { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;SSH Keys Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_ssh_path</span> },
+  ]
+
+  <span class="ruby-identifier">project_nav</span> = []
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@project</span>.<span class="ruby-identifier">new_record?</span>
+    <span class="ruby-identifier">project_nav</span> = [
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Issues&quot;</span>,   <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_issues_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Commits&quot;</span>,  <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_commits_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">root_ref</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Merge Requests&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_merge_requests_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Milestones&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_milestones_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Snippets&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_snippets_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Team&quot;</span>,     <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_team_index_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Tree&quot;</span>,     <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_tree_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">root_ref</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Wall&quot;</span>,     <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wall_project_path</span>(<span class="ruby-ivar">@project</span>) },
+      { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{@project.name} Wiki&quot;</span>,     <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_wikis_path</span>(<span class="ruby-ivar">@project</span>) },
+    ]
+  <span class="ruby-keyword">end</span>
+
+  [<span class="ruby-identifier">projects</span>, <span class="ruby-identifier">default_nav</span>, <span class="ruby-identifier">project_nav</span>, <span class="ruby-identifier">help_nav</span>].<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">to_json</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search_autocomplete_source-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search_autocomplete_source-method -->
+
+    
+      <div id="method-i-show_last_push_widget-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show_last_push_widget?</span><span
+            class="method-args">(event)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show_last_push_widget-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show_last_push_widget?</span>(<span class="ruby-identifier">event</span>)
+  <span class="ruby-identifier">event</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">event</span>.<span class="ruby-identifier">last_push_to_non_root?</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-operator">!</span><span class="ruby-identifier">event</span>.<span class="ruby-identifier">rm_ref?</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">event</span>.<span class="ruby-identifier">project</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">event</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">merge_requests_enabled</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show_last_push_widget-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show_last_push_widget-3F-method -->
+
+    
+      <div id="method-i-web_app_url" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">web_app_url</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="web_app_url-source">
+            <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">web_app_url</span>
+  <span class="ruby-node">&quot;#{request_protocol}://#{Gitlab.config.web_host}/&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- web_app_url-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- web_app_url-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/AttachmentUploader.html b/doc/app/AttachmentUploader.html
new file mode 100644
index 0000000000000000000000000000000000000000..b6e9d1bab37be9c3e5a4dd7138942f4a00baade5
--- /dev/null
+++ b/doc/app/AttachmentUploader.html
@@ -0,0 +1,486 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class AttachmentUploader - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/uploaders/attachment_uploader.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">CarrierWave::Uploader::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-store_dir">#store_dir</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class AttachmentUploader</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-store_dir" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">store_dir</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Override the directory where uploaded files will be stored. This is a
+sensible default for uploaders that are meant to be mounted:</p>
+          
+
+          
+          <div class="method-source-code" id="store_dir-source">
+            <pre><span class="ruby-comment"># File app/uploaders/attachment_uploader.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">store_dir</span>
+  <span class="ruby-node">&quot;uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- store_dir-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- store_dir-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Authority.html b/doc/app/Authority.html
new file mode 100644
index 0000000000000000000000000000000000000000..92f46c55b0a0820ed846e2cf2c32d6274f7236c2
--- /dev/null
+++ b/doc/app/Authority.html
@@ -0,0 +1,782 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Authority - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/authority.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-add_access">#add_access</a>
+    
+    <li><a href="#method-i-allow_read_for-3F">#allow_read_for?</a>
+    
+    <li><a href="#method-i-dev_access_for-3F">#dev_access_for?</a>
+    
+    <li><a href="#method-i-guest_access_for-3F">#guest_access_for?</a>
+    
+    <li><a href="#method-i-master_access_for-3F">#master_access_for?</a>
+    
+    <li><a href="#method-i-report_access_for-3F">#report_access_for?</a>
+    
+    <li><a href="#method-i-repository_masters">#repository_masters</a>
+    
+    <li><a href="#method-i-repository_readers">#repository_readers</a>
+    
+    <li><a href="#method-i-repository_writers">#repository_writers</a>
+    
+    <li><a href="#method-i-reset_access">#reset_access</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Authority</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-add_access" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_access</span><span
+            class="method-args">(user, *access)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Compatible with all access rights Should be rewrited for new access rights</p>
+          
+
+          
+          <div class="method-source-code" id="add_access-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_access</span>(<span class="ruby-identifier">user</span>, *<span class="ruby-identifier">access</span>)
+  <span class="ruby-identifier">access</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">access</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value">:admin</span>)
+             { <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span> }
+           <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">access</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-value">:write</span>)
+             { <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">DEVELOPER</span> }
+           <span class="ruby-keyword">else</span>
+             { <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">REPORTER</span> }
+           <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">opts</span> = { <span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span> }
+  <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">access</span>)
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">opts</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_access-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_access-method -->
+
+    
+      <div id="method-i-allow_read_for-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">allow_read_for?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="allow_read_for-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">allow_read_for?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-operator">!</span><span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">empty?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- allow_read_for-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- allow_read_for-3F-method -->
+
+    
+      <div id="method-i-dev_access_for-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">dev_access_for?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="dev_access_for-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">dev_access_for?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-operator">!</span><span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> [<span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">DEVELOPER</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span>]).<span class="ruby-identifier">empty?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- dev_access_for-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- dev_access_for-3F-method -->
+
+    
+      <div id="method-i-guest_access_for-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">guest_access_for?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="guest_access_for-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">guest_access_for?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-operator">!</span><span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">empty?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- guest_access_for-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- guest_access_for-3F-method -->
+
+    
+      <div id="method-i-master_access_for-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">master_access_for?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="master_access_for-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">master_access_for?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-operator">!</span><span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> [<span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span>]).<span class="ruby-identifier">empty?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- master_access_for-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- master_access_for-3F-method -->
+
+    
+      <div id="method-i-report_access_for-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">report_access_for?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="report_access_for-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">report_access_for?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-operator">!</span><span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> [<span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">REPORTER</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">DEVELOPER</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span>]).<span class="ruby-identifier">empty?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- report_access_for-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- report_access_for-3F-method -->
+
+    
+      <div id="method-i-repository_masters" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repository_masters</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repository_masters-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repository_masters</span>
+  <span class="ruby-identifier">keys</span> = <span class="ruby-constant">Key</span>.<span class="ruby-identifier">joins</span>({<span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-value">:users_projects</span>}).
+    <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;users_projects.project_id = ? AND users_projects.project_access = ?&quot;</span>, <span class="ruby-identifier">id</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span>)
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:identifier</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repository_masters-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repository_masters-method -->
+
+    
+      <div id="method-i-repository_readers" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repository_readers</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repository_readers-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repository_readers</span>
+  <span class="ruby-identifier">keys</span> = <span class="ruby-constant">Key</span>.<span class="ruby-identifier">joins</span>({<span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-value">:users_projects</span>}).
+    <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;users_projects.project_id = ? AND users_projects.project_access = ?&quot;</span>, <span class="ruby-identifier">id</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">REPORTER</span>)
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:identifier</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:identifier</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repository_readers-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repository_readers-method -->
+
+    
+      <div id="method-i-repository_writers" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repository_writers</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repository_writers-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repository_writers</span>
+  <span class="ruby-identifier">keys</span> = <span class="ruby-constant">Key</span>.<span class="ruby-identifier">joins</span>({<span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-value">:users_projects</span>}).
+    <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;users_projects.project_id = ? AND users_projects.project_access = ?&quot;</span>, <span class="ruby-identifier">id</span>, <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">DEVELOPER</span>)
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:identifier</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repository_writers-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repository_writers-method -->
+
+    
+      <div id="method-i-reset_access" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reset_access</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reset_access-source">
+            <pre><span class="ruby-comment"># File app/roles/authority.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reset_access</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">destroy</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reset_access-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reset_access-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/BaseContext.html b/doc/app/BaseContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..b9c46738bf882caff5de851c9fff2b7469c3ac66
--- /dev/null
+++ b/doc/app/BaseContext.html
@@ -0,0 +1,605 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class BaseContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/base_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-abilities">#abilities</a>
+    
+    <li><a href="#method-i-can-3F">#can?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class BaseContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-current_user" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">current_user</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-params" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">params</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(project, user, params)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">user</span>, <span class="ruby-identifier">params</span>)
+  <span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@current_user</span>, <span class="ruby-ivar">@params</span> = <span class="ruby-identifier">project</span>, <span class="ruby-identifier">user</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-abilities" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">abilities</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="abilities-source">
+            <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">abilities</span>
+  <span class="ruby-ivar">@abilities</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
+                   <span class="ruby-identifier">abilities</span> = <span class="ruby-constant">Six</span>.<span class="ruby-identifier">new</span>
+                   <span class="ruby-identifier">abilities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Ability</span>
+                   <span class="ruby-identifier">abilities</span>
+                 <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- abilities-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- abilities-method -->
+
+    
+      <div id="method-i-can-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can?</span><span
+            class="method-args">(object, action, subject)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can-3F-source">
+            <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-identifier">abilities</span>.<span class="ruby-identifier">allowed?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/BlameController.html b/doc/app/BlameController.html
new file mode 100644
index 0000000000000000000000000000000000000000..4b23b227c49efb2ada4ee67c68d5420183af0859
--- /dev/null
+++ b/doc/app/BlameController.html
@@ -0,0 +1,500 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class BlameController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/blame_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="ExtractsPath.html">ExtractsPath</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class BlameController</h1>
+
+  <div id="description" class="description">
+    
+<p>Controller for viewing a file’s blame</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/blame_controller.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@repo</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">repo</span>
+  <span class="ruby-ivar">@blame</span> = <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Blob</span>.<span class="ruby-identifier">blame</span>(<span class="ruby-ivar">@repo</span>, <span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-ivar">@path</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/BlobController.html b/doc/app/BlobController.html
new file mode 100644
index 0000000000000000000000000000000000000000..e8f069c2f4aae4420f9087fe58a1e2e295fbbd4f
--- /dev/null
+++ b/doc/app/BlobController.html
@@ -0,0 +1,519 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class BlobController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/blob_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="ExtractsPath.html">ExtractsPath</a>
+  
+  
+  
+    <li><a class="include" href="Gitlab/Encode.html">Gitlab::Encode</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class BlobController</h1>
+
+  <div id="description" class="description">
+    
+<p>Controller for viewing a file’s blame</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/blob_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">is_blob?</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">text?</span>
+      <span class="ruby-identifier">encoding</span> = <span class="ruby-identifier">detect_encoding</span>(<span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">data</span>)
+      <span class="ruby-identifier">mime_type</span> = <span class="ruby-identifier">encoding</span> <span class="ruby-operator">?</span> <span class="ruby-node">&quot;text/plain; charset=#{encoding}&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-string">&quot;text/plain&quot;</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">mime_type</span> = <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">mime_type</span>
+    <span class="ruby-keyword">end</span>
+
+    <span class="ruby-identifier">send_data</span>(
+      <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">data</span>,
+      <span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-identifier">mime_type</span>,
+      <span class="ruby-identifier">disposition</span><span class="ruby-operator">:</span> <span class="ruby-string">'inline'</span>,
+      <span class="ruby-identifier">filename</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">name</span>
+    )
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">not_found!</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Commit.html b/doc/app/Commit.html
new file mode 100644
index 0000000000000000000000000000000000000000..05a3f3ceff8c1ff2d05f28aa039e64fca6f9cb1c
--- /dev/null
+++ b/doc/app/Commit.html
@@ -0,0 +1,1191 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Commit - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/commit.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">ActiveModel::Conversion</span>
+  
+  
+  
+    <li><a class="include" href="Gitlab/Encode.html">Gitlab::Encode</a>
+  
+  
+  
+    <li><a class="include" href="StaticModel.html">StaticModel</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-commits">::commits</a>
+    
+    <li><a href="#method-c-commits_between">::commits_between</a>
+    
+    <li><a href="#method-c-commits_since">::commits_since</a>
+    
+    <li><a href="#method-c-commits_with_refs">::commits_with_refs</a>
+    
+    <li><a href="#method-c-compare">::compare</a>
+    
+    <li><a href="#method-c-find_or_first">::find_or_first</a>
+    
+    <li><a href="#method-c-fresh_commits">::fresh_commits</a>
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-author_email">#author_email</a>
+    
+    <li><a href="#method-i-author_name">#author_name</a>
+    
+    <li><a href="#method-i-committer_email">#committer_email</a>
+    
+    <li><a href="#method-i-committer_name">#committer_name</a>
+    
+    <li><a href="#method-i-created_at">#created_at</a>
+    
+    <li><a href="#method-i-different_committer-3F">#different_committer?</a>
+    
+    <li><a href="#method-i-parents_count">#parents_count</a>
+    
+    <li><a href="#method-i-prev_commit">#prev_commit</a>
+    
+    <li><a href="#method-i-prev_commit_id">#prev_commit_id</a>
+    
+    <li><a href="#method-i-safe_message">#safe_message</a>
+    
+    <li><a href="#method-i-short_id">#short_id</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Commit</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-commit" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">commit</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-head" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">head</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-refs" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">refs</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits</span><span
+            class="method-args">(repo, ref, path = nil, limit = nil, offset = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">limit</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">offset</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">log</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span>, <span class="ruby-identifier">max_count</span><span class="ruby-operator">:</span> <span class="ruby-identifier">limit</span>, <span class="ruby-identifier">skip</span><span class="ruby-operator">:</span> <span class="ruby-identifier">offset</span>)
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">limit</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">offset</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">limit</span>, <span class="ruby-identifier">offset</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">ref</span>)
+  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">map</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>) }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits-method -->
+
+    
+      <div id="method-c-commits_between" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_between</span><span
+            class="method-args">(repo, from, to)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_between-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 68</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>) }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_between-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_between-method -->
+
+    
+      <div id="method-c-commits_since" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_since</span><span
+            class="method-args">(repo, date)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_since-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_since</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">date</span>)
+  <span class="ruby-identifier">commits</span> = <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">log</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">name</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">since</span><span class="ruby-operator">:</span> <span class="ruby-identifier">date</span>).<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>, <span class="ruby-identifier">h</span>) }
+  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> }
+
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">sort!</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">y</span>.<span class="ruby-identifier">committed_date</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">committed_date</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">commits</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_since-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_since-method -->
+
+    
+      <div id="method-c-commits_with_refs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_with_refs</span><span
+            class="method-args">(repo, n = 20)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_with_refs-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_with_refs</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span> = <span class="ruby-value">20</span>)
+  <span class="ruby-identifier">commits</span> = <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">branches</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ref</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ref</span>.<span class="ruby-identifier">commit</span>, <span class="ruby-identifier">ref</span>) }
+
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">sort!</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">y</span>.<span class="ruby-identifier">committed_date</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">committed_date</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">commits</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">n</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_with_refs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_with_refs-method -->
+
+    
+      <div id="method-c-compare" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">compare</span><span
+            class="method-args">(project, from, to)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="compare-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">compare</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
+  <span class="ruby-identifier">result</span> = {
+    <span class="ruby-identifier">commits</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">diffs</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">commit</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>,
+    <span class="ruby-identifier">same</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
+  }
+
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">to</span>
+
+  <span class="ruby-identifier">first</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">to</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:strip</span>))
+  <span class="ruby-identifier">last</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">from</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:strip</span>))
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">first</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">last</span>
+    <span class="ruby-identifier">commits</span> = [<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>].<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:created_at</span>)
+    <span class="ruby-identifier">younger</span> = <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">first</span>
+    <span class="ruby-identifier">older</span> = <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">last</span>
+
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:same</span>] = (<span class="ruby-identifier">younger</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">older</span>.<span class="ruby-identifier">id</span>)
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:commits</span>] = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">younger</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">older</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>)}
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:diffs</span>] = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">diff</span>(<span class="ruby-identifier">younger</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">older</span>.<span class="ruby-identifier">id</span>) <span class="ruby-keyword">rescue</span> []
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:commit</span>] = <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">older</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">result</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- compare-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- compare-method -->
+
+    
+      <div id="method-c-find_or_first" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_or_first</span><span
+            class="method-args">(repo, commit_id = nil, root_ref)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_or_first-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_or_first</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">commit_id</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">root_ref</span>)
+  <span class="ruby-identifier">commit</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit_id</span>
+             <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">commit_id</span>)
+           <span class="ruby-keyword">else</span>
+             <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">root_ref</span>).<span class="ruby-identifier">first</span>
+           <span class="ruby-keyword">end</span>
+
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">commit</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_or_first-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_or_first-method -->
+
+    
+      <div id="method-c-fresh_commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">fresh_commits</span><span
+            class="method-args">(repo, n = 10)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="fresh_commits-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">fresh_commits</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span> = <span class="ruby-value">10</span>)
+  <span class="ruby-identifier">commits</span> = <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">n</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>, <span class="ruby-identifier">h</span>) }
+  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> }
+
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">sort!</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">y</span>.<span class="ruby-identifier">committed_date</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">committed_date</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">commits</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">n</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- fresh_commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- fresh_commits-method -->
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(raw_commit, head = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 100</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">raw_commit</span>, <span class="ruby-identifier">head</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-identifier">raw_commit</span>
+  <span class="ruby-ivar">@head</span> = <span class="ruby-identifier">head</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-author_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">author_email</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="author_email-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 117</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">author_email</span>
+  <span class="ruby-identifier">author</span>.<span class="ruby-identifier">email</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- author_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- author_email-method -->
+
+    
+      <div id="method-i-author_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">author_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="author_name-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">author_name</span>
+  <span class="ruby-identifier">utf8</span> <span class="ruby-identifier">author</span>.<span class="ruby-identifier">name</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- author_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- author_name-method -->
+
+    
+      <div id="method-i-committer_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">committer_email</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="committer_email-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 134</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">committer_email</span>
+  <span class="ruby-identifier">committer</span>.<span class="ruby-identifier">email</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- committer_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- committer_email-method -->
+
+    
+      <div id="method-i-committer_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">committer_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="committer_name-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 130</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">committer_name</span>
+  <span class="ruby-identifier">utf8</span> <span class="ruby-identifier">committer</span>.<span class="ruby-identifier">name</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- committer_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- committer_name-method -->
+
+    
+      <div id="method-i-created_at" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">created_at</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="created_at-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 113</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">created_at</span>
+  <span class="ruby-identifier">committed_date</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- created_at-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- created_at-method -->
+
+    
+      <div id="method-i-different_committer-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">different_committer?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Was this commit committed by a different person than the original author?</p>
+          
+
+          
+          <div class="method-source-code" id="different_committer-3F-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">different_committer?</span>
+  <span class="ruby-identifier">author_name</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">committer_name</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">author_email</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">committer_email</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- different_committer-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- different_committer-3F-method -->
+
+    
+      <div id="method-i-parents_count" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">parents_count</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="parents_count-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 146</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">parents_count</span>
+  <span class="ruby-identifier">parents</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">parents</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- parents_count-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- parents_count-method -->
+
+    
+      <div id="method-i-prev_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">prev_commit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="prev_commit-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 138</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">prev_commit</span>
+  <span class="ruby-identifier">parents</span>.<span class="ruby-identifier">try</span> <span class="ruby-value">:first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- prev_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- prev_commit-method -->
+
+    
+      <div id="method-i-prev_commit_id" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">prev_commit_id</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="prev_commit_id-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 142</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">prev_commit_id</span>
+  <span class="ruby-identifier">prev_commit</span>.<span class="ruby-identifier">try</span> <span class="ruby-value">:id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- prev_commit_id-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- prev_commit_id-method -->
+
+    
+      <div id="method-i-safe_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">safe_message</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="safe_message-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 109</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">safe_message</span>
+  <span class="ruby-ivar">@safe_message</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">utf8</span> <span class="ruby-identifier">message</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- safe_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- safe_message-method -->
+
+    
+      <div id="method-i-short_id" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">short_id</span><span
+            class="method-args">(length = 10)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="short_id-source">
+            <pre><span class="ruby-comment"># File app/models/commit.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">short_id</span>(<span class="ruby-identifier">length</span> = <span class="ruby-value">10</span>)
+  <span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">length</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- short_id-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- short_id-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CommitController.html b/doc/app/CommitController.html
new file mode 100644
index 0000000000000000000000000000000000000000..564161e90e3cf82bad8c9b6fe5cfcaf3e9daa89c
--- /dev/null
+++ b/doc/app/CommitController.html
@@ -0,0 +1,509 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class CommitController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/commit_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class CommitController</h1>
+
+  <div id="description" class="description">
+    
+<p>Controller for a specific <a href="Commit.html">Commit</a></p>
+
+<p>Not to be confused with <a
+href="CommitsController.html">CommitsController</a>, plural.</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/commit_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-identifier">result</span> = <span class="ruby-constant">CommitLoadContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:commit</span>]
+  <span class="ruby-identifier">git_not_found!</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@commit</span>
+
+  <span class="ruby-ivar">@suppress_diff</span>    = <span class="ruby-identifier">result</span>[<span class="ruby-value">:suppress_diff</span>]
+  <span class="ruby-ivar">@note</span>             = <span class="ruby-identifier">result</span>[<span class="ruby-value">:note</span>]
+  <span class="ruby-ivar">@line_notes</span>       = <span class="ruby-identifier">result</span>[<span class="ruby-value">:line_notes</span>]
+  <span class="ruby-ivar">@notes_count</span>      = <span class="ruby-identifier">result</span>[<span class="ruby-value">:notes_count</span>]
+  <span class="ruby-ivar">@comments_allowed</span> = <span class="ruby-keyword">true</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-identifier">result</span>[<span class="ruby-value">:status</span>] <span class="ruby-operator">==</span> <span class="ruby-value">:huge_commit</span>
+        <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;huge_commit&quot;</span> <span class="ruby-keyword">and</span> <span class="ruby-keyword">return</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">patch</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CommitDecorator.html b/doc/app/CommitDecorator.html
new file mode 100644
index 0000000000000000000000000000000000000000..3cca57a4c160bad7edb4cd7849700ef11acd141d
--- /dev/null
+++ b/doc/app/CommitDecorator.html
@@ -0,0 +1,663 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class CommitDecorator - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/decorators/commit_decorator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationDecorator.html">ApplicationDecorator</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-author_link">#author_link</a>
+    
+    <li><a href="#method-i-description">#description</a>
+    
+    <li><a href="#method-i-link_title">#link_title</a>
+    
+    <li><a href="#method-i-no_commit_message">#no_commit_message</a>
+    
+    <li><a href="#method-i-title">#title</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class CommitDecorator</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-author_link" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">author_link</span><span
+            class="method-args">(options)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns a link to the commit author. If the author has a matching user and
+is a member of the current @project it will link to the team member page.
+Otherwise it will link to the author email as specified in the commit.</p>
+
+<p>options:</p>
+
+<pre>avatar: true   will prepend avatar image</pre>
+          
+
+          
+          <div class="method-source-code" id="author_link-source">
+            <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">author_link</span>(<span class="ruby-identifier">options</span>)
+  <span class="ruby-identifier">text</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:avatar</span>]
+          <span class="ruby-identifier">avatar</span> = <span class="ruby-identifier">h</span>.<span class="ruby-identifier">image_tag</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">gravatar_icon</span>(<span class="ruby-identifier">author_email</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;avatar&quot;</span>, <span class="ruby-identifier">width</span><span class="ruby-operator">:</span> <span class="ruby-value">16</span>
+          <span class="ruby-node">&quot;#{avatar} #{author_name}&quot;</span>
+        <span class="ruby-keyword">else</span>
+          <span class="ruby-identifier">author_name</span>
+        <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">team_member</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:team_member_by_name_or_email</span>, <span class="ruby-identifier">author_name</span>, <span class="ruby-identifier">author_email</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">team_member</span>.<span class="ruby-identifier">nil?</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">mail_to</span> <span class="ruby-identifier">author_email</span>, <span class="ruby-identifier">text</span>.<span class="ruby-identifier">html_safe</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;commit-author-link&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">link_to</span> <span class="ruby-identifier">text</span>, <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-identifier">team_member</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;commit-author-link&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- author_link-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- author_link-method -->
+
+    
+      <div id="method-i-description" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">description</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns the commits description</p>
+
+<p>cut off, ellipses (`&amp;hellp;`) are prepended to the commit message.</p>
+          
+
+          
+          <div class="method-source-code" id="description-source">
+            <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">description</span>
+  <span class="ruby-identifier">description</span> = <span class="ruby-identifier">safe_message</span>
+
+  <span class="ruby-identifier">title_end</span> = <span class="ruby-identifier">description</span>.<span class="ruby-identifier">index</span>(<span class="ruby-regexp">%r\n/</span>)
+  <span class="ruby-keyword">if</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">title_end</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">description</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">80</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">title_end</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">title_end</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">80</span>)
+    <span class="ruby-string">&quot;&amp;hellip;&quot;</span>.<span class="ruby-identifier">html_safe</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">description</span>[<span class="ruby-value">70</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">description</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp">%r\n/</span>, <span class="ruby-value">2</span>)[<span class="ruby-value">1</span>].<span class="ruby-identifier">try</span>(<span class="ruby-value">:chomp</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- description-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- description-method -->
+
+    
+      <div id="method-i-link_title" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_title</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns a string describing the commit for use in a link title</p>
+
+<p>Example</p>
+
+<pre>&quot;Commit: Alex Denisov - Project git clone panel&quot;</pre>
+          
+
+          
+          <div class="method-source-code" id="link_title-source">
+            <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_title</span>
+  <span class="ruby-node">&quot;Commit: #{author_name} - #{title}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_title-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_title-method -->
+
+    
+      <div id="method-i-title" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">title</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns the commits title.</p>
+
+<p>Usually, the commit title is the first line of the commit message. In case
+this first line is longer than 80 characters, it is cut off after 70
+characters and ellipses (`&amp;hellp;`) are appended.</p>
+          
+
+          
+          <div class="method-source-code" id="title-source">
+            <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">title</span>
+  <span class="ruby-identifier">title</span> = <span class="ruby-identifier">safe_message</span>
+
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">no_commit_message</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">title</span>.<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-identifier">title_end</span> = <span class="ruby-identifier">title</span>.<span class="ruby-identifier">index</span>(<span class="ruby-regexp">%r\n/</span>)
+  <span class="ruby-keyword">if</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">title_end</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">title</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">80</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">title_end</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">title_end</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">80</span>)
+    <span class="ruby-identifier">title</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">69</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot;&amp;hellip;&quot;</span>.<span class="ruby-identifier">html_safe</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">title</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp">%r\n/</span>, <span class="ruby-value">2</span>).<span class="ruby-identifier">first</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- title-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- title-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-no_commit_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">no_commit_message</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="no_commit_message-source">
+            <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">no_commit_message</span>
+  <span class="ruby-string">&quot;--no commit message&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- no_commit_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- no_commit_message-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CommitLoadContext.html b/doc/app/CommitLoadContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..feb6dbf4a422900a6ebac7f925f0d528a86c46c5
--- /dev/null
+++ b/doc/app/CommitLoadContext.html
@@ -0,0 +1,513 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class CommitLoadContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/commit_load_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class CommitLoadContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/commit_load_context.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">result</span> = {
+    <span class="ruby-identifier">commit</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>,
+    <span class="ruby-identifier">suppress_diff</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>,
+    <span class="ruby-identifier">line_notes</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">notes_count</span><span class="ruby-operator">:</span> <span class="ruby-value">0</span>,
+    <span class="ruby-identifier">note</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>,
+    <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-value">:ok</span>
+  }
+
+  <span class="ruby-identifier">commit</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>
+    <span class="ruby-identifier">commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-identifier">commit</span>)
+    <span class="ruby-identifier">line_notes</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit_line_notes</span>(<span class="ruby-identifier">commit</span>)
+
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:commit</span>] = <span class="ruby-identifier">commit</span>
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:note</span>] = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">build_commit_note</span>(<span class="ruby-identifier">commit</span>)
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:line_notes</span>] = <span class="ruby-identifier">line_notes</span>
+    <span class="ruby-identifier">result</span>[<span class="ruby-value">:notes_count</span>] = <span class="ruby-identifier">line_notes</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit_notes</span>(<span class="ruby-identifier">commit</span>).<span class="ruby-identifier">count</span>
+
+    <span class="ruby-keyword">begin</span>
+      <span class="ruby-identifier">result</span>[<span class="ruby-value">:suppress_diff</span>] = <span class="ruby-keyword">true</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">diffs</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">200</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">params</span>[<span class="ruby-value">:force_show_diff</span>]
+    <span class="ruby-keyword">rescue</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">GitTimeout</span>
+      <span class="ruby-identifier">result</span>[<span class="ruby-value">:suppress_diff</span>] = <span class="ruby-keyword">true</span>
+      <span class="ruby-identifier">result</span>[<span class="ruby-value">:status</span>] = <span class="ruby-value">:huge_commit</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">result</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CommitsController.html b/doc/app/CommitsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..52eaad041da53b8404579f8ef20279f67ce93a61
--- /dev/null
+++ b/doc/app/CommitsController.html
@@ -0,0 +1,507 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class CommitsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/commits_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="ExtractsPath.html">ExtractsPath</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class CommitsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/commits_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@repo</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">repo</span>
+  <span class="ruby-ivar">@limit</span>, <span class="ruby-ivar">@offset</span> = (<span class="ruby-identifier">params</span>[<span class="ruby-value">:limit</span>] <span class="ruby-operator">||</span> <span class="ruby-value">40</span>), (<span class="ruby-identifier">params</span>[<span class="ruby-value">:offset</span>] <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
+
+  <span class="ruby-ivar">@commits</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span>, <span class="ruby-ivar">@limit</span>, <span class="ruby-ivar">@offset</span>)
+  <span class="ruby-ivar">@commits</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commits</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-comment"># index.html.erb</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CommitsHelper.html b/doc/app/CommitsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..58844bec1d3460c40eca788507633b9a492e6717
--- /dev/null
+++ b/doc/app/CommitsHelper.html
@@ -0,0 +1,625 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module CommitsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/commits_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-build_line_anchor">#build_line_anchor</a>
+    
+    <li><a href="#method-i-each_diff_line">#each_diff_line</a>
+    
+    <li><a href="#method-i-identification_type">#identification_type</a>
+    
+    <li><a href="#method-i-image_diff_class">#image_diff_class</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module CommitsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-build_line_anchor" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">build_line_anchor</span><span
+            class="method-args">(index, line_new, line_old)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="build_line_anchor-source">
+            <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">build_line_anchor</span>(<span class="ruby-identifier">index</span>, <span class="ruby-identifier">line_new</span>, <span class="ruby-identifier">line_old</span>)
+  <span class="ruby-node">&quot;#{index}_#{line_old}_#{line_new}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- build_line_anchor-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- build_line_anchor-method -->
+
+    
+      <div id="method-i-each_diff_line" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">each_diff_line</span><span
+            class="method-args">(diff_arr, index) { |full_line, type, nil, nil, nil| ... }</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="each_diff_line-source">
+            <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">each_diff_line</span>(<span class="ruby-identifier">diff_arr</span>, <span class="ruby-identifier">index</span>)
+  <span class="ruby-identifier">line_old</span> = <span class="ruby-value">1</span>
+  <span class="ruby-identifier">line_new</span> = <span class="ruby-value">1</span>
+  <span class="ruby-identifier">type</span> = <span class="ruby-keyword">nil</span>
+
+  <span class="ruby-identifier">lines_arr</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">InlineDiff</span>.<span class="ruby-identifier">processing</span> <span class="ruby-identifier">diff_arr</span>
+  <span class="ruby-identifier">lines_arr</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^\-\-\- \/dev\/null/</span>)
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^\+\+\+ \/dev\/null/</span>)
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^\-\-\- a/</span>)
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^\+\+\+ b/</span>)
+
+    <span class="ruby-identifier">full_line</span> = <span class="ruby-identifier">html_escape</span>(<span class="ruby-identifier">line</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\n/</span>, <span class="ruby-string">''</span>))
+    <span class="ruby-identifier">full_line</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">InlineDiff</span>.<span class="ruby-identifier">replace_markers</span> <span class="ruby-identifier">full_line</span>
+
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^@@ -/</span>)
+      <span class="ruby-identifier">type</span> = <span class="ruby-string">&quot;match&quot;</span>
+
+      <span class="ruby-identifier">line_old</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r\-[0-9]*/</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">abs</span> <span class="ruby-keyword">rescue</span> <span class="ruby-value">0</span>
+      <span class="ruby-identifier">line_new</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r\+[0-9]*/</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">abs</span> <span class="ruby-keyword">rescue</span> <span class="ruby-value">0</span>
+
+      <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">line_old</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">line_new</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-comment">#top of file</span>
+      <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">full_line</span>, <span class="ruby-identifier">type</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-keyword">nil</span>)
+      <span class="ruby-keyword">next</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">type</span> = <span class="ruby-identifier">identification_type</span>(<span class="ruby-identifier">line</span>)
+      <span class="ruby-identifier">line_code</span> = <span class="ruby-identifier">build_line_anchor</span>(<span class="ruby-identifier">index</span>, <span class="ruby-identifier">line_new</span>, <span class="ruby-identifier">line_old</span>)
+      <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">full_line</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">line_code</span>, <span class="ruby-identifier">line_new</span>, <span class="ruby-identifier">line_old</span>)
+    <span class="ruby-keyword">end</span>
+
+
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;+&quot;</span>
+      <span class="ruby-identifier">line_new</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+    <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">line</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;-&quot;</span>
+      <span class="ruby-identifier">line_old</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">line_new</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+      <span class="ruby-identifier">line_old</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- each_diff_line-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- each_diff_line-method -->
+
+    
+      <div id="method-i-identification_type" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">identification_type</span><span
+            class="method-args">(line)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="identification_type-source">
+            <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">identification_type</span>(<span class="ruby-identifier">line</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;+&quot;</span>
+    <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">line</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;-&quot;</span>
+    <span class="ruby-string">&quot;old&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">nil</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- identification_type-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- identification_type-method -->
+
+    
+      <div id="method-i-image_diff_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">image_diff_class</span><span
+            class="method-args">(diff)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="image_diff_class-source">
+            <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">image_diff_class</span>(<span class="ruby-identifier">diff</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">diff</span>.<span class="ruby-identifier">deleted_file</span>
+    <span class="ruby-string">&quot;diff_image_removed&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">diff</span>.<span class="ruby-identifier">new_file</span>
+    <span class="ruby-string">&quot;diff_image_added&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">nil</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- image_diff_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- image_diff_class-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/CompareController.html b/doc/app/CompareController.html
new file mode 100644
index 0000000000000000000000000000000000000000..177e22d25206ee1ac3dbff87b239d37ed00e1880
--- /dev/null
+++ b/doc/app/CompareController.html
@@ -0,0 +1,556 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class CompareController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/compare_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class CompareController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_compare_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-identifier">params</span>[<span class="ruby-value">:from</span>], <span class="ruby-identifier">params</span>[<span class="ruby-value">:to</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-identifier">result</span> = <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">compare</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">params</span>[<span class="ruby-value">:from</span>], <span class="ruby-identifier">params</span>[<span class="ruby-value">:to</span>])
+
+  <span class="ruby-ivar">@commits</span>       = <span class="ruby-identifier">result</span>[<span class="ruby-value">:commits</span>]
+  <span class="ruby-ivar">@commit</span>        = <span class="ruby-identifier">result</span>[<span class="ruby-value">:commit</span>]
+  <span class="ruby-ivar">@diffs</span>         = <span class="ruby-identifier">result</span>[<span class="ruby-value">:diffs</span>]
+  <span class="ruby-ivar">@refs_are_same</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:same</span>]
+  <span class="ruby-ivar">@line_notes</span>    = []
+
+  <span class="ruby-ivar">@commits</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commits</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/DashboardController.html b/doc/app/DashboardController.html
new file mode 100644
index 0000000000000000000000000000000000000000..e3f4d1b49b27b0a1859216037c96f78733a735ed
--- /dev/null
+++ b/doc/app/DashboardController.html
@@ -0,0 +1,569 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class DashboardController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/dashboard_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-issues">#issues</a>
+    
+    <li><a href="#method-i-merge_requests">#merge_requests</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class DashboardController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@groups</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">pluck</span>(<span class="ruby-value">:group_id</span>))
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects_with_events</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">30</span>)
+
+  <span class="ruby-ivar">@events</span> = <span class="ruby-constant">Event</span>.<span class="ruby-identifier">in_projects</span>(<span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>).<span class="ruby-identifier">offset</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:offset</span>] <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
+  <span class="ruby-ivar">@last_push</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">recent_push</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-issues" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issues</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Get only assigned issues</p>
+          
+
+          
+          <div class="method-source-code" id="issues-source">
+            <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issues</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">all</span>
+  <span class="ruby-ivar">@user</span>   = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">assigned_issues</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:author</span>, <span class="ruby-value">:project</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issues-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issues-method -->
+
+    
+      <div id="method-i-merge_requests" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_requests</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Get authored or assigned open merge requests</p>
+          
+
+          
+          <div class="method-source-code" id="merge_requests-source">
+            <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_requests</span>
+  <span class="ruby-ivar">@projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">all</span>
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">cared_merge_requests</span>.<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_requests-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_requests-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/DeployKeysController.html b/doc/app/DeployKeysController.html
new file mode 100644
index 0000000000000000000000000000000000000000..318a1441a672f41a111e501ab8439cddfc72f26d
--- /dev/null
+++ b/doc/app/DeployKeysController.html
@@ -0,0 +1,626 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class DeployKeysController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/deploy_keys_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class DeployKeysController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/deploy_keys_controller.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:key</span>])
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@key</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_deploy_keys_path</span>(<span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/deploy_keys_controller.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@key</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_deploy_keys_url</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/deploy_keys_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@keys</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/deploy_keys_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">new</span>
+
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@key</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/deploy_keys_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">deploy_keys</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ErrorsController.html b/doc/app/ErrorsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..e77a67d78805942eed486cd26371e714ccc548f6
--- /dev/null
+++ b/doc/app/ErrorsController.html
@@ -0,0 +1,485 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ErrorsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/errors_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-githost">#githost</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ErrorsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-githost" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">githost</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="githost-source">
+            <pre><span class="ruby-comment"># File app/controllers/errors_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">githost</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;errors/gitolite&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- githost-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- githost-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Event.html b/doc/app/Event.html
new file mode 100644
index 0000000000000000000000000000000000000000..1347cda316df39bed63c8ae656fe6e478cb1f2d1
--- /dev/null
+++ b/doc/app/Event.html
@@ -0,0 +1,1222 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Event - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/event.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="PushEvent.html">PushEvent</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-determine_action">::determine_action</a>
+    
+    <li><a href="#method-i-action_name">#action_name</a>
+    
+    <li><a href="#method-i-allowed-3F">#allowed?</a>
+    
+    <li><a href="#method-i-author">#author</a>
+    
+    <li><a href="#method-i-changed_issue-3F">#changed_issue?</a>
+    
+    <li><a href="#method-i-changed_merge_request-3F">#changed_merge_request?</a>
+    
+    <li><a href="#method-i-closed-3F">#closed?</a>
+    
+    <li><a href="#method-i-issue">#issue</a>
+    
+    <li><a href="#method-i-issue-3F">#issue?</a>
+    
+    <li><a href="#method-i-joined-3F">#joined?</a>
+    
+    <li><a href="#method-i-left-3F">#left?</a>
+    
+    <li><a href="#method-i-membership_changed-3F">#membership_changed?</a>
+    
+    <li><a href="#method-i-merge_request">#merge_request</a>
+    
+    <li><a href="#method-i-merge_request-3F">#merge_request?</a>
+    
+    <li><a href="#method-i-merged-3F">#merged?</a>
+    
+    <li><a href="#method-i-new_issue-3F">#new_issue?</a>
+    
+    <li><a href="#method-i-new_merge_request-3F">#new_merge_request?</a>
+    
+    <li><a href="#method-i-project_name">#project_name</a>
+    
+    <li><a href="#method-i-push-3F">#push?</a>
+    
+    <li><a href="#method-i-reopened-3F">#reopened?</a>
+    
+    <li><a href="#method-i-target_title">#target_title</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Event</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="Closed">Closed
+        
+        <dd class="description">
+        
+      
+        <dt id="Commented">Commented
+        
+        <dd class="description">
+        
+      
+        <dt id="Created">Created
+        
+        <dd class="description">
+        
+      
+        <dt id="Joined">Joined
+        
+        <dd class="description">
+        
+      
+        <dt id="Left">Left
+        
+        <dd class="description">
+        
+      
+        <dt id="Merged">Merged
+        
+        <dd class="description">
+        
+      
+        <dt id="Pushed">Pushed
+        
+        <dd class="description">
+        
+      
+        <dt id="Reopened">Reopened
+        
+        <dd class="description">
+        
+      
+        <dt id="Updated">Updated
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-determine_action" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">determine_action</span><span
+            class="method-args">(record)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="determine_action-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">determine_action</span>(<span class="ruby-identifier">record</span>)
+  <span class="ruby-keyword">if</span> [<span class="ruby-constant">Issue</span>, <span class="ruby-constant">MergeRequest</span>].<span class="ruby-identifier">include?</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">class</span>
+    <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Created</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Note</span>
+    <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Commented</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- determine_action-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- determine_action-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-action_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">action_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="action_name-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 133</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">action_name</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">closed?</span>
+    <span class="ruby-string">&quot;closed&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">merged?</span>
+    <span class="ruby-string">&quot;merged&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">joined?</span>
+    <span class="ruby-string">'joined'</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">left?</span>
+    <span class="ruby-string">'left'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;opened&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- action_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- action_name-method -->
+
+    
+      <div id="method-i-allowed-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">allowed?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Next events currently enabled for system</p>
+
+<pre>- push
+- new issue
+- merge request</pre>
+          
+
+          
+          <div class="method-source-code" id="allowed-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed?</span>
+  <span class="ruby-identifier">push?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">issue?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">merge_request?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">membership_changed?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- allowed-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- allowed-3F-method -->
+
+    
+      <div id="method-i-author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">author</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="author-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">author</span>
+  <span class="ruby-ivar">@author</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">author_id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- author-method -->
+
+    
+      <div id="method-i-changed_issue-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">changed_issue?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="changed_issue-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">changed_issue?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Issue&quot;</span> <span class="ruby-operator">&amp;&amp;</span>
+    [<span class="ruby-constant">Closed</span>, <span class="ruby-constant">Reopened</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">action</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- changed_issue-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- changed_issue-3F-method -->
+
+    
+      <div id="method-i-changed_merge_request-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">changed_merge_request?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="changed_merge_request-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">changed_merge_request?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;MergeRequest&quot;</span> <span class="ruby-operator">&amp;&amp;</span>
+    [<span class="ruby-constant">Closed</span>, <span class="ruby-constant">Reopened</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">action</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- changed_merge_request-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- changed_merge_request-3F-method -->
+
+    
+      <div id="method-i-closed-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">closed?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="closed-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">closed?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">Closed</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- closed-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- closed-3F-method -->
+
+    
+      <div id="method-i-issue" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue</span>
+  <span class="ruby-identifier">target</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Issue&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue-method -->
+
+    
+      <div id="method-i-issue-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Issue&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue-3F-method -->
+
+    
+      <div id="method-i-joined-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">joined?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="joined-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 109</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">joined?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Joined</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- joined-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- joined-3F-method -->
+
+    
+      <div id="method-i-left-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">left?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="left-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 113</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">left?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Left</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- left-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- left-3F-method -->
+
+    
+      <div id="method-i-membership_changed-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">membership_changed?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="membership_changed-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 117</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">membership_changed?</span>
+  <span class="ruby-identifier">joined?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">left?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- membership_changed-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- membership_changed-3F-method -->
+
+    
+      <div id="method-i-merge_request" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_request</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merge_request-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 125</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_request</span>
+  <span class="ruby-identifier">target</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;MergeRequest&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_request-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_request-method -->
+
+    
+      <div id="method-i-merge_request-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_request?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merge_request-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_request?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;MergeRequest&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_request-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_request-3F-method -->
+
+    
+      <div id="method-i-merged-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merged?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merged-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merged?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">Merged</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merged-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merged-3F-method -->
+
+    
+      <div id="method-i-new_issue-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_issue?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_issue-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_issue?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Issue&quot;</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Created</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_issue-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_issue-3F-method -->
+
+    
+      <div id="method-i-new_merge_request-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_merge_request?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_merge_request-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_merge_request?</span>
+  <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;MergeRequest&quot;</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Created</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_merge_request-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_merge_request-3F-method -->
+
+    
+      <div id="method-i-project_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_name-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_name</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;(deleted project)&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_name-method -->
+
+    
+      <div id="method-i-push-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">push?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="push-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">push?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">Pushed</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">valid_push?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- push-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- push-3F-method -->
+
+    
+      <div id="method-i-reopened-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reopened?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reopened-3F-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reopened?</span>
+  <span class="ruby-identifier">action</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">Reopened</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reopened-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reopened-3F-method -->
+
+    
+      <div id="method-i-target_title" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">target_title</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="target_title-source">
+            <pre><span class="ruby-comment"># File app/models/event.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">target_title</span>
+  <span class="ruby-identifier">target</span>.<span class="ruby-identifier">try</span> <span class="ruby-value">:title</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- target_title-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- target_title-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/EventDecorator.html b/doc/app/EventDecorator.html
new file mode 100644
index 0000000000000000000000000000000000000000..dddb98a61474b63fcccfa270f601c4c1d9592141
--- /dev/null
+++ b/doc/app/EventDecorator.html
@@ -0,0 +1,578 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class EventDecorator - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/decorators/event_decorator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationDecorator.html">ApplicationDecorator</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-feed_summary">#feed_summary</a>
+    
+    <li><a href="#method-i-feed_title">#feed_title</a>
+    
+    <li><a href="#method-i-feed_url">#feed_url</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class EventDecorator</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-feed_summary" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">feed_summary</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="feed_summary-source">
+            <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">feed_summary</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issue?</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">render</span> <span class="ruby-string">&quot;events/event_issue&quot;</span>, <span class="ruby-identifier">issue</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issue</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">push?</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">render</span> <span class="ruby-string">&quot;events/event_push&quot;</span>, <span class="ruby-identifier">event</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- feed_summary-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- feed_summary-method -->
+
+    
+      <div id="method-i-feed_title" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">feed_title</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="feed_title-source">
+            <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">feed_title</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issue?</span>
+    <span class="ruby-node">&quot;#{self.author_name} #{self.action_name} issue ##{self.target_id}: #{self.issue_title} at #{self.project.name}&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_request?</span>
+    <span class="ruby-node">&quot;#{self.author_name} #{self.action_name} MR ##{self.target_id}: #{self.merge_request_title} at #{self.project.name}&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">push?</span>
+    <span class="ruby-node">&quot;#{self.author_name} #{self.push_action_name} #{self.ref_type} #{self.ref_name} at #{self.project.name}&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">membership_changed?</span>
+    <span class="ruby-node">&quot;#{self.author_name} #{self.action_name} #{self.project.name}&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- feed_title-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- feed_title-method -->
+
+    
+      <div id="method-i-feed_url" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">feed_url</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="feed_url-source">
+            <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">feed_url</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issue?</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_issue_url</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issue</span>)
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_request?</span>
+    <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_merge_request_url</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_request</span>)
+
+  <span class="ruby-keyword">elsif</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">push?</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">push_with_commits?</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">commits_count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">1</span>
+        <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_compare_url</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>, <span class="ruby-value">:from</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parent_commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-value">:to</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">id</span>)
+      <span class="ruby-keyword">else</span>
+        <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_commit_url</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>, <span class="ruby-value">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">id</span>)
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_commits_url</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">ref_name</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- feed_url-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- feed_url-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/EventsHelper.html b/doc/app/EventsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..4f7c0454901bbed836ef83de47464440e9571749
--- /dev/null
+++ b/doc/app/EventsHelper.html
@@ -0,0 +1,566 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module EventsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/events_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-event_action_name">#event_action_name</a>
+    
+    <li><a href="#method-i-event_image">#event_image</a>
+    
+    <li><a href="#method-i-link_to_author">#link_to_author</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module EventsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-event_action_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">event_action_name</span><span
+            class="method-args">(event)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="event_action_name-source">
+            <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">event_action_name</span>(<span class="ruby-identifier">event</span>)
+  <span class="ruby-identifier">target</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">target_type</span>
+             <span class="ruby-identifier">event</span>.<span class="ruby-identifier">target_type</span>.<span class="ruby-identifier">titleize</span>.<span class="ruby-identifier">downcase</span>
+           <span class="ruby-keyword">else</span>
+             <span class="ruby-string">'project'</span>
+           <span class="ruby-keyword">end</span>
+
+  [<span class="ruby-identifier">event</span>.<span class="ruby-identifier">action_name</span>, <span class="ruby-identifier">target</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot; &quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- event_action_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- event_action_name-method -->
+
+    
+      <div id="method-i-event_image" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">event_image</span><span
+            class="method-args">(event)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="event_image-source">
+            <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">event_image</span> <span class="ruby-identifier">event</span>
+  <span class="ruby-identifier">event_image_path</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">push?</span>
+                 <span class="ruby-string">&quot;event_push.png&quot;</span>
+               <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">merged?</span>
+                 <span class="ruby-string">&quot;event_mr_merged.png&quot;</span>
+               <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">event_image_path</span>
+
+  <span class="ruby-identifier">content_tag</span> <span class="ruby-value">:div</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'event_icon'</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">image_tag</span> <span class="ruby-identifier">event_image_path</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- event_image-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- event_image-method -->
+
+    
+      <div id="method-i-link_to_author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_author</span><span
+            class="method-args">(event)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_author-source">
+            <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_author</span>(<span class="ruby-identifier">event</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-identifier">event</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">tm</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">event</span>.<span class="ruby-identifier">author_id</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+    <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">author_name</span>, <span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">tm</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">event</span>.<span class="ruby-identifier">author_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_author-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ExtractsPath.html b/doc/app/ExtractsPath.html
new file mode 100644
index 0000000000000000000000000000000000000000..e382530745c2e2c08bc54435327cc82ecc71db3b
--- /dev/null
+++ b/doc/app/ExtractsPath.html
@@ -0,0 +1,614 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module ExtractsPath - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/extracts_path.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-assign_ref_vars">#assign_ref_vars</a>
+    
+    <li><a href="#method-i-extract_ref">#extract_ref</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module ExtractsPath</h1>
+
+  <div id="description" class="description">
+    
+<p>Module providing methods for dealing with separating a tree-ish string and
+a file path string when combined in a request parameter</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-assign_ref_vars" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">assign_ref_vars</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Assigns common instance variables for views working with Git tree-ish
+objects</p>
+
+<p>Assignments are:</p>
+<ul><li>
+<p>@id     - A string representing the joined ref and path</p>
+</li><li>
+<p>@ref    - A string representing the ref (e.g., the branch, tag, or commit
+SHA)</p>
+</li><li>
+<p>@path   - A string representing the filesystem path</p>
+</li><li>
+<p>@commit - A <a href="CommitDecorator.html">CommitDecorator</a> representing
+the commit from the given ref</p>
+</li><li>
+<p>@tree   - A <a href="TreeDecorator.html">TreeDecorator</a> representing the
+tree at the given ref/path</p>
+</li></ul>
+
+<p>If the :id parameter appears to be requesting a specific response format,
+that will be handled as well.</p>
+
+<p>Automatically renders `not_found!` if a valid tree path could not be
+resolved (e.g., when a user inserts an invalid path or ref).</p>
+          
+
+          
+          <div class="method-source-code" id="assign_ref_vars-source">
+            <pre><span class="ruby-comment"># File lib/extracts_path.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">assign_ref_vars</span>
+  <span class="ruby-comment"># Handle formats embedded in the id</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>].<span class="ruby-identifier">ends_with?</span>(<span class="ruby-string">'.atom'</span>)
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>].<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r\.atom$/</span>, <span class="ruby-string">''</span>)
+    <span class="ruby-identifier">request</span>.<span class="ruby-identifier">format</span> = <span class="ruby-value">:atom</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span> = <span class="ruby-identifier">extract_ref</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+  <span class="ruby-ivar">@id</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span>)
+
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-ivar">@ref</span>))
+
+  <span class="ruby-ivar">@tree</span> = <span class="ruby-constant">Tree</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">tree</span>, <span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span>)
+  <span class="ruby-ivar">@tree</span> = <span class="ruby-constant">TreeDecorator</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@tree</span>)
+
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">InvalidPathError</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">invalid?</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">NoMethodError</span>, <span class="ruby-constant">InvalidPathError</span>
+  <span class="ruby-identifier">not_found!</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- assign_ref_vars-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- assign_ref_vars-method -->
+
+    
+      <div id="method-i-extract_ref" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">extract_ref</span><span
+            class="method-args">(input)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Given a string containing both a Git tree-ish, such as a branch or tag, and
+a filesystem path joined by forward slashes, attempts to separate the two.</p>
+
+<p>Expects a @project instance variable to contain the active project. This is
+used to check the input against a list of valid repository refs.</p>
+
+<p>Examples</p>
+
+<pre class="ruby"><span class="ruby-comment"># No @project available</span>
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">'master'</span>)
+<span class="ruby-comment"># =&gt; ['', '']</span>
+
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">'master'</span>)
+<span class="ruby-comment"># =&gt; ['master', '']</span>
+
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">&quot;f4b14494ef6abf3d144c28e4af0c20143383e062/CHANGELOG&quot;</span>)
+<span class="ruby-comment"># =&gt; ['f4b14494ef6abf3d144c28e4af0c20143383e062', 'CHANGELOG']</span>
+
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">&quot;v2.0.0/README.md&quot;</span>)
+<span class="ruby-comment"># =&gt; ['v2.0.0', 'README.md']</span>
+
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">'issues/1234/app/models/project.rb'</span>)
+<span class="ruby-comment"># =&gt; ['issues/1234', 'app/models/project.rb']</span>
+
+<span class="ruby-comment"># Given an invalid branch, we fall back to just splitting on the first slash</span>
+<span class="ruby-identifier">extract_ref</span>(<span class="ruby-string">'non/existent/branch/README.md'</span>)
+<span class="ruby-comment"># =&gt; ['non', 'existent/branch/README.md']</span>
+</pre>
+
+<p>Returns an Array where the first value is the tree-ish and the second is
+the path</p>
+          
+
+          
+          <div class="method-source-code" id="extract_ref-source">
+            <pre><span class="ruby-comment"># File lib/extracts_path.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">extract_ref</span>(<span class="ruby-identifier">input</span>)
+  <span class="ruby-identifier">pair</span> = [<span class="ruby-string">''</span>, <span class="ruby-string">''</span>]
+
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">pair</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^([[:alnum:]]{40})(.+)/</span>)
+    <span class="ruby-comment"># If the ref appears to be a SHA, we're done, just split the string</span>
+    <span class="ruby-identifier">pair</span> = <span class="ruby-identifier">$~</span>.<span class="ruby-identifier">captures</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-comment"># Otherwise, attempt to detect the ref using a list of the project's</span>
+    <span class="ruby-comment"># branches and tags</span>
+
+    <span class="ruby-comment"># Append a trailing slash if we only get a ref and no file path</span>
+    <span class="ruby-identifier">id</span> = <span class="ruby-identifier">input</span>
+    <span class="ruby-identifier">id</span> <span class="ruby-operator">+=</span> <span class="ruby-string">'/'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">id</span>.<span class="ruby-identifier">ends_with?</span>(<span class="ruby-string">'/'</span>)
+
+    <span class="ruby-identifier">valid_refs</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">ref_names</span>
+    <span class="ruby-identifier">valid_refs</span>.<span class="ruby-identifier">select!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">id</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-node">&quot;#{v}/&quot;</span>) }
+
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">valid_refs</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">!=</span> <span class="ruby-value">1</span>
+      <span class="ruby-comment"># No exact ref match, so just try our best</span>
+      <span class="ruby-identifier">pair</span> = <span class="ruby-identifier">id</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r([^\/]+)(.*)/</span>).<span class="ruby-identifier">captures</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-comment"># Partition the string into the ref and the path, ignoring the empty first value</span>
+      <span class="ruby-identifier">pair</span> = <span class="ruby-identifier">id</span>.<span class="ruby-identifier">partition</span>(<span class="ruby-identifier">valid_refs</span>.<span class="ruby-identifier">first</span>)[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># Remove ending slashes from path</span>
+  <span class="ruby-identifier">pair</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r^\/|\/$/</span>, <span class="ruby-string">''</span>)
+
+  <span class="ruby-identifier">pair</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- extract_ref-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- extract_ref-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ExtractsPath/InvalidPathError.html b/doc/app/ExtractsPath/InvalidPathError.html
new file mode 100644
index 0000000000000000000000000000000000000000..3c8c60fc91e4497ad5c240fb9663ce5bdf994f77
--- /dev/null
+++ b/doc/app/ExtractsPath/InvalidPathError.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ExtractsPath::InvalidPathError - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/extracts_path.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">StandardError
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ExtractsPath::InvalidPathError</h1>
+
+  <div id="description" class="description">
+    
+<p>Raised when given an invalid file path</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/FileSizeValidator.html b/doc/app/FileSizeValidator.html
new file mode 100644
index 0000000000000000000000000000000000000000..5acdf291b09e142bcbae9d3041265ae509cd79ef
--- /dev/null
+++ b/doc/app/FileSizeValidator.html
@@ -0,0 +1,652 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class FileSizeValidator - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/file_size_validator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveModel::EachValidator
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-check_validity-21">#check_validity!</a>
+    
+    <li><a href="#method-i-help">#help</a>
+    
+    <li><a href="#method-i-validate_each">#validate_each</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class FileSizeValidator</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="CHECKS">CHECKS
+        
+        <dd class="description">
+        
+      
+        <dt id="DEFAULT_TOKENIZER">DEFAULT_TOKENIZER
+        
+        <dd class="description">
+        
+      
+        <dt id="MESSAGES">MESSAGES
+        
+        <dd class="description">
+        
+      
+        <dt id="RESERVED_OPTIONS">RESERVED_OPTIONS
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(options)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">range</span> = (<span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:in</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:within</span>))
+    <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">&quot;:in and :within must be a Range&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Range</span>)
+    <span class="ruby-identifier">options</span>[<span class="ruby-value">:minimum</span>], <span class="ruby-identifier">options</span>[<span class="ruby-value">:maximum</span>] = <span class="ruby-identifier">range</span>.<span class="ruby-identifier">begin</span>, <span class="ruby-identifier">range</span>.<span class="ruby-identifier">end</span>
+    <span class="ruby-identifier">options</span>[<span class="ruby-value">:maximum</span>] <span class="ruby-operator">-=</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">range</span>.<span class="ruby-identifier">exclude_end?</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">super</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-check_validity-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">check_validity!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="check_validity-21-source">
+            <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">check_validity!</span>
+  <span class="ruby-identifier">keys</span> = <span class="ruby-constant">CHECKS</span>.<span class="ruby-identifier">keys</span> &amp; <span class="ruby-identifier">options</span>.<span class="ruby-identifier">keys</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">empty?</span>
+    <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">'Range unspecified. Specify the :within, :maximum, :minimum, or :is option.'</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">value</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">key</span>]
+
+    <span class="ruby-keyword">unless</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Integer</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-value">0</span>
+      <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">&quot;:#{key} must be a nonnegative Integer&quot;</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- check_validity-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- check_validity-21-method -->
+
+    
+      <div id="method-i-help" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">help</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="help-source">
+            <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">help</span>
+  <span class="ruby-constant">Helper</span>.<span class="ruby-identifier">instance</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- help-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- help-method -->
+
+    
+      <div id="method-i-validate_each" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">validate_each</span><span
+            class="method-args">(record, attribute, value)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="validate_each-source">
+            <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_each</span>(<span class="ruby-identifier">record</span>, <span class="ruby-identifier">attribute</span>, <span class="ruby-identifier">value</span>)
+  <span class="ruby-identifier">raise</span>(<span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">&quot;A CarrierWave::Uploader::Base object was expected&quot;</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">CarrierWave</span><span class="ruby-operator">::</span><span class="ruby-constant">Uploader</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>
+
+  <span class="ruby-identifier">value</span> = (<span class="ruby-identifier">options</span>[<span class="ruby-value">:tokenizer</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">DEFAULT_TOKENIZER</span>).<span class="ruby-identifier">call</span>(<span class="ruby-identifier">value</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
+
+  <span class="ruby-constant">CHECKS</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">validity_check</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">check_value</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">key</span>]
+
+    <span class="ruby-identifier">value</span> <span class="ruby-operator">||=</span> [] <span class="ruby-keyword">if</span> <span class="ruby-identifier">key</span> <span class="ruby-operator">==</span> <span class="ruby-value">:maximum</span>
+
+    <span class="ruby-identifier">value_size</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">size</span>
+    <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">value_size</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">validity_check</span>, <span class="ruby-identifier">check_value</span>)
+
+    <span class="ruby-identifier">errors_options</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">except</span>(*<span class="ruby-constant">RESERVED_OPTIONS</span>)
+    <span class="ruby-identifier">errors_options</span>[<span class="ruby-value">:file_size</span>] = <span class="ruby-identifier">help</span>.<span class="ruby-identifier">number_to_human_size</span> <span class="ruby-identifier">check_value</span>
+
+    <span class="ruby-identifier">default_message</span> = <span class="ruby-identifier">options</span>[<span class="ruby-constant">MESSAGES</span>[<span class="ruby-identifier">key</span>]]
+    <span class="ruby-identifier">errors_options</span>[<span class="ruby-value">:message</span>] <span class="ruby-operator">||=</span> <span class="ruby-identifier">default_message</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">default_message</span>
+
+    <span class="ruby-identifier">record</span>.<span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">attribute</span>, <span class="ruby-constant">MESSAGES</span>[<span class="ruby-identifier">key</span>], <span class="ruby-identifier">errors_options</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- validate_each-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- validate_each-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/FileSizeValidator/Helper.html b/doc/app/FileSizeValidator/Helper.html
new file mode 100644
index 0000000000000000000000000000000000000000..4fd146c288705c8bb65266e003d47be8ca9b995a
--- /dev/null
+++ b/doc/app/FileSizeValidator/Helper.html
@@ -0,0 +1,455 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class FileSizeValidator::Helper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/file_size_validator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">Singleton</span>
+  
+  
+  
+    <li><span class="include">ActionView::Helpers::NumberHelper</span>
+  
+  
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class FileSizeValidator::Helper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/GitHost.html b/doc/app/GitHost.html
new file mode 100644
index 0000000000000000000000000000000000000000..3197a73f3e57a042f72487be56bc81a24acda40e
--- /dev/null
+++ b/doc/app/GitHost.html
@@ -0,0 +1,479 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module GitHost - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/git_host.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-git_host">#git_host</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module GitHost</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-git_host" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">git_host</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="git_host-source">
+            <pre><span class="ruby-comment"># File app/roles/git_host.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">git_host</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- git_host-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- git_host-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab.html b/doc/app/Gitlab.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e28a24bc3fe0e5a95c30ad30673bad4c235546a
--- /dev/null
+++ b/doc/app/Gitlab.html
@@ -0,0 +1,454 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Gitlab - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api.rb
+    <li>lib/gitlab/encode.rb
+    <li>lib/gitlab/graph_commit.rb
+    <li>lib/gitlab/theme.rb
+    <li>lib/gitlab/app_logger.rb
+    <li>lib/gitlab/inline_diff.rb
+    <li>lib/gitlab/merge.rb
+    <li>lib/gitlab/backend/gitolite.rb
+    <li>lib/gitlab/backend/gitolite_config.rb
+    <li>lib/gitlab/git_logger.rb
+    <li>lib/gitlab/markdown.rb
+    <li>lib/gitlab/file_editor.rb
+    <li>lib/gitlab/logger.rb
+    <li>lib/gitlab/satellite.rb
+    <li>lib/gitlab/auth.rb
+    <li>lib/api/issues.rb
+    <li>lib/api/projects.rb
+    <li>lib/api/helpers.rb
+    <li>lib/api/entities.rb
+    <li>lib/api/session.rb
+    <li>lib/api/users.rb
+    <li>lib/api/milestones.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Gitlab</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/API.html b/doc/app/Gitlab/API.html
new file mode 100644
index 0000000000000000000000000000000000000000..8fad1eecafcb8bfa04fdddfc52978b0618189770
--- /dev/null
+++ b/doc/app/Gitlab/API.html
@@ -0,0 +1,452 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::API - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::API</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="VERSION">VERSION
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/APIHelpers.html b/doc/app/Gitlab/APIHelpers.html
new file mode 100644
index 0000000000000000000000000000000000000000..47bf3fb193d3b757a1a3af10c3c7c88f029cdd61
--- /dev/null
+++ b/doc/app/Gitlab/APIHelpers.html
@@ -0,0 +1,846 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Gitlab::APIHelpers - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/helpers.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-attributes_for_keys">#attributes_for_keys</a>
+    
+    <li><a href="#method-i-authenticate-21">#authenticate!</a>
+    
+    <li><a href="#method-i-authenticated_as_admin-21">#authenticated_as_admin!</a>
+    
+    <li><a href="#method-i-authorize-21">#authorize!</a>
+    
+    <li><a href="#method-i-current_user">#current_user</a>
+    
+    <li><a href="#method-i-forbidden-21">#forbidden!</a>
+    
+    <li><a href="#method-i-not_allowed-21">#not_allowed!</a>
+    
+    <li><a href="#method-i-not_found-21">#not_found!</a>
+    
+    <li><a href="#method-i-paginate">#paginate</a>
+    
+    <li><a href="#method-i-render_api_error-21">#render_api_error!</a>
+    
+    <li><a href="#method-i-unauthorized-21">#unauthorized!</a>
+    
+    <li><a href="#method-i-user_project">#user_project</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Gitlab::APIHelpers</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-attributes_for_keys" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">attributes_for_keys</span><span
+            class="method-args">(keys)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="attributes_for_keys-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">attributes_for_keys</span>(<span class="ruby-identifier">keys</span>)
+  <span class="ruby-identifier">attrs</span> = {}
+  <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">attrs</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">key</span>] <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">key</span>].<span class="ruby-identifier">present?</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">attrs</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- attributes_for_keys-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- attributes_for_keys-method -->
+
+    
+      <div id="method-i-authenticate-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authenticate!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authenticate-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authenticate!</span>
+  <span class="ruby-identifier">unauthorized!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">current_user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authenticate-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authenticate-21-method -->
+
+    
+      <div id="method-i-authenticated_as_admin-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authenticated_as_admin!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authenticated_as_admin-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authenticated_as_admin!</span>
+  <span class="ruby-identifier">forbidden!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">is_admin?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authenticated_as_admin-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authenticated_as_admin-21-method -->
+
+    
+      <div id="method-i-authorize-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize!</span><span
+            class="method-args">(action, subject)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize!</span> <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>
+  <span class="ruby-keyword">unless</span> <span class="ruby-identifier">abilities</span>.<span class="ruby-identifier">allowed?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+    <span class="ruby-identifier">forbidden!</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize-21-method -->
+
+    
+      <div id="method-i-current_user" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">current_user</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="current_user-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">current_user</span>
+  <span class="ruby-ivar">@current_user</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_authentication_token</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:private_token</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">env</span>[<span class="ruby-string">&quot;HTTP_PRIVATE_TOKEN&quot;</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- current_user-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- current_user-method -->
+
+    
+      <div id="method-i-forbidden-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">forbidden!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>error helpers</p>
+          
+
+          
+          <div class="method-source-code" id="forbidden-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">forbidden!</span>
+  <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'403 Forbidden'</span>, <span class="ruby-value">403</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- forbidden-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- forbidden-21-method -->
+
+    
+      <div id="method-i-not_allowed-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">not_allowed!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="not_allowed-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">not_allowed!</span>
+  <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'Method Not Allowed'</span>, <span class="ruby-value">405</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- not_allowed-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- not_allowed-21-method -->
+
+    
+      <div id="method-i-not_found-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">not_found!</span><span
+            class="method-args">(resource = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="not_found-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">not_found!</span>(<span class="ruby-identifier">resource</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">message</span> = [<span class="ruby-string">&quot;404&quot;</span>]
+  <span class="ruby-identifier">message</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">resource</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">resource</span>
+  <span class="ruby-identifier">message</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot;Not Found&quot;</span>
+  <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-identifier">message</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">' '</span>), <span class="ruby-value">404</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- not_found-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- not_found-21-method -->
+
+    
+      <div id="method-i-paginate" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">paginate</span><span
+            class="method-args">(object)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="paginate-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">paginate</span>(<span class="ruby-identifier">object</span>)
+  <span class="ruby-identifier">object</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:per_page</span>].<span class="ruby-identifier">to_i</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- paginate-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- paginate-method -->
+
+    
+      <div id="method-i-render_api_error-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">render_api_error!</span><span
+            class="method-args">(message, status)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="render_api_error-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">status</span>)
+  <span class="ruby-identifier">error!</span>({<span class="ruby-string">'message'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">message</span>}, <span class="ruby-identifier">status</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- render_api_error-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- render_api_error-21-method -->
+
+    
+      <div id="method-i-unauthorized-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unauthorized!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unauthorized-21-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unauthorized!</span>
+  <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'401 Unauthorized'</span>, <span class="ruby-value">401</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unauthorized-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unauthorized-21-method -->
+
+    
+      <div id="method-i-user_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">user_project</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="user_project-source">
+            <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">user_project</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">find_by_id</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]) <span class="ruby-operator">||</span>
+                  <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">find_by_code</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">not_found!</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@project</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- user_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- user_project-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/AppLogger.html b/doc/app/Gitlab/AppLogger.html
new file mode 100644
index 0000000000000000000000000000000000000000..e3a352af70f8d6b3c2880adecd7c75d987dd28c7
--- /dev/null
+++ b/doc/app/Gitlab/AppLogger.html
@@ -0,0 +1,523 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::AppLogger - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/app_logger.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="Logger.html">Gitlab::Logger</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-file_name">::file_name</a>
+    
+    <li><a href="#method-i-format_message">#format_message</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::AppLogger</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-file_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">file_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="file_name-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/app_logger.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">file_name</span>
+  <span class="ruby-string">'application.log'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- file_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- file_name-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-format_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">format_message</span><span
+            class="method-args">(severity, timestamp, progname, msg)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="format_message-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/app_logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">format_message</span>(<span class="ruby-identifier">severity</span>, <span class="ruby-identifier">timestamp</span>, <span class="ruby-identifier">progname</span>, <span class="ruby-identifier">msg</span>)
+  <span class="ruby-node">&quot;#{timestamp.to_s(:long)}: #{msg}\n&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- format_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- format_message-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Auth.html b/doc/app/Gitlab/Auth.html
new file mode 100644
index 0000000000000000000000000000000000000000..ac4fd556a79e38b62e84460a3c76f58907518a9f
--- /dev/null
+++ b/doc/app/Gitlab/Auth.html
@@ -0,0 +1,630 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Auth - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/auth.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create_from_omniauth">#create_from_omniauth</a>
+    
+    <li><a href="#method-i-find_for_ldap_auth">#find_for_ldap_auth</a>
+    
+    <li><a href="#method-i-find_or_new_for_omniauth">#find_or_new_for_omniauth</a>
+    
+    <li><a href="#method-i-log">#log</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Auth</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create_from_omniauth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create_from_omniauth</span><span
+            class="method-args">(auth, ldap = false)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create_from_omniauth-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_from_omniauth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">ldap</span> = <span class="ruby-keyword">false</span>)
+  <span class="ruby-identifier">provider</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">provider</span>
+  <span class="ruby-identifier">uid</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">uid</span>
+  <span class="ruby-identifier">name</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">&quot;utf-8&quot;</span>)
+  <span class="ruby-identifier">email</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">nil?</span>
+
+  <span class="ruby-identifier">ldap_prefix</span> = <span class="ruby-identifier">ldap</span> <span class="ruby-operator">?</span> <span class="ruby-string">'(LDAP) '</span> <span class="ruby-operator">:</span> <span class="ruby-string">''</span>
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">OmniAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>, <span class="ruby-node">&quot;#{ldap_prefix}#{provider} does not provide an email&quot;</span>         <span class="ruby-string">&quot; address&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-identifier">log</span>.<span class="ruby-identifier">info</span> <span class="ruby-node">&quot;#{ldap_prefix}Creating user from #{provider} login&quot;</span>         <span class="ruby-node">&quot; {uid =&gt; #{uid}, name =&gt; #{name}, email =&gt; #{email}}&quot;</span>
+  <span class="ruby-identifier">password</span> = <span class="ruby-constant">Devise</span>.<span class="ruby-identifier">friendly_token</span>[<span class="ruby-value">0</span>, <span class="ruby-value">8</span>].<span class="ruby-identifier">downcase</span>
+  <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">new</span>({
+    <span class="ruby-identifier">extern_uid</span><span class="ruby-operator">:</span> <span class="ruby-identifier">uid</span>,
+    <span class="ruby-identifier">provider</span><span class="ruby-operator">:</span> <span class="ruby-identifier">provider</span>,
+    <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">name</span>,
+    <span class="ruby-identifier">email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">email</span>,
+    <span class="ruby-identifier">password</span><span class="ruby-operator">:</span> <span class="ruby-identifier">password</span>,
+    <span class="ruby-identifier">password_confirmation</span><span class="ruby-operator">:</span> <span class="ruby-identifier">password</span>,
+    <span class="ruby-identifier">projects_limit</span><span class="ruby-operator">:</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">default_projects_limit</span>,
+  }, <span class="ruby-identifier">as</span><span class="ruby-operator">:</span> <span class="ruby-value">:admin</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">omniauth</span>[<span class="ruby-string">'block_auto_created_users'</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">ldap</span>
+    <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">blocked</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">save!</span>
+  <span class="ruby-ivar">@user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create_from_omniauth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create_from_omniauth-method -->
+
+    
+      <div id="method-i-find_for_ldap_auth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_for_ldap_auth</span><span
+            class="method-args">(auth, signed_in_resource = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_for_ldap_auth-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_for_ldap_auth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">signed_in_resource</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">uid</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">uid</span>
+  <span class="ruby-identifier">provider</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">provider</span>
+  <span class="ruby-identifier">email</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">nil?</span>
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">OmniAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>, <span class="ruby-string">&quot;LDAP accounts must provide an uid and email address&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">uid</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">email</span>.<span class="ruby-identifier">nil?</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_extern_uid_and_provider</span>(<span class="ruby-identifier">uid</span>, <span class="ruby-identifier">provider</span>)
+    <span class="ruby-ivar">@user</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_email</span>(<span class="ruby-identifier">email</span>)
+    <span class="ruby-identifier">log</span>.<span class="ruby-identifier">info</span> <span class="ruby-node">&quot;Updating legacy LDAP user #{email} with extern_uid =&gt; #{uid}&quot;</span>
+    <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-value">:extern_uid</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">uid</span>, <span class="ruby-value">:provider</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">provider</span>)
+    <span class="ruby-ivar">@user</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">create_from_omniauth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-keyword">true</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_for_ldap_auth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_for_ldap_auth-method -->
+
+    
+      <div id="method-i-find_or_new_for_omniauth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_or_new_for_omniauth</span><span
+            class="method-args">(auth)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_or_new_for_omniauth-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_or_new_for_omniauth</span>(<span class="ruby-identifier">auth</span>)
+  <span class="ruby-identifier">provider</span>, <span class="ruby-identifier">uid</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">uid</span>
+  <span class="ruby-identifier">email</span> = <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">auth</span>.<span class="ruby-identifier">info</span>.<span class="ruby-identifier">email</span>.<span class="ruby-identifier">nil?</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_provider_and_extern_uid</span>(<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">uid</span>)
+    <span class="ruby-ivar">@user</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_email</span>(<span class="ruby-identifier">email</span>)
+    <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-value">:extern_uid</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">uid</span>, <span class="ruby-value">:provider</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">provider</span>)
+    <span class="ruby-ivar">@user</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">omniauth</span>[<span class="ruby-string">'allow_single_sign_on'</span>]
+      <span class="ruby-ivar">@user</span> = <span class="ruby-identifier">create_from_omniauth</span>(<span class="ruby-identifier">auth</span>)
+      <span class="ruby-ivar">@user</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_or_new_for_omniauth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_or_new_for_omniauth-method -->
+
+    
+      <div id="method-i-log" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">log</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="log-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">log</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">AppLogger</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- log-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- log-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Encode.html b/doc/app/Gitlab/Encode.html
new file mode 100644
index 0000000000000000000000000000000000000000..387e0db22e0496272fb140b4e6bfcad6ed14d48b
--- /dev/null
+++ b/doc/app/Gitlab/Encode.html
@@ -0,0 +1,537 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Gitlab::Encode - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/encode.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-detect_encoding">#detect_encoding</a>
+    
+    <li><a href="#method-i-utf8">#utf8</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Gitlab::Encode</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-detect_encoding" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">detect_encoding</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="detect_encoding-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/encode.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">detect_encoding</span> <span class="ruby-identifier">message</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">message</span>
+
+  <span class="ruby-identifier">hash</span> = <span class="ruby-constant">CharlockHolmes</span><span class="ruby-operator">::</span><span class="ruby-constant">EncodingDetector</span>.<span class="ruby-identifier">detect</span>(<span class="ruby-identifier">message</span>) <span class="ruby-keyword">rescue</span> {}
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">hash</span>[<span class="ruby-value">:encoding</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">hash</span>[<span class="ruby-value">:encoding</span>] <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- detect_encoding-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- detect_encoding-method -->
+
+    
+      <div id="method-i-utf8" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">utf8</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="utf8-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/encode.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">utf8</span> <span class="ruby-identifier">message</span>
+  <span class="ruby-comment"># return nil if message is nil</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">message</span>
+
+  <span class="ruby-identifier">message</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">&quot;utf-8&quot;</span>)
+  <span class="ruby-comment"># return message if message type is binary</span>
+  <span class="ruby-identifier">detect</span> = <span class="ruby-constant">CharlockHolmes</span><span class="ruby-operator">::</span><span class="ruby-constant">EncodingDetector</span>.<span class="ruby-identifier">detect</span>(<span class="ruby-identifier">message</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">message</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">detect</span>[<span class="ruby-value">:type</span>] <span class="ruby-operator">==</span> <span class="ruby-value">:binary</span>
+
+  <span class="ruby-comment"># if message is utf-8 encoding, just return it</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">message</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">message</span>.<span class="ruby-identifier">valid_encoding?</span>
+
+  <span class="ruby-comment"># if message is not utf-8 encoding, convert it</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">detect</span>[<span class="ruby-value">:encoding</span>]
+    <span class="ruby-identifier">message</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-identifier">detect</span>[<span class="ruby-value">:encoding</span>])
+    <span class="ruby-identifier">message</span>.<span class="ruby-identifier">encode!</span>(<span class="ruby-string">&quot;utf-8&quot;</span>, <span class="ruby-identifier">detect</span>[<span class="ruby-value">:encoding</span>], <span class="ruby-keyword">undef</span><span class="ruby-operator">:</span> <span class="ruby-value">:replace</span>, <span class="ruby-identifier">replace</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;&quot;</span>, <span class="ruby-identifier">invalid</span><span class="ruby-operator">:</span> <span class="ruby-value">:replace</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># ensure message encoding is utf8</span>
+  <span class="ruby-identifier">message</span>.<span class="ruby-identifier">valid_encoding?</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">message</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">raise</span>
+
+<span class="ruby-comment"># Prevent app from crash cause of encoding errors</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-identifier">encoding</span> = <span class="ruby-identifier">detect</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">detect</span>[<span class="ruby-value">:encoding</span>] <span class="ruby-operator">:</span> <span class="ruby-string">&quot;unknown&quot;</span>
+  <span class="ruby-node">&quot;--broken encoding: #{encoding}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- utf8-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- utf8-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities.html b/doc/app/Gitlab/Entities.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cd0d837ed95d954092f57dbc2b1aea27f47adae
--- /dev/null
+++ b/doc/app/Gitlab/Entities.html
@@ -0,0 +1,433 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Gitlab::Entities - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Gitlab::Entities</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/Hook.html b/doc/app/Gitlab/Entities/Hook.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9eba832bc8f6e2737ab2050054d9d04873496c9
--- /dev/null
+++ b/doc/app/Gitlab/Entities/Hook.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::Hook - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::Hook</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/Issue.html b/doc/app/Gitlab/Entities/Issue.html
new file mode 100644
index 0000000000000000000000000000000000000000..f713b7ab609a424bfcf75f675340f02dcd3fdeb5
--- /dev/null
+++ b/doc/app/Gitlab/Entities/Issue.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::Issue - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::Issue</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/Milestone.html b/doc/app/Gitlab/Entities/Milestone.html
new file mode 100644
index 0000000000000000000000000000000000000000..f762ad2922771de0f9099e1b8ca5ddbddac2fce3
--- /dev/null
+++ b/doc/app/Gitlab/Entities/Milestone.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::Milestone - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::Milestone</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/Project.html b/doc/app/Gitlab/Entities/Project.html
new file mode 100644
index 0000000000000000000000000000000000000000..725e6b75d499274466b637ff2dd0a5235358fabc
--- /dev/null
+++ b/doc/app/Gitlab/Entities/Project.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::Project - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::Project</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/ProjectMember.html b/doc/app/Gitlab/Entities/ProjectMember.html
new file mode 100644
index 0000000000000000000000000000000000000000..468d3dc1ac99234241f5a144dd7bdd37b50f39e0
--- /dev/null
+++ b/doc/app/Gitlab/Entities/ProjectMember.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::ProjectMember - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::ProjectMember</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/ProjectSnippet.html b/doc/app/Gitlab/Entities/ProjectSnippet.html
new file mode 100644
index 0000000000000000000000000000000000000000..e19fad759ac311b17fc57347593e04ee9378a9af
--- /dev/null
+++ b/doc/app/Gitlab/Entities/ProjectSnippet.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::ProjectSnippet - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::ProjectSnippet</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/RepoCommit.html b/doc/app/Gitlab/Entities/RepoCommit.html
new file mode 100644
index 0000000000000000000000000000000000000000..04c118a3f9c2454ecdcb20dd6fde0484a25487e9
--- /dev/null
+++ b/doc/app/Gitlab/Entities/RepoCommit.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::RepoCommit - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::RepoCommit</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/RepoObject.html b/doc/app/Gitlab/Entities/RepoObject.html
new file mode 100644
index 0000000000000000000000000000000000000000..27f928c1b8ee4e5fbd60e5af37f4e02a7a360194
--- /dev/null
+++ b/doc/app/Gitlab/Entities/RepoObject.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::RepoObject - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::RepoObject</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/SSHKey.html b/doc/app/Gitlab/Entities/SSHKey.html
new file mode 100644
index 0000000000000000000000000000000000000000..43ed0f01dcf3c0f628d8566d11ab9c59fab6feb4
--- /dev/null
+++ b/doc/app/Gitlab/Entities/SSHKey.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::SSHKey - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::SSHKey</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/User.html b/doc/app/Gitlab/Entities/User.html
new file mode 100644
index 0000000000000000000000000000000000000000..fb978194084b3d9f7084185d0975712420caab5a
--- /dev/null
+++ b/doc/app/Gitlab/Entities/User.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::User - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::User</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/UserBasic.html b/doc/app/Gitlab/Entities/UserBasic.html
new file mode 100644
index 0000000000000000000000000000000000000000..dcb1e78209dda8f8c144dc468fa60bbb39603176
--- /dev/null
+++ b/doc/app/Gitlab/Entities/UserBasic.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::UserBasic - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::Entity
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::UserBasic</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Entities/UserLogin.html b/doc/app/Gitlab/Entities/UserLogin.html
new file mode 100644
index 0000000000000000000000000000000000000000..fde7733526886ada39e4258500a67f61412a2dd9
--- /dev/null
+++ b/doc/app/Gitlab/Entities/UserLogin.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Entities::UserLogin - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/entities.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Entities::UserLogin</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/FileEditor.html b/doc/app/Gitlab/FileEditor.html
new file mode 100644
index 0000000000000000000000000000000000000000..0916d63cbe0efc30ece6b235334b2acb3c6dd524
--- /dev/null
+++ b/doc/app/Gitlab/FileEditor.html
@@ -0,0 +1,647 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::FileEditor - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/file_editor.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-can_edit-3F">#can_edit?</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::FileEditor</h1>
+
+  <div id="description" class="description">
+    
+<p>GitLab file editor</p>
+
+<p>It gives you ability to make changes to files &amp; commit this changes
+from GitLab UI.</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-ref" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">ref</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-user" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">user</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(user, project, ref)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/file_editor.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>, <span class="ruby-identifier">ref</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">user</span> = <span class="ruby-identifier">user</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span> = <span class="ruby-identifier">project</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">ref</span> = <span class="ruby-identifier">ref</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">(path, content, commit_message, last_commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/file_editor.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">content</span>, <span class="ruby-identifier">commit_message</span>, <span class="ruby-identifier">last_commit</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can_edit?</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">last_commit</span>)
+
+  <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Git</span>.<span class="ruby-identifier">with_timeout</span>(<span class="ruby-value">10</span>.<span class="ruby-identifier">seconds</span>) <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">lock_file</span> = <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;tmp&quot;</span>, <span class="ruby-node">&quot;#{project.path}.lock&quot;</span>)
+
+    <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">lock_file</span>, <span class="ruby-string">&quot;w+&quot;</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">f</span>.<span class="ruby-identifier">flock</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">LOCK_EX</span>)
+
+      <span class="ruby-keyword">unless</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">exists?</span>
+        <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Satellite doesn't exist&quot;</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">clear</span>
+
+      <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">path</span>) <span class="ruby-keyword">do</span>
+        <span class="ruby-identifier">r</span> = <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Repo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'.'</span>)
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-string">&quot;git reset --hard&quot;</span>
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-string">&quot;git fetch origin&quot;</span>
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-node">&quot;git config user.name \&quot;#{user.name}\&quot;&quot;</span>
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-node">&quot;git config user.email \&quot;#{user.email}\&quot;&quot;</span>
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-node">&quot;git checkout -b #{ref} origin/#{ref}&quot;</span>
+        <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">path</span>, <span class="ruby-string">'w'</span>){<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">content</span>)}
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-string">&quot;git add .&quot;</span>
+        <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-node">&quot;git commit -am '#{commit_message}'&quot;</span>
+        <span class="ruby-identifier">output</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">sh</span> <span class="ruby-node">&quot;git push origin #{ref}&quot;</span>
+
+        <span class="ruby-keyword">if</span> <span class="ruby-identifier">output</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%rreject/</span>
+          <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">true</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-can_edit-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can_edit?</span><span
+            class="method-args">(path, last_commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can_edit-3F-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/file_editor.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_edit?</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">last_commit</span>)
+  <span class="ruby-identifier">current_last_commit</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">last_commit_for</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span>).<span class="ruby-identifier">sha</span>
+  <span class="ruby-identifier">last_commit</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">current_last_commit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can_edit-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can_edit-3F-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/GitLogger.html b/doc/app/Gitlab/GitLogger.html
new file mode 100644
index 0000000000000000000000000000000000000000..c37bce98ca5c55ec865beddb32188db6bf695b62
--- /dev/null
+++ b/doc/app/Gitlab/GitLogger.html
@@ -0,0 +1,523 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::GitLogger - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/git_logger.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="Logger.html">Gitlab::Logger</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-file_name">::file_name</a>
+    
+    <li><a href="#method-i-format_message">#format_message</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::GitLogger</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-file_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">file_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="file_name-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/git_logger.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">file_name</span>
+  <span class="ruby-string">'githost.log'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- file_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- file_name-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-format_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">format_message</span><span
+            class="method-args">(severity, timestamp, progname, msg)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="format_message-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/git_logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">format_message</span>(<span class="ruby-identifier">severity</span>, <span class="ruby-identifier">timestamp</span>, <span class="ruby-identifier">progname</span>, <span class="ruby-identifier">msg</span>)
+  <span class="ruby-node">&quot;#{timestamp.to_s(:long)} -&gt; #{severity} -&gt; #{msg}\n&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- format_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- format_message-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Gitolite.html b/doc/app/Gitlab/Gitolite.html
new file mode 100644
index 0000000000000000000000000000000000000000..60ef3b136e5fae76ee858c84d9ef04ac6f717dd0
--- /dev/null
+++ b/doc/app/Gitlab/Gitolite.html
@@ -0,0 +1,716 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Gitolite - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/gitolite.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-config">#config</a>
+    
+    <li><a href="#method-i-create_repository">#create_repository</a>
+    
+    <li><a href="#method-i-enable_automerge">#enable_automerge</a>
+    
+    <li><a href="#method-i-remove_key">#remove_key</a>
+    
+    <li><a href="#method-i-remove_repository">#remove_repository</a>
+    
+    <li><a href="#method-i-set_key">#set_key</a>
+    
+    <li><a href="#method-i-update_repository">#update_repository</a>
+    
+    <li><a href="#method-i-url_to_repo">#url_to_repo</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Gitolite</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-config" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">config</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="config-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">config</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">GitoliteConfig</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- config-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- config-method -->
+
+    
+      <div id="method-i-create_repository" class="method-detail method-alias">
+        
+        <div class="method-heading">
+          <span class="method-name">create_repository</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+        </div>
+
+        
+
+        
+        <div class="aliases">
+          Alias for: <a href="Gitolite.html#method-i-update_repository">update_repository</a>
+        </div>
+        
+      </div><!-- create_repository-method -->
+
+    
+      <div id="method-i-enable_automerge" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">enable_automerge</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="enable_automerge-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">enable_automerge</span>
+  <span class="ruby-identifier">config</span>.<span class="ruby-identifier">admin_all_repo!</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- enable_automerge-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- enable_automerge-method -->
+
+    
+      <div id="method-i-remove_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">remove_key</span><span
+            class="method-args">(key_id, projects)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="remove_key-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_key</span> <span class="ruby-identifier">key_id</span>, <span class="ruby-identifier">projects</span>
+  <span class="ruby-identifier">config</span>.<span class="ruby-identifier">apply</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">rm_key</span>(<span class="ruby-identifier">key_id</span>)
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">update_projects</span>(<span class="ruby-identifier">projects</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- remove_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- remove_key-method -->
+
+    
+      <div id="method-i-remove_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">remove_repository</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="remove_repository-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_repository</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">config</span>.<span class="ruby-identifier">destroy_project!</span>(<span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- remove_repository-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- remove_repository-method -->
+
+    
+      <div id="method-i-set_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">set_key</span><span
+            class="method-args">(key_id, key_content, projects)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="set_key-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_key</span> <span class="ruby-identifier">key_id</span>, <span class="ruby-identifier">key_content</span>, <span class="ruby-identifier">projects</span>
+  <span class="ruby-identifier">config</span>.<span class="ruby-identifier">apply</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">write_key</span>(<span class="ruby-identifier">key_id</span>, <span class="ruby-identifier">key_content</span>)
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">update_projects</span>(<span class="ruby-identifier">projects</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- set_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- set_key-method -->
+
+    
+      <div id="method-i-update_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_repository</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_repository-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_repository</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">config</span>.<span class="ruby-identifier">update_project!</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_repository-source -->
+          
+        </div>
+
+        
+        <div class="aliases">
+          Also aliased as: <a href="Gitolite.html#method-i-create_repository">create_repository</a>
+        </div>
+        
+
+        
+      </div><!-- update_repository-method -->
+
+    
+      <div id="method-i-url_to_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">url_to_repo</span><span
+            class="method-args">(path)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="url_to_repo-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">url_to_repo</span> <span class="ruby-identifier">path</span>
+  <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">ssh_path</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;#{path}.git&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- url_to_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- url_to_repo-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Gitolite/AccessDenied.html b/doc/app/Gitlab/Gitolite/AccessDenied.html
new file mode 100644
index 0000000000000000000000000000000000000000..64a3b17a30fddc903d51e994fdabcd058c1b1111
--- /dev/null
+++ b/doc/app/Gitlab/Gitolite/AccessDenied.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Gitolite::AccessDenied - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/gitolite.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">StandardError
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Gitolite::AccessDenied</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/GitoliteConfig.html b/doc/app/Gitlab/GitoliteConfig.html
new file mode 100644
index 0000000000000000000000000000000000000000..19671089b15a26b4c3b8c339cb1b58952b6eaca3
--- /dev/null
+++ b/doc/app/Gitlab/GitoliteConfig.html
@@ -0,0 +1,994 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::GitoliteConfig - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/gitolite_config.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-admin_all_repo">#admin_all_repo</a>
+    
+    <li><a href="#method-i-admin_all_repo-21">#admin_all_repo!</a>
+    
+    <li><a href="#method-i-apply">#apply</a>
+    
+    <li><a href="#method-i-destroy_project">#destroy_project</a>
+    
+    <li><a href="#method-i-destroy_project-21">#destroy_project!</a>
+    
+    <li><a href="#method-i-log">#log</a>
+    
+    <li><a href="#method-i-rm_key">#rm_key</a>
+    
+    <li><a href="#method-i-update_project">#update_project</a>
+    
+    <li><a href="#method-i-update_project-21">#update_project!</a>
+    
+    <li><a href="#method-i-update_project_config">#update_project_config</a>
+    
+    <li><a href="#method-i-update_projects">#update_projects</a>
+    
+    <li><a href="#method-i-write_key">#write_key</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::GitoliteConfig</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-conf" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">conf</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-config_tmp_dir" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">config_tmp_dir</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-ga_repo" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">ga_repo</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-admin_all_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">admin_all_repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Enable access to all repos for gitolite admin. We use it for accept merge
+request feature</p>
+          
+
+          
+          <div class="method-source-code" id="admin_all_repo-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 162</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">admin_all_repo</span>
+  <span class="ruby-identifier">owner_name</span> = <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gitolite_admin_key</span>
+
+  <span class="ruby-comment"># @ALL repos premission for gitolite owner</span>
+  <span class="ruby-identifier">repo_name</span> = <span class="ruby-string">&quot;@all&quot;</span>
+  <span class="ruby-identifier">repo</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">has_repo?</span>(<span class="ruby-identifier">repo_name</span>)
+           <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">get_repo</span>(<span class="ruby-identifier">repo_name</span>)
+         <span class="ruby-keyword">else</span>
+           <span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">Repo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">repo_name</span>)
+         <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">add_permission</span>(<span class="ruby-string">&quot;RW+&quot;</span>, <span class="ruby-string">&quot;&quot;</span>, <span class="ruby-identifier">owner_name</span>)
+  <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">add_repo</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-keyword">true</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- admin_all_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- admin_all_repo-method -->
+
+    
+      <div id="method-i-admin_all_repo-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">admin_all_repo!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="admin_all_repo-21-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 177</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">admin_all_repo!</span>
+  <span class="ruby-identifier">apply</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span> <span class="ruby-identifier">config</span>.<span class="ruby-identifier">admin_all_repo</span> }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- admin_all_repo-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- admin_all_repo-21-method -->
+
+    
+      <div id="method-i-apply" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">apply</span><span
+            class="method-args">() { |self| ... }</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="apply-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">apply</span>
+  <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-identifier">timeout</span>(<span class="ruby-value">30</span>) <span class="ruby-keyword">do</span>
+    <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'tmp'</span>, <span class="ruby-string">&quot;gitlabhq-gitolite.lock&quot;</span>), <span class="ruby-string">&quot;w+&quot;</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
+      <span class="ruby-keyword">begin</span>
+        <span class="ruby-comment"># Set exclusive lock</span>
+        <span class="ruby-comment"># to prevent race condition</span>
+        <span class="ruby-identifier">f</span>.<span class="ruby-identifier">flock</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">LOCK_EX</span>)
+
+        <span class="ruby-comment"># Pull gitolite-admin repo</span>
+        <span class="ruby-comment"># in tmp dir before do any changes</span>
+        <span class="ruby-identifier">pull</span>(<span class="ruby-identifier">config_tmp_dir</span>)
+
+        <span class="ruby-comment"># Build ga_repo object and @conf</span>
+        <span class="ruby-comment"># to access gitolite-admin configuration</span>
+        <span class="ruby-ivar">@conf</span> = <span class="ruby-identifier">ga_repo</span>.<span class="ruby-identifier">config</span>
+
+        <span class="ruby-comment"># Do any changes</span>
+        <span class="ruby-comment"># in gitolite-admin</span>
+        <span class="ruby-comment"># config here</span>
+        <span class="ruby-keyword">yield</span>(<span class="ruby-keyword">self</span>)
+
+        <span class="ruby-comment"># Save changes in</span>
+        <span class="ruby-comment"># gitolite-admin repo</span>
+        <span class="ruby-comment"># before push it</span>
+        <span class="ruby-identifier">ga_repo</span>.<span class="ruby-identifier">save</span>
+
+        <span class="ruby-comment"># Push gitolite-admin repo</span>
+        <span class="ruby-comment"># to apply all changes</span>
+        <span class="ruby-identifier">push</span>(<span class="ruby-identifier">config_tmp_dir</span>)
+      <span class="ruby-keyword">ensure</span>
+        <span class="ruby-comment"># Remove tmp dir</span>
+        <span class="ruby-comment"># removing the gitolite folder first is important to avoid</span>
+        <span class="ruby-comment"># NFS issues.</span>
+        <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">config_tmp_dir</span>, <span class="ruby-string">'gitolite'</span>))
+
+        <span class="ruby-comment"># Remove parent tmp dir</span>
+        <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span>(<span class="ruby-identifier">config_tmp_dir</span>)
+
+        <span class="ruby-comment"># Unlock so other task can access</span>
+        <span class="ruby-comment"># gitolite configuration</span>
+        <span class="ruby-identifier">f</span>.<span class="ruby-identifier">flock</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">LOCK_UN</span>)
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">PullError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-identifier">log</span>(<span class="ruby-string">&quot;Pull error -&gt;  &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>)
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">AccessDenied</span>, <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>
+
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">PushError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-identifier">log</span>(<span class="ruby-string">&quot;Push error -&gt;  &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot; &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>)
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">AccessDenied</span>, <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>
+
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-identifier">log</span>(<span class="ruby-identifier">ex</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot; &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>)
+  <span class="ruby-identifier">raise</span> <span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">AccessDenied</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;gitolite timeout&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- apply-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- apply-method -->
+
+    
+      <div id="method-i-destroy_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy_project</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy_project-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy_project</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">path_to_repo</span>)
+  <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">rm_repo</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy_project-method -->
+
+    
+      <div id="method-i-destroy_project-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy_project!</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy_project-21-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy_project!</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">apply</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">destroy_project</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy_project-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy_project-21-method -->
+
+    
+      <div id="method-i-log" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">log</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="log-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">log</span> <span class="ruby-identifier">message</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">GitLogger</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">message</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- log-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- log-method -->
+
+    
+      <div id="method-i-rm_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">rm_key</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="rm_key-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 98</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">rm_key</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">key_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">config_tmp_dir</span>, <span class="ruby-string">'gitolite/keydir'</span>, <span class="ruby-node">&quot;#{user}.pub&quot;</span>)
+  <span class="ruby-identifier">ga_key</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">SSHKey</span>.<span class="ruby-identifier">from_file</span>(<span class="ruby-identifier">key_path</span>)
+  <span class="ruby-identifier">ga_repo</span>.<span class="ruby-identifier">rm_key</span>(<span class="ruby-identifier">ga_key</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- rm_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- rm_key-method -->
+
+    
+      <div id="method-i-update_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_project</span><span
+            class="method-args">(repo_name, project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>update or create</p>
+          
+
+          
+          <div class="method-source-code" id="update_project-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_project</span>(<span class="ruby-identifier">repo_name</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">repo</span> = <span class="ruby-identifier">update_project_config</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">conf</span>)
+  <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">add_repo</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-keyword">true</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_project-method -->
+
+    
+      <div id="method-i-update_project-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_project!</span><span
+            class="method-args">(repo_name, project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_project-21-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 110</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_project!</span>(<span class="ruby-identifier">repo_name</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">apply</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">config</span>.<span class="ruby-identifier">update_project</span>(<span class="ruby-identifier">repo_name</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_project-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_project-21-method -->
+
+    
+      <div id="method-i-update_project_config" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_project_config</span><span
+            class="method-args">(project, conf)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_project_config-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 125</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_project_config</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">conf</span>)
+  <span class="ruby-identifier">repo_name</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>
+
+  <span class="ruby-identifier">repo</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">has_repo?</span>(<span class="ruby-identifier">repo_name</span>)
+           <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">get_repo</span>(<span class="ruby-identifier">repo_name</span>)
+         <span class="ruby-keyword">else</span>
+           <span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">Repo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">repo_name</span>)
+         <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">name_readers</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repository_readers</span>
+  <span class="ruby-identifier">name_writers</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repository_writers</span>
+  <span class="ruby-identifier">name_masters</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repository_masters</span>
+
+  <span class="ruby-identifier">pr_br</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;$ &quot;</span>)
+
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">clean_permissions</span>
+
+  <span class="ruby-comment"># Deny access to protected branches for writers</span>
+  <span class="ruby-keyword">unless</span> <span class="ruby-identifier">name_writers</span>.<span class="ruby-identifier">blank?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">pr_br</span>.<span class="ruby-identifier">blank?</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">add_permission</span>(<span class="ruby-string">&quot;-&quot;</span>, <span class="ruby-identifier">pr_br</span>.<span class="ruby-identifier">strip</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;$ &quot;</span>, <span class="ruby-identifier">name_writers</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># Add read permissions</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">add_permission</span>(<span class="ruby-string">&quot;R&quot;</span>, <span class="ruby-string">&quot;&quot;</span>, <span class="ruby-identifier">name_readers</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">name_readers</span>.<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-comment"># Add write permissions</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">add_permission</span>(<span class="ruby-string">&quot;RW+&quot;</span>, <span class="ruby-string">&quot;&quot;</span>, <span class="ruby-identifier">name_writers</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">name_writers</span>.<span class="ruby-identifier">blank?</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">add_permission</span>(<span class="ruby-string">&quot;RW+&quot;</span>, <span class="ruby-string">&quot;&quot;</span>, <span class="ruby-identifier">name_masters</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">name_masters</span>.<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-comment"># Add sharedRepository config</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">set_git_config</span>(<span class="ruby-string">&quot;core.sharedRepository&quot;</span>, <span class="ruby-string">&quot;0660&quot;</span>)
+
+  <span class="ruby-identifier">repo</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_project_config-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_project_config-method -->
+
+    
+      <div id="method-i-update_projects" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_projects</span><span
+            class="method-args">(projects)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Updates many projects and uses project.path as the repo path An order of
+magnitude faster than <a
+href="GitoliteConfig.html#method-i-update_project">#update_project</a></p>
+          
+
+          
+          <div class="method-source-code" id="update_projects-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_projects</span>(<span class="ruby-identifier">projects</span>)
+  <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">project</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">repo</span> = <span class="ruby-identifier">update_project_config</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">conf</span>)
+    <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">add_repo</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-keyword">true</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_projects-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_projects-method -->
+
+    
+      <div id="method-i-write_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">write_key</span><span
+            class="method-args">(id, key)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="write_key-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 92</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">write_key</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">key</span>)
+  <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">config_tmp_dir</span>, <span class="ruby-string">'gitolite/keydir'</span>,<span class="ruby-node">&quot;#{id}.pub&quot;</span>), <span class="ruby-string">'w'</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\n/</span>,<span class="ruby-string">''</span>))
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- write_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- write_key-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/GitoliteConfig/PullError.html b/doc/app/Gitlab/GitoliteConfig/PullError.html
new file mode 100644
index 0000000000000000000000000000000000000000..8e5a1510d45378c6f5a61573c4ce3bb07956dda3
--- /dev/null
+++ b/doc/app/Gitlab/GitoliteConfig/PullError.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::GitoliteConfig::PullError - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/gitolite_config.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">StandardError
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::GitoliteConfig::PullError</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/GitoliteConfig/PushError.html b/doc/app/Gitlab/GitoliteConfig/PushError.html
new file mode 100644
index 0000000000000000000000000000000000000000..c1541f49d667b01d75d846d097aee8a2dac51299
--- /dev/null
+++ b/doc/app/Gitlab/GitoliteConfig/PushError.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::GitoliteConfig::PushError - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/gitolite_config.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">StandardError
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::GitoliteConfig::PushError</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/GraphCommit.html b/doc/app/Gitlab/GraphCommit.html
new file mode 100644
index 0000000000000000000000000000000000000000..b8ffa6f4161326e58d7ad7d79972f89b0bfdd4c0
--- /dev/null
+++ b/doc/app/Gitlab/GraphCommit.html
@@ -0,0 +1,967 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::GraphCommit - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/graph_commit.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">ActionView::Helpers::TagHelper</span>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-find_free_space">::find_free_space</a>
+    
+    <li><a href="#method-c-index_commits">::index_commits</a>
+    
+    <li><a href="#method-c-mark_reserved">::mark_reserved</a>
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-c-place_chain">::place_chain</a>
+    
+    <li><a href="#method-c-take_left_leaves">::take_left_leaves</a>
+    
+    <li><a href="#method-c-to_graph">::to_graph</a>
+    
+    <li><a href="#method-i-add_refs">#add_refs</a>
+    
+    <li><a href="#method-i-method_missing">#method_missing</a>
+    
+    <li><a href="#method-i-to_graph_hash">#to_graph_hash</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::GraphCommit</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-refs" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">refs</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-space" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">space</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-time" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">time</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-find_free_space" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_free_space</span><span
+            class="method-args">(time_range)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_free_space-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 113</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">find_free_space</span>(<span class="ruby-identifier">time_range</span>)
+  <span class="ruby-identifier">reserved</span> = []
+  <span class="ruby-keyword">for</span> <span class="ruby-identifier">day</span> <span class="ruby-keyword">in</span> <span class="ruby-identifier">time_range</span>
+      <span class="ruby-identifier">reserved</span> <span class="ruby-operator">+=</span> <span class="ruby-ivar">@_reserved</span>[<span class="ruby-identifier">day</span>]
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">space</span> = <span class="ruby-value">1</span>
+  <span class="ruby-keyword">while</span> <span class="ruby-identifier">reserved</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">space</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">space</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">space</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_free_space-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_free_space-method -->
+
+    
+      <div id="method-c-index_commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index_commits</span><span
+            class="method-args">(commits)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Method is adding time and space on the list of commits. As well as returns
+date list corelated with time set on commits.</p>
+
+<p>@param [Array&lt;GraphCommit&gt;] comits to index</p>
+
+<p>@return [Array&lt;TimeDate&gt;] list of commit dates corelated with time on
+commits</p>
+          
+
+          
+          <div class="method-source-code" id="index_commits-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">index_commits</span>(<span class="ruby-identifier">commits</span>)
+  <span class="ruby-identifier">days</span>, <span class="ruby-identifier">heads</span> = [], []
+  <span class="ruby-identifier">map</span> = {}
+
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>,<span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">c</span>.<span class="ruby-identifier">time</span> = <span class="ruby-identifier">i</span>
+    <span class="ruby-identifier">days</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">committed_date</span>
+    <span class="ruby-identifier">map</span>[<span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span>] = <span class="ruby-identifier">c</span>
+    <span class="ruby-identifier">heads</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">refs</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">refs</span>.<span class="ruby-identifier">nil?</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">select!</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Head</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>}
+  <span class="ruby-comment"># sort heads so the master is top and current branches are closer</span>
+  <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">sort!</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>,<span class="ruby-identifier">b</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;master&quot;</span>
+      <span class="ruby-value">-1</span>
+    <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;master&quot;</span>
+      <span class="ruby-value">1</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">b</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">committed_date</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">committed_date</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@_reserved</span> = {}
+  <span class="ruby-identifier">days</span>.<span class="ruby-identifier">each_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+    <span class="ruby-ivar">@_reserved</span>[<span class="ruby-identifier">i</span>] = []
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">map</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span> <span class="ruby-keyword">then</span>
+      <span class="ruby-identifier">place_chain</span>(<span class="ruby-identifier">map</span>[<span class="ruby-identifier">h</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>], <span class="ruby-identifier">map</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">days</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index_commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index_commits-method -->
+
+    
+      <div id="method-c-mark_reserved" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mark_reserved</span><span
+            class="method-args">(time_range, space)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mark_reserved-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">mark_reserved</span>(<span class="ruby-identifier">time_range</span>, <span class="ruby-identifier">space</span>)
+  <span class="ruby-keyword">for</span> <span class="ruby-identifier">day</span> <span class="ruby-keyword">in</span> <span class="ruby-identifier">time_range</span>
+    <span class="ruby-ivar">@_reserved</span>[<span class="ruby-identifier">day</span>].<span class="ruby-identifier">push</span>(<span class="ruby-identifier">space</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mark_reserved-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mark_reserved-method -->
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">commit</span>)
+  <span class="ruby-ivar">@_commit</span> = <span class="ruby-identifier">commit</span>
+  <span class="ruby-ivar">@time</span> = <span class="ruby-value">-1</span>
+  <span class="ruby-ivar">@space</span> = <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-c-place_chain" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">place_chain</span><span
+            class="method-args">(commit, map, parent_time = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Add space mark on commit and its parents</p>
+
+<p>@param [GraphCommit] the commit object. @param
+[Hash&lt;String,GraphCommit&gt;] map of commits</p>
+          
+
+          
+          <div class="method-source-code" id="place_chain-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">place_chain</span>(<span class="ruby-identifier">commit</span>, <span class="ruby-identifier">map</span>, <span class="ruby-identifier">parent_time</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">leaves</span> = <span class="ruby-identifier">take_left_leaves</span>(<span class="ruby-identifier">commit</span>, <span class="ruby-identifier">map</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword">then</span>
+    <span class="ruby-keyword">return</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">space</span> = <span class="ruby-identifier">find_free_space</span>(<span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">time</span><span class="ruby-operator">..</span><span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">time</span>)
+  <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span> <span class="ruby-identifier">l</span>.<span class="ruby-identifier">space</span> = <span class="ruby-identifier">space</span>}
+  <span class="ruby-comment"># and mark it as reserved</span>
+  <span class="ruby-identifier">min_time</span> = <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">time</span>
+  <span class="ruby-identifier">parents</span> = <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">collect</span>
+  <span class="ruby-identifier">parents</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">map</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span> <span class="ruby-keyword">then</span>
+      <span class="ruby-identifier">parent</span> = <span class="ruby-identifier">map</span>[<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>]
+      <span class="ruby-keyword">if</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">time</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">min_time</span> <span class="ruby-keyword">then</span>
+        <span class="ruby-identifier">min_time</span> = <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">time</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">parent_time</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">then</span>
+    <span class="ruby-identifier">max_time</span> = <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">time</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">max_time</span> = <span class="ruby-identifier">parent_time</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">mark_reserved</span>(<span class="ruby-identifier">min_time</span><span class="ruby-operator">..</span><span class="ruby-identifier">max_time</span>, <span class="ruby-identifier">space</span>)
+  <span class="ruby-comment"># Visit branching chains</span>
+  <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">parents</span> = <span class="ruby-identifier">l</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">collect</span>
+      .<span class="ruby-identifier">select</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">map</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">map</span>[<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>].<span class="ruby-identifier">space</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>}
+    <span class="ruby-keyword">for</span> <span class="ruby-identifier">p</span> <span class="ruby-keyword">in</span> <span class="ruby-identifier">parents</span>
+      <span class="ruby-identifier">place_chain</span>(<span class="ruby-identifier">map</span>[<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>], <span class="ruby-identifier">map</span>, <span class="ruby-identifier">l</span>.<span class="ruby-identifier">time</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- place_chain-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- place_chain-method -->
+
+    
+      <div id="method-c-take_left_leaves" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">take_left_leaves</span><span
+            class="method-args">(commit, map)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Takes most left subtree branch of commits which don’t have space mark yet.</p>
+
+<p>@param [GraphCommit] the commit object. @param
+[Hash&lt;String,GraphCommit&gt;] map of commits</p>
+
+<p>@return [Array&lt;GraphCommit&gt;] list of branch commits</p>
+          
+
+          
+          <div class="method-source-code" id="take_left_leaves-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 132</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">take_left_leaves</span>(<span class="ruby-identifier">commit</span>, <span class="ruby-identifier">map</span>)
+  <span class="ruby-identifier">leaves</span> = []
+  <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">commit</span>)  <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">space</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
+  <span class="ruby-keyword">while</span> <span class="ruby-keyword">true</span>
+    <span class="ruby-identifier">parent</span> = <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">collect</span>
+      .<span class="ruby-identifier">select</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">map</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">map</span>[<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>].<span class="ruby-identifier">space</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>}
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword">then</span>
+      <span class="ruby-keyword">return</span> <span class="ruby-identifier">leaves</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">commit</span> = <span class="ruby-identifier">map</span>[<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">id</span>]
+      <span class="ruby-identifier">leaves</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">commit</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- take_left_leaves-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- take_left_leaves-method -->
+
+    
+      <div id="method-c-to_graph" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_graph</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_graph-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">to_graph</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-ivar">@repo</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>
+  <span class="ruby-identifier">commits</span> = <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Commit</span>.<span class="ruby-identifier">find_all</span>(<span class="ruby-ivar">@repo</span>, <span class="ruby-keyword">nil</span>, {<span class="ruby-identifier">max_count</span><span class="ruby-operator">:</span> <span class="ruby-value">650</span>})
+
+  <span class="ruby-identifier">ref_cache</span> = {}
+
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">GraphCommit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>))}
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">commit</span><span class="ruby-operator">|</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">add_refs</span>(<span class="ruby-identifier">ref_cache</span>, <span class="ruby-ivar">@repo</span>) }
+
+  <span class="ruby-identifier">days</span> = <span class="ruby-constant">GraphCommit</span>.<span class="ruby-identifier">index_commits</span>(<span class="ruby-identifier">commits</span>)
+  <span class="ruby-ivar">@days_json</span> = <span class="ruby-identifier">days</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span> [<span class="ruby-identifier">d</span>.<span class="ruby-identifier">day</span>, <span class="ruby-identifier">d</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string">&quot;%b&quot;</span>)] }.<span class="ruby-identifier">to_json</span>
+  <span class="ruby-ivar">@commits_json</span> = <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:to_graph_hash</span>).<span class="ruby-identifier">to_json</span>
+
+  <span class="ruby-keyword">return</span> <span class="ruby-ivar">@days_json</span>, <span class="ruby-ivar">@commits_json</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_graph-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_graph-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-add_refs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_refs</span><span
+            class="method-args">(ref_cache, repo)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_refs-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 174</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_refs</span>(<span class="ruby-identifier">ref_cache</span>, <span class="ruby-identifier">repo</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">ref_cache</span>.<span class="ruby-identifier">empty?</span>
+    <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">refs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ref</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">ref_cache</span>[<span class="ruby-identifier">ref</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>] <span class="ruby-operator">||=</span> []
+      <span class="ruby-identifier">ref_cache</span>[<span class="ruby-identifier">ref</span>.<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">ref</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-ivar">@refs</span> = <span class="ruby-identifier">ref_cache</span>[<span class="ruby-ivar">@_commit</span>.<span class="ruby-identifier">id</span>] <span class="ruby-keyword">if</span> <span class="ruby-identifier">ref_cache</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@_commit</span>.<span class="ruby-identifier">id</span>)
+  <span class="ruby-ivar">@refs</span> <span class="ruby-operator">||=</span> []
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_refs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_refs-method -->
+
+    
+      <div id="method-i-method_missing" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">method_missing</span><span
+            class="method-args">(m, *args, &block)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="method_missing-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 154</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">m</span>, *<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">block</span>)
+  <span class="ruby-ivar">@_commit</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">m</span>, *<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">block</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- method_missing-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- method_missing-method -->
+
+    
+      <div id="method-i-to_graph_hash" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_graph_hash</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_graph_hash-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/graph_commit.rb, line 158</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_graph_hash</span>
+  <span class="ruby-identifier">h</span> = {}
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:parents</span>] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
+    [<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>]
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:author</span>]  = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Encode</span>.<span class="ruby-identifier">utf8</span>(<span class="ruby-identifier">author</span>.<span class="ruby-identifier">name</span>)
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:time</span>]    = <span class="ruby-identifier">time</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:space</span>]   = <span class="ruby-identifier">space</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:refs</span>]    = <span class="ruby-identifier">refs</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span><span class="ruby-identifier">r</span>.<span class="ruby-identifier">name</span>}.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot; &quot;</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">refs</span>.<span class="ruby-identifier">nil?</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:id</span>]      = <span class="ruby-identifier">sha</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:date</span>]    = <span class="ruby-identifier">date</span>
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:message</span>] = <span class="ruby-identifier">escape_once</span>(<span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Encode</span>.<span class="ruby-identifier">utf8</span>(<span class="ruby-identifier">message</span>))
+  <span class="ruby-identifier">h</span>[<span class="ruby-value">:login</span>]   = <span class="ruby-identifier">author</span>.<span class="ruby-identifier">email</span>
+  <span class="ruby-identifier">h</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_graph_hash-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_graph_hash-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/InlineDiff.html b/doc/app/Gitlab/InlineDiff.html
new file mode 100644
index 0000000000000000000000000000000000000000..91eeae9c441b07ae1dc8fe319db793e0e9a469fd
--- /dev/null
+++ b/doc/app/Gitlab/InlineDiff.html
@@ -0,0 +1,611 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::InlineDiff - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/inline_diff.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-_indexes_of_changed_lines">::_indexes_of_changed_lines</a>
+    
+    <li><a href="#method-c-processing">::processing</a>
+    
+    <li><a href="#method-c-replace_markers">::replace_markers</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::InlineDiff</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="FINISH">FINISH
+        
+        <dd class="description">
+        
+      
+        <dt id="START">START
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-_indexes_of_changed_lines" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">_indexes_of_changed_lines</span><span
+            class="method-args">(diff_arr)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="_indexes_of_changed_lines-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">_indexes_of_changed_lines</span> <span class="ruby-identifier">diff_arr</span>
+  <span class="ruby-identifier">chain_of_first_symbols</span> = <span class="ruby-string">&quot;&quot;</span>
+  <span class="ruby-identifier">diff_arr</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">chain_of_first_symbols</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">line</span>[<span class="ruby-value">0</span>]
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">chain_of_first_symbols</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r[^\-\+]/</span>, <span class="ruby-node">&quot;#&quot;</span>)
+
+  <span class="ruby-identifier">offset</span> = <span class="ruby-value">0</span>
+  <span class="ruby-identifier">indexes</span> = []
+  <span class="ruby-keyword">while</span> <span class="ruby-identifier">index</span> = <span class="ruby-identifier">chain_of_first_symbols</span>.<span class="ruby-identifier">index</span>(<span class="ruby-node">&quot;#-+#&quot;</span>, <span class="ruby-identifier">offset</span>)
+    <span class="ruby-identifier">indexes</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">index</span>
+    <span class="ruby-identifier">offset</span> = <span class="ruby-identifier">index</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">indexes</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- _indexes_of_changed_lines-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- _indexes_of_changed_lines-method -->
+
+    
+      <div id="method-c-processing" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">processing</span><span
+            class="method-args">(diff_arr)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="processing-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">processing</span> <span class="ruby-identifier">diff_arr</span>
+  <span class="ruby-identifier">indexes</span> = <span class="ruby-identifier">_indexes_of_changed_lines</span> <span class="ruby-identifier">diff_arr</span>
+
+  <span class="ruby-identifier">indexes</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">index</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">first_line</span> = <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
+    <span class="ruby-identifier">second_line</span> = <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]
+    <span class="ruby-identifier">max_length</span> = [<span class="ruby-identifier">first_line</span>.<span class="ruby-identifier">size</span>, <span class="ruby-identifier">second_line</span>.<span class="ruby-identifier">size</span>].<span class="ruby-identifier">max</span>
+
+    <span class="ruby-identifier">first_the_same_symbols</span> = <span class="ruby-value">0</span>
+    (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">max_length</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">first_the_same_symbols</span> = <span class="ruby-identifier">i</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-identifier">first_line</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">!=</span> <span class="ruby-identifier">second_line</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">i</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
+        <span class="ruby-keyword">break</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">first_token</span> = <span class="ruby-identifier">first_line</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">first_the_same_symbols</span>][<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
+    <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>].<span class="ruby-identifier">sub!</span>(<span class="ruby-identifier">first_token</span>, <span class="ruby-identifier">first_token</span> <span class="ruby-operator">+</span> <span class="ruby-constant">START</span>)
+    <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>].<span class="ruby-identifier">sub!</span>(<span class="ruby-identifier">first_token</span>, <span class="ruby-identifier">first_token</span> <span class="ruby-operator">+</span> <span class="ruby-constant">START</span>)
+    <span class="ruby-identifier">last_the_same_symbols</span> = <span class="ruby-value">0</span>
+    (<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">max_length</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">last_the_same_symbols</span> = <span class="ruby-operator">-</span><span class="ruby-identifier">i</span>
+      <span class="ruby-identifier">shortest_line</span> = <span class="ruby-identifier">second_line</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">first_line</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">first_line</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">second_line</span>
+      <span class="ruby-keyword">if</span> ( <span class="ruby-identifier">first_line</span>[<span class="ruby-operator">-</span><span class="ruby-identifier">i</span>] <span class="ruby-operator">!=</span> <span class="ruby-identifier">second_line</span>[<span class="ruby-operator">-</span><span class="ruby-identifier">i</span>] ) <span class="ruby-operator">||</span> <span class="ruby-node">&quot;#{first_token}#{START}&quot;</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">shortest_line</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-operator">-</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">size</span>
+        <span class="ruby-keyword">break</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">last_the_same_symbols</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
+    <span class="ruby-identifier">last_token</span> = <span class="ruby-identifier">first_line</span>[<span class="ruby-identifier">last_the_same_symbols</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
+    <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>].<span class="ruby-identifier">sub!</span>(<span class="ruby-node">%r#{Regexp.escape(last_token)}$/</span>, <span class="ruby-constant">FINISH</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">last_token</span>)
+    <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>].<span class="ruby-identifier">sub!</span>(<span class="ruby-node">%r#{Regexp.escape(last_token)}$/</span>, <span class="ruby-constant">FINISH</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">last_token</span>)
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">diff_arr</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- processing-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- processing-method -->
+
+    
+      <div id="method-c-replace_markers" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">replace_markers</span><span
+            class="method-args">(line)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="replace_markers-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">replace_markers</span> <span class="ruby-identifier">line</span>
+  <span class="ruby-identifier">line</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-constant">START</span>, <span class="ruby-string">&quot;&lt;span class='idiff'&gt;&quot;</span>)
+  <span class="ruby-identifier">line</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-constant">FINISH</span>, <span class="ruby-string">&quot;&lt;/span&gt;&quot;</span>)
+  <span class="ruby-identifier">line</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- replace_markers-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- replace_markers-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Issues.html b/doc/app/Gitlab/Issues.html
new file mode 100644
index 0000000000000000000000000000000000000000..eda99ed10dca084dc0406b03f9a9dd0bd8db947a
--- /dev/null
+++ b/doc/app/Gitlab/Issues.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Issues - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/issues.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Issues</h1>
+
+  <div id="description" class="description">
+    
+<p><a href="Issues.html">Issues</a> <a href="API.html">API</a></p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Logger.html b/doc/app/Gitlab/Logger.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cc6cdea81b9cffbf130c34604c781b885dd15eb
--- /dev/null
+++ b/doc/app/Gitlab/Logger.html
@@ -0,0 +1,583 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Logger - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/logger.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Logger
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-build">::build</a>
+    
+    <li><a href="#method-c-error">::error</a>
+    
+    <li><a href="#method-c-info">::info</a>
+    
+    <li><a href="#method-c-read_latest">::read_latest</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Logger</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-build" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">build</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="build-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">build</span>
+  <span class="ruby-identifier">new</span>(<span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;log&quot;</span>, <span class="ruby-identifier">file_name</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- build-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- build-method -->
+
+    
+      <div id="method-c-error" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">error</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="error-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">message</span>)
+  <span class="ruby-identifier">build</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">message</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- error-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- error-method -->
+
+    
+      <div id="method-c-info" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">info</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="info-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">info</span>(<span class="ruby-identifier">message</span>)
+  <span class="ruby-identifier">build</span>.<span class="ruby-identifier">info</span>(<span class="ruby-identifier">message</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- info-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- info-method -->
+
+    
+      <div id="method-c-read_latest" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">read_latest</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="read_latest-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">read_latest</span>
+  <span class="ruby-identifier">path</span> = <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;log&quot;</span>, <span class="ruby-identifier">file_name</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">build</span> <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">path</span>)
+  <span class="ruby-identifier">logs</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- read_latest-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- read_latest-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Markdown.html b/doc/app/Gitlab/Markdown.html
new file mode 100644
index 0000000000000000000000000000000000000000..12691455600dc7e895f5e1f662fc2d8212752647
--- /dev/null
+++ b/doc/app/Gitlab/Markdown.html
@@ -0,0 +1,580 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Gitlab::Markdown - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/markdown.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-gfm">#gfm</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Gitlab::Markdown</h1>
+
+  <div id="description" class="description">
+    
+<p>Custom parser for GitLab-flavored <a href="Markdown.html">Markdown</a></p>
+
+<p>It replaces references in the text with links to the appropriate items in
+GitLab.</p>
+
+<p>Supported reference formats are:</p>
+
+<pre>* @foo for team members
+* #123 for issues
+* !123 for merge requests
+* $123 for snippets
+* 123456 for commits</pre>
+
+<p>It also parses Emoji codes to insert images. See <a
+href="http://www.emoji-cheat-sheet.com/">www.emoji-cheat-sheet.com/</a> for
+a list of the supported icons.</p>
+
+<p>Examples</p>
+
+<pre class="ruby"><span class="ruby-operator">&gt;&gt;</span> <span class="ruby-identifier">gfm</span>(<span class="ruby-string">&quot;Hey @david, can you fix this?&quot;</span>)
+=<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;Hey &lt;a href=&quot;</span><span class="ruby-operator">/</span><span class="ruby-identifier">gitlab</span><span class="ruby-operator">/</span><span class="ruby-identifier">team_members</span><span class="ruby-operator">/</span><span class="ruby-value">1</span><span class="ruby-string">&quot;&gt;@david&lt;/a&gt;, can you fix this?&quot;</span>
+
+<span class="ruby-operator">&gt;&gt;</span> <span class="ruby-identifier">gfm</span>(<span class="ruby-node">&quot;Commit 35d5f7c closes #1234&quot;</span>)
+=<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;Commit &lt;a href=&quot;</span><span class="ruby-operator">/</span><span class="ruby-identifier">gitlab</span><span class="ruby-operator">/</span><span class="ruby-identifier">commits</span><span class="ruby-operator">/</span><span class="ruby-value">35</span><span class="ruby-identifier">d5f7c</span><span class="ruby-string">&quot;&gt;35d5f7c&lt;/a&gt; closes &lt;a href=&quot;</span><span class="ruby-operator">/</span><span class="ruby-identifier">gitlab</span><span class="ruby-operator">/</span><span class="ruby-identifier">issues</span><span class="ruby-operator">/</span><span class="ruby-value">1234</span><span class="ruby-node">&quot;&gt;#1234&lt;/a&gt;&quot;</span>
+
+<span class="ruby-operator">&gt;&gt;</span> <span class="ruby-identifier">gfm</span>(<span class="ruby-string">&quot;:trollface:&quot;</span>)
+=<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;&lt;img alt=\&quot;:trollface:\&quot; class=\&quot;emoji\&quot; src=\&quot;/images/trollface.png&quot;</span> <span class="ruby-identifier">title</span>=\<span class="ruby-string">&quot;:trollface:\&quot; /&gt;
+</span></pre>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="EMOJI_PATTERN">EMOJI_PATTERN
+        
+        <dd class="description">
+        
+      
+        <dt id="REFERENCE_PATTERN">REFERENCE_PATTERN
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-html_options" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">html_options</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-gfm" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">gfm</span><span
+            class="method-args">(text, html_options = {})</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Public: Parse the provided text with GitLab-Flavored <a
+href="Markdown.html">Markdown</a></p>
+
+<p>text         - the source text <a
+href="Markdown.html#attribute-i-html_options">#html_options</a> - extra
+options for the reference links as given to link_to</p>
+
+<p>Note: reference links will only be generated if @project is set</p>
+          
+
+          
+          <div class="method-source-code" id="gfm-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/markdown.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">gfm</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">html_options</span> = {})
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">text</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">text</span>.<span class="ruby-identifier">nil?</span>
+
+  <span class="ruby-comment"># Duplicate the string so we don't alter the original, then call to_str</span>
+  <span class="ruby-comment"># to cast it back to a String instead of a SafeBuffer. This is required</span>
+  <span class="ruby-comment"># for gsub calls to work as we need them to.</span>
+  <span class="ruby-identifier">text</span> = <span class="ruby-identifier">text</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">to_str</span>
+
+  <span class="ruby-ivar">@html_options</span> = <span class="ruby-identifier">html_options</span>
+
+  <span class="ruby-comment"># Extract pre blocks so they are not altered</span>
+  <span class="ruby-comment"># from http://github.github.com/github-flavored-markdown/</span>
+  <span class="ruby-identifier">extractions</span> = {}
+  <span class="ruby-identifier">text</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r{&lt;pre&gt;.*?&lt;/pre&gt;|&lt;code&gt;.*?&lt;/code&gt;}</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">match</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">md5</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">MD5</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">match</span>)
+    <span class="ruby-identifier">extractions</span>[<span class="ruby-identifier">md5</span>] = <span class="ruby-identifier">match</span>
+    <span class="ruby-node">&quot;{gfm-extraction-#{md5}}&quot;</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># TODO: add popups with additional information</span>
+
+  <span class="ruby-identifier">text</span> = <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">text</span>)
+
+  <span class="ruby-comment"># Insert pre block extractions</span>
+  <span class="ruby-identifier">text</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r\{gfm-extraction-(\h{32})\}/</span>) <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">extractions</span>[<span class="ruby-node">$1</span>]
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">sanitize</span> <span class="ruby-identifier">text</span>.<span class="ruby-identifier">html_safe</span>, <span class="ruby-identifier">attributes</span><span class="ruby-operator">:</span> <span class="ruby-constant">ActionView</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>.<span class="ruby-identifier">sanitized_allowed_attributes</span> <span class="ruby-operator">+</span> <span class="ruby-node">%w(id class)</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- gfm-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- gfm-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Merge.html b/doc/app/Gitlab/Merge.html
new file mode 100644
index 0000000000000000000000000000000000000000..99a66cd53bbeb206c5e828a8c75db17eefa3d16d
--- /dev/null
+++ b/doc/app/Gitlab/Merge.html
@@ -0,0 +1,628 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Merge - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/merge.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-can_be_merged-3F">#can_be_merged?</a>
+    
+    <li><a href="#method-i-merge-21">#merge!</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Merge</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-merge_request" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">merge_request</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-user" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">user</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(merge_request, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/merge.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">merge_request</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-identifier">merge_request</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-ivar">@user</span> = <span class="ruby-identifier">user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-can_be_merged-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can_be_merged?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can_be_merged-3F-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/merge.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_be_merged?</span>
+  <span class="ruby-identifier">in_locked_and_timed_satellite</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">merge_repo</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">merge_in_satellite!</span>(<span class="ruby-identifier">merge_repo</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can_be_merged-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can_be_merged-3F-method -->
+
+    
+      <div id="method-i-merge-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Merges the source branch into the target branch in the satellite and pushes
+it back to <a href="Gitolite.html">Gitolite</a>. It also removes the source
+branch if requested in the merge request.</p>
+
+<p>Returns false if the merge produced conflicts Returns false if pushing from
+the satallite to <a href="Gitolite.html">Gitolite</a> failed or was
+rejected Returns true otherwise</p>
+          
+
+          
+          <div class="method-source-code" id="merge-21-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/merge.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge!</span>
+  <span class="ruby-identifier">in_locked_and_timed_satellite</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">merge_repo</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_in_satellite!</span>(<span class="ruby-identifier">merge_repo</span>)
+      <span class="ruby-comment"># push merge back to Gitolite</span>
+      <span class="ruby-comment"># will raise CommandFailed when push fails</span>
+      <span class="ruby-identifier">merge_repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">push</span>({<span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-value">:origin</span>, <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">target_branch</span>)
+
+      <span class="ruby-comment"># remove source branch</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">should_remove_source_branch</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">project</span>.<span class="ruby-identifier">root_ref?</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">source_branch</span>)
+        <span class="ruby-comment"># will raise CommandFailed when push fails</span>
+        <span class="ruby-identifier">merge_repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">push</span>({<span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-value">:origin</span>, <span class="ruby-node">&quot;:#{merge_request.source_branch}&quot;</span>)
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-comment"># merge, push and branch removal successful</span>
+      <span class="ruby-keyword">true</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">CommandFailed</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge-21-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Milestones.html b/doc/app/Gitlab/Milestones.html
new file mode 100644
index 0000000000000000000000000000000000000000..aac605b28965a011e56e7d5727e09af29b7f67c7
--- /dev/null
+++ b/doc/app/Gitlab/Milestones.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Milestones - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/milestones.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Milestones</h1>
+
+  <div id="description" class="description">
+    
+<p><a href="Milestones.html">Milestones</a> <a href="API.html">API</a></p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Projects.html b/doc/app/Gitlab/Projects.html
new file mode 100644
index 0000000000000000000000000000000000000000..a44cba3c7c6b93c475f007e58c078cc7bf8d931f
--- /dev/null
+++ b/doc/app/Gitlab/Projects.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Projects - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/projects.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Projects</h1>
+
+  <div id="description" class="description">
+    
+<p><a href="Projects.html">Projects</a> <a href="API.html">API</a></p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Satellite.html b/doc/app/Gitlab/Satellite.html
new file mode 100644
index 0000000000000000000000000000000000000000..4615d1c67c25dcf7cae1e8938b0fb063711697fb
--- /dev/null
+++ b/doc/app/Gitlab/Satellite.html
@@ -0,0 +1,664 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Satellite - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/satellite.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-clear">#clear</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-exists-3F">#exists?</a>
+    
+    <li><a href="#method-i-path">#path</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Satellite</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="PARKING_BRANCH">PARKING_BRANCH
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/satellite.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span> = <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-clear" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">clear</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>will be deleted all branches except <a
+href="Satellite.html#PARKING_BRANCH">PARKING_BRANCH</a></p>
+          
+
+          
+          <div class="method-source-code" id="clear-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/satellite.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">clear</span>
+  <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">path</span>) <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">heads</span> = <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Repo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;.&quot;</span>).<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">head</span><span class="ruby-operator">|</span> <span class="ruby-identifier">head</span>.<span class="ruby-identifier">name</span>}
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">PARKING_BRANCH</span>
+      <span class="ruby-node">%xgit checkout #{PARKING_BRANCH}`</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-node">%xgit checkout -b #{PARKING_BRANCH}`</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-constant">PARKING_BRANCH</span>)
+    <span class="ruby-identifier">heads</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">head</span><span class="ruby-operator">|</span>
+      <span class="ruby-node">%xgit branch -D #{head}`</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- clear-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- clear-method -->
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/satellite.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-node">%xgit clone #{project.url_to_repo} #{path}`</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-exists-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">exists?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="exists-3F-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/satellite.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">exists?</span>
+  <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span> <span class="ruby-identifier">path</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- exists-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- exists-3F-method -->
+
+    
+      <div id="method-i-path" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">path</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="path-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/satellite.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">path</span>
+  <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;tmp&quot;</span>, <span class="ruby-string">&quot;repo_satellites&quot;</span>, <span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- path-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- path-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Session.html b/doc/app/Gitlab/Session.html
new file mode 100644
index 0000000000000000000000000000000000000000..12f3433ebfd4b3260a0c2943af8d28ae6d3ec095
--- /dev/null
+++ b/doc/app/Gitlab/Session.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Session - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/session.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Session</h1>
+
+  <div id="description" class="description">
+    
+<p><a href="Users.html">Users</a> <a href="API.html">API</a></p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Theme.html b/doc/app/Gitlab/Theme.html
new file mode 100644
index 0000000000000000000000000000000000000000..00b3e5f6b62088266e56f1f607e82dae4f4699ab
--- /dev/null
+++ b/doc/app/Gitlab/Theme.html
@@ -0,0 +1,493 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Theme - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/theme.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-css_class_by_id">::css_class_by_id</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Theme</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-css_class_by_id" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">css_class_by_id</span><span
+            class="method-args">(id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="css_class_by_id-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/theme.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">css_class_by_id</span>(<span class="ruby-identifier">id</span>)
+  <span class="ruby-identifier">themes</span> = { 
+    <span class="ruby-value">1</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_basic&quot;</span>,
+    <span class="ruby-value">2</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_mars&quot;</span>,
+    <span class="ruby-value">3</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_modern&quot;</span>
+  }
+
+  <span class="ruby-identifier">id</span> <span class="ruby-operator">||=</span> <span class="ruby-value">1</span>
+
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">themes</span>[<span class="ruby-identifier">id</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- css_class_by_id-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- css_class_by_id-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Gitlab/Users.html b/doc/app/Gitlab/Users.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9712874c6509ddb321c62e3317ab8364f9088a7
--- /dev/null
+++ b/doc/app/Gitlab/Users.html
@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Gitlab::Users - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/api/users.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Grape::API
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Gitlab::Users</h1>
+
+  <div id="description" class="description">
+    
+<p><a href="Users.html">Users</a> <a href="API.html">API</a></p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/GitlabMarkdownHelper.html b/doc/app/GitlabMarkdownHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..6bf172ac8f8580548ad5be1eb1dd1dcd81a4bc65
--- /dev/null
+++ b/doc/app/GitlabMarkdownHelper.html
@@ -0,0 +1,559 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module GitlabMarkdownHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/gitlab_markdown_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-link_to_gfm">#link_to_gfm</a>
+    
+    <li><a href="#method-i-markdown">#markdown</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module GitlabMarkdownHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-link_to_gfm" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_gfm</span><span
+            class="method-args">(body, url, html_options = {})</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Use this in places where you would normally use link_to(gfm(…), …).</p>
+
+<p>It solves a problem occurring with nested links (i.e. “&lt;a&gt;outer text
+&lt;a&gt;gfm ref&lt;/a&gt; more outer text&lt;/a&gt;”). This will not be
+interpreted as intended. Browsers will parse something like “&lt;a&gt;outer
+text &lt;/a&gt;&lt;a&gt;gfm ref&lt;/a&gt; more outer text” (notice the last
+part is not linked any more). <a
+href="GitlabMarkdownHelper.html#method-i-link_to_gfm">#link_to_gfm</a>
+corrects that. It wraps all parts to explicitly produce the correct linking
+behavior (i.e. “&lt;a&gt;outer text &lt;/a&gt;&lt;a&gt;gfm
+ref&lt;/a&gt;&lt;a&gt; more outer text&lt;/a&gt;”).</p>
+          
+
+          
+          <div class="method-source-code" id="link_to_gfm-source">
+            <pre><span class="ruby-comment"># File app/helpers/gitlab_markdown_helper.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_gfm</span>(<span class="ruby-identifier">body</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">html_options</span> = {})
+  <span class="ruby-keyword">return</span> <span class="ruby-string">&quot;&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">body</span>.<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-identifier">gfm_body</span> = <span class="ruby-identifier">gfm</span>(<span class="ruby-identifier">escape_once</span>(<span class="ruby-identifier">body</span>), <span class="ruby-identifier">html_options</span>)
+
+  <span class="ruby-identifier">gfm_body</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r{&lt;a.*?&gt;.*?&lt;/a&gt;}</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">match</span><span class="ruby-operator">|</span>
+    <span class="ruby-node">&quot;&lt;/a&gt;#{match}#{link_to(&quot;&quot;, url, html_options)[0..-5]}&quot;</span> <span class="ruby-comment"># &quot;&lt;/a&gt;&quot;.length +1</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">link_to</span>(<span class="ruby-identifier">gfm_body</span>.<span class="ruby-identifier">html_safe</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">html_options</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_gfm-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_gfm-method -->
+
+    
+      <div id="method-i-markdown" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">markdown</span><span
+            class="method-args">(text)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="markdown-source">
+            <pre><span class="ruby-comment"># File app/helpers/gitlab_markdown_helper.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">markdown</span>(<span class="ruby-identifier">text</span>)
+  <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@markdown</span>
+    <span class="ruby-identifier">gitlab_renderer</span> = <span class="ruby-constant">Redcarpet</span><span class="ruby-operator">::</span><span class="ruby-constant">Render</span><span class="ruby-operator">::</span><span class="ruby-constant">GitlabHTML</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>,
+                        <span class="ruby-comment"># see https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch-</span>
+                        <span class="ruby-identifier">filter_html</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                        <span class="ruby-identifier">with_toc_data</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                        <span class="ruby-identifier">hard_wrap</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>)
+    <span class="ruby-ivar">@markdown</span> = <span class="ruby-constant">Redcarpet</span><span class="ruby-operator">::</span><span class="ruby-constant">Markdown</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">gitlab_renderer</span>,
+                    <span class="ruby-comment"># see https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use</span>
+                    <span class="ruby-identifier">no_intra_emphasis</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">tables</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">fenced_code_blocks</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">autolink</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">strikethrough</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">lax_html_blocks</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">space_after_headers</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>,
+                    <span class="ruby-identifier">superscript</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@markdown</span>.<span class="ruby-identifier">render</span>(<span class="ruby-identifier">text</span>).<span class="ruby-identifier">html_safe</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- markdown-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- markdown-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Grack.html b/doc/app/Grack.html
new file mode 100644
index 0000000000000000000000000000000000000000..e3c5bbd482e0e57343c12bc8a9ac2bb1c9a51584
--- /dev/null
+++ b/doc/app/Grack.html
@@ -0,0 +1,433 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Grack - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/grack_auth.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Grack</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Grack/Auth.html b/doc/app/Grack/Auth.html
new file mode 100644
index 0000000000000000000000000000000000000000..5da483f791abeffac938e8c750a069275c650f48
--- /dev/null
+++ b/doc/app/Grack/Auth.html
@@ -0,0 +1,734 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Grack::Auth - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/gitlab/backend/grack_auth.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Rack::Auth::Basic
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-abilities">#abilities</a>
+    
+    <li><a href="#method-i-can-3F">#can?</a>
+    
+    <li><a href="#method-i-current_ref">#current_ref</a>
+    
+    <li><a href="#method-i-valid-3F">#valid?</a>
+    
+    <li><a href="#method-i-validate_get_request">#validate_get_request</a>
+    
+    <li><a href="#method-i-validate_post_request">#validate_post_request</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Grack::Auth</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-user" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">user</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-can-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can?</span><span
+            class="method-args">(object, action, subject)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can-3F-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+  <span class="ruby-identifier">abilities</span>.<span class="ruby-identifier">allowed?</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can-3F-method -->
+
+    
+      <div id="method-i-current_ref" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">current_ref</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="current_ref-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">current_ref</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@env</span>[<span class="ruby-string">&quot;HTTP_CONTENT_ENCODING&quot;</span>] <span class="ruby-operator">=~</span> <span class="ruby-regexp">%rgzip/</span>
+    <span class="ruby-identifier">input</span> = <span class="ruby-constant">Zlib</span><span class="ruby-operator">::</span><span class="ruby-constant">GzipReader</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@request</span>.<span class="ruby-identifier">body</span>).<span class="ruby-identifier">read</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">input</span> = <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">read</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-comment"># Need to reset seek point</span>
+  <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">rewind</span>
+  <span class="ruby-regexp">%rrefs\/heads\/([\w-]+)/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">input</span>).<span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- current_ref-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- current_ref-method -->
+
+    
+      <div id="method-i-valid-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">valid?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="valid-3F-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">valid?</span>
+  <span class="ruby-comment"># Authentication with username and password</span>
+  <span class="ruby-identifier">email</span>, <span class="ruby-identifier">password</span> = <span class="ruby-ivar">@auth</span>.<span class="ruby-identifier">credentials</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_email</span>(<span class="ruby-identifier">email</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:valid_password?</span>, <span class="ruby-identifier">password</span>)
+
+  <span class="ruby-comment"># Set GL_USER env variable</span>
+  <span class="ruby-constant">ENV</span>[<span class="ruby-string">'GL_USER'</span>] = <span class="ruby-identifier">email</span>
+  <span class="ruby-comment"># Pass Gitolite update hook</span>
+  <span class="ruby-constant">ENV</span>[<span class="ruby-string">'GL_BYPASS_UPDATE_HOOK'</span>] = <span class="ruby-string">&quot;true&quot;</span>
+
+  <span class="ruby-comment"># Need this patch due to the rails mount</span>
+  <span class="ruby-ivar">@env</span>[<span class="ruby-string">'PATH_INFO'</span>] = <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">path</span>
+  <span class="ruby-ivar">@env</span>[<span class="ruby-string">'SCRIPT_NAME'</span>] = <span class="ruby-string">&quot;&quot;</span>
+
+  <span class="ruby-comment"># Find project by PATH_INFO from env</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">m</span> = <span class="ruby-regexp">%r^\/([\w-]+).git/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-ivar">@request</span>.<span class="ruby-identifier">path_info</span>).<span class="ruby-identifier">to_a</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">find_by_path</span>(<span class="ruby-identifier">m</span>.<span class="ruby-identifier">last</span>)
+    <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># Git upload and receive</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">get?</span>
+    <span class="ruby-identifier">validate_get_request</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">post?</span>
+    <span class="ruby-identifier">validate_post_request</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">false</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- valid-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- valid-3F-method -->
+
+    
+      <div id="method-i-validate_get_request" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">validate_get_request</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="validate_get_request-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_get_request</span>
+  <span class="ruby-keyword">true</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- validate_get_request-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- validate_get_request-method -->
+
+    
+      <div id="method-i-validate_post_request" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">validate_post_request</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="validate_post_request-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_post_request</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">path_info</span>.<span class="ruby-identifier">end_with?</span>(<span class="ruby-string">'git-upload-pack'</span>)
+    <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">user</span>, <span class="ruby-value">:push_code</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-keyword">elsif</span> <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">path_info</span>.<span class="ruby-identifier">end_with?</span>(<span class="ruby-string">'git-receive-pack'</span>)
+    <span class="ruby-identifier">action</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">protected_branch?</span>(<span class="ruby-identifier">current_ref</span>)
+               <span class="ruby-value">:push_code_to_protected_branches</span>
+             <span class="ruby-keyword">else</span>
+               <span class="ruby-value">:push_code</span>
+             <span class="ruby-keyword">end</span>
+
+    <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">false</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- validate_post_request-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- validate_post_request-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-abilities" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">abilities</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="abilities-source">
+            <pre><span class="ruby-comment"># File lib/gitlab/backend/grack_auth.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">abilities</span>
+  <span class="ruby-ivar">@abilities</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
+                   <span class="ruby-identifier">abilities</span> = <span class="ruby-constant">Six</span>.<span class="ruby-identifier">new</span>
+                   <span class="ruby-identifier">abilities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Ability</span>
+                   <span class="ruby-identifier">abilities</span>
+                 <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- abilities-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- abilities-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Group.html b/doc/app/Group.html
new file mode 100644
index 0000000000000000000000000000000000000000..a23e1da678828bbe6363a4b922e08b005011b96b
--- /dev/null
+++ b/doc/app/Group.html
@@ -0,0 +1,555 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Group - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/group.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-search">::search</a>
+    
+    <li><a href="#method-i-to_param">#to_param</a>
+    
+    <li><a href="#method-i-users">#users</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Group</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">(query)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/models/group.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">search</span> <span class="ruby-identifier">query</span>
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;name LIKE :query OR code LIKE :query&quot;</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;%#{query}%&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-to_param" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_param</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_param-source">
+            <pre><span class="ruby-comment"># File app/models/group.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_param</span>
+  <span class="ruby-identifier">code</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_param-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_param-method -->
+
+    
+      <div id="method-i-users" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">users</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="users-source">
+            <pre><span class="ruby-comment"># File app/models/group.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">users</span>
+  <span class="ruby-constant">User</span>.<span class="ruby-identifier">joins</span>(<span class="ruby-value">:users_projects</span>).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">users_projects</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_ids</span>}).<span class="ruby-identifier">uniq</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- users-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- users-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/GroupsController.html b/doc/app/GroupsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..72e1022cc06a4c20af502b28a3abd91a57d53623
--- /dev/null
+++ b/doc/app/GroupsController.html
@@ -0,0 +1,735 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class GroupsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/groups_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-group">#group</a>
+    
+    <li><a href="#method-i-issues">#issues</a>
+    
+    <li><a href="#method-i-merge_requests">#merge_requests</a>
+    
+    <li><a href="#method-i-people">#people</a>
+    
+    <li><a href="#method-i-project_ids">#project_ids</a>
+    
+    <li><a href="#method-i-projects">#projects</a>
+    
+    <li><a href="#method-i-search">#search</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class GroupsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-issues" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issues</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Get only assigned issues</p>
+          
+
+          
+          <div class="method-source-code" id="issues-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issues</span>
+  <span class="ruby-ivar">@user</span>   = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">assigned_issues</span>.<span class="ruby-identifier">opened</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">of_group</span>(<span class="ruby-ivar">@group</span>).<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:author</span>, <span class="ruby-value">:project</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issues-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issues-method -->
+
+    
+      <div id="method-i-merge_requests" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_requests</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Get authored or assigned open merge requests</p>
+          
+
+          
+          <div class="method-source-code" id="merge_requests-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_requests</span>
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">cared_merge_requests</span>
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-ivar">@merge_requests</span>.<span class="ruby-identifier">of_group</span>(<span class="ruby-ivar">@group</span>).<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_requests-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_requests-method -->
+
+    
+      <div id="method-i-people" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">people</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="people-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">people</span>
+  <span class="ruby-ivar">@users</span> = <span class="ruby-identifier">group</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- people-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- people-method -->
+
+    
+      <div id="method-i-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search</span>
+  <span class="ruby-identifier">result</span> = <span class="ruby-constant">SearchContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project_ids</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+
+  <span class="ruby-ivar">@projects</span>       = <span class="ruby-identifier">result</span>[<span class="ruby-value">:projects</span>]
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:merge_requests</span>]
+  <span class="ruby-ivar">@issues</span>         = <span class="ruby-identifier">result</span>[<span class="ruby-value">:issues</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@events</span> = <span class="ruby-constant">Event</span>.<span class="ruby-identifier">in_projects</span>(<span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>).<span class="ruby-identifier">offset</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:offset</span>] <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
+  <span class="ruby-ivar">@last_push</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">recent_push</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-group" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">group</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="group-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">group</span>
+  <span class="ruby-ivar">@group</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Group</span>.<span class="ruby-identifier">find_by_code</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- group-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- group-method -->
+
+    
+      <div id="method-i-project_ids" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_ids</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_ids-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_ids</span>
+  <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_ids-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_ids-method -->
+
+    
+      <div id="method-i-projects" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">projects</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="projects-source">
+            <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">projects</span>
+  <span class="ruby-ivar">@projects</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">projects_with_events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">group_id</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- projects-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- projects-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/HelpController.html b/doc/app/HelpController.html
new file mode 100644
index 0000000000000000000000000000000000000000..afbbeb0bfc329245adb10d406e12fc2bfc00bf7f
--- /dev/null
+++ b/doc/app/HelpController.html
@@ -0,0 +1,484 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class HelpController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/help_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-index">#index</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class HelpController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/help_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/HooksController.html b/doc/app/HooksController.html
new file mode 100644
index 0000000000000000000000000000000000000000..70fd89c331765e315e368ae954901674d28350fc
--- /dev/null
+++ b/doc/app/HooksController.html
@@ -0,0 +1,595 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class HooksController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/hooks_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-test">#test</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class HooksController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:hook</span>])
+  <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">save</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">valid?</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_hooks_path</span>(<span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-ivar">@hooks</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">all</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-value">:index</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@hook</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_hooks_path</span>(<span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@hooks</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">all</span>
+  <span class="ruby-ivar">@hook</span> = <span class="ruby-constant">ProjectHook</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-test" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">test</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="test-source">
+            <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">test</span>
+  <span class="ruby-constant">TestHookContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- test-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- test-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Issue.html b/doc/app/Issue.html
new file mode 100644
index 0000000000000000000000000000000000000000..e8a7881c48447b55bdb87321effabef0c5ad07a4
--- /dev/null
+++ b/doc/app/Issue.html
@@ -0,0 +1,501 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Issue - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/issue.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="IssueCommonality.html">IssueCommonality</a>
+  
+  
+  
+    <li><a class="include" href="Votes.html">Votes</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-open_for">::open_for</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Issue</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-open_for" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">open_for</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="open_for-source">
+            <pre><span class="ruby-comment"># File app/models/issue.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">open_for</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">opened</span>.<span class="ruby-identifier">assigned</span>(<span class="ruby-identifier">user</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- open_for-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- open_for-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssueCommonality.html b/doc/app/IssueCommonality.html
new file mode 100644
index 0000000000000000000000000000000000000000..336580d8f9b4db50ad6e0b9cc737e10edfbc9bc0
--- /dev/null
+++ b/doc/app/IssueCommonality.html
@@ -0,0 +1,641 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module IssueCommonality - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/issue_commonality.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-is_assigned-3F">#is_assigned?</a>
+    
+    <li><a href="#method-i-is_being_closed-3F">#is_being_closed?</a>
+    
+    <li><a href="#method-i-is_being_reassigned-3F">#is_being_reassigned?</a>
+    
+    <li><a href="#method-i-is_being_reopened-3F">#is_being_reopened?</a>
+    
+    <li><a href="#method-i-new-3F">#new?</a>
+    
+    <li><a href="#method-i-today-3F">#today?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module IssueCommonality</h1>
+
+  <div id="description" class="description">
+    
+<p>Contains common functionality shared between Issues and MergeRequests</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-is_assigned-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_assigned?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_assigned-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_assigned?</span>
+  <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">assignee_id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_assigned-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_assigned-3F-method -->
+
+    
+      <div id="method-i-is_being_closed-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_being_closed?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_being_closed-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_being_closed?</span>
+  <span class="ruby-identifier">closed_changed?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">closed</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_being_closed-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_being_closed-3F-method -->
+
+    
+      <div id="method-i-is_being_reassigned-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_being_reassigned?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_being_reassigned-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_being_reassigned?</span>
+  <span class="ruby-identifier">assignee_id_changed?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_being_reassigned-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_being_reassigned-3F-method -->
+
+    
+      <div id="method-i-is_being_reopened-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_being_reopened?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_being_reopened-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_being_reopened?</span>
+  <span class="ruby-identifier">closed_changed?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">closed</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_being_reopened-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_being_reopened-3F-method -->
+
+    
+      <div id="method-i-new-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new?</span>
+  <span class="ruby-identifier">today?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">created_at</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">updated_at</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-3F-method -->
+
+    
+      <div id="method-i-today-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">today?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="today-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">today?</span>
+  <span class="ruby-constant">Date</span>.<span class="ruby-identifier">today</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">created_at</span>.<span class="ruby-identifier">to_date</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- today-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- today-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssueCommonality/ClassMethods.html b/doc/app/IssueCommonality/ClassMethods.html
new file mode 100644
index 0000000000000000000000000000000000000000..d4ab179d07cc372b14871fd486479baed3ddf5d0
--- /dev/null
+++ b/doc/app/IssueCommonality/ClassMethods.html
@@ -0,0 +1,479 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module IssueCommonality::ClassMethods - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/issue_commonality.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-search">#search</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module IssueCommonality::ClassMethods</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">(query)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>)
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;title like :query&quot;</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;%#{query}%&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssueObserver.html b/doc/app/IssueObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..7f16a8653f52166044131d06de179e5ccb12236c
--- /dev/null
+++ b/doc/app/IssueObserver.html
@@ -0,0 +1,571 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class IssueObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/issue_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_update">#after_update</a>
+    
+    <li><a href="#method-i-send_reassigned_email">#send_reassigned_email</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class IssueObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">issue</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">current_user</span>
+    <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">new_issue_email</span>(<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">deliver</span> 
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_update</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_update-source">
+            <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_update</span>(<span class="ruby-identifier">issue</span>)
+  <span class="ruby-identifier">send_reassigned_email</span>(<span class="ruby-identifier">issue</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">is_being_reassigned?</span>
+
+  <span class="ruby-identifier">status</span> = <span class="ruby-keyword">nil</span>
+  <span class="ruby-identifier">status</span> = <span class="ruby-string">'closed'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">is_being_closed?</span>
+  <span class="ruby-identifier">status</span> = <span class="ruby-string">'reopened'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">is_being_reopened?</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">status</span>
+    <span class="ruby-constant">Note</span>.<span class="ruby-identifier">create_status_change_note</span>(<span class="ruby-identifier">issue</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">status</span>) 
+    [<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">author</span>, <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee</span>].<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">recipient</span><span class="ruby-operator">|</span> 
+      <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">issue_status_changed_email</span>(<span class="ruby-identifier">recipient</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">status</span>, <span class="ruby-identifier">current_user</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-send_reassigned_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">send_reassigned_email</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="send_reassigned_email-source">
+            <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">send_reassigned_email</span>(<span class="ruby-identifier">issue</span>)
+  <span class="ruby-identifier">recipient_ids</span> = [<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_id</span>, <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_id_was</span>].<span class="ruby-identifier">keep_if</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">id</span><span class="ruby-operator">|</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span> }
+
+  <span class="ruby-identifier">recipient_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">recipient_id</span><span class="ruby-operator">|</span>
+    <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">reassigned_issue_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_id_was</span>).<span class="ruby-identifier">deliver</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- send_reassigned_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- send_reassigned_email-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssuesBulkUpdateContext.html b/doc/app/IssuesBulkUpdateContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..1d87a7579172f5b68be4ef43f1f2b405e0ff9b54
--- /dev/null
+++ b/doc/app/IssuesBulkUpdateContext.html
@@ -0,0 +1,503 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class IssuesBulkUpdateContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/issues_bulk_update_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class IssuesBulkUpdateContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/issues_bulk_update_context.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">update_data</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:update</span>]
+
+  <span class="ruby-identifier">issues_ids</span>   = <span class="ruby-identifier">update_data</span>[<span class="ruby-value">:issues_ids</span>].<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;,&quot;</span>)
+  <span class="ruby-identifier">milestone_id</span> = <span class="ruby-identifier">update_data</span>[<span class="ruby-value">:milestone_id</span>]
+  <span class="ruby-identifier">assignee_id</span>  = <span class="ruby-identifier">update_data</span>[<span class="ruby-value">:assignee_id</span>]
+  <span class="ruby-identifier">status</span>       = <span class="ruby-identifier">update_data</span>[<span class="ruby-value">:status</span>]
+
+  <span class="ruby-identifier">opts</span> = {} 
+  <span class="ruby-identifier">opts</span>[<span class="ruby-value">:milestone_id</span>] = <span class="ruby-identifier">milestone_id</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">milestone_id</span>.<span class="ruby-identifier">present?</span>
+  <span class="ruby-identifier">opts</span>[<span class="ruby-value">:assignee_id</span>] = <span class="ruby-identifier">assignee_id</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">assignee_id</span>.<span class="ruby-identifier">present?</span>
+  <span class="ruby-identifier">opts</span>[<span class="ruby-value">:closed</span>] = (<span class="ruby-identifier">status</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;closed&quot;</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">status</span>.<span class="ruby-identifier">present?</span>
+
+  <span class="ruby-identifier">issues</span> = <span class="ruby-constant">Issue</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">issues_ids</span>).<span class="ruby-identifier">all</span>
+  <span class="ruby-identifier">issues</span> = <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">issue</span><span class="ruby-operator">|</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:modify_issue</span>, <span class="ruby-identifier">issue</span>) }
+  <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">issue</span><span class="ruby-operator">|</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">opts</span>) }
+  { 
+    <span class="ruby-identifier">count</span><span class="ruby-operator">:</span> <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">count</span>,
+    <span class="ruby-identifier">success</span><span class="ruby-operator">:</span> <span class="ruby-operator">!</span><span class="ruby-identifier">issues</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">zero?</span>
+  }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssuesController.html b/doc/app/IssuesController.html
new file mode 100644
index 0000000000000000000000000000000000000000..6b3edbb635479ce085591ca0d9b816ac3d7c8b29
--- /dev/null
+++ b/doc/app/IssuesController.html
@@ -0,0 +1,996 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class IssuesController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/issues_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-authorize_admin_issue-21">#authorize_admin_issue!</a>
+    
+    <li><a href="#method-i-authorize_modify_issue-21">#authorize_modify_issue!</a>
+    
+    <li><a href="#method-i-bulk_update">#bulk_update</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-issue">#issue</a>
+    
+    <li><a href="#method-i-issues_filtered">#issues_filtered</a>
+    
+    <li><a href="#method-i-module_enabled">#module_enabled</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-search">#search</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-sort">#sort</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class IssuesController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-bulk_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">bulk_update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="bulk_update-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 111</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">bulk_update</span>
+  <span class="ruby-identifier">result</span> = <span class="ruby-constant">IssuesBulkUpdateContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{result[:count]} issues updated&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- bulk_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- bulk_update-method -->
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:issue</span>])
+  <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">author</span> = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">save</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">valid?</span>
+        <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_issue_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@issue</span>)
+      <span class="ruby-keyword">else</span>
+        <span class="ruby-identifier">render</span> <span class="ruby-value">:new</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_issues_path</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@issue</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">issues_filtered</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-comment"># index.html.erb</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">atom</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">layout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:issue</span>])
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@issue</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 101</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search</span>
+  <span class="ruby-identifier">terms</span> = <span class="ruby-identifier">params</span>[<span class="ruby-string">'terms'</span>]
+
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">issues_filtered</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;title LIKE ?&quot;</span>, <span class="ruby-node">&quot;%#{terms}%&quot;</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">terms</span>.<span class="ruby-identifier">blank?</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">100</span>)
+
+  <span class="ruby-identifier">render</span> <span class="ruby-identifier">partial</span><span class="ruby-operator">:</span> <span class="ruby-string">'issues'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">noteable</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@issue</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-sort" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">sort</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="sort-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">sort</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_issue</span>, <span class="ruby-ivar">@project</span>)
+
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-string">'issue'</span>])
+  <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">issue</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">position</span> = <span class="ruby-identifier">params</span>[<span class="ruby-string">'issue'</span>].<span class="ruby-identifier">index</span>(<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
+    <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">save</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- sort-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- sort-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:issue</span>].<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">author_id_of_changes</span><span class="ruby-operator">:</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span>))
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">valid?</span>
+        <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@issue</span>]
+      <span class="ruby-keyword">else</span>
+        <span class="ruby-identifier">render</span> <span class="ruby-value">:edit</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-authorize_admin_issue-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_admin_issue!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_admin_issue-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_admin_issue!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_issue</span>, <span class="ruby-ivar">@issue</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_admin_issue-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_admin_issue-21-method -->
+
+    
+      <div id="method-i-authorize_modify_issue-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_modify_issue!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_modify_issue-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 122</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_modify_issue!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:modify_issue</span>, <span class="ruby-ivar">@issue</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_modify_issue-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_modify_issue-21-method -->
+
+    
+      <div id="method-i-issue" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue</span>
+  <span class="ruby-ivar">@issue</span> <span class="ruby-operator">||=</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue-method -->
+
+    
+      <div id="method-i-issues_filtered" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issues_filtered</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issues_filtered-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 134</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issues_filtered</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-constant">IssuesListContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issues_filtered-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issues_filtered-method -->
+
+    
+      <div id="method-i-module_enabled" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">module_enabled</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="module_enabled-source">
+            <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 130</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">module_enabled</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_enabled</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- module_enabled-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- module_enabled-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssuesHelper.html b/doc/app/IssuesHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..d58a5f7f1a582f3e389234c420fa33be4af52850
--- /dev/null
+++ b/doc/app/IssuesHelper.html
@@ -0,0 +1,698 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module IssuesHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/issues_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-issue_css_classes">#issue_css_classes</a>
+    
+    <li><a href="#method-i-issue_tags">#issue_tags</a>
+    
+    <li><a href="#method-i-issues_filter">#issues_filter</a>
+    
+    <li><a href="#method-i-link_to_issue_assignee">#link_to_issue_assignee</a>
+    
+    <li><a href="#method-i-link_to_issue_author">#link_to_issue_author</a>
+    
+    <li><a href="#method-i-project_issues_filter_path">#project_issues_filter_path</a>
+    
+    <li><a href="#method-i-unassigned_filter">#unassigned_filter</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module IssuesHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-issue_css_classes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue_css_classes</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue_css_classes-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue_css_classes</span> <span class="ruby-identifier">issue</span>
+  <span class="ruby-identifier">classes</span> = <span class="ruby-string">&quot;issue&quot;</span>
+  <span class="ruby-identifier">classes</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot; closed&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">closed</span>
+  <span class="ruby-identifier">classes</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot; today&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">today?</span>
+  <span class="ruby-identifier">classes</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue_css_classes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue_css_classes-method -->
+
+    
+      <div id="method-i-issue_tags" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue_tags</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue_tags-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue_tags</span>
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">tag_counts_on</span>(<span class="ruby-value">:labels</span>).<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue_tags-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue_tags-method -->
+
+    
+      <div id="method-i-issues_filter" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issues_filter</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issues_filter-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issues_filter</span>
+  {
+    <span class="ruby-identifier">all</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;all&quot;</span>,
+    <span class="ruby-identifier">closed</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;closed&quot;</span>,
+    <span class="ruby-identifier">to_me</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;assigned-to-me&quot;</span>,
+    <span class="ruby-identifier">open</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;open&quot;</span>
+  }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issues_filter-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issues_filter-method -->
+
+    
+      <div id="method-i-link_to_issue_assignee" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_issue_assignee</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_issue_assignee-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_issue_assignee</span>(<span class="ruby-identifier">issue</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">project</span>
+
+  <span class="ruby-identifier">tm</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_id</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+    <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_name</span>, <span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">tm</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;author_link&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">assignee_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_issue_assignee-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_issue_assignee-method -->
+
+    
+      <div id="method-i-link_to_issue_author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_issue_author</span><span
+            class="method-args">(issue)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_issue_author-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_issue_author</span>(<span class="ruby-identifier">issue</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">project</span>
+
+  <span class="ruby-identifier">tm</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">issue</span>.<span class="ruby-identifier">author_id</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+    <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">author_name</span>, <span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">tm</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;author_link&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">issue</span>.<span class="ruby-identifier">author_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_issue_author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_issue_author-method -->
+
+    
+      <div id="method-i-project_issues_filter_path" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_issues_filter_path</span><span
+            class="method-args">(project, params = {})</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_issues_filter_path-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_issues_filter_path</span> <span class="ruby-identifier">project</span>, <span class="ruby-identifier">params</span> = {}
+  <span class="ruby-identifier">params</span>[<span class="ruby-value">:f</span>] <span class="ruby-operator">||=</span> <span class="ruby-identifier">cookies</span>[<span class="ruby-string">'issue_filter'</span>]
+  <span class="ruby-identifier">project_issues_path</span> <span class="ruby-identifier">project</span>, <span class="ruby-identifier">params</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_issues_filter_path-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_issues_filter_path-method -->
+
+    
+      <div id="method-i-unassigned_filter" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unassigned_filter</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an OpenStruct object suitable for use by
+<code>options_from_collection_for_select</code> to allow filtering issues
+by an unassigned <a href="User.html">User</a> or <a
+href="Milestone.html">Milestone</a></p>
+          
+
+          
+          <div class="method-source-code" id="unassigned_filter-source">
+            <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unassigned_filter</span>
+  <span class="ruby-comment"># Milestone uses :title, Issue uses :name</span>
+  <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">title</span><span class="ruby-operator">:</span> <span class="ruby-string">'Unspecified'</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-string">'Unassigned'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unassigned_filter-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unassigned_filter-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/IssuesListContext.html b/doc/app/IssuesListContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..01acec4583e149799f5440d60020cf2a2faed8fa
--- /dev/null
+++ b/doc/app/IssuesListContext.html
@@ -0,0 +1,537 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class IssuesListContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/issues_list_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="IssuesHelper.html">IssuesHelper</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class IssuesListContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-issues" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">issues</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/issues_list_context.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:f</span>]
+            <span class="ruby-keyword">when</span> <span class="ruby-identifier">issues_filter</span>[<span class="ruby-value">:all</span>] <span class="ruby-keyword">then</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>
+            <span class="ruby-keyword">when</span> <span class="ruby-identifier">issues_filter</span>[<span class="ruby-value">:closed</span>] <span class="ruby-keyword">then</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">closed</span>
+            <span class="ruby-keyword">when</span> <span class="ruby-identifier">issues_filter</span>[<span class="ruby-value">:to_me</span>] <span class="ruby-keyword">then</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">assigned</span>(<span class="ruby-identifier">current_user</span>)
+            <span class="ruby-keyword">else</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">opened</span>
+            <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">tagged_with</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:label_name</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:label_name</span>].<span class="ruby-identifier">present?</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:author</span>, <span class="ruby-value">:project</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;updated_at&quot;</span>)
+
+  <span class="ruby-comment"># Filter by specific assignee_id (or lack thereof)?</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:assignee_id</span>].<span class="ruby-identifier">present?</span>
+    <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">assignee_id</span><span class="ruby-operator">:</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:assignee_id</span>] <span class="ruby-operator">==</span> <span class="ruby-string">'0'</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:assignee_id</span>]))
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># Filter by specific milestone_id (or lack thereof)?</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:milestone_id</span>].<span class="ruby-identifier">present?</span>
+    <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">milestone_id</span><span class="ruby-operator">:</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:milestone_id</span>] <span class="ruby-operator">==</span> <span class="ruby-string">'0'</span> <span class="ruby-operator">?</span> <span class="ruby-keyword">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:milestone_id</span>]))
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@issues</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Key.html b/doc/app/Key.html
new file mode 100644
index 0000000000000000000000000000000000000000..afbcea93b995716bec524a4a8496a6c8b32db299
--- /dev/null
+++ b/doc/app/Key.html
@@ -0,0 +1,700 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Key - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/key.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-fingerprintable_key">#fingerprintable_key</a>
+    
+    <li><a href="#method-i-is_deploy_key">#is_deploy_key</a>
+    
+    <li><a href="#method-i-last_deploy-3F">#last_deploy?</a>
+    
+    <li><a href="#method-i-projects">#projects</a>
+    
+    <li><a href="#method-i-set_identifier">#set_identifier</a>
+    
+    <li><a href="#method-i-strip_white_space">#strip_white_space</a>
+    
+    <li><a href="#method-i-unique_key">#unique_key</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Key</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-fingerprintable_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">fingerprintable_key</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="fingerprintable_key-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">fingerprintable_key</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">key</span> <span class="ruby-comment"># Don't test if there is no key.</span>
+  <span class="ruby-comment"># `ssh-keygen -lf /dev/stdin &lt;&lt;&lt; &quot;#{key}&quot;` errors with: redirection unexpected</span>
+  <span class="ruby-identifier">file</span> = <span class="ruby-constant">Tempfile</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'key_file'</span>)
+  <span class="ruby-keyword">begin</span>
+    <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">key</span>
+    <span class="ruby-identifier">file</span>.<span class="ruby-identifier">rewind</span>
+    <span class="ruby-identifier">fingerprint_output</span> = <span class="ruby-node">%xssh-keygen -lf #{file.path} 2&gt;&amp;1`</span> <span class="ruby-comment"># Catch stderr.</span>
+  <span class="ruby-keyword">ensure</span>
+    <span class="ruby-identifier">file</span>.<span class="ruby-identifier">close</span>
+    <span class="ruby-identifier">file</span>.<span class="ruby-identifier">unlink</span> <span class="ruby-comment"># deletes the temp file</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-value">:key</span>, <span class="ruby-string">&quot;can't be fingerprinted&quot;</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">fingerprint_output</span>.<span class="ruby-identifier">match</span>(<span class="ruby-string">&quot;failed&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- fingerprintable_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- fingerprintable_key-method -->
+
+    
+      <div id="method-i-is_deploy_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_deploy_key</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_deploy_key-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_deploy_key</span>
+  <span class="ruby-keyword">true</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">project_id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_deploy_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_deploy_key-method -->
+
+    
+      <div id="method-i-last_deploy-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_deploy?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_deploy-3F-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_deploy?</span>
+  <span class="ruby-constant">Key</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">identifier</span><span class="ruby-operator">:</span> <span class="ruby-identifier">identifier</span>).<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_deploy-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_deploy-3F-method -->
+
+    
+      <div id="method-i-projects" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">projects</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>projects that has this key</p>
+          
+
+          
+          <div class="method-source-code" id="projects-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">projects</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">is_deploy_key</span>
+    [<span class="ruby-identifier">project</span>]
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">user</span>.<span class="ruby-identifier">projects</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- projects-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- projects-method -->
+
+    
+      <div id="method-i-set_identifier" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">set_identifier</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="set_identifier-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_identifier</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">is_deploy_key</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">identifier</span> = <span class="ruby-node">&quot;deploy_#{Digest::MD5.hexdigest(key)}&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">identifier</span> = <span class="ruby-node">&quot;#{user.identifier}_#{Time.now.to_i}&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- set_identifier-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- set_identifier-method -->
+
+    
+      <div id="method-i-strip_white_space" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">strip_white_space</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="strip_white_space-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">strip_white_space</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">key</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">key</span>.<span class="ruby-identifier">strip</span> <span class="ruby-keyword">unless</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">key</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- strip_white_space-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- strip_white_space-method -->
+
+    
+      <div id="method-i-unique_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unique_key</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unique_key-source">
+            <pre><span class="ruby-comment"># File app/models/key.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unique_key</span>
+  <span class="ruby-identifier">query</span> = <span class="ruby-constant">Key</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">key</span><span class="ruby-operator">:</span> <span class="ruby-identifier">key</span>)
+  <span class="ruby-identifier">query</span> = <span class="ruby-identifier">query</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">'(project_id IS NULL OR project_id = ?)'</span>, <span class="ruby-identifier">project_id</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">project_id</span>
+  <span class="ruby-keyword">if</span> (<span class="ruby-identifier">query</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>)
+    <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span> <span class="ruby-value">:key</span>, <span class="ruby-string">'already exist.'</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unique_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unique_key-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/KeyObserver.html b/doc/app/KeyObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..bdaf9f84b0f916faebf0a8cca1e58e295f058bf8
--- /dev/null
+++ b/doc/app/KeyObserver.html
@@ -0,0 +1,530 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class KeyObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/key_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="GitHost.html">GitHost</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_destroy">#after_destroy</a>
+    
+    <li><a href="#method-i-after_save">#after_save</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class KeyObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_destroy</span><span
+            class="method-args">(key)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_destroy-source">
+            <pre><span class="ruby-comment"># File app/observers/key_observer.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_destroy</span>(<span class="ruby-identifier">key</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">key</span>.<span class="ruby-identifier">is_deploy_key</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">key</span>.<span class="ruby-identifier">last_deploy?</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">remove_key</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">identifier</span>, <span class="ruby-identifier">key</span>.<span class="ruby-identifier">projects</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_destroy-method -->
+
+    
+      <div id="method-i-after_save" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_save</span><span
+            class="method-args">(key)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_save-source">
+            <pre><span class="ruby-comment"># File app/observers/key_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_save</span>(<span class="ruby-identifier">key</span>)
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">set_key</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">identifier</span>, <span class="ruby-identifier">key</span>.<span class="ruby-identifier">key</span>, <span class="ruby-identifier">key</span>.<span class="ruby-identifier">projects</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_save-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_save-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/KeysController.html b/doc/app/KeysController.html
new file mode 100644
index 0000000000000000000000000000000000000000..13fac402005be562c7b20521a30e5232b5004c63
--- /dev/null
+++ b/doc/app/KeysController.html
@@ -0,0 +1,624 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class KeysController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/keys_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class KeysController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:key</span>])
+  <span class="ruby-ivar">@key</span>.<span class="ruby-identifier">save</span>
+
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@key</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@key</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">keys_url</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@keys</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">new</span>
+
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@key</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@key</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/LabelsController.html b/doc/app/LabelsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..7dece84091e1b09ef75a386efab0e8fd2f98537b
--- /dev/null
+++ b/doc/app/LabelsController.html
@@ -0,0 +1,523 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class LabelsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/labels_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-module_enabled">#module_enabled</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class LabelsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@labels</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_labels</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">'count DESC'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-module_enabled" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">module_enabled</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="module_enabled-source">
+            <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">module_enabled</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_enabled</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- module_enabled-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- module_enabled-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MergeRequest.html b/doc/app/MergeRequest.html
new file mode 100644
index 0000000000000000000000000000000000000000..7dbe6f4f41c6cf921b8c74523ba0297bb33e6b92
--- /dev/null
+++ b/doc/app/MergeRequest.html
@@ -0,0 +1,1478 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class MergeRequest - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/merge_request.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="IssueCommonality.html">IssueCommonality</a>
+  
+  
+  
+    <li><a class="include" href="Votes.html">Votes</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-find_all_by_branch">::find_all_by_branch</a>
+    
+    <li><a href="#method-i-automerge-21">#automerge!</a>
+    
+    <li><a href="#method-i-broken_diffs-3F">#broken_diffs?</a>
+    
+    <li><a href="#method-i-can_be_merged-3F">#can_be_merged?</a>
+    
+    <li><a href="#method-i-check_if_can_be_merged">#check_if_can_be_merged</a>
+    
+    <li><a href="#method-i-closed_event">#closed_event</a>
+    
+    <li><a href="#method-i-commits">#commits</a>
+    
+    <li><a href="#method-i-diffs">#diffs</a>
+    
+    <li><a href="#method-i-human_state">#human_state</a>
+    
+    <li><a href="#method-i-last_commit">#last_commit</a>
+    
+    <li><a href="#method-i-mark_as_merged-21">#mark_as_merged!</a>
+    
+    <li><a href="#method-i-mark_as_unchecked">#mark_as_unchecked</a>
+    
+    <li><a href="#method-i-mark_as_unmergable">#mark_as_unmergable</a>
+    
+    <li><a href="#method-i-merge-21">#merge!</a>
+    
+    <li><a href="#method-i-merge_event">#merge_event</a>
+    
+    <li><a href="#method-i-merged-3F">#merged?</a>
+    
+    <li><a href="#method-i-mr_and_commit_notes">#mr_and_commit_notes</a>
+    
+    <li><a href="#method-i-open-3F">#open?</a>
+    
+    <li><a href="#method-i-probably_merged-3F">#probably_merged?</a>
+    
+    <li><a href="#method-i-reload_code">#reload_code</a>
+    
+    <li><a href="#method-i-reloaded_commits">#reloaded_commits</a>
+    
+    <li><a href="#method-i-reloaded_diffs">#reloaded_diffs</a>
+    
+    <li><a href="#method-i-to_raw">#to_raw</a>
+    
+    <li><a href="#method-i-unchecked-3F">#unchecked?</a>
+    
+    <li><a href="#method-i-unmerged_commits">#unmerged_commits</a>
+    
+    <li><a href="#method-i-unmerged_diffs">#unmerged_diffs</a>
+    
+    <li><a href="#method-i-valid_diffs-3F">#valid_diffs?</a>
+    
+    <li><a href="#method-i-validate_branches">#validate_branches</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class MergeRequest</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="BROKEN_DIFF">BROKEN_DIFF
+        
+        <dd class="description">
+        
+      
+        <dt id="CANNOT_BE_MERGED">CANNOT_BE_MERGED
+        
+        <dd class="description">
+        
+      
+        <dt id="CAN_BE_MERGED">CAN_BE_MERGED
+        
+        <dd class="description">
+        
+      
+        <dt id="UNCHECKED">UNCHECKED
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-should_remove_source_branch" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">should_remove_source_branch</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-find_all_by_branch" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_all_by_branch</span><span
+            class="method-args">(branch_name)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_all_by_branch-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">find_all_by_branch</span>(<span class="ruby-identifier">branch_name</span>)
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;source_branch LIKE :branch OR target_branch LIKE :branch&quot;</span>, <span class="ruby-identifier">branch</span><span class="ruby-operator">:</span> <span class="ruby-identifier">branch_name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_all_by_branch-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_all_by_branch-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-automerge-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">automerge!</span><span
+            class="method-args">(current_user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="automerge-21-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 169</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">automerge!</span>(<span class="ruby-identifier">current_user</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Merge</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">current_user</span>).<span class="ruby-identifier">merge!</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">unmerged_commits</span>.<span class="ruby-identifier">empty?</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span>)
+    <span class="ruby-keyword">true</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">mark_as_unmergable</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- automerge-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- automerge-21-method -->
+
+    
+      <div id="method-i-broken_diffs-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">broken_diffs?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="broken_diffs-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">broken_diffs?</span>
+  <span class="ruby-identifier">diffs</span> <span class="ruby-operator">==</span> [<span class="ruby-constant">BROKEN_DIFF</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- broken_diffs-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- broken_diffs-3F-method -->
+
+    
+      <div id="method-i-can_be_merged-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">can_be_merged?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="can_be_merged-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_be_merged?</span>
+  <span class="ruby-identifier">state</span> <span class="ruby-operator">==</span> <span class="ruby-constant">CAN_BE_MERGED</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- can_be_merged-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- can_be_merged-3F-method -->
+
+    
+      <div id="method-i-check_if_can_be_merged" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">check_if_can_be_merged</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="check_if_can_be_merged-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">check_if_can_be_merged</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">state</span> = <span class="ruby-keyword">if</span> <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Merge</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">author</span>).<span class="ruby-identifier">can_be_merged?</span>
+                 <span class="ruby-constant">CAN_BE_MERGED</span>
+               <span class="ruby-keyword">else</span>
+                 <span class="ruby-constant">CANNOT_BE_MERGED</span>
+               <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- check_if_can_be_merged-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- check_if_can_be_merged-method -->
+
+    
+      <div id="method-i-closed_event" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">closed_event</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="closed_event-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 114</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">closed_event</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">target_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">target_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;MergeRequest&quot;</span>, <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Closed</span>).<span class="ruby-identifier">last</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- closed_event-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- closed_event-method -->
+
+    
+      <div id="method-i-commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits</span>
+  <span class="ruby-identifier">st_commits</span> <span class="ruby-operator">||</span> []
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits-method -->
+
+    
+      <div id="method-i-diffs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">diffs</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="diffs-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 71</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">diffs</span>
+  <span class="ruby-identifier">st_diffs</span> <span class="ruby-operator">||</span> []
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- diffs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- diffs-method -->
+
+    
+      <div id="method-i-human_state" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">human_state</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="human_state-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">human_state</span>
+  <span class="ruby-identifier">states</span> = {
+    <span class="ruby-constant">CAN_BE_MERGED</span> =<span class="ruby-operator">&gt;</span>  <span class="ruby-string">&quot;can_be_merged&quot;</span>,
+    <span class="ruby-constant">CANNOT_BE_MERGED</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;cannot_be_merged&quot;</span>,
+    <span class="ruby-constant">UNCHECKED</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;unchecked&quot;</span>
+  }
+  <span class="ruby-identifier">states</span>[<span class="ruby-keyword">self</span>.<span class="ruby-identifier">state</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- human_state-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- human_state-method -->
+
+    
+      <div id="method-i-last_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_commit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_commit-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 102</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_commit</span>
+  <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_commit-method -->
+
+    
+      <div id="method-i-mark_as_merged-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mark_as_merged!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mark_as_merged-21-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 131</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mark_as_merged!</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merged</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">closed</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mark_as_merged-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mark_as_merged-21-method -->
+
+    
+      <div id="method-i-mark_as_unchecked" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mark_as_unchecked</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mark_as_unchecked-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mark_as_unchecked</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">state</span> = <span class="ruby-constant">UNCHECKED</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mark_as_unchecked-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mark_as_unchecked-method -->
+
+    
+      <div id="method-i-mark_as_unmergable" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mark_as_unmergable</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mark_as_unmergable-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 137</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mark_as_unmergable</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">state</span> = <span class="ruby-constant">CANNOT_BE_MERGED</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mark_as_unmergable-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mark_as_unmergable-method -->
+
+    
+      <div id="method-i-merge-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge!</span><span
+            class="method-args">(user_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merge-21-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 158</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">user_id</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">mark_as_merged!</span>
+  <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">project</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>,
+    <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Merged</span>,
+    <span class="ruby-identifier">target_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>,
+    <span class="ruby-identifier">target_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;MergeRequest&quot;</span>,
+    <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_id</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge-21-method -->
+
+    
+      <div id="method-i-merge_event" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_event</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merge_event-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 110</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_event</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">target_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">target_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;MergeRequest&quot;</span>, <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Merged</span>).<span class="ruby-identifier">last</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_event-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_event-method -->
+
+    
+      <div id="method-i-merged-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merged?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merged-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 106</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merged?</span>
+  <span class="ruby-identifier">merged</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">merge_event</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merged-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merged-3F-method -->
+
+    
+      <div id="method-i-mr_and_commit_notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mr_and_commit_notes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mr_and_commit_notes-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 191</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mr_and_commit_notes</span>
+  <span class="ruby-identifier">commit_ids</span> = <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>)
+  <span class="ruby-constant">Note</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;(noteable_type = 'MergeRequest' AND noteable_id = :mr_id) OR (noteable_type = 'Commit' AND noteable_id IN (:commit_ids))&quot;</span>, <span class="ruby-identifier">mr_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>, <span class="ruby-identifier">commit_ids</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit_ids</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mr_and_commit_notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mr_and_commit_notes-method -->
+
+    
+      <div id="method-i-open-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">open?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="open-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 127</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">open?</span>
+  <span class="ruby-operator">!</span><span class="ruby-identifier">closed</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- open-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- open-3F-method -->
+
+    
+      <div id="method-i-probably_merged-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">probably_merged?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="probably_merged-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 122</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">probably_merged?</span>
+  <span class="ruby-identifier">unmerged_commits</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">any?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">open?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- probably_merged-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- probably_merged-3F-method -->
+
+    
+      <div id="method-i-reload_code" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reload_code</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reload_code-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reload_code</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">reloaded_commits</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">reloaded_diffs</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reload_code-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reload_code-method -->
+
+    
+      <div id="method-i-reloaded_commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reloaded_commits</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reloaded_commits-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 142</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reloaded_commits</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">open?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">unmerged_commits</span>.<span class="ruby-identifier">any?</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">st_commits</span> = <span class="ruby-identifier">unmerged_commits</span>
+    <span class="ruby-identifier">save</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">commits</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reloaded_commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reloaded_commits-method -->
+
+    
+      <div id="method-i-reloaded_diffs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reloaded_diffs</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reloaded_diffs-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 75</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reloaded_diffs</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">open?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">unmerged_diffs</span>.<span class="ruby-identifier">any?</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">st_diffs</span> = <span class="ruby-identifier">unmerged_diffs</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">save</span>
+  <span class="ruby-keyword">end</span>
+
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">GitTimeout</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">st_diffs</span> = [<span class="ruby-constant">BROKEN_DIFF</span>]
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reloaded_diffs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reloaded_diffs-method -->
+
+    
+      <div id="method-i-to_raw" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_raw</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_raw-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 179</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_raw</span>
+  <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>(<span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;tmp&quot;</span>, <span class="ruby-string">&quot;patches&quot;</span>))
+  <span class="ruby-identifier">patch_path</span> = <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;tmp&quot;</span>, <span class="ruby-string">&quot;patches&quot;</span>, <span class="ruby-node">&quot;merge_request_#{self.id}.patch&quot;</span>)
+
+  <span class="ruby-identifier">from</span> = <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">id</span>
+  <span class="ruby-identifier">to</span> = <span class="ruby-identifier">source_branch</span>
+
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">run</span>(<span class="ruby-string">''</span>, <span class="ruby-string">&quot;format-patch&quot;</span> , <span class="ruby-node">&quot; &gt; #{patch_path.to_s}&quot;</span>, {}, [<span class="ruby-node">&quot;#{from}..#{to}&quot;</span>, <span class="ruby-string">&quot;--stdout&quot;</span>])
+
+  <span class="ruby-identifier">patch_path</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_raw-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_raw-method -->
+
+    
+      <div id="method-i-unchecked-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unchecked?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unchecked-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unchecked?</span>
+  <span class="ruby-identifier">state</span> <span class="ruby-operator">==</span> <span class="ruby-constant">UNCHECKED</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unchecked-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unchecked-3F-method -->
+
+    
+      <div id="method-i-unmerged_commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unmerged_commits</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unmerged_commits-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 150</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unmerged_commits</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.
+    <span class="ruby-identifier">commits_between</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">target_branch</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">source_branch</span>).
+    <span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c</span>)}.
+    <span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:created_at</span>).
+    <span class="ruby-identifier">reverse</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unmerged_commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unmerged_commits-method -->
+
+    
+      <div id="method-i-unmerged_diffs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">unmerged_diffs</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="unmerged_diffs-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">unmerged_diffs</span>
+  <span class="ruby-comment"># Only show what is new in the source branch compared to the target branch, not the other way around.</span>
+  <span class="ruby-comment"># The linex below with merge_base is equivalent to diff with three dots (git diff branch1...branch2)</span>
+  <span class="ruby-comment"># From the git documentation: &quot;git diff A...B&quot; is equivalent to &quot;git diff $(git-merge-base A B) B&quot;</span>
+  <span class="ruby-identifier">common_commit</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">native</span>(<span class="ruby-value">:merge_base</span>, {}, [<span class="ruby-identifier">target_branch</span>, <span class="ruby-identifier">source_branch</span>]).<span class="ruby-identifier">strip</span>
+  <span class="ruby-identifier">diffs</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">diff</span>(<span class="ruby-identifier">common_commit</span>, <span class="ruby-identifier">source_branch</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- unmerged_diffs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- unmerged_diffs-method -->
+
+    
+      <div id="method-i-valid_diffs-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">valid_diffs?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="valid_diffs-3F-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 90</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">valid_diffs?</span>
+  <span class="ruby-operator">!</span><span class="ruby-identifier">broken_diffs?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- valid_diffs-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- valid_diffs-3F-method -->
+
+    
+      <div id="method-i-validate_branches" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">validate_branches</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="validate_branches-source">
+            <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_branches</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">target_branch</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">source_branch</span>
+    <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span> <span class="ruby-value">:base</span>, <span class="ruby-string">&quot;You can not use same branch for source and target branches&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- validate_branches-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- validate_branches-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MergeRequestObserver.html b/doc/app/MergeRequestObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..f2d0dbd7dd1cd7033a1ec2f62957bdae126acaf7
--- /dev/null
+++ b/doc/app/MergeRequestObserver.html
@@ -0,0 +1,569 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class MergeRequestObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/merge_request_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_update">#after_update</a>
+    
+    <li><a href="#method-i-send_reassigned_email">#send_reassigned_email</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class MergeRequestObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(merge_request)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/merge_request_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">merge_request</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">current_user</span>
+    <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">new_merge_request_email</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">deliver</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_update</span><span
+            class="method-args">(merge_request)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_update-source">
+            <pre><span class="ruby-comment"># File app/observers/merge_request_observer.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_update</span>(<span class="ruby-identifier">merge_request</span>)
+  <span class="ruby-identifier">send_reassigned_email</span>(<span class="ruby-identifier">merge_request</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">is_being_reassigned?</span>
+
+  <span class="ruby-identifier">status</span> = <span class="ruby-keyword">nil</span>
+  <span class="ruby-identifier">status</span> = <span class="ruby-string">'closed'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">is_being_closed?</span>
+  <span class="ruby-identifier">status</span> = <span class="ruby-string">'reopened'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">is_being_reopened?</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">status</span>
+    <span class="ruby-constant">Note</span>.<span class="ruby-identifier">create_status_change_note</span>(<span class="ruby-identifier">merge_request</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">status</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-send_reassigned_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">send_reassigned_email</span><span
+            class="method-args">(merge_request)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="send_reassigned_email-source">
+            <pre><span class="ruby-comment"># File app/observers/merge_request_observer.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">send_reassigned_email</span>(<span class="ruby-identifier">merge_request</span>)
+  <span class="ruby-identifier">recipients_ids</span> = <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_id_was</span>, <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_id</span>
+  <span class="ruby-identifier">recipients_ids</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span>
+
+  <span class="ruby-identifier">recipients_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">recipient_id</span><span class="ruby-operator">|</span>
+    <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">reassigned_merge_request_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_id_was</span>).<span class="ruby-identifier">deliver</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- send_reassigned_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- send_reassigned_email-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MergeRequestsController.html b/doc/app/MergeRequestsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..ef257c6cad0747539ea4f552ac758a375ae02827
--- /dev/null
+++ b/doc/app/MergeRequestsController.html
@@ -0,0 +1,1114 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class MergeRequestsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/merge_requests_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-authorize_admin_merge_request-21">#authorize_admin_merge_request!</a>
+    
+    <li><a href="#method-i-authorize_modify_merge_request-21">#authorize_modify_merge_request!</a>
+    
+    <li><a href="#method-i-automerge">#automerge</a>
+    
+    <li><a href="#method-i-automerge_check">#automerge_check</a>
+    
+    <li><a href="#method-i-branch_from">#branch_from</a>
+    
+    <li><a href="#method-i-branch_to">#branch_to</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-define_show_vars">#define_show_vars</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-diffs">#diffs</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-merge_request">#merge_request</a>
+    
+    <li><a href="#method-i-module_enabled">#module_enabled</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-raw">#raw</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+    <li><a href="#method-i-validates_merge_request">#validates_merge_request</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class MergeRequestsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-automerge" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">automerge</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="automerge-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">automerge</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:accept_mr</span>, <span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">open?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">can_be_merged?</span>
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">should_remove_source_branch</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:should_remove_source_branch</span>]
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">automerge!</span>(<span class="ruby-identifier">current_user</span>)
+    <span class="ruby-ivar">@status</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-ivar">@status</span> = <span class="ruby-keyword">false</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- automerge-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- automerge-method -->
+
+    
+      <div id="method-i-automerge_check" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">automerge_check</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="automerge_check-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">automerge_check</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">unchecked?</span>
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">check_if_can_be_merged</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-identifier">json</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">state</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">human_state</span>}
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- automerge_check-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- automerge_check-method -->
+
+    
+      <div id="method-i-branch_from" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branch_from</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branch_from-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 98</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branch_from</span>
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:ref</span>])
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commit</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branch_from-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branch_from-method -->
+
+    
+      <div id="method-i-branch_to" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branch_to</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branch_to-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 103</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branch_to</span>
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:ref</span>])
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commit</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branch_to-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branch_to-method -->
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:merge_request</span>])
+  <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">author</span> = <span class="ruby-identifier">current_user</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">reload_code</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@merge_request</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Merge request was successfully created.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 90</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_merge_requests_url</span>(<span class="ruby-ivar">@project</span>) }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-diffs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">diffs</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="diffs-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">diffs</span>
+  <span class="ruby-ivar">@diffs</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">diffs</span>
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">last_commit</span>
+
+  <span class="ruby-ivar">@comments_allowed</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-ivar">@line_notes</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;line_code is not null&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- diffs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- diffs-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-constant">MergeRequestsLoadContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:merge_request</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-raw" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">raw</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="raw-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">raw</span>
+  <span class="ruby-identifier">send_file</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">to_raw</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- raw-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- raw-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:merge_request</span>].<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">author_id_of_changes</span><span class="ruby-operator">:</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span>))
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">reload_code</span>
+    <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">mark_as_unchecked</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@merge_request</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Merge request was successfully updated.'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-authorize_admin_merge_request-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_admin_merge_request!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_admin_merge_request-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_admin_merge_request!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_merge_request</span>, <span class="ruby-ivar">@merge_request</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_admin_merge_request-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_admin_merge_request-21-method -->
+
+    
+      <div id="method-i-authorize_modify_merge_request-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_modify_merge_request!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_modify_merge_request-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 114</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_modify_merge_request!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:modify_merge_request</span>, <span class="ruby-ivar">@merge_request</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_modify_merge_request-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_modify_merge_request-21-method -->
+
+    
+      <div id="method-i-define_show_vars" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">define_show_vars</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="define_show_vars-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 135</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">define_show_vars</span>
+  <span class="ruby-comment"># Build a note object for comment form</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">noteable</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@merge_request</span>)
+
+  <span class="ruby-comment"># Get commits from repository</span>
+  <span class="ruby-comment"># or from cache if already merged</span>
+  <span class="ruby-ivar">@commits</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">commits</span>
+  <span class="ruby-ivar">@commits</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commits</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- define_show_vars-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- define_show_vars-method -->
+
+    
+      <div id="method-i-merge_request" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">merge_request</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="merge_request-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 110</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">merge_request</span>
+  <span class="ruby-ivar">@merge_request</span> <span class="ruby-operator">||=</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- merge_request-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- merge_request-method -->
+
+    
+      <div id="method-i-module_enabled" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">module_enabled</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="module_enabled-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 122</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">module_enabled</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">merge_requests_enabled</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- module_enabled-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- module_enabled-method -->
+
+    
+      <div id="method-i-validates_merge_request" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">validates_merge_request</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="validates_merge_request-source">
+            <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">validates_merge_request</span>
+  <span class="ruby-comment"># Show git not found page if target branch doesnt exist</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">git_not_found!</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">target_branch</span>)
+
+  <span class="ruby-comment"># Show git not found page if source branch doesnt exist</span>
+  <span class="ruby-comment"># and there is no saved commits between source &amp; target branch</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">git_not_found!</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">source_branch</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">commits</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- validates_merge_request-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- validates_merge_request-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MergeRequestsHelper.html b/doc/app/MergeRequestsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..fec9b0e01ab774068f2dc837fab79e4996a630b0
--- /dev/null
+++ b/doc/app/MergeRequestsHelper.html
@@ -0,0 +1,599 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module MergeRequestsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/merge_requests_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-link_to_merge_request_assignee">#link_to_merge_request_assignee</a>
+    
+    <li><a href="#method-i-link_to_merge_request_author">#link_to_merge_request_author</a>
+    
+    <li><a href="#method-i-mr_css_classes">#mr_css_classes</a>
+    
+    <li><a href="#method-i-new_mr_path_from_push_event">#new_mr_path_from_push_event</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module MergeRequestsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-link_to_merge_request_assignee" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_merge_request_assignee</span><span
+            class="method-args">(merge_request)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_merge_request_assignee-source">
+            <pre><span class="ruby-comment"># File app/helpers/merge_requests_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_merge_request_assignee</span>(<span class="ruby-identifier">merge_request</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">project</span>
+
+  <span class="ruby-identifier">tm</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_id</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+    <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_name</span>, <span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">tm</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;author_link&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">assignee_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_merge_request_assignee-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_merge_request_assignee-method -->
+
+    
+      <div id="method-i-link_to_merge_request_author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_merge_request_author</span><span
+            class="method-args">(merge_request)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_merge_request_author-source">
+            <pre><span class="ruby-comment"># File app/helpers/merge_requests_helper.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_merge_request_author</span>(<span class="ruby-identifier">merge_request</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">project</span>
+
+  <span class="ruby-identifier">tm</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">author_id</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+    <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">author_name</span>, <span class="ruby-identifier">project_team_member_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">tm</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;author_link&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">author_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_merge_request_author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_merge_request_author-method -->
+
+    
+      <div id="method-i-mr_css_classes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mr_css_classes</span><span
+            class="method-args">(mr)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mr_css_classes-source">
+            <pre><span class="ruby-comment"># File app/helpers/merge_requests_helper.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mr_css_classes</span> <span class="ruby-identifier">mr</span>
+  <span class="ruby-identifier">classes</span> = <span class="ruby-string">&quot;merge_request&quot;</span>
+  <span class="ruby-identifier">classes</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot; closed&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">mr</span>.<span class="ruby-identifier">closed</span>
+  <span class="ruby-identifier">classes</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot; merged&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">mr</span>.<span class="ruby-identifier">merged?</span>
+  <span class="ruby-identifier">classes</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mr_css_classes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mr_css_classes-method -->
+
+    
+      <div id="method-i-new_mr_path_from_push_event" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_mr_path_from_push_event</span><span
+            class="method-args">(event)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_mr_path_from_push_event-source">
+            <pre><span class="ruby-comment"># File app/helpers/merge_requests_helper.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_mr_path_from_push_event</span>(<span class="ruby-identifier">event</span>)
+  <span class="ruby-identifier">new_project_merge_request_path</span>(
+    <span class="ruby-identifier">event</span>.<span class="ruby-identifier">project</span>,
+    <span class="ruby-identifier">merge_request</span><span class="ruby-operator">:</span> {
+      <span class="ruby-identifier">source_branch</span><span class="ruby-operator">:</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">branch_name</span>,
+      <span class="ruby-identifier">target_branch</span><span class="ruby-operator">:</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">root_ref</span>,
+      <span class="ruby-identifier">title</span><span class="ruby-operator">:</span> <span class="ruby-identifier">event</span>.<span class="ruby-identifier">branch_name</span>.<span class="ruby-identifier">titleize</span>
+    }
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_mr_path_from_push_event-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_mr_path_from_push_event-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MergeRequestsLoadContext.html b/doc/app/MergeRequestsLoadContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..5c1b882939fcf9bb5cfebefa2c7d03bb0f30917a
--- /dev/null
+++ b/doc/app/MergeRequestsLoadContext.html
@@ -0,0 +1,496 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class MergeRequestsLoadContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/merge_requests_load_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class MergeRequestsLoadContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/merge_requests_load_context.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">type</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:f</span>]
+
+  <span class="ruby-identifier">merge_requests</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">merge_requests</span>
+
+  <span class="ruby-identifier">merge_requests</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">type</span>
+                   <span class="ruby-keyword">when</span> <span class="ruby-string">'all'</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">merge_requests</span>
+                   <span class="ruby-keyword">when</span> <span class="ruby-string">'closed'</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">closed</span>
+                   <span class="ruby-keyword">when</span> <span class="ruby-string">'assigned-to-me'</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">assigned</span>(<span class="ruby-identifier">current_user</span>)
+                   <span class="ruby-keyword">else</span> <span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">opened</span>
+                   <span class="ruby-keyword">end</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+
+  <span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:author</span>, <span class="ruby-value">:project</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;closed, created_at desc&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Milestone.html b/doc/app/Milestone.html
new file mode 100644
index 0000000000000000000000000000000000000000..cc3bdc585b1888ff51a009dc3b08580c41ee9d19
--- /dev/null
+++ b/doc/app/Milestone.html
@@ -0,0 +1,589 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Milestone - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/milestone.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-active">::active</a>
+    
+    <li><a href="#method-i-expires_at">#expires_at</a>
+    
+    <li><a href="#method-i-participants">#participants</a>
+    
+    <li><a href="#method-i-percent_complete">#percent_complete</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Milestone</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-active" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">active</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="active-source">
+            <pre><span class="ruby-comment"># File app/models/milestone.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">active</span>
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;due_date &gt; ? OR due_date IS NULL&quot;</span>, <span class="ruby-constant">Date</span>.<span class="ruby-identifier">today</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- active-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- active-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-expires_at" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">expires_at</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="expires_at-source">
+            <pre><span class="ruby-comment"># File app/models/milestone.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">expires_at</span>
+  <span class="ruby-node">&quot;expires at #{due_date.stamp(&quot;Aug 21, 2011&quot;)}&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">due_date</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- expires_at-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- expires_at-method -->
+
+    
+      <div id="method-i-participants" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">participants</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="participants-source">
+            <pre><span class="ruby-comment"># File app/models/milestone.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">participants</span>
+  <span class="ruby-constant">User</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">pluck</span>(<span class="ruby-value">:assignee_id</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- participants-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- participants-method -->
+
+    
+      <div id="method-i-percent_complete" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">percent_complete</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="percent_complete-source">
+            <pre><span class="ruby-comment"># File app/models/milestone.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">percent_complete</span>
+  ((<span class="ruby-keyword">self</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">closed</span>.<span class="ruby-identifier">count</span> * <span class="ruby-value">100</span>) <span class="ruby-operator">/</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">count</span>).<span class="ruby-identifier">abs</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">ZeroDivisionError</span>
+  <span class="ruby-value">100</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- percent_complete-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- percent_complete-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/MilestonesController.html b/doc/app/MilestonesController.html
new file mode 100644
index 0000000000000000000000000000000000000000..e15d6fef06fd801c3e199e5517705bd3edb04ebb
--- /dev/null
+++ b/doc/app/MilestonesController.html
@@ -0,0 +1,816 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class MilestonesController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/milestones_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-authorize_admin_milestone-21">#authorize_admin_milestone!</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-milestone">#milestone</a>
+    
+    <li><a href="#method-i-module_enabled">#module_enabled</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class MilestonesController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@milestone</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:milestone</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_milestone_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@milestone</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;new&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_milestone</span>, <span class="ruby-ivar">@milestone</span>)
+
+  <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_milestones_path</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@milestone</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@milestones</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:f</span>]
+                <span class="ruby-keyword">when</span> <span class="ruby-string">'all'</span>; <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>
+                <span class="ruby-keyword">else</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">active</span>
+                <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@milestones</span> = <span class="ruby-ivar">@milestones</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:project</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;due_date&quot;</span>)
+  <span class="ruby-ivar">@milestones</span> = <span class="ruby-ivar">@milestones</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@milestone</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">new</span>
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@milestone</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">issues</span>
+  <span class="ruby-ivar">@users</span> = <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">participants</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:milestone</span>])
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">valid?</span>
+        <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@milestone</span>]
+      <span class="ruby-keyword">else</span>
+        <span class="ruby-identifier">render</span> <span class="ruby-value">:edit</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-authorize_admin_milestone-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_admin_milestone!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_admin_milestone-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 84</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_admin_milestone!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_milestone</span>, <span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_admin_milestone-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_admin_milestone-21-method -->
+
+    
+      <div id="method-i-milestone" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">milestone</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="milestone-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">milestone</span>
+  <span class="ruby-ivar">@milestone</span> <span class="ruby-operator">||=</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- milestone-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- milestone-method -->
+
+    
+      <div id="method-i-module_enabled" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">module_enabled</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="module_enabled-source">
+            <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 88</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">module_enabled</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_enabled</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- module_enabled-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- module_enabled-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Note.html b/doc/app/Note.html
new file mode 100644
index 0000000000000000000000000000000000000000..24a474b0296ba09a1f99b587a9ef6cc5f9e1a955
--- /dev/null
+++ b/doc/app/Note.html
@@ -0,0 +1,777 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Note - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/note.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-create_status_change_note">::create_status_change_note</a>
+    
+    <li><a href="#method-i-commit_author">#commit_author</a>
+    
+    <li><a href="#method-i-downvote-3F">#downvote?</a>
+    
+    <li><a href="#method-i-for_commit-3F">#for_commit?</a>
+    
+    <li><a href="#method-i-for_diff_line-3F">#for_diff_line?</a>
+    
+    <li><a href="#method-i-noteable">#noteable</a>
+    
+    <li><a href="#method-i-notify_only_author-3F">#notify_only_author?</a>
+    
+    <li><a href="#method-i-upvote-3F">#upvote?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Note</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-notify" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">notify</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-notify_author" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">notify_author</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-create_status_change_note" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create_status_change_note</span><span
+            class="method-args">(noteable, author, status)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create_status_change_note-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">create_status_change_note</span>(<span class="ruby-identifier">noteable</span>, <span class="ruby-identifier">author</span>, <span class="ruby-identifier">status</span>)
+  <span class="ruby-identifier">create</span>({
+    <span class="ruby-identifier">noteable</span><span class="ruby-operator">:</span> <span class="ruby-identifier">noteable</span>,
+    <span class="ruby-identifier">project</span><span class="ruby-operator">:</span> <span class="ruby-identifier">noteable</span>.<span class="ruby-identifier">project</span>,
+    <span class="ruby-identifier">author</span><span class="ruby-operator">:</span> <span class="ruby-identifier">author</span>,
+    <span class="ruby-identifier">note</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;_Status changed to #{status}_&quot;</span>
+  }, <span class="ruby-identifier">without_protection</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create_status_change_note-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create_status_change_note-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-commit_author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit_author</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit_author-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 90</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit_author</span>
+  <span class="ruby-ivar">@commit_author</span> <span class="ruby-operator">||=</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">find_by_email</span>(<span class="ruby-identifier">noteable</span>.<span class="ruby-identifier">author_email</span>) <span class="ruby-operator">||</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">find_by_name</span>(<span class="ruby-identifier">noteable</span>.<span class="ruby-identifier">author_name</span>)
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit_author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit_author-method -->
+
+    
+      <div id="method-i-downvote-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">downvote?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns true if this is a downvote note, otherwise false is returned</p>
+          
+
+          
+          <div class="method-source-code" id="downvote-3F-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 106</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">downvote?</span>
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-string">'-1'</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-string">':-1:'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- downvote-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- downvote-3F-method -->
+
+    
+      <div id="method-i-for_commit-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">for_commit?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="for_commit-3F-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">for_commit?</span>
+  <span class="ruby-identifier">noteable_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Commit&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- for_commit-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- for_commit-3F-method -->
+
+    
+      <div id="method-i-for_diff_line-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">for_diff_line?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="for_diff_line-3F-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">for_diff_line?</span>
+  <span class="ruby-identifier">line_code</span>.<span class="ruby-identifier">present?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- for_diff_line-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- for_diff_line-3F-method -->
+
+    
+      <div id="method-i-noteable" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">noteable</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>override to return commits, which are not active record</p>
+          
+
+          
+          <div class="method-source-code" id="noteable-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">noteable</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">for_commit?</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">noteable_id</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">super</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-comment"># Temp fix to prevent app crash</span>
+<span class="ruby-comment"># if note commit id doesnt exist</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- noteable-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- noteable-method -->
+
+    
+      <div id="method-i-notify_only_author-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">notify_only_author?</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Check if we can notify commit author with email about our comment</p>
+
+<p>If commit author email exist in project and commit author is not passed
+user we can send email to him</p>
+
+<p>params:</p>
+
+<pre>user - current user</pre>
+
+<p>return:</p>
+
+<pre>Boolean</pre>
+          
+
+          
+          <div class="method-source-code" id="notify_only_author-3F-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">notify_only_author?</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">for_commit?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">commit_author</span> <span class="ruby-operator">&amp;&amp;</span>
+    <span class="ruby-identifier">commit_author</span>.<span class="ruby-identifier">email</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- notify_only_author-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- notify_only_author-3F-method -->
+
+    
+      <div id="method-i-upvote-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">upvote?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns true if this is an upvote note, otherwise false is returned</p>
+          
+
+          
+          <div class="method-source-code" id="upvote-3F-source">
+            <pre><span class="ruby-comment"># File app/models/note.rb, line 100</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">upvote?</span>
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-string">'+1'</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-string">':+1:'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- upvote-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- upvote-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/NoteObserver.html b/doc/app/NoteObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..d0528833815d49caba84adfc23fbccafbfc28fbd
--- /dev/null
+++ b/doc/app/NoteObserver.html
@@ -0,0 +1,603 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class NoteObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/note_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-notify_team">#notify_team</a>
+    
+    <li><a href="#method-i-send_notify_mails">#send_notify_mails</a>
+    
+    <li><a href="#method-i-team_without_note_author">#team_without_note_author</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class NoteObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-identifier">send_notify_mails</span>(<span class="ruby-identifier">note</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-notify_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">notify_team</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Notifies the whole team except the author of note</p>
+          
+
+          
+          <div class="method-source-code" id="notify_team-source">
+            <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">notify_team</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-comment"># Note: wall posts are not &quot;attached&quot; to anything, so fall back to &quot;Wall&quot;</span>
+  <span class="ruby-identifier">noteable_type</span> = <span class="ruby-identifier">note</span>.<span class="ruby-identifier">noteable_type</span> <span class="ruby-operator">||</span> <span class="ruby-string">&quot;Wall&quot;</span>
+  <span class="ruby-identifier">notify_method</span> = <span class="ruby-node">&quot;note_#{noteable_type.underscore}_email&quot;</span>.<span class="ruby-identifier">to_sym</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">notify_method</span>
+    <span class="ruby-identifier">team_without_note_author</span>(<span class="ruby-identifier">note</span>).<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span>
+      <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">notify_method</span>, <span class="ruby-identifier">u</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">note</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">deliver</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- notify_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- notify_team-method -->
+
+    
+      <div id="method-i-send_notify_mails" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">send_notify_mails</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="send_notify_mails-source">
+            <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">send_notify_mails</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">notify</span>
+    <span class="ruby-identifier">notify_team</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">notify_author</span>
+    <span class="ruby-comment"># Notify only author of resource</span>
+    <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">note_commit_email</span>(<span class="ruby-identifier">note</span>.<span class="ruby-identifier">commit_author</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">note</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">deliver</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-comment"># Otherwise ignore it</span>
+    <span class="ruby-keyword">nil</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- send_notify_mails-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- send_notify_mails-method -->
+
+    
+      <div id="method-i-team_without_note_author" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">team_without_note_author</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="team_without_note_author-source">
+            <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">team_without_note_author</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">reject</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span> <span class="ruby-identifier">u</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">author</span>.<span class="ruby-identifier">id</span> }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- team_without_note_author-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- team_without_note_author-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Notes.html b/doc/app/Notes.html
new file mode 100644
index 0000000000000000000000000000000000000000..d6bcc54011a311d8063f61732519fec87bed1ac8
--- /dev/null
+++ b/doc/app/Notes.html
@@ -0,0 +1,434 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Notes - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/notes/create_context.rb
+    <li>app/contexts/notes/load_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Notes</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Notes/CreateContext.html b/doc/app/Notes/CreateContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..6d4c8449323f614303b45f38384177593e856014
--- /dev/null
+++ b/doc/app/Notes/CreateContext.html
@@ -0,0 +1,490 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Notes::CreateContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/notes/create_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Notes::CreateContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/notes/create_context.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">note</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:note</span>])
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">author</span> = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">notify</span> = <span class="ruby-keyword">true</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:notify</span>] <span class="ruby-operator">==</span> <span class="ruby-string">'1'</span>
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">notify_author</span> = <span class="ruby-keyword">true</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:notify_author</span>] <span class="ruby-operator">==</span> <span class="ruby-string">'1'</span>
+  <span class="ruby-identifier">note</span>.<span class="ruby-identifier">save</span>
+  <span class="ruby-identifier">note</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Notes/LoadContext.html b/doc/app/Notes/LoadContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..273fc0f0c8dd1d7dc584b20f2cddd8ed2b1da4b7
--- /dev/null
+++ b/doc/app/Notes/LoadContext.html
@@ -0,0 +1,513 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Notes::LoadContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/notes/load_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="../BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Notes::LoadContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/notes/load_context.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">target_type</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:target_type</span>]
+  <span class="ruby-identifier">target_id</span>   = <span class="ruby-identifier">params</span>[<span class="ruby-value">:target_id</span>]
+  <span class="ruby-identifier">after_id</span>    = <span class="ruby-identifier">params</span>[<span class="ruby-value">:after_id</span>]
+  <span class="ruby-identifier">before_id</span>   = <span class="ruby-identifier">params</span>[<span class="ruby-value">:before_id</span>]
+
+
+  <span class="ruby-ivar">@notes</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">target_type</span>
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;commit&quot;</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit_notes</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">target_id</span>)).<span class="ruby-identifier">fresh</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>)
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;issue&quot;</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">target_id</span>).<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">inc_author</span>.<span class="ruby-identifier">fresh</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>)
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;merge_request&quot;</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">target_id</span>).<span class="ruby-identifier">mr_and_commit_notes</span>.<span class="ruby-identifier">inc_author</span>.<span class="ruby-identifier">fresh</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>)
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;snippet&quot;</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">snippets</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">target_id</span>).<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">fresh</span>
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;wall&quot;</span>
+             <span class="ruby-comment"># this is the only case, where the order is DESC</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">common_notes</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at DESC, id DESC&quot;</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">50</span>)
+           <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;wiki&quot;</span>
+             <span class="ruby-identifier">project</span>.<span class="ruby-identifier">wiki_notes</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-value">20</span>)
+           <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@notes</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">after_id</span>
+             <span class="ruby-ivar">@notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;id &gt; ?&quot;</span>, <span class="ruby-identifier">after_id</span>)
+           <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">before_id</span>
+             <span class="ruby-ivar">@notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;id &lt; ?&quot;</span>, <span class="ruby-identifier">before_id</span>)
+           <span class="ruby-keyword">else</span>
+             <span class="ruby-ivar">@notes</span>
+           <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/NotesController.html b/doc/app/NotesController.html
new file mode 100644
index 0000000000000000000000000000000000000000..5623d4a2f5c7d105943da2a227c8e3b4d1c875cd
--- /dev/null
+++ b/doc/app/NotesController.html
@@ -0,0 +1,636 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class NotesController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/notes_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-notes">#notes</a>
+    
+    <li><a href="#method-i-preview">#preview</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class NotesController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Notes</span><span class="ruby-operator">::</span><span class="ruby-constant">CreateContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> {<span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>}
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_note</span>, <span class="ruby-ivar">@note</span>)
+  <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-identifier">notes</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:target_type</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;merge_request&quot;</span>
+    <span class="ruby-ivar">@mixed_targets</span> = <span class="ruby-keyword">true</span>
+    <span class="ruby-ivar">@main_target_type</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:target_type</span>].<span class="ruby-identifier">camelize</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@notes</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-preview" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">preview</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="preview-source">
+            <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">preview</span>
+  <span class="ruby-identifier">render</span> <span class="ruby-identifier">text</span><span class="ruby-operator">:</span> <span class="ruby-identifier">view_context</span>.<span class="ruby-identifier">markdown</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:note</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- preview-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- preview-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">notes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="notes-source">
+            <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">notes</span>
+  <span class="ruby-ivar">@notes</span> = <span class="ruby-constant">Notes</span><span class="ruby-operator">::</span><span class="ruby-constant">LoadContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">current_user</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- notes-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/NotesHelper.html b/doc/app/NotesHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..c2940f8dc95d9643989035b4e85bed9dd5f40525
--- /dev/null
+++ b/doc/app/NotesHelper.html
@@ -0,0 +1,581 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module NotesHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/notes_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-link_to_commit_diff_line_note">#link_to_commit_diff_line_note</a>
+    
+    <li><a href="#method-i-loading_more_notes-3F">#loading_more_notes?</a>
+    
+    <li><a href="#method-i-loading_new_notes-3F">#loading_new_notes?</a>
+    
+    <li><a href="#method-i-note_for_main_target-3F">#note_for_main_target?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module NotesHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-link_to_commit_diff_line_note" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_commit_diff_line_note</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_commit_diff_line_note-source">
+            <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_commit_diff_line_note</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-identifier">commit</span> = <span class="ruby-identifier">note</span>.<span class="ruby-identifier">noteable</span>
+  <span class="ruby-identifier">diff_index</span>, <span class="ruby-identifier">diff_old_line</span>, <span class="ruby-identifier">diff_new_line</span> = <span class="ruby-identifier">note</span>.<span class="ruby-identifier">line_code</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'_'</span>)
+
+  <span class="ruby-identifier">link_file</span> = <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">diffs</span>[<span class="ruby-identifier">diff_index</span>.<span class="ruby-identifier">to_i</span>].<span class="ruby-identifier">new_path</span>
+  <span class="ruby-identifier">link_line</span> = <span class="ruby-identifier">diff_new_line</span>
+
+  <span class="ruby-identifier">link_to</span> <span class="ruby-node">&quot;#{link_file}:L#{link_line}&quot;</span>, <span class="ruby-identifier">project_commit_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-identifier">commit</span>, <span class="ruby-identifier">anchor</span><span class="ruby-operator">:</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">line_code</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_commit_diff_line_note-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_commit_diff_line_note-method -->
+
+    
+      <div id="method-i-loading_more_notes-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">loading_more_notes?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="loading_more_notes-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">loading_more_notes?</span>
+  <span class="ruby-identifier">params</span>[<span class="ruby-value">:loading_more</span>].<span class="ruby-identifier">present?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- loading_more_notes-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- loading_more_notes-3F-method -->
+
+    
+      <div id="method-i-loading_new_notes-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">loading_new_notes?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="loading_new_notes-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">loading_new_notes?</span>
+  <span class="ruby-identifier">params</span>[<span class="ruby-value">:loading_new</span>].<span class="ruby-identifier">present?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- loading_new_notes-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- loading_new_notes-3F-method -->
+
+    
+      <div id="method-i-note_for_main_target-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_for_main_target?</span><span
+            class="method-args">(note)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Helps to distinguish e.g. commit notes in mr notes list</p>
+          
+
+          
+          <div class="method-source-code" id="note_for_main_target-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_for_main_target?</span>(<span class="ruby-identifier">note</span>)
+  <span class="ruby-operator">!</span><span class="ruby-ivar">@mixed_targets</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@main_target_type</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">note</span>.<span class="ruby-identifier">noteable_type</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_for_main_target-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_for_main_target-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Notify.html b/doc/app/Notify.html
new file mode 100644
index 0000000000000000000000000000000000000000..933e1cbc37272f1185e9d46e63dfa22299903112
--- /dev/null
+++ b/doc/app/Notify.html
@@ -0,0 +1,883 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Notify - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/mailers/notify.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActionMailer::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">Resque::Mailer</span>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-issue_status_changed_email">#issue_status_changed_email</a>
+    
+    <li><a href="#method-i-new_issue_email">#new_issue_email</a>
+    
+    <li><a href="#method-i-new_merge_request_email">#new_merge_request_email</a>
+    
+    <li><a href="#method-i-new_user_email">#new_user_email</a>
+    
+    <li><a href="#method-i-note_commit_email">#note_commit_email</a>
+    
+    <li><a href="#method-i-note_issue_email">#note_issue_email</a>
+    
+    <li><a href="#method-i-note_merge_request_email">#note_merge_request_email</a>
+    
+    <li><a href="#method-i-note_wall_email">#note_wall_email</a>
+    
+    <li><a href="#method-i-note_wiki_email">#note_wiki_email</a>
+    
+    <li><a href="#method-i-project_access_granted_email">#project_access_granted_email</a>
+    
+    <li><a href="#method-i-reassigned_issue_email">#reassigned_issue_email</a>
+    
+    <li><a href="#method-i-reassigned_merge_request_email">#reassigned_merge_request_email</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Notify</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-issue_status_changed_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issue_status_changed_email</span><span
+            class="method-args">(recipient_id, issue_id, status, updated_by_user_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issue_status_changed_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issue_status_changed_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">issue_id</span>, <span class="ruby-identifier">status</span>, <span class="ruby-identifier">updated_by_user_id</span>)
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-constant">Issue</span>.<span class="ruby-identifier">find</span> <span class="ruby-identifier">issue_id</span>
+  <span class="ruby-ivar">@issue_status</span> = <span class="ruby-identifier">status</span>
+  <span class="ruby-ivar">@updated_by</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span> <span class="ruby-identifier">updated_by_user_id</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>),
+      <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;changed issue ##{@issue.id}&quot;</span>, <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issue_status_changed_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issue_status_changed_email-method -->
+
+    
+      <div id="method-i-new_issue_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_issue_email</span><span
+            class="method-args">(issue_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p><a href="Issue.html">Issue</a></p>
+          
+
+          
+          <div class="method-source-code" id="new_issue_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_issue_email</span>(<span class="ruby-identifier">issue_id</span>)
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-constant">Issue</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">issue_id</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">assignee_email</span>, <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;new issue ##{@issue.id}&quot;</span>, <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_issue_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_issue_email-method -->
+
+    
+      <div id="method-i-new_merge_request_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_merge_request_email</span><span
+            class="method-args">(merge_request_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Merge Request</p>
+          
+
+          
+          <div class="method-source-code" id="new_merge_request_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_merge_request_email</span>(<span class="ruby-identifier">merge_request_id</span>)
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-constant">MergeRequest</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">merge_request_id</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">assignee_email</span>, <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;new merge request !#{@merge_request.id}&quot;</span>, <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_merge_request_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_merge_request_email-method -->
+
+    
+      <div id="method-i-new_user_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_user_email</span><span
+            class="method-args">(user_id, password)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p><a href="User.html">User</a></p>
+          
+
+          
+          <div class="method-source-code" id="new_user_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_user_email</span>(<span class="ruby-identifier">user_id</span>, <span class="ruby-identifier">password</span>)
+  <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">user_id</span>)
+  <span class="ruby-ivar">@password</span> = <span class="ruby-identifier">password</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">email</span>, <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-string">&quot;Account was created for you&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_user_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_user_email-method -->
+
+    
+      <div id="method-i-note_commit_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_commit_email</span><span
+            class="method-args">(recipient_id, note_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p><a href="Note.html">Note</a></p>
+          
+
+          
+          <div class="method-source-code" id="note_commit_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_commit_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">noteable</span>
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commit</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;note for commit #{@commit.short_id}&quot;</span>, <span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_commit_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_commit_email-method -->
+
+    
+      <div id="method-i-note_issue_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_issue_email</span><span
+            class="method-args">(recipient_id, note_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="note_issue_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_issue_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">noteable</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;note for issue ##{@issue.id}&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_issue_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_issue_email-method -->
+
+    
+      <div id="method-i-note_merge_request_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_merge_request_email</span><span
+            class="method-args">(recipient_id, note_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="note_merge_request_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_merge_request_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">noteable</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;note for merge request !#{@merge_request.id}&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_merge_request_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_merge_request_email-method -->
+
+    
+      <div id="method-i-note_wall_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_wall_email</span><span
+            class="method-args">(recipient_id, note_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="note_wall_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_wall_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_wall_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_wall_email-method -->
+
+    
+      <div id="method-i-note_wiki_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">note_wiki_email</span><span
+            class="method-args">(recipient_id, note_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="note_wiki_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 92</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">note_wiki_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">note_id</span>)
+  <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">noteable</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@note</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-string">&quot;note for wiki&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- note_wiki_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- note_wiki_email-method -->
+
+    
+      <div id="method-i-project_access_granted_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_access_granted_email</span><span
+            class="method-args">(user_project_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p><a href="Project.html">Project</a></p>
+          
+
+          
+          <div class="method-source-code" id="project_access_granted_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_access_granted_email</span>(<span class="ruby-identifier">user_project_id</span>)
+  <span class="ruby-ivar">@users_project</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">find</span> <span class="ruby-identifier">user_project_id</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@users_project</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@users_project</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</span>, 
+       <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-string">&quot;access to project was granted&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_access_granted_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_access_granted_email-method -->
+
+    
+      <div id="method-i-reassigned_issue_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reassigned_issue_email</span><span
+            class="method-args">(recipient_id, issue_id, previous_assignee_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reassigned_issue_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reassigned_issue_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">issue_id</span>, <span class="ruby-identifier">previous_assignee_id</span>)
+  <span class="ruby-ivar">@issue</span> = <span class="ruby-constant">Issue</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">issue_id</span>)
+  <span class="ruby-ivar">@previous_assignee</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">previous_assignee_id</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;changed issue ##{@issue.id}&quot;</span>, <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reassigned_issue_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reassigned_issue_email-method -->
+
+    
+      <div id="method-i-reassigned_merge_request_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reassigned_merge_request_email</span><span
+            class="method-args">(recipient_id, merge_request_id, previous_assignee_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reassigned_merge_request_email-source">
+            <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reassigned_merge_request_email</span>(<span class="ruby-identifier">recipient_id</span>, <span class="ruby-identifier">merge_request_id</span>, <span class="ruby-identifier">previous_assignee_id</span>)
+  <span class="ruby-ivar">@merge_request</span> = <span class="ruby-constant">MergeRequest</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">merge_request_id</span>)
+  <span class="ruby-ivar">@previous_assignee</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">previous_assignee_id</span>)
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">to</span><span class="ruby-operator">:</span> <span class="ruby-identifier">recipient</span>(<span class="ruby-identifier">recipient_id</span>), <span class="ruby-identifier">subject</span><span class="ruby-operator">:</span> <span class="ruby-identifier">subject</span>(<span class="ruby-node">&quot;changed merge request !#{@merge_request.id}&quot;</span>, <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">title</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reassigned_merge_request_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reassigned_merge_request_email-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/OmniauthCallbacksController.html b/doc/app/OmniauthCallbacksController.html
new file mode 100644
index 0000000000000000000000000000000000000000..d40a16a3eb937474f5453675f679343e0c688fb3
--- /dev/null
+++ b/doc/app/OmniauthCallbacksController.html
@@ -0,0 +1,527 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class OmniauthCallbacksController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/omniauth_callbacks_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Devise::OmniauthCallbacksController
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-failure_message">#failure_message</a>
+    
+    <li><a href="#method-i-ldap">#ldap</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class OmniauthCallbacksController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-failure_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">failure_message</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Extend the standard message generation to accept our custom exception</p>
+          
+
+          
+          <div class="method-source-code" id="failure_message-source">
+            <pre><span class="ruby-comment"># File app/controllers/omniauth_callbacks_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">failure_message</span>
+  <span class="ruby-identifier">exception</span> = <span class="ruby-identifier">env</span>[<span class="ruby-string">&quot;omniauth.error&quot;</span>]
+  <span class="ruby-identifier">error</span>   = <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">error_reason</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:error_reason</span>)
+  <span class="ruby-identifier">error</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">error</span>        <span class="ruby-keyword">if</span> <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:error</span>)
+  <span class="ruby-identifier">error</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">message</span>      <span class="ruby-keyword">if</span> <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:message</span>)
+  <span class="ruby-identifier">error</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">env</span>[<span class="ruby-string">&quot;omniauth.error.type&quot;</span>].<span class="ruby-identifier">to_s</span>
+  <span class="ruby-identifier">error</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">humanize</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">error</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- failure_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- failure_message-method -->
+
+    
+      <div id="method-i-ldap" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ldap</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ldap-source">
+            <pre><span class="ruby-comment"># File app/controllers/omniauth_callbacks_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ldap</span>
+  <span class="ruby-comment"># We only find ourselves here if the authentication to LDAP was successful.</span>
+  <span class="ruby-ivar">@user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_for_ldap_auth</span>(<span class="ruby-identifier">request</span>.<span class="ruby-identifier">env</span>[<span class="ruby-string">&quot;omniauth.auth&quot;</span>], <span class="ruby-identifier">current_user</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">persisted?</span>
+    <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">remember_me</span> = <span class="ruby-keyword">true</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">sign_in_and_redirect</span> <span class="ruby-ivar">@user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ldap-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ldap-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/PostReceive.html b/doc/app/PostReceive.html
new file mode 100644
index 0000000000000000000000000000000000000000..11468fd9ca9ae26a70a50ee4a1b15c3b4ac36f2d
--- /dev/null
+++ b/doc/app/PostReceive.html
@@ -0,0 +1,495 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class PostReceive - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/workers/post_receive.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-perform">::perform</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class PostReceive</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-perform" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">perform</span><span
+            class="method-args">(reponame, oldrev, newrev, ref, identifier)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="perform-source">
+            <pre><span class="ruby-comment"># File app/workers/post_receive.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">perform</span>(<span class="ruby-identifier">reponame</span>, <span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">identifier</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">find_by_path</span>(<span class="ruby-identifier">reponame</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">nil?</span>
+
+  <span class="ruby-comment"># Ignore push from non-gitlab users</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-regexp">%r^[A-Z0-9._%a-z\-]+@(?:[A-Z0-9a-z\-]+\.)+[A-Za-z]{2,4}$/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">identifier</span>)
+    <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">user</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_email</span>(<span class="ruby-identifier">identifier</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">user</span> = <span class="ruby-constant">Key</span>.<span class="ruby-identifier">find_by_identifier</span>(<span class="ruby-identifier">identifier</span>).<span class="ruby-identifier">try</span>(<span class="ruby-value">:user</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">trigger_post_receive</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- perform-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- perform-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProfileController.html b/doc/app/ProfileController.html
new file mode 100644
index 0000000000000000000000000000000000000000..deb4b0bcb674d7a939c19649c2f65d68d32a0c8f
--- /dev/null
+++ b/doc/app/ProfileController.html
@@ -0,0 +1,683 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProfileController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/profile_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-design">#design</a>
+    
+    <li><a href="#method-i-history">#history</a>
+    
+    <li><a href="#method-i-password_update">#password_update</a>
+    
+    <li><a href="#method-i-reset_private_token">#reset_private_token</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-token">#token</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProfileController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-design" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">design</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="design-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">design</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- design-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- design-method -->
+
+    
+      <div id="method-i-history" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">history</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="history-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">history</span>
+  <span class="ruby-ivar">@events</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">recent_events</span>.<span class="ruby-identifier">page</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:page</span>]).<span class="ruby-identifier">per</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- history-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- history-method -->
+
+    
+      <div id="method-i-password_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">password_update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="password_update-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">password_update</span>
+  <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>].<span class="ruby-identifier">reject!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span> <span class="ruby-operator">!=</span> <span class="ruby-string">&quot;password&quot;</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">k</span> <span class="ruby-operator">!=</span> <span class="ruby-string">&quot;password_confirmation&quot;</span>}
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>])
+    <span class="ruby-identifier">flash</span>[<span class="ruby-value">:notice</span>] = <span class="ruby-string">&quot;Password was successfully updated. Please login with it&quot;</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">new_user_session_path</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;password&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- password_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- password_update-method -->
+
+    
+      <div id="method-i-reset_private_token" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">reset_private_token</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="reset_private_token-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">reset_private_token</span>
+  <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">reset_authentication_token!</span>
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">profile_account_path</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- reset_private_token-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- reset_private_token-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-token" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">token</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="token-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">token</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- token-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- token-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/profile_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>])
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-value">:back</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProfileHelper.html b/doc/app/ProfileHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..ab7773ba6be3408136d7f385724e78f5df4a7e3f
--- /dev/null
+++ b/doc/app/ProfileHelper.html
@@ -0,0 +1,481 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module ProfileHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/profile_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-oauth_active_class">#oauth_active_class</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module ProfileHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-oauth_active_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">oauth_active_class</span><span
+            class="method-args">(provider)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="oauth_active_class-source">
+            <pre><span class="ruby-comment"># File app/helpers/profile_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">oauth_active_class</span> <span class="ruby-identifier">provider</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">provider</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">provider</span>.<span class="ruby-identifier">to_s</span>
+    <span class="ruby-string">'active'</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- oauth_active_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- oauth_active_class-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Project.html b/doc/app/Project.html
new file mode 100644
index 0000000000000000000000000000000000000000..55868ef1838c2b361f473b05722674c00bd804d7
--- /dev/null
+++ b/doc/app/Project.html
@@ -0,0 +1,1202 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Project - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/project.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="Repository.html">Repository</a>
+  
+  
+  
+    <li><a class="include" href="PushObserver.html">PushObserver</a>
+  
+  
+  
+    <li><a class="include" href="Authority.html">Authority</a>
+  
+  
+  
+    <li><a class="include" href="Team.html">Team</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-access_options">::access_options</a>
+    
+    <li><a href="#method-c-active">::active</a>
+    
+    <li><a href="#method-c-create_by_user">::create_by_user</a>
+    
+    <li><a href="#method-c-search">::search</a>
+    
+    <li><a href="#method-i-build_commit_note">#build_commit_note</a>
+    
+    <li><a href="#method-i-check_limit">#check_limit</a>
+    
+    <li><a href="#method-i-commit_line_notes">#commit_line_notes</a>
+    
+    <li><a href="#method-i-commit_notes">#commit_notes</a>
+    
+    <li><a href="#method-i-common_notes">#common_notes</a>
+    
+    <li><a href="#method-i-git_error-3F">#git_error?</a>
+    
+    <li><a href="#method-i-issues_labels">#issues_labels</a>
+    
+    <li><a href="#method-i-last_activity">#last_activity</a>
+    
+    <li><a href="#method-i-last_activity_date">#last_activity_date</a>
+    
+    <li><a href="#method-i-private-3F">#private?</a>
+    
+    <li><a href="#method-i-project_id">#project_id</a>
+    
+    <li><a href="#method-i-public-3F">#public?</a>
+    
+    <li><a href="#method-i-repo_name">#repo_name</a>
+    
+    <li><a href="#method-i-saved-3F">#saved?</a>
+    
+    <li><a href="#method-i-to_param">#to_param</a>
+    
+    <li><a href="#method-i-web_url">#web_url</a>
+    
+    <li><a href="#method-i-wiki_notes">#wiki_notes</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Project</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-error_code" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">error_code</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-access_options" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">access_options</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="access_options-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">access_options</span>
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">access_roles</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- access_options-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- access_options-method -->
+
+    
+      <div id="method-c-active" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">active</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="active-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">active</span>
+  <span class="ruby-identifier">joins</span>(<span class="ruby-value">:issues</span>, <span class="ruby-value">:notes</span>, <span class="ruby-value">:merge_requests</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;issues.created_at, notes.created_at, merge_requests.created_at DESC&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- active-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- active-method -->
+
+    
+      <div id="method-c-create_by_user" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create_by_user</span><span
+            class="method-args">(params, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create_by_user-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_by_user</span>(<span class="ruby-identifier">params</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">params</span>
+
+  <span class="ruby-constant">Project</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-identifier">user</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">save!</span>
+
+    <span class="ruby-comment"># Add user as project master</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">create!</span>(<span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-constant">UsersProject</span><span class="ruby-operator">::</span><span class="ruby-constant">MASTER</span>, <span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>)
+
+    <span class="ruby-comment"># when project saved no team member exist so</span>
+    <span class="ruby-comment"># project repository should be updated after first user add</span>
+    <span class="ruby-identifier">project</span>.<span class="ruby-identifier">update_repository</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span><span class="ruby-operator">::</span><span class="ruby-constant">AccessDenied</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">error_code</span> = <span class="ruby-value">:gitolite</span>
+  <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">error_code</span> = <span class="ruby-value">:db</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-value">:base</span>, <span class="ruby-string">&quot;Can't save project. Please try again later&quot;</span>)
+  <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create_by_user-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create_by_user-method -->
+
+    
+      <div id="method-c-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">(query)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search</span> <span class="ruby-identifier">query</span>
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;name LIKE :query OR code LIKE :query OR path LIKE :query&quot;</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;%#{query}%&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-build_commit_note" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">build_commit_note</span><span
+            class="method-args">(commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="build_commit_note-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 124</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">build_commit_note</span>(<span class="ruby-identifier">commit</span>)
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">noteable_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">noteable_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Commit&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- build_commit_note-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- build_commit_note-method -->
+
+    
+      <div id="method-i-check_limit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">check_limit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="check_limit-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 98</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">check_limit</span>
+  <span class="ruby-keyword">unless</span> <span class="ruby-identifier">owner</span>.<span class="ruby-identifier">can_create_project?</span>
+    <span class="ruby-identifier">errors</span>[<span class="ruby-value">:base</span>] <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-node">&quot;Your own projects limit is #{owner.projects_limit}! Please contact administrator to increase it&quot;</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-identifier">errors</span>[<span class="ruby-value">:base</span>] <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-string">&quot;Can't check your ability to create project&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- check_limit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- check_limit-method -->
+
+    
+      <div id="method-i-commit_line_notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit_line_notes</span><span
+            class="method-args">(commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit_line_notes-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 132</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit_line_notes</span>(<span class="ruby-identifier">commit</span>)
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">noteable_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">noteable_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Commit&quot;</span>).<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;line_code IS NOT NULL&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit_line_notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit_line_notes-method -->
+
+    
+      <div id="method-i-commit_notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit_notes</span><span
+            class="method-args">(commit)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit_notes-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 128</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit_notes</span>(<span class="ruby-identifier">commit</span>)
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">noteable_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">noteable_type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Commit&quot;</span>, <span class="ruby-identifier">line_code</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit_notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit_notes-method -->
+
+    
+      <div id="method-i-common_notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">common_notes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="common_notes-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 120</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">common_notes</span>
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">noteable_type</span><span class="ruby-operator">:</span> [<span class="ruby-string">&quot;&quot;</span>, <span class="ruby-keyword">nil</span>]).<span class="ruby-identifier">inc_author_project</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- common_notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- common_notes-method -->
+
+    
+      <div id="method-i-git_error-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">git_error?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="git_error-3F-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 90</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">git_error?</span>
+  <span class="ruby-identifier">error_code</span> <span class="ruby-operator">==</span> <span class="ruby-value">:gitolite</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- git_error-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- git_error-3F-method -->
+
+    
+      <div id="method-i-issues_labels" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">issues_labels</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="issues_labels-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 160</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">issues_labels</span>
+  <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">tag_counts_on</span>(<span class="ruby-value">:labels</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- issues_labels-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- issues_labels-method -->
+
+    
+      <div id="method-i-last_activity" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_activity</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_activity-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 144</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_activity</span>
+  <span class="ruby-identifier">last_event</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_activity-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_activity-method -->
+
+    
+      <div id="method-i-last_activity_date" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_activity_date</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_activity_date-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_activity_date</span>
+  <span class="ruby-identifier">last_event</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:created_at</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">updated_at</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_activity_date-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_activity_date-method -->
+
+    
+      <div id="method-i-private-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">private?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="private-3F-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 140</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">private?</span>
+  <span class="ruby-identifier">private_flag</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- private-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- private-3F-method -->
+
+    
+      <div id="method-i-project_id" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_id</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_id-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 156</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_id</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_id-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_id-method -->
+
+    
+      <div id="method-i-public-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">public?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="public-3F-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 136</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">public?</span>
+  <span class="ruby-operator">!</span><span class="ruby-identifier">private_flag</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- public-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- public-3F-method -->
+
+    
+      <div id="method-i-repo_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repo_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repo_name-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 106</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repo_name</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;gitolite-admin&quot;</span>
+    <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-value">:path</span>, <span class="ruby-string">&quot; like 'gitolite-admin' is not allowed&quot;</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repo_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repo_name-method -->
+
+    
+      <div id="method-i-saved-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">saved?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="saved-3F-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">saved?</span>
+  <span class="ruby-identifier">id</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">valid?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- saved-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- saved-3F-method -->
+
+    
+      <div id="method-i-to_param" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_param</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_param-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_param</span>
+  <span class="ruby-identifier">code</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_param-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_param-method -->
+
+    
+      <div id="method-i-web_url" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">web_url</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="web_url-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 116</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">web_url</span>
+  [<span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">url</span>, <span class="ruby-identifier">code</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;/&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- web_url-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- web_url-method -->
+
+    
+      <div id="method-i-wiki_notes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">wiki_notes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="wiki_notes-source">
+            <pre><span class="ruby-comment"># File app/models/project.rb, line 152</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">wiki_notes</span>
+  <span class="ruby-constant">Note</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">noteable_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">pluck</span>(<span class="ruby-value">:id</span>), <span class="ruby-identifier">noteable_type</span><span class="ruby-operator">:</span> <span class="ruby-string">'Wiki'</span>, <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- wiki_notes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- wiki_notes-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProjectHook.html b/doc/app/ProjectHook.html
new file mode 100644
index 0000000000000000000000000000000000000000..e5d17ef0e0a15b80ad1132173890401406fa4b93
--- /dev/null
+++ b/doc/app/ProjectHook.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProjectHook - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/project_hook.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="WebHook.html">WebHook</a>
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProjectHook</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProjectObserver.html b/doc/app/ProjectObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..d4ce78247d278babe61992a02de3022736cf9e6d
--- /dev/null
+++ b/doc/app/ProjectObserver.html
@@ -0,0 +1,589 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProjectObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/project_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_destroy">#after_destroy</a>
+    
+    <li><a href="#method-i-after_save">#after_save</a>
+    
+    <li><a href="#method-i-log_info">#log_info</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProjectObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">log_info</span>(<span class="ruby-node">&quot;#{project.owner.name} created a new project \&quot;#{project.name}\&quot;&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_destroy</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_destroy-source">
+            <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_destroy</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">log_info</span>(<span class="ruby-node">&quot;Project \&quot;#{project.name}\&quot; was removed&quot;</span>)
+
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">destroy_repository</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_destroy-method -->
+
+    
+      <div id="method-i-after_save" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_save</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_save-source">
+            <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_save</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">update_repository</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_save-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_save-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-log_info" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">log_info</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="log_info-source">
+            <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">log_info</span> <span class="ruby-identifier">message</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">AppLogger</span>.<span class="ruby-identifier">info</span> <span class="ruby-identifier">message</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- log_info-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- log_info-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProjectResourceController.html b/doc/app/ProjectResourceController.html
new file mode 100644
index 0000000000000000000000000000000000000000..aa972617cb5aa9cbc0f4f1ca268b7ef7606d27b9
--- /dev/null
+++ b/doc/app/ProjectResourceController.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProjectResourceController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/project_resource_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProjectResourceController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProjectsController.html b/doc/app/ProjectsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..6982deabcf92a6a17ec3bdbc544a45be8fd3203b
--- /dev/null
+++ b/doc/app/ProjectsController.html
@@ -0,0 +1,785 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProjectsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/projects_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-files">#files</a>
+    
+    <li><a href="#method-i-graph">#graph</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+    <li><a href="#method-i-wall">#wall</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProjectsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">create_by_user</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>], <span class="ruby-identifier">current_user</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">saved?</span>
+        <span class="ruby-identifier">redirect_to</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully created.'</span>)
+      <span class="ruby-keyword">else</span>
+        <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;new&quot;</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-comment"># Disable the UsersProject update_repository call, otherwise it will be</span>
+  <span class="ruby-comment"># called once for every person removed from the project</span>
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">skip_callback</span>(<span class="ruby-value">:destroy</span>, <span class="ruby-value">:after</span>, <span class="ruby-value">:update_repository</span>)
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">destroy</span>
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">set_callback</span>(<span class="ruby-value">:destroy</span>, <span class="ruby-value">:after</span>, <span class="ruby-value">:update_repository</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">root_path</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-files" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">files</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="files-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">files</span>
+  <span class="ruby-ivar">@notes</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;attachment != 'NULL'&quot;</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at DESC&quot;</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">100</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- files-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- files-method -->
+
+    
+      <div id="method-i-graph" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">graph</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="graph-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">graph</span>
+  <span class="ruby-ivar">@days_json</span>, <span class="ruby-ivar">@commits_json</span> = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">GraphCommit</span>.<span class="ruby-identifier">to_graph</span>(<span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- graph-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- graph-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-identifier">limit</span> = (<span class="ruby-identifier">params</span>[<span class="ruby-value">:limit</span>] <span class="ruby-operator">||</span> <span class="ruby-value">20</span>).<span class="ruby-identifier">to_i</span>
+  <span class="ruby-ivar">@events</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">events</span>.<span class="ruby-identifier">recent</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-identifier">limit</span>).<span class="ruby-identifier">offset</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:offset</span>] <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+       <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">empty_repo?</span>
+         <span class="ruby-ivar">@last_push</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">recent_push</span>(<span class="ruby-ivar">@project</span>.<span class="ruby-identifier">id</span>)
+         <span class="ruby-identifier">render</span> <span class="ruby-value">:show</span>
+       <span class="ruby-keyword">else</span>
+         <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;projects/empty&quot;</span>
+       <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>])
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">edit_project_path</span>(<span class="ruby-identifier">project</span>), <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Project was successfully updated.'</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span> }
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+      <div id="method-i-wall" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">wall</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Wall</p>
+          
+
+          
+          <div class="method-source-code" id="wall-source">
+            <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">wall</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wall_enabled</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-constant">Note</span>.<span class="ruby-identifier">new</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- wall-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- wall-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProjectsHelper.html b/doc/app/ProjectsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..5edd4592cc79c935ff1410276ca6363784546147
--- /dev/null
+++ b/doc/app/ProjectsHelper.html
@@ -0,0 +1,543 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module ProjectsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/projects_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-grouper_project_members">#grouper_project_members</a>
+    
+    <li><a href="#method-i-link_to_project">#link_to_project</a>
+    
+    <li><a href="#method-i-remove_from_team_message">#remove_from_team_message</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module ProjectsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-grouper_project_members" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">grouper_project_members</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="grouper_project_members-source">
+            <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">grouper_project_members</span>(<span class="ruby-identifier">project</span>)
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:project_access</span>).<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">group_by</span>(&amp;<span class="ruby-value">:project_access</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- grouper_project_members-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- grouper_project_members-method -->
+
+    
+      <div id="method-i-link_to_project" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">link_to_project</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="link_to_project-source">
+            <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_project</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- link_to_project-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- link_to_project-method -->
+
+    
+      <div id="method-i-remove_from_team_message" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">remove_from_team_message</span><span
+            class="method-args">(project, member)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="remove_from_team_message-source">
+            <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_from_team_message</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">member</span>)
+  <span class="ruby-node">&quot;You are going to remove #{member.user_name} from #{project.name}. Are you sure?&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- remove_from_team_message-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- remove_from_team_message-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProtectedBranch.html b/doc/app/ProtectedBranch.html
new file mode 100644
index 0000000000000000000000000000000000000000..900646dc53a859418d6c480a0bdee2dd6416c693
--- /dev/null
+++ b/doc/app/ProtectedBranch.html
@@ -0,0 +1,529 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProtectedBranch - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/protected_branch.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="GitHost.html">GitHost</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-commit">#commit</a>
+    
+    <li><a href="#method-i-update_repository">#update_repository</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProtectedBranch</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit-source">
+            <pre><span class="ruby-comment"># File app/models/protected_branch.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit-method -->
+
+    
+      <div id="method-i-update_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_repository</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_repository-source">
+            <pre><span class="ruby-comment"># File app/models/protected_branch.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_repository</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">update_repository</span>(<span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_repository-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_repository-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/ProtectedBranchesController.html b/doc/app/ProtectedBranchesController.html
new file mode 100644
index 0000000000000000000000000000000000000000..7eb2b1fdae3ab3d33fa6a951cb911b738e21176a
--- /dev/null
+++ b/doc/app/ProtectedBranchesController.html
@@ -0,0 +1,556 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class ProtectedBranchesController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/protected_branches_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class ProtectedBranchesController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/protected_branches_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:protected_branch</span>])
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_protected_branches_path</span>(<span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/protected_branches_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]).<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_protected_branches_path</span> }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/protected_branches_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@branches</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">all</span>
+  <span class="ruby-ivar">@protected_branch</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/PushEvent.html b/doc/app/PushEvent.html
new file mode 100644
index 0000000000000000000000000000000000000000..002866a66fe03817da358478c0e6e28bbe2eb81b
--- /dev/null
+++ b/doc/app/PushEvent.html
@@ -0,0 +1,1105 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module PushEvent - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/push_event.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-branch-3F">#branch?</a>
+    
+    <li><a href="#method-i-branch_name">#branch_name</a>
+    
+    <li><a href="#method-i-commit_from">#commit_from</a>
+    
+    <li><a href="#method-i-commit_to">#commit_to</a>
+    
+    <li><a href="#method-i-commits">#commits</a>
+    
+    <li><a href="#method-i-commits_count">#commits_count</a>
+    
+    <li><a href="#method-i-last_commit">#last_commit</a>
+    
+    <li><a href="#method-i-last_push_to_non_root-3F">#last_push_to_non_root?</a>
+    
+    <li><a href="#method-i-md_ref-3F">#md_ref?</a>
+    
+    <li><a href="#method-i-new_branch-3F">#new_branch?</a>
+    
+    <li><a href="#method-i-new_ref-3F">#new_ref?</a>
+    
+    <li><a href="#method-i-parent_commit">#parent_commit</a>
+    
+    <li><a href="#method-i-push_action_name">#push_action_name</a>
+    
+    <li><a href="#method-i-push_with_commits-3F">#push_with_commits?</a>
+    
+    <li><a href="#method-i-ref_name">#ref_name</a>
+    
+    <li><a href="#method-i-ref_type">#ref_type</a>
+    
+    <li><a href="#method-i-rm_ref-3F">#rm_ref?</a>
+    
+    <li><a href="#method-i-tag-3F">#tag?</a>
+    
+    <li><a href="#method-i-tag_name">#tag_name</a>
+    
+    <li><a href="#method-i-valid_push-3F">#valid_push?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module PushEvent</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-branch-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branch?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branch-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branch?</span>
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:ref</span>][<span class="ruby-string">&quot;refs/heads&quot;</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branch-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branch-3F-method -->
+
+    
+      <div id="method-i-branch_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branch_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branch_name-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branch_name</span>
+  <span class="ruby-ivar">@branch_name</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">data</span>[<span class="ruby-value">:ref</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-string">&quot;refs/heads/&quot;</span>, <span class="ruby-string">&quot;&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branch_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branch_name-method -->
+
+    
+      <div id="method-i-commit_from" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit_from</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit_from-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit_from</span>
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:before</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit_from-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit_from-method -->
+
+    
+      <div id="method-i-commit_to" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit_to</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit_to-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit_to</span>
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:after</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit_to-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit_to-method -->
+
+    
+      <div id="method-i-commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Max 20 commits from push DESC</p>
+          
+
+          
+          <div class="method-source-code" id="commits-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits</span>
+  <span class="ruby-ivar">@commits</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">data</span>[<span class="ruby-value">:commits</span>].<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">commit</span><span class="ruby-operator">|</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">commit</span>[<span class="ruby-value">:id</span>]) }.<span class="ruby-identifier">reverse</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits-method -->
+
+    
+      <div id="method-i-commits_count" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_count</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_count-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_count</span> 
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:total_commits_count</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_count-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_count-method -->
+
+    
+      <div id="method-i-last_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_commit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_commit-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_commit</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">commit_to</span>)
+<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_commit-method -->
+
+    
+      <div id="method-i-last_push_to_non_root-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_push_to_non_root?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_push_to_non_root-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 97</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_push_to_non_root?</span>
+  <span class="ruby-identifier">branch?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">default_branch</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">branch_name</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_push_to_non_root-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_push_to_non_root-3F-method -->
+
+    
+      <div id="method-i-md_ref-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">md_ref?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="md_ref-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">md_ref?</span>
+  <span class="ruby-operator">!</span>(<span class="ruby-identifier">rm_ref?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">new_ref?</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- md_ref-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- md_ref-3F-method -->
+
+    
+      <div id="method-i-new_branch-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_branch?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_branch-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_branch?</span>
+  <span class="ruby-identifier">commit_from</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^00000/</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_branch-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_branch-3F-method -->
+
+    
+      <div id="method-i-new_ref-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_ref?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_ref-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_ref?</span>
+  <span class="ruby-identifier">commit_from</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^00000/</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_ref-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_ref-3F-method -->
+
+    
+      <div id="method-i-parent_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">parent_commit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="parent_commit-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">parent_commit</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">commit_from</span>)
+<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- parent_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- parent_commit-method -->
+
+    
+      <div id="method-i-push_action_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">push_action_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="push_action_name-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">push_action_name</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">new_ref?</span>
+    <span class="ruby-string">&quot;pushed new&quot;</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">rm_ref?</span>
+    <span class="ruby-string">&quot;deleted&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-string">&quot;pushed to&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- push_action_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- push_action_name-method -->
+
+    
+      <div id="method-i-push_with_commits-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">push_with_commits?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="push_with_commits-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">push_with_commits?</span> 
+  <span class="ruby-identifier">md_ref?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">any?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">parent_commit</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">last_commit</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">NoSuchPathError</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- push_with_commits-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- push_with_commits-3F-method -->
+
+    
+      <div id="method-i-ref_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ref_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ref_name-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ref_name</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">tag?</span>
+    <span class="ruby-identifier">tag_name</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">branch_name</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ref_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ref_name-method -->
+
+    
+      <div id="method-i-ref_type" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ref_type</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ref_type-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ref_type</span>
+  <span class="ruby-identifier">tag?</span> <span class="ruby-operator">?</span> <span class="ruby-string">&quot;tag&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-string">&quot;branch&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ref_type-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ref_type-method -->
+
+    
+      <div id="method-i-rm_ref-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">rm_ref?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="rm_ref-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">rm_ref?</span>
+  <span class="ruby-identifier">commit_to</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^00000/</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- rm_ref-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- rm_ref-3F-method -->
+
+    
+      <div id="method-i-tag-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tag?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tag-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tag?</span>
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:ref</span>][<span class="ruby-string">&quot;refs/tags&quot;</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tag-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tag-3F-method -->
+
+    
+      <div id="method-i-tag_name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tag_name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tag_name-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tag_name</span>
+  <span class="ruby-ivar">@tag_name</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">data</span>[<span class="ruby-value">:ref</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-string">&quot;refs/tags/&quot;</span>, <span class="ruby-string">&quot;&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tag_name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tag_name-method -->
+
+    
+      <div id="method-i-valid_push-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">valid_push?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="valid_push-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">valid_push?</span>
+  <span class="ruby-identifier">data</span>[<span class="ruby-value">:ref</span>]
+<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- valid_push-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- valid_push-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/PushObserver.html b/doc/app/PushObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..804447a691777fe7103e9ea13589a895aefc9dda
--- /dev/null
+++ b/doc/app/PushObserver.html
@@ -0,0 +1,699 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module PushObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/push_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute_hooks">#execute_hooks</a>
+    
+    <li><a href="#method-i-observe_push">#observe_push</a>
+    
+    <li><a href="#method-i-post_receive_data">#post_receive_data</a>
+    
+    <li><a href="#method-i-trigger_post_receive">#trigger_post_receive</a>
+    
+    <li><a href="#method-i-update_merge_requests">#update_merge_requests</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module PushObserver</h1>
+
+  <div id="description" class="description">
+    
+<p>Includes methods for handling Git Push events</p>
+
+<p>Triggered by <a href="PostReceive.html">PostReceive</a> job</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute_hooks" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute_hooks</span><span
+            class="method-args">(oldrev, newrev, ref, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute_hooks-source">
+            <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute_hooks</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">ref_parts</span> = <span class="ruby-identifier">ref</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'/'</span>)
+
+  <span class="ruby-comment"># Return if this is not a push to a branch (e.g. new commits)</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">ref_parts</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">!~</span> <span class="ruby-regexp">%rheads/</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">oldrev</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;00000000000000000000000000000000&quot;</span>
+
+  <span class="ruby-identifier">data</span> = <span class="ruby-identifier">post_receive_data</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">hook</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hook</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-identifier">data</span>) }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute_hooks-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute_hooks-method -->
+
+    
+      <div id="method-i-observe_push" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">observe_push</span><span
+            class="method-args">(oldrev, newrev, ref, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="observe_push-source">
+            <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">observe_push</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">data</span> = <span class="ruby-identifier">post_receive_data</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">project</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>,
+    <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Pushed</span>,
+    <span class="ruby-identifier">data</span><span class="ruby-operator">:</span> <span class="ruby-identifier">data</span>,
+    <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">data</span>[<span class="ruby-value">:user_id</span>]
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- observe_push-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- observe_push-method -->
+
+    
+      <div id="method-i-post_receive_data" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">post_receive_data</span><span
+            class="method-args">(oldrev, newrev, ref, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="post_receive_data-source">
+            <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">post_receive_data</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-identifier">push_commits</span> = <span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>)
+
+  <span class="ruby-comment"># Total commits count</span>
+  <span class="ruby-identifier">push_commits_count</span> = <span class="ruby-identifier">push_commits</span>.<span class="ruby-identifier">size</span>
+
+  <span class="ruby-comment"># Get latest 20 commits ASC</span>
+  <span class="ruby-identifier">push_commits_limited</span> = <span class="ruby-identifier">push_commits</span>.<span class="ruby-identifier">last</span>(<span class="ruby-value">20</span>)
+
+  <span class="ruby-comment"># Hash to be passed as post_receive_data</span>
+  <span class="ruby-identifier">data</span> = {
+    <span class="ruby-identifier">before</span><span class="ruby-operator">:</span> <span class="ruby-identifier">oldrev</span>,
+    <span class="ruby-identifier">after</span><span class="ruby-operator">:</span> <span class="ruby-identifier">newrev</span>,
+    <span class="ruby-identifier">ref</span><span class="ruby-operator">:</span> <span class="ruby-identifier">ref</span>,
+    <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>,
+    <span class="ruby-identifier">user_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">name</span>,
+    <span class="ruby-identifier">repository</span><span class="ruby-operator">:</span> {
+      <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">web_url</span>,
+      <span class="ruby-identifier">description</span><span class="ruby-operator">:</span> <span class="ruby-identifier">description</span>,
+      <span class="ruby-identifier">homepage</span><span class="ruby-operator">:</span> <span class="ruby-identifier">web_url</span>,
+    },
+    <span class="ruby-identifier">commits</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">total_commits_count</span><span class="ruby-operator">:</span> <span class="ruby-identifier">push_commits_count</span>
+  }
+
+  <span class="ruby-comment"># For perfomance purposes maximum 20 latest commits</span>
+  <span class="ruby-comment"># will be passed as post receive hook data.</span>
+  <span class="ruby-comment">#</span>
+  <span class="ruby-identifier">push_commits_limited</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">commit</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">data</span>[<span class="ruby-value">:commits</span>] <span class="ruby-operator">&lt;&lt;</span> {
+      <span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>,
+      <span class="ruby-identifier">message</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">safe_message</span>,
+      <span class="ruby-identifier">timestamp</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">date</span>.<span class="ruby-identifier">xmlschema</span>,
+      <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{Gitlab.config.url}/#{code}/commits/#{commit.id}&quot;</span>,
+      <span class="ruby-identifier">author</span><span class="ruby-operator">:</span> {
+        <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">author_name</span>,
+        <span class="ruby-identifier">email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">author_email</span>
+      }
+    }
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">data</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- post_receive_data-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- post_receive_data-method -->
+
+    
+      <div id="method-i-trigger_post_receive" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">trigger_post_receive</span><span
+            class="method-args">(oldrev, newrev, ref, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>This method will be called after each post receive and only if the provided
+user is present in GitLab.</p>
+
+<p>All callbacks for post receive should be placed here.</p>
+          
+
+          
+          <div class="method-source-code" id="trigger_post_receive-source">
+            <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">trigger_post_receive</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-comment"># Create push event</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">observe_push</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-comment"># Close merged MR</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">update_merge_requests</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-comment"># Execute web hooks</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">execute_hooks</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+
+  <span class="ruby-comment"># Create satellite</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">create</span> <span class="ruby-keyword">unless</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">exists?</span>
+
+  <span class="ruby-comment"># Discover the default branch, but only if it hasn't already been set to</span>
+  <span class="ruby-comment"># something else</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">default_branch</span>.<span class="ruby-identifier">nil?</span>
+    <span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">default_branch</span><span class="ruby-operator">:</span> <span class="ruby-identifier">discover_default_branch</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- trigger_post_receive-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- trigger_post_receive-method -->
+
+    
+      <div id="method-i-update_merge_requests" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_merge_requests</span><span
+            class="method-args">(oldrev, newrev, ref, user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_merge_requests-source">
+            <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_merge_requests</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">user</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">ref</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%rheads/</span>
+  <span class="ruby-identifier">branch_name</span> = <span class="ruby-identifier">ref</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">&quot;refs/heads/&quot;</span>, <span class="ruby-string">&quot;&quot;</span>)
+  <span class="ruby-identifier">c_ids</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">oldrev</span>, <span class="ruby-identifier">newrev</span>).<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>)
+
+  <span class="ruby-comment"># Update code for merge requests</span>
+  <span class="ruby-identifier">mrs</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">find_all_by_branch</span>(<span class="ruby-identifier">branch_name</span>).<span class="ruby-identifier">all</span>
+  <span class="ruby-identifier">mrs</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">merge_request</span><span class="ruby-operator">|</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">reload_code</span>; <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">mark_as_unchecked</span> }
+
+  <span class="ruby-comment"># Close merge requests</span>
+  <span class="ruby-identifier">mrs</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">target_branch</span><span class="ruby-operator">:</span> <span class="ruby-identifier">branch_name</span>).<span class="ruby-identifier">all</span>
+  <span class="ruby-identifier">mrs</span> = <span class="ruby-identifier">mrs</span>.<span class="ruby-identifier">select</span>(&amp;<span class="ruby-value">:last_commit</span>).<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">mr</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c_ids</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">mr</span>.<span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">id</span>) }
+  <span class="ruby-identifier">mrs</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">merge_request</span><span class="ruby-operator">|</span> <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>) }
+
+  <span class="ruby-keyword">true</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_merge_requests-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_merge_requests-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Redcarpet.html b/doc/app/Redcarpet.html
new file mode 100644
index 0000000000000000000000000000000000000000..238b7f2596cac6f5d150a3d609a28cda28aff921
--- /dev/null
+++ b/doc/app/Redcarpet.html
@@ -0,0 +1,432 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Redcarpet - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Redcarpet</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Redcarpet/Render.html b/doc/app/Redcarpet/Render.html
new file mode 100644
index 0000000000000000000000000000000000000000..acb7ba3cdf4ec71225ce5c8b6ca4d0ea9de41dd6
--- /dev/null
+++ b/doc/app/Redcarpet/Render.html
@@ -0,0 +1,432 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Redcarpet::Render - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Redcarpet::Render</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Redcarpet/Render/GitlabHTML.html b/doc/app/Redcarpet/Render/GitlabHTML.html
new file mode 100644
index 0000000000000000000000000000000000000000..93212eaba21f0f4c1a9d0b874c062d276f977016
--- /dev/null
+++ b/doc/app/Redcarpet/Render/GitlabHTML.html
@@ -0,0 +1,594 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Redcarpet::Render::GitlabHTML - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../../index.html">Home</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>lib/redcarpet/render/gitlab_html.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Redcarpet::Render::HTML
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-block_code">#block_code</a>
+    
+    <li><a href="#method-i-postprocess">#postprocess</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../../Admin.html">Admin</a>
+  
+    <li><a href="../../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../../Notes.html">Notes</a>
+  
+    <li><a href="../../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../../Grack.html">Grack</a>
+  
+    <li><a href="../../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../../Ability.html">Ability</a>
+  
+    <li><a href="../../Account.html">Account</a>
+  
+    <li><a href="../../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../../AdminController.html">AdminController</a>
+  
+    <li><a href="../../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../../Authority.html">Authority</a>
+  
+    <li><a href="../../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../../BlameController.html">BlameController</a>
+  
+    <li><a href="../../BlobController.html">BlobController</a>
+  
+    <li><a href="../../Commit.html">Commit</a>
+  
+    <li><a href="../../CommitController.html">CommitController</a>
+  
+    <li><a href="../../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../../CompareController.html">CompareController</a>
+  
+    <li><a href="../../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../../Event.html">Event</a>
+  
+    <li><a href="../../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../../GitHost.html">GitHost</a>
+  
+    <li><a href="../../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../../Group.html">Group</a>
+  
+    <li><a href="../../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../../HelpController.html">HelpController</a>
+  
+    <li><a href="../../HooksController.html">HooksController</a>
+  
+    <li><a href="../../Issue.html">Issue</a>
+  
+    <li><a href="../../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../../Key.html">Key</a>
+  
+    <li><a href="../../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../../KeysController.html">KeysController</a>
+  
+    <li><a href="../../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../../Milestone.html">Milestone</a>
+  
+    <li><a href="../../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../../Note.html">Note</a>
+  
+    <li><a href="../../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../../NotesController.html">NotesController</a>
+  
+    <li><a href="../../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../../Notify.html">Notify</a>
+  
+    <li><a href="../../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../../Project.html">Project</a>
+  
+    <li><a href="../../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../../RefsController.html">RefsController</a>
+  
+    <li><a href="../../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../../Repository.html">Repository</a>
+  
+    <li><a href="../../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../../SearchController.html">SearchController</a>
+  
+    <li><a href="../../Snippet.html">Snippet</a>
+  
+    <li><a href="../../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../../Team.html">Team</a>
+  
+    <li><a href="../../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../../Tree.html">Tree</a>
+  
+    <li><a href="../../TreeController.html">TreeController</a>
+  
+    <li><a href="../../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../../User.html">User</a>
+  
+    <li><a href="../../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../../Votes.html">Votes</a>
+  
+    <li><a href="../../WebHook.html">WebHook</a>
+  
+    <li><a href="../../Wiki.html">Wiki</a>
+  
+    <li><a href="../../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Redcarpet::Render::GitlabHTML</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-h" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">h</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-template" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">template</span><span
+            class="attribute-access-type">[R]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(template, options = {})</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/redcarpet/render/gitlab_html.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">template</span>, <span class="ruby-identifier">options</span> = {})
+  <span class="ruby-ivar">@template</span> = <span class="ruby-identifier">template</span>
+  <span class="ruby-ivar">@project</span> = <span class="ruby-ivar">@template</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-string">&quot;@project&quot;</span>)
+  <span class="ruby-keyword">super</span> <span class="ruby-identifier">options</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-block_code" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">block_code</span><span
+            class="method-args">(code, language)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="block_code-source">
+            <pre><span class="ruby-comment"># File lib/redcarpet/render/gitlab_html.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">block_code</span>(<span class="ruby-identifier">code</span>, <span class="ruby-identifier">language</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-constant">Pygments</span><span class="ruby-operator">::</span><span class="ruby-constant">Lexer</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">language</span>)
+    <span class="ruby-constant">Pygments</span>.<span class="ruby-identifier">highlight</span>(<span class="ruby-identifier">code</span>, <span class="ruby-identifier">lexer</span><span class="ruby-operator">:</span> <span class="ruby-identifier">language</span>, <span class="ruby-identifier">options</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">encoding</span><span class="ruby-operator">:</span> <span class="ruby-string">'utf-8'</span>})
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-constant">Pygments</span>.<span class="ruby-identifier">highlight</span>(<span class="ruby-identifier">code</span>, <span class="ruby-identifier">options</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">encoding</span><span class="ruby-operator">:</span> <span class="ruby-string">'utf-8'</span>})
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- block_code-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- block_code-method -->
+
+    
+      <div id="method-i-postprocess" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">postprocess</span><span
+            class="method-args">(full_document)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="postprocess-source">
+            <pre><span class="ruby-comment"># File lib/redcarpet/render/gitlab_html.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">postprocess</span>(<span class="ruby-identifier">full_document</span>)
+  <span class="ruby-identifier">h</span>.<span class="ruby-identifier">gfm</span>(<span class="ruby-identifier">full_document</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- postprocess-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- postprocess-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/RefsController.html b/doc/app/RefsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..a8248da0ec07fe8c9dbc39bae0a13da2ba353ede
--- /dev/null
+++ b/doc/app/RefsController.html
@@ -0,0 +1,638 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class RefsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/refs_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="Gitlab/Encode.html">Gitlab::Encode</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-define_tree_vars">#define_tree_vars</a>
+    
+    <li><a href="#method-i-logs_tree">#logs_tree</a>
+    
+    <li><a href="#method-i-ref">#ref</a>
+    
+    <li><a href="#method-i-switch">#switch</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class RefsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-logs_tree" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">logs_tree</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="logs_tree-source">
+            <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">logs_tree</span>
+  <span class="ruby-identifier">contents</span> = <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">contents</span>
+  <span class="ruby-ivar">@logs</span> = <span class="ruby-identifier">contents</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">content</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">file</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>] <span class="ruby-operator">?</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>], <span class="ruby-identifier">content</span>.<span class="ruby-identifier">name</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">content</span>.<span class="ruby-identifier">name</span>
+    <span class="ruby-identifier">last_commit</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">file</span>, <span class="ruby-value">1</span>).<span class="ruby-identifier">last</span>
+    <span class="ruby-identifier">last_commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-identifier">last_commit</span>)
+    {
+      <span class="ruby-identifier">file_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">content</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">commit</span><span class="ruby-operator">:</span> <span class="ruby-identifier">last_commit</span>
+    }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- logs_tree-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- logs_tree-method -->
+
+    
+      <div id="method-i-switch" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">switch</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="switch-source">
+            <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">switch</span>
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">new_path</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:destination</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;tree&quot;</span>
+                   <span class="ruby-identifier">project_tree_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>)
+                 <span class="ruby-keyword">else</span>
+                   <span class="ruby-identifier">project_commits_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>)
+                 <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">new_path</span>
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-ivar">@ref</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:ref</span>]
+      <span class="ruby-identifier">define_tree_vars</span>
+      <span class="ruby-identifier">render</span> <span class="ruby-string">&quot;tree&quot;</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- switch-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- switch-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-define_tree_vars" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">define_tree_vars</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="define_tree_vars-source">
+            <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">define_tree_vars</span>
+  <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>] = <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>].<span class="ruby-identifier">blank?</span>
+
+  <span class="ruby-ivar">@repo</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-ivar">@ref</span>)
+  <span class="ruby-ivar">@commit</span> = <span class="ruby-constant">CommitDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@commit</span>)
+  <span class="ruby-ivar">@tree</span> = <span class="ruby-constant">Tree</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">tree</span>, <span class="ruby-identifier">project</span>, <span class="ruby-ivar">@ref</span>, <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>])
+  <span class="ruby-ivar">@tree</span> = <span class="ruby-constant">TreeDecorator</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@tree</span>)
+  <span class="ruby-ivar">@hex_path</span> = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">SHA1</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>] <span class="ruby-operator">||</span> <span class="ruby-string">&quot;&quot;</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>]
+    <span class="ruby-ivar">@logs_path</span> = <span class="ruby-identifier">logs_file_project_ref_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>, <span class="ruby-identifier">params</span>[<span class="ruby-value">:path</span>])
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-ivar">@logs_path</span> = <span class="ruby-identifier">logs_tree_project_ref_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- define_tree_vars-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- define_tree_vars-method -->
+
+    
+      <div id="method-i-ref" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ref</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ref-source">
+            <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ref</span>
+  <span class="ruby-ivar">@ref</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:ref</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ref-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ref-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/RepositoriesController.html b/doc/app/RepositoriesController.html
new file mode 100644
index 0000000000000000000000000000000000000000..3a22f71e49a8bf9e8b74c833aff1764c2fd2b42d
--- /dev/null
+++ b/doc/app/RepositoriesController.html
@@ -0,0 +1,593 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class RepositoriesController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/repositories_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-archive">#archive</a>
+    
+    <li><a href="#method-i-branches">#branches</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-tags">#tags</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class RepositoriesController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-archive" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">archive</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="archive-source">
+            <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">archive</span>
+  <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:download_code</span>, <span class="ruby-ivar">@project</span>)
+    <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">and</span> <span class="ruby-keyword">return</span> 
+  <span class="ruby-keyword">end</span>
+
+
+  <span class="ruby-identifier">file_path</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">archive_repo</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:ref</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">file_path</span>
+    <span class="ruby-comment"># Send file to user</span>
+    <span class="ruby-identifier">send_file</span> <span class="ruby-identifier">file_path</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">render_404</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- archive-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- archive-method -->
+
+    
+      <div id="method-i-branches" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branches</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branches-source">
+            <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branches</span>
+  <span class="ruby-ivar">@branches</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">branches</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branches-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branches-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@activities</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">commits_with_refs</span>(<span class="ruby-value">20</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-tags" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tags</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tags-source">
+            <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tags</span>
+  <span class="ruby-ivar">@tags</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">tags</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tags-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tags-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Repository.html b/doc/app/Repository.html
new file mode 100644
index 0000000000000000000000000000000000000000..cb68146cfda49dfed691f015fe2417c188e4ce2f
--- /dev/null
+++ b/doc/app/Repository.html
@@ -0,0 +1,1566 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Repository - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/repository.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="GitHost.html">GitHost</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-archive_repo">#archive_repo</a>
+    
+    <li><a href="#method-i-branch_names">#branch_names</a>
+    
+    <li><a href="#method-i-branches">#branches</a>
+    
+    <li><a href="#method-i-commit">#commit</a>
+    
+    <li><a href="#method-i-commits">#commits</a>
+    
+    <li><a href="#method-i-commits_between">#commits_between</a>
+    
+    <li><a href="#method-i-commits_since">#commits_since</a>
+    
+    <li><a href="#method-i-commits_with_refs">#commits_with_refs</a>
+    
+    <li><a href="#method-i-destroy_repository">#destroy_repository</a>
+    
+    <li><a href="#method-i-discover_default_branch">#discover_default_branch</a>
+    
+    <li><a href="#method-i-empty_repo-3F">#empty_repo?</a>
+    
+    <li><a href="#method-i-fresh_commits">#fresh_commits</a>
+    
+    <li><a href="#method-i-has_commits-3F">#has_commits?</a>
+    
+    <li><a href="#method-i-has_post_receive_file-3F">#has_post_receive_file?</a>
+    
+    <li><a href="#method-i-heads">#heads</a>
+    
+    <li><a href="#method-i-http_url_to_repo">#http_url_to_repo</a>
+    
+    <li><a href="#method-i-last_commit_for">#last_commit_for</a>
+    
+    <li><a href="#method-i-open_branches">#open_branches</a>
+    
+    <li><a href="#method-i-path_to_repo">#path_to_repo</a>
+    
+    <li><a href="#method-i-protected_branch-3F">#protected_branch?</a>
+    
+    <li><a href="#method-i-ref_names">#ref_names</a>
+    
+    <li><a href="#method-i-repo">#repo</a>
+    
+    <li><a href="#method-i-repo_exists-3F">#repo_exists?</a>
+    
+    <li><a href="#method-i-root_ref">#root_ref</a>
+    
+    <li><a href="#method-i-root_ref-3F">#root_ref?</a>
+    
+    <li><a href="#method-i-satellite">#satellite</a>
+    
+    <li><a href="#method-i-ssh_url_to_repo">#ssh_url_to_repo</a>
+    
+    <li><a href="#method-i-tag_names">#tag_names</a>
+    
+    <li><a href="#method-i-tags">#tags</a>
+    
+    <li><a href="#method-i-tree">#tree</a>
+    
+    <li><a href="#method-i-update_repository">#update_repository</a>
+    
+    <li><a href="#method-i-url_to_repo">#url_to_repo</a>
+    
+    <li><a href="#method-i-valid_repo-3F">#valid_repo?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Repository</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-archive_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">archive_repo</span><span
+            class="method-args">(ref)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Archive <a href="Project.html">Project</a> to .tar.gz</p>
+
+<p>Already packed repo archives stored at
+app_root/tmp/repositories/project_name/project_name-commit-id.tag.gz</p>
+          
+
+          
+          <div class="method-source-code" id="archive_repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 157</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">archive_repo</span>(<span class="ruby-identifier">ref</span>)
+  <span class="ruby-identifier">ref</span> = <span class="ruby-identifier">ref</span> <span class="ruby-operator">||</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">root_ref</span>
+  <span class="ruby-identifier">commit</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">ref</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">commit</span>
+
+  <span class="ruby-comment"># Build file path</span>
+  <span class="ruby-identifier">file_name</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;-&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;.tar.gz&quot;</span>
+  <span class="ruby-identifier">storage_path</span> = <span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;tmp&quot;</span>, <span class="ruby-string">&quot;repositories&quot;</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">code</span>)
+  <span class="ruby-identifier">file_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">storage_path</span>, <span class="ruby-identifier">file_name</span>)
+
+  <span class="ruby-comment"># Put files into a directory before archiving</span>
+  <span class="ruby-identifier">prefix</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;/&quot;</span>
+
+  <span class="ruby-comment"># Create file if not exists</span>
+  <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">file_path</span>)
+    <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span> <span class="ruby-identifier">storage_path</span>
+    <span class="ruby-identifier">file</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">archive_to_file</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">prefix</span>,  <span class="ruby-identifier">file_path</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">file_path</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- archive_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- archive_repo-method -->
+
+    
+      <div id="method-i-branch_names" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branch_names</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an Array of branch names</p>
+          
+
+          
+          <div class="method-source-code" id="branch_names-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branch_names</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">branches</span>.<span class="ruby-identifier">collect</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">sort</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branch_names-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branch_names-method -->
+
+    
+      <div id="method-i-branches" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branches</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an Array of Branches</p>
+          
+
+          
+          <div class="method-source-code" id="branches-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branches</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">branches</span>.<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branches-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branches-method -->
+
+    
+      <div id="method-i-commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commit</span><span
+            class="method-args">(commit_id = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commit-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commit</span>(<span class="ruby-identifier">commit_id</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">find_or_first</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">commit_id</span>, <span class="ruby-identifier">root_ref</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commit-method -->
+
+    
+      <div id="method-i-commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits</span><span
+            class="method-args">(ref, path = nil, limit = nil, offset = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">limit</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">offset</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span>, <span class="ruby-identifier">limit</span>, <span class="ruby-identifier">offset</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits-method -->
+
+    
+      <div id="method-i-commits_between" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_between</span><span
+            class="method-args">(from, to)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_between-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">commits_between</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_between-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_between-method -->
+
+    
+      <div id="method-i-commits_since" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_since</span><span
+            class="method-args">(date)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_since-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_since</span>(<span class="ruby-identifier">date</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">commits_since</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">date</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_since-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_since-method -->
+
+    
+      <div id="method-i-commits_with_refs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">commits_with_refs</span><span
+            class="method-args">(n = 20)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="commits_with_refs-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">commits_with_refs</span>(<span class="ruby-identifier">n</span> = <span class="ruby-value">20</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">commits_with_refs</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- commits_with_refs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- commits_with_refs-method -->
+
+    
+      <div id="method-i-destroy_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy_repository</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy_repository-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 93</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy_repository</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">remove_repository</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy_repository-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy_repository-method -->
+
+    
+      <div id="method-i-discover_default_branch" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">discover_default_branch</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Discovers the default branch based on the repository’s available branches</p>
+<ul><li>
+<p>If no branches are present, returns nil</p>
+</li><li>
+<p>If one branch is present, returns its name</p>
+</li><li>
+<p>If two or more branches are present, returns the one that has a name
+matching <a href="Repository.html#method-i-root_ref">#root_ref</a>
+(default_branch or ‘master’ if default_branch is nil)</p>
+</li></ul>
+          
+
+          
+          <div class="method-source-code" id="discover_default_branch-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 128</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">discover_default_branch</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">branch_names</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
+    <span class="ruby-keyword">nil</span>
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">branch_names</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
+    <span class="ruby-identifier">branch_names</span>.<span class="ruby-identifier">first</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">branch_names</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">root_ref</span> }.<span class="ruby-identifier">first</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- discover_default_branch-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- discover_default_branch-method -->
+
+    
+      <div id="method-i-empty_repo-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">empty_repo?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="empty_repo-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">empty_repo?</span>
+  <span class="ruby-operator">!</span><span class="ruby-identifier">repo_exists?</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-identifier">has_commits?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- empty_repo-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- empty_repo-3F-method -->
+
+    
+      <div id="method-i-fresh_commits" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">fresh_commits</span><span
+            class="method-args">(n = 10)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="fresh_commits-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">fresh_commits</span>(<span class="ruby-identifier">n</span> = <span class="ruby-value">10</span>)
+  <span class="ruby-constant">Commit</span>.<span class="ruby-identifier">fresh_commits</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- fresh_commits-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- fresh_commits-method -->
+
+    
+      <div id="method-i-has_commits-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">has_commits?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="has_commits-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 138</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_commits?</span>
+  <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">commit</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">NoSuchPathError</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- has_commits-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- has_commits-3F-method -->
+
+    
+      <div id="method-i-has_post_receive_file-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">has_post_receive_file?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="has_post_receive_file-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">has_post_receive_file?</span>
+  <span class="ruby-identifier">hook_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">path_to_repo</span>, <span class="ruby-string">'hooks'</span>, <span class="ruby-string">'post-receive'</span>)
+  <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">hook_file</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- has_post_receive_file-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- has_post_receive_file-3F-method -->
+
+    
+      <div id="method-i-heads" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">heads</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="heads-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 103</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">heads</span>
+  <span class="ruby-ivar">@heads</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- heads-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- heads-method -->
+
+    
+      <div id="method-i-http_url_to_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">http_url_to_repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="http_url_to_repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 183</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">http_url_to_repo</span>
+  <span class="ruby-identifier">http_url</span> = [<span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">url</span>, <span class="ruby-string">&quot;/&quot;</span>, <span class="ruby-identifier">path</span>, <span class="ruby-string">&quot;.git&quot;</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">''</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- http_url_to_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- http_url_to_repo-method -->
+
+    
+      <div id="method-i-last_commit_for" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">last_commit_for</span><span
+            class="method-args">(ref, path = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="last_commit_for-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">last_commit_for</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">commits</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span>, <span class="ruby-value">1</span>).<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- last_commit_for-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- last_commit_for-method -->
+
+    
+      <div id="method-i-open_branches" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">open_branches</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="open_branches-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 113</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">open_branches</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">empty?</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">pnames</span> = <span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>)
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">heads</span>.<span class="ruby-identifier">reject</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-identifier">pnames</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">name</span>) }
+  <span class="ruby-keyword">end</span>.<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- open_branches-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- open_branches-method -->
+
+    
+      <div id="method-i-path_to_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">path_to_repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="path_to_repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">path_to_repo</span>
+  <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">git_base_path</span>, <span class="ruby-node">&quot;#{path}.git&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- path_to_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- path_to_repo-method -->
+
+    
+      <div id="method-i-protected_branch-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">protected_branch?</span><span
+            class="method-args">(branch_name)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Check if current branch name is marked as protected in the system</p>
+          
+
+          
+          <div class="method-source-code" id="protected_branch-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 188</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">protected_branch?</span> <span class="ruby-identifier">branch_name</span>
+  <span class="ruby-identifier">protected_branches</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">branch_name</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- protected_branch-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- protected_branch-3F-method -->
+
+    
+      <div id="method-i-ref_names" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ref_names</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an Array of branch and tag names</p>
+          
+
+          
+          <div class="method-source-code" id="ref_names-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ref_names</span>
+  [<span class="ruby-identifier">branch_names</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">tag_names</span>].<span class="ruby-identifier">flatten</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ref_names-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ref_names-method -->
+
+    
+      <div id="method-i-repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repo</span>
+  <span class="ruby-ivar">@repo</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Repo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">path_to_repo</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repo-method -->
+
+    
+      <div id="method-i-repo_exists-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repo_exists?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repo_exists-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 97</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repo_exists?</span>
+  <span class="ruby-ivar">@repo_exists</span> <span class="ruby-operator">||=</span> (<span class="ruby-identifier">repo</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">repo</span>.<span class="ruby-identifier">branches</span>.<span class="ruby-identifier">empty?</span>)
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-ivar">@repo_exists</span> = <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repo_exists-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repo_exists-3F-method -->
+
+    
+      <div id="method-i-root_ref" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">root_ref</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="root_ref-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 144</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">root_ref</span>
+  <span class="ruby-identifier">default_branch</span> <span class="ruby-operator">||</span> <span class="ruby-string">&quot;master&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- root_ref-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- root_ref-method -->
+
+    
+      <div id="method-i-root_ref-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">root_ref?</span><span
+            class="method-args">(branch)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="root_ref-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">root_ref?</span>(<span class="ruby-identifier">branch</span>)
+  <span class="ruby-identifier">root_ref</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">branch</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- root_ref-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- root_ref-3F-method -->
+
+    
+      <div id="method-i-satellite" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">satellite</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="satellite-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">satellite</span>
+  <span class="ruby-ivar">@satellite</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Satellite</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- satellite-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- satellite-method -->
+
+    
+      <div id="method-i-ssh_url_to_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">ssh_url_to_repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="ssh_url_to_repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 179</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">ssh_url_to_repo</span>
+  <span class="ruby-identifier">url_to_repo</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- ssh_url_to_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- ssh_url_to_repo-method -->
+
+    
+      <div id="method-i-tag_names" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tag_names</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an Array of tag names</p>
+          
+
+          
+          <div class="method-source-code" id="tag_names-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tag_names</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">collect</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">reverse</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tag_names-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tag_names-method -->
+
+    
+      <div id="method-i-tags" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tags</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Returns an Array of Tags</p>
+          
+
+          
+          <div class="method-source-code" id="tags-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 68</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tags</span>
+  <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:name</span>).<span class="ruby-identifier">reverse</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tags-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tags-method -->
+
+    
+      <div id="method-i-tree" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tree</span><span
+            class="method-args">(fcommit, path = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tree-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tree</span>(<span class="ruby-identifier">fcommit</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">fcommit</span> = <span class="ruby-identifier">commit</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">fcommit</span> <span class="ruby-operator">==</span> <span class="ruby-value">:head</span>
+  <span class="ruby-identifier">tree</span> = <span class="ruby-identifier">fcommit</span>.<span class="ruby-identifier">tree</span>
+  <span class="ruby-identifier">path</span> <span class="ruby-operator">?</span> (<span class="ruby-identifier">tree</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">path</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">tree</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tree-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tree-method -->
+
+    
+      <div id="method-i-update_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_repository</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_repository-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_repository</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">update_repository</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_repository-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_repository-method -->
+
+    
+      <div id="method-i-url_to_repo" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">url_to_repo</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="url_to_repo-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">url_to_repo</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">url_to_repo</span>(<span class="ruby-identifier">path</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- url_to_repo-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- url_to_repo-method -->
+
+    
+      <div id="method-i-valid_repo-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">valid_repo?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="valid_repo-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/repository.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">valid_repo?</span>
+  <span class="ruby-identifier">repo</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-value">:path</span>, <span class="ruby-string">&quot;Invalid repository path&quot;</span>)
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- valid_repo-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- valid_repo-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SearchContext.html b/doc/app/SearchContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a3d2bd504736713a67a15eab05a123f24606468
--- /dev/null
+++ b/doc/app/SearchContext.html
@@ -0,0 +1,599 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SearchContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/search_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+    <li><a href="#method-i-result">#result</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SearchContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-params" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">params</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-project_ids" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project_ids</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(project_ids, params)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">project_ids</span>, <span class="ruby-identifier">params</span>)
+  <span class="ruby-ivar">@project_ids</span>, <span class="ruby-ivar">@params</span> = <span class="ruby-identifier">project_ids</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">query</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:search</span>]
+
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">query</span>.<span class="ruby-identifier">present?</span>
+
+  <span class="ruby-identifier">result</span>[<span class="ruby-value">:projects</span>] = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">10</span>)
+  <span class="ruby-identifier">result</span>[<span class="ruby-value">:merge_requests</span>] = <span class="ruby-constant">MergeRequest</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">10</span>)
+  <span class="ruby-identifier">result</span>[<span class="ruby-value">:issues</span>] = <span class="ruby-constant">Issue</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_ids</span>).<span class="ruby-identifier">search</span>(<span class="ruby-identifier">query</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">10</span>)
+  <span class="ruby-identifier">result</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+      <div id="method-i-result" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">result</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="result-source">
+            <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">result</span>
+  <span class="ruby-ivar">@result</span> <span class="ruby-operator">||=</span> {
+    <span class="ruby-identifier">projects</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">merge_requests</span><span class="ruby-operator">:</span> [],
+    <span class="ruby-identifier">issues</span><span class="ruby-operator">:</span> []
+  }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- result-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- result-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SearchController.html b/doc/app/SearchController.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c14ea8f55798879a1b139694bcb04cd92fbaa23
--- /dev/null
+++ b/doc/app/SearchController.html
@@ -0,0 +1,489 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SearchController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/search_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationController.html">ApplicationController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SearchController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/search_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-identifier">result</span> = <span class="ruby-constant">SearchContext</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">project_ids</span>, <span class="ruby-identifier">params</span>).<span class="ruby-identifier">execute</span>
+
+  <span class="ruby-ivar">@projects</span>       = <span class="ruby-identifier">result</span>[<span class="ruby-value">:projects</span>]
+  <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:merge_requests</span>]
+  <span class="ruby-ivar">@issues</span>         = <span class="ruby-identifier">result</span>[<span class="ruby-value">:issues</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Snippet.html b/doc/app/Snippet.html
new file mode 100644
index 0000000000000000000000000000000000000000..a24e4494f44710a7d37aded502a9d268afd980f9
--- /dev/null
+++ b/doc/app/Snippet.html
@@ -0,0 +1,667 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Snippet - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/snippet.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">Linguist::BlobHelper</span>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-content_types">::content_types</a>
+    
+    <li><a href="#method-i-data">#data</a>
+    
+    <li><a href="#method-i-expired-3F">#expired?</a>
+    
+    <li><a href="#method-i-mode">#mode</a>
+    
+    <li><a href="#method-i-name">#name</a>
+    
+    <li><a href="#method-i-size">#size</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Snippet</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-content_types" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">content_types</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="content_types-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">content_types</span>
+  [
+    <span class="ruby-string">&quot;.rb&quot;</span>, <span class="ruby-string">&quot;.py&quot;</span>, <span class="ruby-string">&quot;.pl&quot;</span>, <span class="ruby-string">&quot;.scala&quot;</span>, <span class="ruby-string">&quot;.c&quot;</span>, <span class="ruby-string">&quot;.cpp&quot;</span>, <span class="ruby-string">&quot;.java&quot;</span>,
+    <span class="ruby-string">&quot;.haml&quot;</span>, <span class="ruby-string">&quot;.html&quot;</span>, <span class="ruby-string">&quot;.sass&quot;</span>, <span class="ruby-string">&quot;.scss&quot;</span>, <span class="ruby-string">&quot;.xml&quot;</span>, <span class="ruby-string">&quot;.php&quot;</span>, <span class="ruby-string">&quot;.erb&quot;</span>,
+    <span class="ruby-string">&quot;.js&quot;</span>, <span class="ruby-string">&quot;.sh&quot;</span>, <span class="ruby-string">&quot;.coffee&quot;</span>, <span class="ruby-string">&quot;.yml&quot;</span>, <span class="ruby-string">&quot;.md&quot;</span>
+  ]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- content_types-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- content_types-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-data" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">data</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="data-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">data</span>
+  <span class="ruby-identifier">content</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- data-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- data-method -->
+
+    
+      <div id="method-i-expired-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">expired?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="expired-3F-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">expired?</span>
+  <span class="ruby-identifier">expires_at</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">expires_at</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">current</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- expired-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- expired-3F-method -->
+
+    
+      <div id="method-i-mode" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">mode</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="mode-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">mode</span>
+  <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- mode-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- mode-method -->
+
+    
+      <div id="method-i-name" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">name</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="name-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">name</span>
+  <span class="ruby-identifier">file_name</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- name-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- name-method -->
+
+    
+      <div id="method-i-size" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">size</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="size-source">
+            <pre><span class="ruby-comment"># File app/models/snippet.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">size</span>
+  <span class="ruby-value">0</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- size-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- size-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SnippetsController.html b/doc/app/SnippetsController.html
new file mode 100644
index 0000000000000000000000000000000000000000..7585a295f72ec284dfe79317dfcf5a8d8a8036dd
--- /dev/null
+++ b/doc/app/SnippetsController.html
@@ -0,0 +1,833 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SnippetsController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/snippets_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-authorize_admin_snippet-21">#authorize_admin_snippet!</a>
+    
+    <li><a href="#method-i-authorize_modify_snippet-21">#authorize_modify_snippet!</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-raw">#raw</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-snippet">#snippet</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SnippetsController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@snippet</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">snippets</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:snippet</span>])
+  <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">author</span> = <span class="ruby-identifier">current_user</span>
+  <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">save</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">valid?</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@snippet</span>]
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@snippet</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">access_denied!</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_snippet</span>, <span class="ruby-ivar">@snippet</span>)
+
+  <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_snippets_path</span>(<span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+  <span class="ruby-ivar">@snippets</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">snippets</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@snippet</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">snippets</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-raw" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">raw</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="raw-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">raw</span> 
+  <span class="ruby-identifier">send_data</span>(
+    <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">content</span>,
+    <span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;text/plain&quot;</span>,
+    <span class="ruby-identifier">disposition</span><span class="ruby-operator">:</span> <span class="ruby-string">'inline'</span>,
+    <span class="ruby-identifier">filename</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">file_name</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- raw-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- raw-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@note</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">noteable</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@snippet</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:snippet</span>])
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@snippet</span>.<span class="ruby-identifier">valid?</span>
+    <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@snippet</span>]
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@snippet</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-authorize_admin_snippet-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_admin_snippet!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_admin_snippet-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_admin_snippet!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:admin_snippet</span>, <span class="ruby-ivar">@snippet</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_admin_snippet-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_admin_snippet-21-method -->
+
+    
+      <div id="method-i-authorize_modify_snippet-21" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">authorize_modify_snippet!</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="authorize_modify_snippet-21-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 78</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">authorize_modify_snippet!</span>
+  <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:modify_snippet</span>, <span class="ruby-ivar">@snippet</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- authorize_modify_snippet-21-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- authorize_modify_snippet-21-method -->
+
+    
+      <div id="method-i-snippet" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">snippet</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="snippet-source">
+            <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">snippet</span>
+  <span class="ruby-ivar">@snippet</span> <span class="ruby-operator">||=</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">snippets</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- snippet-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- snippet-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SnippetsHelper.html b/doc/app/SnippetsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..99c08d511896987645061f47ab44cde2b7ac9a4b
--- /dev/null
+++ b/doc/app/SnippetsHelper.html
@@ -0,0 +1,485 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module SnippetsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/snippets_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-lifetime_select_options">#lifetime_select_options</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module SnippetsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-lifetime_select_options" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">lifetime_select_options</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="lifetime_select_options-source">
+            <pre><span class="ruby-comment"># File app/helpers/snippets_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">lifetime_select_options</span>
+  <span class="ruby-identifier">options</span> = [
+      [<span class="ruby-string">'forever'</span>, <span class="ruby-keyword">nil</span>],
+      [<span class="ruby-string">'1 day'</span>,   <span class="ruby-node">&quot;#{Date.current + 1.day}&quot;</span>],
+      [<span class="ruby-string">'1 week'</span>,  <span class="ruby-node">&quot;#{Date.current + 1.week}&quot;</span>],
+      [<span class="ruby-string">'1 month'</span>, <span class="ruby-node">&quot;#{Date.current + 1.month}&quot;</span>]
+  ]
+  <span class="ruby-identifier">options_for_select</span>(<span class="ruby-identifier">options</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- lifetime_select_options-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- lifetime_select_options-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/StaticModel.html b/doc/app/StaticModel.html
new file mode 100644
index 0000000000000000000000000000000000000000..9dd1617c6b51b5f5f68b11b7c8f23f99c4a4f778
--- /dev/null
+++ b/doc/app/StaticModel.html
@@ -0,0 +1,648 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module StaticModel - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/static_model.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-3D-3D">#==</a>
+    
+    <li><a href="#method-i-5B-5D">#[]</a>
+    
+    <li><a href="#method-i-destroyed-3F">#destroyed?</a>
+    
+    <li><a href="#method-i-new_record-3F">#new_record?</a>
+    
+    <li><a href="#method-i-persisted-3F">#persisted?</a>
+    
+    <li><a href="#method-i-to_param">#to_param</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module StaticModel</h1>
+
+  <div id="description" class="description">
+    
+<p>Provides an ActiveRecord-like interface to a model whose data is not
+persisted to a database.</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-3D-3D" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">==</span><span
+            class="method-args">(other)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="3D-3D-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">StaticModel</span>
+    <span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">id</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">super</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- 3D-3D-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- 3D-3D-method -->
+
+    
+      <div id="method-i-5B-5D" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">[]</span><span
+            class="method-args">(key)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Used by AR for fetching attributes</p>
+
+<p>Pass it along if we respond to it.</p>
+          
+
+          
+          <div class="method-source-code" id="5B-5D-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">key</span>)
+  <span class="ruby-identifier">send</span>(<span class="ruby-identifier">key</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">key</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- 5B-5D-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- 5B-5D-method -->
+
+    
+      <div id="method-i-destroyed-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroyed?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroyed-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroyed?</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroyed-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroyed-3F-method -->
+
+    
+      <div id="method-i-new_record-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new_record?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new_record-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new_record?</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new_record-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new_record-3F-method -->
+
+    
+      <div id="method-i-persisted-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">persisted?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="persisted-3F-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">persisted?</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- persisted-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- persisted-3F-method -->
+
+    
+      <div id="method-i-to_param" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_param</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_param-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_param</span>
+  <span class="ruby-identifier">id</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_param-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_param-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/StaticModel/ClassMethods.html b/doc/app/StaticModel/ClassMethods.html
new file mode 100644
index 0000000000000000000000000000000000000000..27ee1373838cc2f272893b072c82694550f9dec7
--- /dev/null
+++ b/doc/app/StaticModel/ClassMethods.html
@@ -0,0 +1,511 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module StaticModel::ClassMethods - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/static_model.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-base_class">#base_class</a>
+    
+    <li><a href="#method-i-primary_key">#primary_key</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module StaticModel::ClassMethods</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-base_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">base_class</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Used by ActiveRecord’s polymorphic association to set object_type</p>
+          
+
+          
+          <div class="method-source-code" id="base_class-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">base_class</span>
+  <span class="ruby-keyword">self</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- base_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- base_class-method -->
+
+    
+      <div id="method-i-primary_key" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">primary_key</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Used by ActiveRecord’s polymorphic association to set object_id</p>
+          
+
+          
+          <div class="method-source-code" id="primary_key-source">
+            <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">primary_key</span>
+  <span class="ruby-string">'id'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- primary_key-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- primary_key-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SystemHook.html b/doc/app/SystemHook.html
new file mode 100644
index 0000000000000000000000000000000000000000..8e35bf272940540635eebc881b21479813d95f8f
--- /dev/null
+++ b/doc/app/SystemHook.html
@@ -0,0 +1,525 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SystemHook - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/system_hook.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="WebHook.html">WebHook</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-all_hooks_fire">::all_hooks_fire</a>
+    
+    <li><a href="#method-i-async_execute">#async_execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SystemHook</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-all_hooks_fire" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">all_hooks_fire</span><span
+            class="method-args">(data)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="all_hooks_fire-source">
+            <pre><span class="ruby-comment"># File app/models/system_hook.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">all_hooks_fire</span>(<span class="ruby-identifier">data</span>)
+  <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sh</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">sh</span>.<span class="ruby-identifier">async_execute</span> <span class="ruby-identifier">data</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- all_hooks_fire-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- all_hooks_fire-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-async_execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">async_execute</span><span
+            class="method-args">(data)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="async_execute-source">
+            <pre><span class="ruby-comment"># File app/models/system_hook.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">async_execute</span>(<span class="ruby-identifier">data</span>)
+  <span class="ruby-constant">Resque</span>.<span class="ruby-identifier">enqueue</span>(<span class="ruby-constant">SystemHookWorker</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">data</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- async_execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- async_execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SystemHookObserver.html b/doc/app/SystemHookObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..20d819637d15be71eb1fc73945c7acbd21feed45
--- /dev/null
+++ b/doc/app/SystemHookObserver.html
@@ -0,0 +1,573 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SystemHookObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/system_hook_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_destroy">#after_destroy</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SystemHookObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(model)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/system_hook_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">model</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Project</span>
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;project_create&quot;</span>,
+      <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">path</span>,
+      <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">id</span>,
+      <span class="ruby-identifier">owner_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">owner_email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">email</span>,
+      <span class="ruby-identifier">created_at</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">created_at</span>
+    })
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">User</span> 
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;user_create&quot;</span>,
+      <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">email</span>,
+      <span class="ruby-identifier">created_at</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">created_at</span>
+    })
+
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">UsersProject</span>
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;user_add_to_team&quot;</span>,
+      <span class="ruby-identifier">project_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">project_path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>,
+      <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project_id</span>,
+      <span class="ruby-identifier">user_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">user_email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</span>,
+      <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">repo_access_human</span>,
+      <span class="ruby-identifier">created_at</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">created_at</span>
+    })
+
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_destroy</span><span
+            class="method-args">(model)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_destroy-source">
+            <pre><span class="ruby-comment"># File app/observers/system_hook_observer.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_destroy</span>(<span class="ruby-identifier">model</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Project</span>
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;project_destroy&quot;</span>,
+      <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">path</span>,
+      <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">id</span>,
+      <span class="ruby-identifier">owner_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">owner_email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">owner</span>.<span class="ruby-identifier">email</span>,
+    })
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">User</span>
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;user_destroy&quot;</span>,
+      <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">email</span>
+    })
+
+  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">UsersProject</span>
+    <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">all_hooks_fire</span>({
+      <span class="ruby-identifier">event_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;user_remove_from_team&quot;</span>,
+      <span class="ruby-identifier">project_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">project_path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span>,
+      <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">project_id</span>,
+      <span class="ruby-identifier">user_name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">name</span>,
+      <span class="ruby-identifier">user_email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</span>,
+      <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">repo_access_human</span>
+    })
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_destroy-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/SystemHookWorker.html b/doc/app/SystemHookWorker.html
new file mode 100644
index 0000000000000000000000000000000000000000..153eb5776fed1fbfff5f0601a40b103de4e4eb6e
--- /dev/null
+++ b/doc/app/SystemHookWorker.html
@@ -0,0 +1,485 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class SystemHookWorker - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/workers/system_hook_worker.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-perform">::perform</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class SystemHookWorker</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-perform" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">perform</span><span
+            class="method-args">(hook_id, data)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="perform-source">
+            <pre><span class="ruby-comment"># File app/workers/system_hook_worker.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">perform</span>(<span class="ruby-identifier">hook_id</span>, <span class="ruby-identifier">data</span>)
+  <span class="ruby-constant">SystemHook</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">hook_id</span>).<span class="ruby-identifier">execute</span> <span class="ruby-identifier">data</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- perform-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- perform-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TabHelper.html b/doc/app/TabHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..43cc08a4f530330246405ea81aae454264f8f096
--- /dev/null
+++ b/doc/app/TabHelper.html
@@ -0,0 +1,621 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module TabHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/tab_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-branches_tab_class">#branches_tab_class</a>
+    
+    <li><a href="#method-i-nav_link">#nav_link</a>
+    
+    <li><a href="#method-i-project_tab_class">#project_tab_class</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module TabHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-branches_tab_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">branches_tab_class</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="branches_tab_class-source">
+            <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">branches_tab_class</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_page?</span>(<span class="ruby-identifier">branches_project_repository_path</span>(<span class="ruby-ivar">@project</span>)) <span class="ruby-operator">||</span>
+    <span class="ruby-identifier">current_controller?</span>(<span class="ruby-value">:protected_branches</span>) <span class="ruby-operator">||</span>
+    <span class="ruby-identifier">current_page?</span>(<span class="ruby-identifier">project_repository_path</span>(<span class="ruby-ivar">@project</span>))
+    <span class="ruby-string">'active'</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- branches_tab_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- branches_tab_class-method -->
+
+    
+      <div id="method-i-nav_link" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">nav_link</span><span
+            class="method-args">(options = {}, &block)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Navigation link helper</p>
+
+<p>Returns an `li` element with an ‘active’ class if the supplied
+controller(s) and/or action(s) are currently active. The content of the
+element is the value passed to the block.</p>
+
+<p>options - The options hash used to determine if the element is “active”
+(default: {})</p>
+
+<pre>:controller   - One or more controller names to check (optional).
+:action       - One or more action names to check (optional).
+:path         - A shorthand path, such as 'dashboard#index', to check (optional).
+:html_options - Extra options to be passed to the list element (optional).</pre>
+
+<p>block   - An optional block that will become the contents of the returned</p>
+
+<pre>`li` element.</pre>
+
+<p>When both :controller and :action are specified, BOTH must match in order
+to be marked as active. When only one is given, either can match.</p>
+
+<p>Examples</p>
+
+<pre class="ruby"><span class="ruby-comment"># Assuming we're on TreeController#show</span>
+
+<span class="ruby-comment"># Controller matches, but action doesn't</span>
+<span class="ruby-identifier">nav_link</span>(<span class="ruby-identifier">controller</span><span class="ruby-operator">:</span> [:<span class="ruby-identifier">tree</span>, :<span class="ruby-identifier">refs</span>], <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> :<span class="ruby-identifier">edit</span>) { <span class="ruby-string">&quot;Hello&quot;</span> }
+<span class="ruby-comment"># =&gt; '&lt;li&gt;Hello&lt;/li&gt;'</span>
+
+<span class="ruby-comment"># Controller matches</span>
+<span class="ruby-identifier">nav_link</span>(<span class="ruby-identifier">controller</span><span class="ruby-operator">:</span> [:<span class="ruby-identifier">tree</span>, :<span class="ruby-identifier">refs</span>]) { <span class="ruby-string">&quot;Hello&quot;</span> }
+<span class="ruby-comment"># =&gt; '&lt;li class=&quot;active&quot;&gt;Hello&lt;/li&gt;'</span>
+
+<span class="ruby-comment"># Shorthand path</span>
+<span class="ruby-identifier">nav_link</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-string">'tree#show'</span>) { <span class="ruby-string">&quot;Hello&quot;</span> }
+<span class="ruby-comment"># =&gt; '&lt;li class=&quot;active&quot;&gt;Hello&lt;/li&gt;'</span>
+
+<span class="ruby-comment"># Supplying custom options for the list element</span>
+<span class="ruby-identifier">nav_link</span>(<span class="ruby-identifier">controller</span><span class="ruby-operator">:</span> :<span class="ruby-identifier">tree</span>, <span class="ruby-identifier">html_options</span><span class="ruby-operator">:</span> {<span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'home'</span>}) { <span class="ruby-string">&quot;Hello&quot;</span> }
+<span class="ruby-comment"># =&gt; '&lt;li class=&quot;home active&quot;&gt;Hello&lt;/li&gt;'</span>
+</pre>
+
+<p>Returns a list item element String</p>
+          
+
+          
+          <div class="method-source-code" id="nav_link-source">
+            <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">nav_link</span>(<span class="ruby-identifier">options</span> = {}, &amp;<span class="ruby-identifier">block</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:path</span>)
+    <span class="ruby-identifier">c</span>, <span class="ruby-identifier">a</span>, <span class="ruby-identifier">_</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'#'</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">c</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:controller</span>)
+    <span class="ruby-identifier">a</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:action</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">c</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">a</span>
+    <span class="ruby-comment"># When given both options, make sure BOTH are active</span>
+    <span class="ruby-identifier">klass</span> = <span class="ruby-identifier">current_controller?</span>(*<span class="ruby-identifier">c</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">current_action?</span>(*<span class="ruby-identifier">a</span>) <span class="ruby-operator">?</span> <span class="ruby-string">'active'</span> <span class="ruby-operator">:</span> <span class="ruby-string">''</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-comment"># Otherwise check EITHER option</span>
+    <span class="ruby-identifier">klass</span> = <span class="ruby-identifier">current_controller?</span>(*<span class="ruby-identifier">c</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">current_action?</span>(*<span class="ruby-identifier">a</span>) <span class="ruby-operator">?</span> <span class="ruby-string">'active'</span> <span class="ruby-operator">:</span> <span class="ruby-string">''</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-comment"># Add our custom class into the html_options, which may or may not exist</span>
+  <span class="ruby-comment"># and which may or may not already have a :class key</span>
+  <span class="ruby-identifier">o</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:html_options</span>) <span class="ruby-operator">||</span> {}
+  <span class="ruby-identifier">o</span>[<span class="ruby-value">:class</span>] <span class="ruby-operator">||=</span> <span class="ruby-string">''</span>
+  <span class="ruby-identifier">o</span>[<span class="ruby-value">:class</span>] <span class="ruby-operator">+=</span> <span class="ruby-string">' '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">klass</span>
+  <span class="ruby-identifier">o</span>[<span class="ruby-value">:class</span>].<span class="ruby-identifier">strip!</span>
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
+    <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:li</span>, <span class="ruby-identifier">capture</span>(&amp;<span class="ruby-identifier">block</span>), <span class="ruby-identifier">o</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:li</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">o</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- nav_link-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- nav_link-method -->
+
+    
+      <div id="method-i-project_tab_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_tab_class</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_tab_class-source">
+            <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_tab_class</span>
+  [<span class="ruby-value">:show</span>, <span class="ruby-value">:files</span>, <span class="ruby-value">:edit</span>, <span class="ruby-value">:update</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">action</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">return</span> <span class="ruby-string">&quot;active&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_page?</span>(<span class="ruby-identifier">controller</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;projects&quot;</span>, <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-identifier">action</span>, <span class="ruby-identifier">id</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-keyword">if</span> [<span class="ruby-string">'snippets'</span>, <span class="ruby-string">'hooks'</span>, <span class="ruby-string">'deploy_keys'</span>, <span class="ruby-string">'team_members'</span>].<span class="ruby-identifier">include?</span> <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">controller_name</span>
+   <span class="ruby-string">&quot;active&quot;</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_tab_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_tab_class-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TagsHelper.html b/doc/app/TagsHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..3a98d61f38d2e79576a52d9c394847588cfa0a99
--- /dev/null
+++ b/doc/app/TagsHelper.html
@@ -0,0 +1,516 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module TagsHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/tags_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-tag_list">#tag_list</a>
+    
+    <li><a href="#method-i-tag_path">#tag_path</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module TagsHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-tag_list" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tag_list</span><span
+            class="method-args">(project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tag_list-source">
+            <pre><span class="ruby-comment"># File app/helpers/tags_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tag_list</span> <span class="ruby-identifier">project</span>
+  <span class="ruby-identifier">html</span> = <span class="ruby-string">''</span>
+  <span class="ruby-identifier">project</span>.<span class="ruby-identifier">tag_list</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">html</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">tag</span>, <span class="ruby-identifier">tag_path</span>(<span class="ruby-identifier">tag</span>)
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">html</span>.<span class="ruby-identifier">html_safe</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tag_list-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tag_list-method -->
+
+    
+      <div id="method-i-tag_path" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tag_path</span><span
+            class="method-args">(tag)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tag_path-source">
+            <pre><span class="ruby-comment"># File app/helpers/tags_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tag_path</span> <span class="ruby-identifier">tag</span>
+  <span class="ruby-node">&quot;/tags/#{tag}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tag_path-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tag_path-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Team.html b/doc/app/Team.html
new file mode 100644
index 0000000000000000000000000000000000000000..3a583694799b50d897eef7fa7f1d7991064f29d5
--- /dev/null
+++ b/doc/app/Team.html
@@ -0,0 +1,710 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Team - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/team.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-add_user_id_to_team">#add_user_id_to_team</a>
+    
+    <li><a href="#method-i-add_user_to_team">#add_user_to_team</a>
+    
+    <li><a href="#method-i-add_users_ids_to_team">#add_users_ids_to_team</a>
+    
+    <li><a href="#method-i-add_users_to_team">#add_users_to_team</a>
+    
+    <li><a href="#method-i-delete_users_ids_from_team">#delete_users_ids_from_team</a>
+    
+    <li><a href="#method-i-team_member_by_id">#team_member_by_id</a>
+    
+    <li><a href="#method-i-team_member_by_name_or_email">#team_member_by_name_or_email</a>
+    
+    <li><a href="#method-i-update_users_ids_to_role">#update_users_ids_to_role</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Team</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-add_user_id_to_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_user_id_to_team</span><span
+            class="method-args">(user_id, access_role)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Add user to project with passed access role by user id</p>
+          
+
+          
+          <div class="method-source-code" id="add_user_id_to_team-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_user_id_to_team</span>(<span class="ruby-identifier">user_id</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_id</span>,
+    <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-identifier">access_role</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_user_id_to_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_user_id_to_team-method -->
+
+    
+      <div id="method-i-add_user_to_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_user_to_team</span><span
+            class="method-args">(user, access_role)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Add user to project with passed access role</p>
+          
+
+          
+          <div class="method-source-code" id="add_user_to_team-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_user_to_team</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-identifier">add_user_id_to_team</span>(<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">access_role</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_user_to_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_user_to_team-method -->
+
+    
+      <div id="method-i-add_users_ids_to_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_users_ids_to_team</span><span
+            class="method-args">(users_ids, access_role)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Add multiple users to project with same access role by user ids</p>
+          
+
+          
+          <div class="method-source-code" id="add_users_ids_to_team-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_users_ids_to_team</span>(<span class="ruby-identifier">users_ids</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">bulk_import</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">users_ids</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">update_repository</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_users_ids_to_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_users_ids_to_team-method -->
+
+    
+      <div id="method-i-add_users_to_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_users_to_team</span><span
+            class="method-args">(users, access_role)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Add multiple users to project with same access role</p>
+          
+
+          
+          <div class="method-source-code" id="add_users_to_team-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_users_to_team</span>(<span class="ruby-identifier">users</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-identifier">add_users_ids_to_team</span>(<span class="ruby-identifier">users</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>), <span class="ruby-identifier">access_role</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- add_users_to_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- add_users_to_team-method -->
+
+    
+      <div id="method-i-delete_users_ids_from_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">delete_users_ids_from_team</span><span
+            class="method-args">(users_ids)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Delete multiple users from project by user ids</p>
+          
+
+          
+          <div class="method-source-code" id="delete_users_ids_from_team-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_users_ids_from_team</span>(<span class="ruby-identifier">users_ids</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">bulk_delete</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">users_ids</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">update_repository</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- delete_users_ids_from_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- delete_users_ids_from_team-method -->
+
+    
+      <div id="method-i-team_member_by_id" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">team_member_by_id</span><span
+            class="method-args">(user_id)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Get <a href="Team.html">Team</a> Member record by user id</p>
+          
+
+          
+          <div class="method-source-code" id="team_member_by_id-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-identifier">user_id</span>)
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">find_by_user_id</span>(<span class="ruby-identifier">user_id</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- team_member_by_id-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- team_member_by_id-method -->
+
+    
+      <div id="method-i-team_member_by_name_or_email" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">team_member_by_name_or_email</span><span
+            class="method-args">(name = nil, email = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="team_member_by_name_or_email-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">team_member_by_name_or_email</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">email</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">user</span> = <span class="ruby-identifier">users</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;name like ? or email like ?&quot;</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">email</span>).<span class="ruby-identifier">first</span>
+  <span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">user</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">user</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- team_member_by_name_or_email-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- team_member_by_name_or_email-method -->
+
+    
+      <div id="method-i-update_users_ids_to_role" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_users_ids_to_role</span><span
+            class="method-args">(users_ids, access_role)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Update multiple project users to same access role by user ids</p>
+          
+
+          
+          <div class="method-source-code" id="update_users_ids_to_role-source">
+            <pre><span class="ruby-comment"># File app/roles/team.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_users_ids_to_role</span>(<span class="ruby-identifier">users_ids</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">bulk_update</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">users_ids</span>, <span class="ruby-identifier">access_role</span>)
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">update_repository</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_users_ids_to_role-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_users_ids_to_role-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TeamMembersController.html b/doc/app/TeamMembersController.html
new file mode 100644
index 0000000000000000000000000000000000000000..46af7c9fd57e9346841716946a9ea03656152bb4
--- /dev/null
+++ b/doc/app/TeamMembersController.html
@@ -0,0 +1,698 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class TeamMembersController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/team_members_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-apply_import">#apply_import</a>
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-index">#index</a>
+    
+    <li><a href="#method-i-new">#new</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class TeamMembersController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-apply_import" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">apply_import</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="apply_import-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">apply_import</span>
+  <span class="ruby-identifier">giver</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:source_project_id</span>])
+  <span class="ruby-identifier">status</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">import_team</span>(<span class="ruby-identifier">giver</span>, <span class="ruby-identifier">project</span>)
+  <span class="ruby-identifier">notice</span> = <span class="ruby-identifier">status</span> <span class="ruby-operator">?</span> <span class="ruby-string">&quot;Succesfully imported&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-string">&quot;Import failed&quot;</span>
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_team_members_path</span>(<span class="ruby-identifier">project</span>), <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-identifier">notice</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- apply_import-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- apply_import-method -->
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">add_users_ids_to_team</span>(
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:user_ids</span>],
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_access</span>]
+  )
+
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_team_index_path</span>(<span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@team_member</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@team_member</span>.<span class="ruby-identifier">destroy</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_team_index_path</span>(<span class="ruby-ivar">@project</span>) }
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">nothing</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-index" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">index</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="index-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">index</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- index-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- index-method -->
+
+    
+      <div id="method-i-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">new</span>
+  <span class="ruby-ivar">@team_member</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@team_member</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@events</span> = <span class="ruby-ivar">@team_member</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">recent_events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-value">:project_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">limit</span>(<span class="ruby-value">7</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-ivar">@team_member</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-ivar">@team_member</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:team_member</span>])
+
+  <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@team_member</span>.<span class="ruby-identifier">valid?</span>
+    <span class="ruby-identifier">flash</span>[<span class="ruby-value">:alert</span>] = <span class="ruby-string">&quot;User should have at least one role&quot;</span>
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_team_index_path</span>(<span class="ruby-ivar">@project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TestHookContext.html b/doc/app/TestHookContext.html
new file mode 100644
index 0000000000000000000000000000000000000000..e18701cb035b96db23c24bcd45639741108091e4
--- /dev/null
+++ b/doc/app/TestHookContext.html
@@ -0,0 +1,488 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class TestHookContext - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/contexts/test_hook_context.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="BaseContext.html">BaseContext</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class TestHookContext</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/contexts/test_hook_context.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>
+  <span class="ruby-identifier">hook</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">hooks</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+  <span class="ruby-identifier">commits</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commits</span>(<span class="ruby-identifier">project</span>.<span class="ruby-identifier">default_branch</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-value">3</span>)
+  <span class="ruby-identifier">data</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">post_receive_data</span>(<span class="ruby-identifier">commits</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">id</span>, <span class="ruby-node">&quot;refs/heads/#{project.default_branch}&quot;</span>, <span class="ruby-identifier">current_user</span>)
+  <span class="ruby-identifier">hook</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-identifier">data</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Tree.html b/doc/app/Tree.html
new file mode 100644
index 0000000000000000000000000000000000000000..f1f414a4f36d5a04233ff94f31638161889fe5fc
--- /dev/null
+++ b/doc/app/Tree.html
@@ -0,0 +1,663 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Tree - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/tree.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">Object
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">Linguist::BlobHelper</span>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-new">::new</a>
+    
+    <li><a href="#method-i-empty-3F">#empty?</a>
+    
+    <li><a href="#method-i-invalid-3F">#invalid?</a>
+    
+    <li><a href="#method-i-is_blob-3F">#is_blob?</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Tree</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-path" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">path</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-project" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">project</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-ref" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">ref</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-tree" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">tree</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(raw_tree, project, ref = nil, path = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File app/models/tree.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">raw_tree</span>, <span class="ruby-identifier">project</span>, <span class="ruby-identifier">ref</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">path</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span> = <span class="ruby-identifier">project</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">path</span>
+  <span class="ruby-ivar">@tree</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">present?</span>
+            <span class="ruby-identifier">raw_tree</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">'ascii-8bit'</span>)
+          <span class="ruby-keyword">else</span>
+            <span class="ruby-identifier">raw_tree</span>
+          <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- new-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- new-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-empty-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">empty?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="empty-3F-source">
+            <pre><span class="ruby-comment"># File app/models/tree.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">empty?</span>
+  <span class="ruby-identifier">data</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- empty-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- empty-3F-method -->
+
+    
+      <div id="method-i-invalid-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">invalid?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="invalid-3F-source">
+            <pre><span class="ruby-comment"># File app/models/tree.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">invalid?</span>
+  <span class="ruby-identifier">tree</span>.<span class="ruby-identifier">nil?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- invalid-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- invalid-3F-method -->
+
+    
+      <div id="method-i-is_blob-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">is_blob?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="is_blob-3F-source">
+            <pre><span class="ruby-comment"># File app/models/tree.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_blob?</span>
+  <span class="ruby-identifier">tree</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Blob</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- is_blob-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- is_blob-3F-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TreeController.html b/doc/app/TreeController.html
new file mode 100644
index 0000000000000000000000000000000000000000..1adba0ec4b227f3b1a823dff8cfa541bbaf13dab
--- /dev/null
+++ b/doc/app/TreeController.html
@@ -0,0 +1,583 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class TreeController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/tree_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="ExtractsPath.html">ExtractsPath</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+    <li><a href="#method-i-update">#update</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class TreeController</h1>
+
+  <div id="description" class="description">
+    
+<p>Controller for viewing a repository’s file structure</p>
+
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-ivar">@last_commit</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">last_commit_for</span>(<span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span>).<span class="ruby-identifier">sha</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-ivar">@hex_path</span>  = <span class="ruby-constant">Digest</span><span class="ruby-operator">::</span><span class="ruby-constant">SHA1</span>.<span class="ruby-identifier">hexdigest</span>(<span class="ruby-ivar">@path</span>)
+  <span class="ruby-ivar">@logs_path</span> = <span class="ruby-identifier">logs_file_project_ref_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>, <span class="ruby-ivar">@path</span>)
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span>
+    <span class="ruby-comment"># Disable cache so browser history works</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">js</span> { <span class="ruby-identifier">no_cache_headers</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+      <div id="method-i-update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update-source">
+            <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update</span>
+  <span class="ruby-identifier">file_editor</span> = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">FileEditor</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@ref</span>)
+  <span class="ruby-identifier">update_status</span> = <span class="ruby-identifier">file_editor</span>.<span class="ruby-identifier">update</span>(
+    <span class="ruby-ivar">@path</span>,
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:content</span>],
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:commit_message</span>],
+    <span class="ruby-identifier">params</span>[<span class="ruby-value">:last_commit</span>]
+  )
+
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">update_status</span>
+    <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_tree_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@id</span>), <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Your changes have been successfully commited&quot;</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">flash</span>[<span class="ruby-value">:notice</span>] = <span class="ruby-string">&quot;Your changes could not be commited, because the file has been changed&quot;</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-value">:edit</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TreeDecorator.html b/doc/app/TreeDecorator.html
new file mode 100644
index 0000000000000000000000000000000000000000..e6bdc0fa8266663f31d3ad10a655066eac465051
--- /dev/null
+++ b/doc/app/TreeDecorator.html
@@ -0,0 +1,597 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class TreeDecorator - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/decorators/tree_decorator.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ApplicationDecorator.html">ApplicationDecorator</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-breadcrumbs">#breadcrumbs</a>
+    
+    <li><a href="#method-i-readme">#readme</a>
+    
+    <li><a href="#method-i-up_dir-3F">#up_dir?</a>
+    
+    <li><a href="#method-i-up_dir_path">#up_dir_path</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class TreeDecorator</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-breadcrumbs" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">breadcrumbs</span><span
+            class="method-args">(max_links = 2) { |link_to("..", "| ... }</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="breadcrumbs-source">
+            <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">breadcrumbs</span>(<span class="ruby-identifier">max_links</span> = <span class="ruby-value">2</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span>
+    <span class="ruby-identifier">part_path</span> = <span class="ruby-string">&quot;&quot;</span>
+    <span class="ruby-identifier">parts</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\/&quot;</span>)
+
+    <span class="ruby-comment">#parts = parts[0...-1] if is_blob?</span>
+
+    <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">link_to</span>(<span class="ruby-string">&quot;..&quot;</span>, <span class="ruby-node">&quot;#&quot;</span>, <span class="ruby-identifier">remote</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>)) <span class="ruby-keyword">if</span> <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">max_links</span>
+
+    <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">part</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">part_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">part_path</span>, <span class="ruby-identifier">part</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">part_path</span>.<span class="ruby-identifier">empty?</span>
+      <span class="ruby-identifier">part_path</span> = <span class="ruby-identifier">part</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">part_path</span>.<span class="ruby-identifier">empty?</span>
+
+      <span class="ruby-keyword">next</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">last</span>(<span class="ruby-value">2</span>).<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">part</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">max_links</span>
+      <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">link_to</span>(<span class="ruby-identifier">h</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-identifier">part</span>, <span class="ruby-identifier">length</span><span class="ruby-operator">:</span> <span class="ruby-value">40</span>), <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_tree_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">h</span>.<span class="ruby-identifier">tree_join</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">part_path</span>)), <span class="ruby-identifier">remote</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>))
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- breadcrumbs-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- breadcrumbs-method -->
+
+    
+      <div id="method-i-readme" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">readme</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="readme-source">
+            <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">readme</span>
+  <span class="ruby-ivar">@readme</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">contents</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Blob</span>) <span class="ruby-keyword">and</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^readme/</span> }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- readme-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- readme-method -->
+
+    
+      <div id="method-i-up_dir-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">up_dir?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="up_dir-3F-source">
+            <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">up_dir?</span>
+  <span class="ruby-identifier">path</span>.<span class="ruby-identifier">present?</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- up_dir-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- up_dir-3F-method -->
+
+    
+      <div id="method-i-up_dir_path" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">up_dir_path</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="up_dir_path-source">
+            <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">up_dir_path</span>
+  <span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">path</span>, <span class="ruby-string">&quot;..&quot;</span>)
+  <span class="ruby-identifier">h</span>.<span class="ruby-identifier">project_tree_path</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">h</span>.<span class="ruby-identifier">tree_join</span>(<span class="ruby-identifier">ref</span>, <span class="ruby-identifier">file</span>))
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- up_dir_path-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- up_dir_path-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/TreeHelper.html b/doc/app/TreeHelper.html
new file mode 100644
index 0000000000000000000000000000000000000000..e185ba728aef311d6d38233406948ade81252a1e
--- /dev/null
+++ b/doc/app/TreeHelper.html
@@ -0,0 +1,736 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module TreeHelper - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/helpers/tree_helper.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-allowed_tree_edit-3F">#allowed_tree_edit?</a>
+    
+    <li><a href="#method-i-gitlab_markdown-3F">#gitlab_markdown?</a>
+    
+    <li><a href="#method-i-markup-3F">#markup?</a>
+    
+    <li><a href="#method-i-plain_text_readme-3F">#plain_text_readme?</a>
+    
+    <li><a href="#method-i-render_tree">#render_tree</a>
+    
+    <li><a href="#method-i-tree_hex_class">#tree_hex_class</a>
+    
+    <li><a href="#method-i-tree_icon">#tree_icon</a>
+    
+    <li><a href="#method-i-tree_join">#tree_join</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module TreeHelper</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-allowed_tree_edit-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">allowed_tree_edit?</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="allowed_tree_edit-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">allowed_tree_edit?</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">protected_branch?</span> <span class="ruby-ivar">@ref</span>
+    <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:push_code_to_protected_branches</span>, <span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:push_code</span>, <span class="ruby-ivar">@project</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- allowed_tree_edit-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- allowed_tree_edit-3F-method -->
+
+    
+      <div id="method-i-gitlab_markdown-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">gitlab_markdown?</span><span
+            class="method-args">(filename)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="gitlab_markdown-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">gitlab_markdown?</span>(<span class="ruby-identifier">filename</span>)
+  <span class="ruby-identifier">filename</span>.<span class="ruby-identifier">end_with?</span>(*<span class="ruby-node">%w(.mdown .md .markdown)</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- gitlab_markdown-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- gitlab_markdown-3F-method -->
+
+    
+      <div id="method-i-markup-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">markup?</span><span
+            class="method-args">(filename)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Public: Determines if a given filename is compatible with GitHub::Markup.</p>
+
+<p>filename - Filename string to check</p>
+
+<p>Returns boolean</p>
+          
+
+          
+          <div class="method-source-code" id="markup-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">markup?</span>(<span class="ruby-identifier">filename</span>)
+  <span class="ruby-identifier">filename</span>.<span class="ruby-identifier">end_with?</span>(*<span class="ruby-node">%w(.textile .rdoc .org .creole
+                         .mediawiki .rst .asciidoc .pod)</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- markup-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- markup-3F-method -->
+
+    
+      <div id="method-i-plain_text_readme-3F" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">plain_text_readme?</span><span
+            class="method-args">(filename)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="plain_text_readme-3F-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">plain_text_readme?</span> <span class="ruby-identifier">filename</span>
+  <span class="ruby-identifier">filename</span> <span class="ruby-operator">==</span> <span class="ruby-string">'README'</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- plain_text_readme-3F-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- plain_text_readme-3F-method -->
+
+    
+      <div id="method-i-render_tree" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">render_tree</span><span
+            class="method-args">(contents)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Sorts a repository’s tree so that folders are before files and renders
+their corresponding partials</p>
+
+<p>contents - A Grit::Tree object for the current tree</p>
+          
+
+          
+          <div class="method-source-code" id="render_tree-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">render_tree</span>(<span class="ruby-identifier">contents</span>)
+  <span class="ruby-comment"># Render Folders before Files/Submodules</span>
+  <span class="ruby-identifier">folders</span>, <span class="ruby-identifier">files</span> = <span class="ruby-identifier">contents</span>.<span class="ruby-identifier">partition</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Tree</span>) }
+
+  <span class="ruby-identifier">tree</span> = <span class="ruby-string">&quot;&quot;</span>
+
+  <span class="ruby-comment"># Render folders if we have any</span>
+  <span class="ruby-identifier">tree</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">render</span> <span class="ruby-identifier">partial</span><span class="ruby-operator">:</span> <span class="ruby-string">'tree/tree_item'</span>, <span class="ruby-identifier">collection</span><span class="ruby-operator">:</span> <span class="ruby-identifier">folders</span>, <span class="ruby-identifier">locals</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-string">'folder'</span>} <span class="ruby-keyword">if</span> <span class="ruby-identifier">folders</span>.<span class="ruby-identifier">present?</span>
+
+  <span class="ruby-identifier">files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:url</span>)
+      <span class="ruby-comment"># Object is a Submodule</span>
+      <span class="ruby-identifier">tree</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">render</span> <span class="ruby-identifier">partial</span><span class="ruby-operator">:</span> <span class="ruby-string">'tree/submodule_item'</span>, <span class="ruby-identifier">object</span><span class="ruby-operator">:</span> <span class="ruby-identifier">f</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-comment"># Object is a Blob</span>
+      <span class="ruby-identifier">tree</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">render</span> <span class="ruby-identifier">partial</span><span class="ruby-operator">:</span> <span class="ruby-string">'tree/tree_item'</span>, <span class="ruby-identifier">object</span><span class="ruby-operator">:</span> <span class="ruby-identifier">f</span>, <span class="ruby-identifier">locals</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-string">'file'</span>}
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">tree</span>.<span class="ruby-identifier">html_safe</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- render_tree-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- render_tree-method -->
+
+    
+      <div id="method-i-tree_hex_class" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tree_hex_class</span><span
+            class="method-args">(content)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="tree_hex_class-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tree_hex_class</span>(<span class="ruby-identifier">content</span>)
+  <span class="ruby-node">&quot;file_#{hexdigest(content.name)}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tree_hex_class-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tree_hex_class-method -->
+
+    
+      <div id="method-i-tree_icon" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tree_icon</span><span
+            class="method-args">(type)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Return an image icon depending on the file type</p>
+
+<p>type - String type of the tree item; either ‘folder’ or ‘file’</p>
+          
+
+          
+          <div class="method-source-code" id="tree_icon-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tree_icon</span>(<span class="ruby-identifier">type</span>)
+  <span class="ruby-identifier">image</span> = <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'folder'</span> <span class="ruby-operator">?</span> <span class="ruby-string">'file_dir.png'</span> <span class="ruby-operator">:</span> <span class="ruby-string">'file_txt.png'</span>
+  <span class="ruby-identifier">image_tag</span>(<span class="ruby-identifier">image</span>, <span class="ruby-identifier">size</span><span class="ruby-operator">:</span> <span class="ruby-string">'16x16'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tree_icon-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tree_icon-method -->
+
+    
+      <div id="method-i-tree_join" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">tree_join</span><span
+            class="method-args">(*args)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Simple shortcut to File.join</p>
+          
+
+          
+          <div class="method-source-code" id="tree_join-source">
+            <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">tree_join</span>(*<span class="ruby-identifier">args</span>)
+  <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(*<span class="ruby-identifier">args</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- tree_join-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- tree_join-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/User.html b/doc/app/User.html
new file mode 100644
index 0000000000000000000000000000000000000000..513f96444b54035de2321f15428051cf1c57e128
--- /dev/null
+++ b/doc/app/User.html
@@ -0,0 +1,755 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class User - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/user.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="Account.html">Account</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-create_from_omniauth">::create_from_omniauth</a>
+    
+    <li><a href="#method-c-filter">::filter</a>
+    
+    <li><a href="#method-c-find_for_ldap_auth">::find_for_ldap_auth</a>
+    
+    <li><a href="#method-c-find_or_new_for_omniauth">::find_or_new_for_omniauth</a>
+    
+    <li><a href="#method-c-gitlab_auth">::gitlab_auth</a>
+    
+    <li><a href="#method-c-search">::search</a>
+    
+    <li><a href="#method-c-without_projects">::without_projects</a>
+    
+    <li><a href="#method-i-generate_password">#generate_password</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class User</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <!-- Attributes -->
+    <section id="attribute-method-details" class="method-section section">
+      <h3 class="section-header">Attributes</h3>
+
+      
+      <div id="attribute-i-force_random_password" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">force_random_password</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section><!-- attribute-method-details -->
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-create_from_omniauth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create_from_omniauth</span><span
+            class="method-args">(auth, ldap = false)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create_from_omniauth-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_from_omniauth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">ldap</span> = <span class="ruby-keyword">false</span>)
+  <span class="ruby-identifier">gitlab_auth</span>.<span class="ruby-identifier">create_from_omniauth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">ldap</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create_from_omniauth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create_from_omniauth-method -->
+
+    
+      <div id="method-c-filter" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">filter</span><span
+            class="method-args">(filter_name)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="filter-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">filter</span> <span class="ruby-identifier">filter_name</span>
+  <span class="ruby-keyword">case</span> <span class="ruby-identifier">filter_name</span>
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;admins&quot;</span>; <span class="ruby-keyword">self</span>.<span class="ruby-identifier">admins</span>
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;blocked&quot;</span>; <span class="ruby-keyword">self</span>.<span class="ruby-identifier">blocked</span>
+  <span class="ruby-keyword">when</span> <span class="ruby-string">&quot;wop&quot;</span>; <span class="ruby-keyword">self</span>.<span class="ruby-identifier">without_projects</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">active</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- filter-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- filter-method -->
+
+    
+      <div id="method-c-find_for_ldap_auth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_for_ldap_auth</span><span
+            class="method-args">(auth, signed_in_resource = nil)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_for_ldap_auth-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_for_ldap_auth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">signed_in_resource</span> = <span class="ruby-keyword">nil</span>)
+  <span class="ruby-identifier">gitlab_auth</span>.<span class="ruby-identifier">find_for_ldap_auth</span>(<span class="ruby-identifier">auth</span>, <span class="ruby-identifier">signed_in_resource</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_for_ldap_auth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_for_ldap_auth-method -->
+
+    
+      <div id="method-c-find_or_new_for_omniauth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">find_or_new_for_omniauth</span><span
+            class="method-args">(auth)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="find_or_new_for_omniauth-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_or_new_for_omniauth</span>(<span class="ruby-identifier">auth</span>)
+  <span class="ruby-identifier">gitlab_auth</span>.<span class="ruby-identifier">find_or_new_for_omniauth</span>(<span class="ruby-identifier">auth</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- find_or_new_for_omniauth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- find_or_new_for_omniauth-method -->
+
+    
+      <div id="method-c-gitlab_auth" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">gitlab_auth</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="gitlab_auth-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">gitlab_auth</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Auth</span>.<span class="ruby-identifier">new</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- gitlab_auth-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- gitlab_auth-method -->
+
+    
+      <div id="method-c-search" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">search</span><span
+            class="method-args">(query)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="search-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 71</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">search</span> <span class="ruby-identifier">query</span>
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;name LIKE :query or email LIKE :query&quot;</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;%#{query}%&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- search-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- search-method -->
+
+    
+      <div id="method-c-without_projects" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">without_projects</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="without_projects-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">without_projects</span>
+  <span class="ruby-identifier">where</span>(<span class="ruby-string">'id NOT IN (SELECT DISTINCT(user_id) FROM users_projects)'</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- without_projects-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- without_projects-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-generate_password" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">generate_password</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="generate_password-source">
+            <pre><span class="ruby-comment"># File app/models/user.rb, line 76</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">generate_password</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">force_random_password</span>
+    <span class="ruby-keyword">self</span>.<span class="ruby-identifier">password</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">password_confirmation</span> = <span class="ruby-constant">Devise</span>.<span class="ruby-identifier">friendly_token</span>.<span class="ruby-identifier">first</span>(<span class="ruby-value">8</span>)
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- generate_password-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- generate_password-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/UserObserver.html b/doc/app/UserObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..95c7249d50888b24b903cfeac3443d83d6d7fca7
--- /dev/null
+++ b/doc/app/UserObserver.html
@@ -0,0 +1,557 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class UserObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/user_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_destroy">#after_destroy</a>
+    
+    <li><a href="#method-i-log_info">#log_info</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class UserObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">user</span>)
+  <span class="ruby-identifier">log_info</span>(<span class="ruby-node">&quot;User \&quot;#{user.name}\&quot; (#{user.email}) was created&quot;</span>)
+
+  <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">new_user_email</span>(<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">user</span>.<span class="ruby-identifier">password</span>).<span class="ruby-identifier">deliver</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_destroy</span><span
+            class="method-args">(user)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_destroy-source">
+            <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_destroy</span> <span class="ruby-identifier">user</span>
+  <span class="ruby-identifier">log_info</span>(<span class="ruby-node">&quot;User \&quot;#{user.name}\&quot; (#{user.email})  was removed&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_destroy-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-log_info" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">log_info</span><span
+            class="method-args">(message)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="log_info-source">
+            <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">log_info</span> <span class="ruby-identifier">message</span>
+  <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">AppLogger</span>.<span class="ruby-identifier">info</span> <span class="ruby-identifier">message</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- log_info-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- log_info-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/UsersProject.html b/doc/app/UsersProject.html
new file mode 100644
index 0000000000000000000000000000000000000000..f157832b492ba25393dad7235b3bca06e34823c5
--- /dev/null
+++ b/doc/app/UsersProject.html
@@ -0,0 +1,904 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class UsersProject - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/users_project.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><a class="include" href="GitHost.html">GitHost</a>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-access_roles">::access_roles</a>
+    
+    <li><a href="#method-c-bulk_delete">::bulk_delete</a>
+    
+    <li><a href="#method-c-bulk_import">::bulk_import</a>
+    
+    <li><a href="#method-c-bulk_update">::bulk_update</a>
+    
+    <li><a href="#method-c-import_team">::import_team</a>
+    
+    <li><a href="#method-c-user_bulk_import">::user_bulk_import</a>
+    
+    <li><a href="#method-c-without_repository_callback">::without_repository_callback</a>
+    
+    <li><a href="#method-i-project_access_human">#project_access_human</a>
+    
+    <li><a href="#method-i-repo_access_human">#repo_access_human</a>
+    
+    <li><a href="#method-i-role_access">#role_access</a>
+    
+    <li><a href="#method-i-update_repository">#update_repository</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class UsersProject</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+    <!-- Constants -->
+    <section id="constants-list" class="section">
+      <h3 class="section-header">Constants</h3>
+      <dl>
+      
+        <dt id="DEVELOPER">DEVELOPER
+        
+        <dd class="description">
+        
+      
+        <dt id="GUEST">GUEST
+        
+        <dd class="description">
+        
+      
+        <dt id="MASTER">MASTER
+        
+        <dd class="description">
+        
+      
+        <dt id="REPORTER">REPORTER
+        
+        <dd class="description">
+        
+      
+      </dl>
+    </section>
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Class Methods</h3>
+
+    
+      <div id="method-c-access_roles" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">access_roles</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="access_roles-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 96</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">access_roles</span>
+  {
+    <span class="ruby-string">&quot;Guest&quot;</span>     =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">GUEST</span>,
+    <span class="ruby-string">&quot;Reporter&quot;</span>  =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">REPORTER</span>,
+    <span class="ruby-string">&quot;Developer&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">DEVELOPER</span>,
+    <span class="ruby-string">&quot;Master&quot;</span>    =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">MASTER</span>
+  }
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- access_roles-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- access_roles-method -->
+
+    
+      <div id="method-c-bulk_delete" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">bulk_delete</span><span
+            class="method-args">(project, user_ids)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="bulk_delete-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">bulk_delete</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">user_ids</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">where</span>(<span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_ids</span>, <span class="ruby-value">:project_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">users_project</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">destroy</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- bulk_delete-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- bulk_delete-method -->
+
+    
+      <div id="method-c-bulk_import" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">bulk_import</span><span
+            class="method-args">(project, user_ids, project_access)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="bulk_import-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">bulk_import</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">user_ids</span>, <span class="ruby-identifier">project_access</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">user_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">user_id</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">users_project</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">new</span>(
+        <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_access</span>,
+        <span class="ruby-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_id</span>
+      )
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">project</span> = <span class="ruby-identifier">project</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- bulk_import-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- bulk_import-method -->
+
+    
+      <div id="method-c-bulk_update" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">bulk_update</span><span
+            class="method-args">(project, user_ids, project_access)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="bulk_update-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">bulk_update</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">user_ids</span>, <span class="ruby-identifier">project_access</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">where</span>(<span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_ids</span>, <span class="ruby-value">:project_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">users_project</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">project_access</span> = <span class="ruby-identifier">project_access</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- bulk_update-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- bulk_update-method -->
+
+    
+      <div id="method-c-import_team" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">import_team</span><span
+            class="method-args">(source_project, target_project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="import_team-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">import_team</span>(<span class="ruby-identifier">source_project</span>, <span class="ruby-identifier">target_project</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">without_repository_callback</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">team</span> = <span class="ruby-identifier">source_project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">all</span>
+
+      <span class="ruby-identifier">team</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tm</span><span class="ruby-operator">|</span>
+        <span class="ruby-comment"># Skip if user already present in team</span>
+        <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">target_project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">tm</span>.<span class="ruby-identifier">user</span>)
+
+        <span class="ruby-identifier">new_tm</span> = <span class="ruby-identifier">tm</span>.<span class="ruby-identifier">dup</span>
+        <span class="ruby-identifier">new_tm</span>.<span class="ruby-identifier">id</span> = <span class="ruby-keyword">nil</span>
+        <span class="ruby-identifier">new_tm</span>.<span class="ruby-identifier">project_id</span> = <span class="ruby-identifier">target_project</span>.<span class="ruby-identifier">id</span>
+        <span class="ruby-identifier">new_tm</span>.<span class="ruby-identifier">save</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-identifier">target_project</span>.<span class="ruby-identifier">update_repository</span>
+  <span class="ruby-keyword">true</span>
+<span class="ruby-keyword">rescue</span>
+  <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- import_team-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- import_team-method -->
+
+    
+      <div id="method-c-user_bulk_import" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">user_bulk_import</span><span
+            class="method-args">(user, project_ids, project_access)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="user_bulk_import-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 83</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">user_bulk_import</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project_ids</span>, <span class="ruby-identifier">project_access</span>)
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+    <span class="ruby-identifier">project_ids</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">project_id</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">users_project</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">new</span>(
+        <span class="ruby-identifier">project_access</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project_access</span>,
+      )
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">project_id</span> = <span class="ruby-identifier">project_id</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">user_id</span> = <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
+      <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">save</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- user_bulk_import-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- user_bulk_import-method -->
+
+    
+      <div id="method-c-without_repository_callback" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">without_repository_callback</span><span
+            class="method-args">() { || ... }</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="without_repository_callback-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">without_repository_callback</span>
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">skip_callback</span>(<span class="ruby-value">:destroy</span>, <span class="ruby-value">:after</span>, <span class="ruby-value">:update_repository</span>)
+  <span class="ruby-keyword">yield</span>
+  <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">set_callback</span>(<span class="ruby-value">:destroy</span>, <span class="ruby-value">:after</span>, <span class="ruby-value">:update_repository</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- without_repository_callback-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- without_repository_callback-method -->
+
+    
+    </section><!-- public-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-project_access_human" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">project_access_human</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="project_access_human-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 114</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">project_access_human</span>
+  <span class="ruby-constant">Project</span>.<span class="ruby-identifier">access_options</span>.<span class="ruby-identifier">key</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project_access</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- project_access_human-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- project_access_human-method -->
+
+    
+      <div id="method-i-repo_access_human" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">repo_access_human</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="repo_access_human-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">repo_access_human</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">access_roles</span>.<span class="ruby-identifier">invert</span>[<span class="ruby-keyword">self</span>.<span class="ruby-identifier">project_access</span>]
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- repo_access_human-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- repo_access_human-method -->
+
+    
+      <div id="method-i-role_access" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">role_access</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="role_access-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 106</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">role_access</span>
+  <span class="ruby-identifier">project_access</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- role_access-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- role_access-method -->
+
+    
+      <div id="method-i-update_repository" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">update_repository</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="update_repository-source">
+            <pre><span class="ruby-comment"># File app/models/users_project.rb, line 110</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">update_repository</span>
+  <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">update_repository</span>(<span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- update_repository-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- update_repository-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/UsersProjectObserver.html b/doc/app/UsersProjectObserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..7c7b90a09ca7ead91c67434acb1ada697263cb6f
--- /dev/null
+++ b/doc/app/UsersProjectObserver.html
@@ -0,0 +1,558 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class UsersProjectObserver - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/observers/users_project_observer.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Observer
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-after_commit">#after_commit</a>
+    
+    <li><a href="#method-i-after_create">#after_create</a>
+    
+    <li><a href="#method-i-after_destroy">#after_destroy</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class UsersProjectObserver</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-after_commit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_commit</span><span
+            class="method-args">(users_project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_commit-source">
+            <pre><span class="ruby-comment"># File app/observers/users_project_observer.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_commit</span>(<span class="ruby-identifier">users_project</span>)
+  <span class="ruby-keyword">return</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">destroyed?</span>
+  <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">project_access_granted_email</span>(<span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">deliver</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_commit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_commit-method -->
+
+    
+      <div id="method-i-after_create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_create</span><span
+            class="method-args">(users_project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_create-source">
+            <pre><span class="ruby-comment"># File app/observers/users_project_observer.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_create</span>(<span class="ruby-identifier">users_project</span>)
+  <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>,
+    <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Joined</span>,
+    <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_create-method -->
+
+    
+      <div id="method-i-after_destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">after_destroy</span><span
+            class="method-args">(users_project)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="after_destroy-source">
+            <pre><span class="ruby-comment"># File app/observers/users_project_observer.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">after_destroy</span>(<span class="ruby-identifier">users_project</span>)
+  <span class="ruby-constant">Event</span>.<span class="ruby-identifier">create</span>(
+    <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>,
+    <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Left</span>,
+    <span class="ruby-identifier">author_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
+  )
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- after_destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- after_destroy-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Votes.html b/doc/app/Votes.html
new file mode 100644
index 0000000000000000000000000000000000000000..9fa2a0b7f1739a421a34b21a89ac52a77e86c431
--- /dev/null
+++ b/doc/app/Votes.html
@@ -0,0 +1,615 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>module Votes - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="module">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/roles/votes.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-downvotes">#downvotes</a>
+    
+    <li><a href="#method-i-downvotes_in_percent">#downvotes_in_percent</a>
+    
+    <li><a href="#method-i-upvotes">#upvotes</a>
+    
+    <li><a href="#method-i-upvotes_in_percent">#upvotes_in_percent</a>
+    
+    <li><a href="#method-i-votes_count">#votes_count</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="module">module Votes</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-downvotes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">downvotes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Return the number of -1 comments (downvotes)</p>
+          
+
+          
+          <div class="method-source-code" id="downvotes-source">
+            <pre><span class="ruby-comment"># File app/roles/votes.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">downvotes</span>
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">select</span>(&amp;<span class="ruby-value">:downvote?</span>).<span class="ruby-identifier">size</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- downvotes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- downvotes-method -->
+
+    
+      <div id="method-i-downvotes_in_percent" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">downvotes_in_percent</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="downvotes_in_percent-source">
+            <pre><span class="ruby-comment"># File app/roles/votes.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">downvotes_in_percent</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">votes_count</span>.<span class="ruby-identifier">zero?</span>
+    <span class="ruby-value">0</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-value">100.0</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">upvotes_in_percent</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- downvotes_in_percent-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- downvotes_in_percent-method -->
+
+    
+      <div id="method-i-upvotes" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">upvotes</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Return the number of +1 comments (upvotes)</p>
+          
+
+          
+          <div class="method-source-code" id="upvotes-source">
+            <pre><span class="ruby-comment"># File app/roles/votes.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">upvotes</span>
+  <span class="ruby-identifier">notes</span>.<span class="ruby-identifier">select</span>(&amp;<span class="ruby-value">:upvote?</span>).<span class="ruby-identifier">size</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- upvotes-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- upvotes-method -->
+
+    
+      <div id="method-i-upvotes_in_percent" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">upvotes_in_percent</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="upvotes_in_percent-source">
+            <pre><span class="ruby-comment"># File app/roles/votes.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">upvotes_in_percent</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">votes_count</span>.<span class="ruby-identifier">zero?</span>
+    <span class="ruby-value">0</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-value">100.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">votes_count</span> * <span class="ruby-identifier">upvotes</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- upvotes_in_percent-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- upvotes_in_percent-method -->
+
+    
+      <div id="method-i-votes_count" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">votes_count</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          <p>Return the total number of votes</p>
+          
+
+          
+          <div class="method-source-code" id="votes_count-source">
+            <pre><span class="ruby-comment"># File app/roles/votes.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">votes_count</span>
+  <span class="ruby-identifier">upvotes</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">downvotes</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- votes_count-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- votes_count-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/WebHook.html b/doc/app/WebHook.html
new file mode 100644
index 0000000000000000000000000000000000000000..44a89adb8adf0cb332352b076d83a6fd9620ac6d
--- /dev/null
+++ b/doc/app/WebHook.html
@@ -0,0 +1,506 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class WebHook - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/web_hook.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    <!-- Included Modules -->
+<nav id="includes-section" class="section">
+  <h3 class="section-header">Included Modules</h3>
+
+  <ul class="link-list">
+  
+  
+    <li><span class="include">HTTParty</span>
+  
+  
+  </ul>
+</nav>
+
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-execute">#execute</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class WebHook</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-execute" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">execute</span><span
+            class="method-args">(data)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="execute-source">
+            <pre><span class="ruby-comment"># File app/models/web_hook.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">data</span>)
+  <span class="ruby-identifier">parsed_url</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">url</span>)
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">parsed_url</span>.<span class="ruby-identifier">userinfo</span>.<span class="ruby-identifier">blank?</span>
+    <span class="ruby-constant">WebHook</span>.<span class="ruby-identifier">post</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">body</span><span class="ruby-operator">:</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">to_json</span>, <span class="ruby-identifier">headers</span><span class="ruby-operator">:</span> { <span class="ruby-string">&quot;Content-Type&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;application/json&quot;</span> })
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-identifier">post_url</span> = <span class="ruby-identifier">url</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-node">&quot;#{parsed_url.userinfo}@&quot;</span>, <span class="ruby-string">&quot;&quot;</span>)
+    <span class="ruby-constant">WebHook</span>.<span class="ruby-identifier">post</span>(<span class="ruby-identifier">post_url</span>,
+                 <span class="ruby-identifier">body</span><span class="ruby-operator">:</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">to_json</span>,
+                 <span class="ruby-identifier">headers</span><span class="ruby-operator">:</span> {<span class="ruby-string">&quot;Content-Type&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;application/json&quot;</span>},
+                 <span class="ruby-identifier">basic_auth</span><span class="ruby-operator">:</span> {<span class="ruby-identifier">username</span><span class="ruby-operator">:</span> <span class="ruby-identifier">parsed_url</span>.<span class="ruby-identifier">user</span>, <span class="ruby-identifier">password</span><span class="ruby-operator">:</span> <span class="ruby-identifier">parsed_url</span>.<span class="ruby-identifier">password</span>})
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- execute-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- execute-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/Wiki.html b/doc/app/Wiki.html
new file mode 100644
index 0000000000000000000000000000000000000000..c2bf5b615b73d4d299d05388c5016162663256a2
--- /dev/null
+++ b/doc/app/Wiki.html
@@ -0,0 +1,567 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class Wiki - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/models/wiki.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link">ActiveRecord::Base
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-c-regenerate_from">::regenerate_from</a>
+    
+    <li><a href="#method-i-set_slug">#set_slug</a>
+    
+    <li><a href="#method-i-to_param">#to_param</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class Wiki</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="protected-class-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Class Methods</h3>
+
+    
+      <div id="method-c-regenerate_from" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">regenerate_from</span><span
+            class="method-args">(wiki)</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="regenerate_from-source">
+            <pre><span class="ruby-comment"># File app/models/wiki.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">regenerate_from</span> <span class="ruby-identifier">wiki</span>
+  <span class="ruby-identifier">regenerated_field</span> = [<span class="ruby-value">:slug</span>, <span class="ruby-value">:content</span>, <span class="ruby-value">:title</span>]
+
+  <span class="ruby-identifier">new_wiki</span> = <span class="ruby-constant">Wiki</span>.<span class="ruby-identifier">new</span>
+  <span class="ruby-identifier">regenerated_field</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">field</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">new_wiki</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{field}=&quot;</span>, <span class="ruby-identifier">wiki</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">field</span>))
+  <span class="ruby-keyword">end</span>
+  <span class="ruby-identifier">new_wiki</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- regenerate_from-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- regenerate_from-method -->
+
+    
+    </section><!-- protected-class-method-details -->
+  
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-to_param" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">to_param</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="to_param-source">
+            <pre><span class="ruby-comment"># File app/models/wiki.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_param</span>
+  <span class="ruby-identifier">slug</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- to_param-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- to_param-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+     <section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Protected Instance Methods</h3>
+
+    
+      <div id="method-i-set_slug" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">set_slug</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="set_slug-source">
+            <pre><span class="ruby-comment"># File app/models/wiki.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_slug</span>
+  <span class="ruby-keyword">self</span>.<span class="ruby-identifier">slug</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">title</span>.<span class="ruby-identifier">parameterize</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- set_slug-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- set_slug-method -->
+
+    
+    </section><!-- protected-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/WikisController.html b/doc/app/WikisController.html
new file mode 100644
index 0000000000000000000000000000000000000000..4a4e930cd5bf1eb9d8e11b4c74438793ac39ede8
--- /dev/null
+++ b/doc/app/WikisController.html
@@ -0,0 +1,676 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>class WikisController - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body id="top" class="class">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="file-metadata">
+    <nav id="file-list-section" class="section">
+  <h3 class="section-header">Defined In</h3>
+  <ul>
+    <li>app/controllers/wikis_controller.rb
+  </ul>
+</nav>
+
+    
+  </div>
+
+  <div id="class-metadata">
+    
+    <nav id="parent-class-section" class="section">
+  <h3 class="section-header">Parent</h3>
+  
+  <p class="link"><a href="ProjectResourceController.html">ProjectResourceController</a>
+  
+</nav>
+
+    
+    <!-- Method Quickref -->
+<nav id="method-list-section" class="section">
+  <h3 class="section-header">Methods</h3>
+
+  <ul class="link-list">
+    
+    <li><a href="#method-i-create">#create</a>
+    
+    <li><a href="#method-i-destroy">#destroy</a>
+    
+    <li><a href="#method-i-edit">#edit</a>
+    
+    <li><a href="#method-i-history">#history</a>
+    
+    <li><a href="#method-i-pages">#pages</a>
+    
+    <li><a href="#method-i-show">#show</a>
+    
+  </ul>
+</nav>
+
+  </div>
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation">
+  <h1 class="class">class WikisController</h1>
+
+  <div id="description" class="description">
+    
+  </div><!-- description -->
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+
+    <!-- Methods -->
+    
+     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
+      <h3 class="section-header">Public Instance Methods</h3>
+
+    
+      <div id="method-i-create" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">create</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="create-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>
+  <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:wiki</span>])
+  <span class="ruby-ivar">@wiki</span>.<span class="ruby-identifier">user</span> = <span class="ruby-identifier">current_user</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-ivar">@wiki</span>.<span class="ruby-identifier">save</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> [<span class="ruby-ivar">@project</span>, <span class="ruby-ivar">@wiki</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Wiki was successfully updated.'</span> }
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;edit&quot;</span> }
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- create-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- create-method -->
+
+    
+      <div id="method-i-destroy" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">destroy</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="destroy-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>
+  <span class="ruby-ivar">@wikis</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">slug</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]).<span class="ruby-identifier">delete_all</span>
+
+  <span class="ruby-identifier">respond_to</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">format</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">format</span>.<span class="ruby-identifier">html</span> { <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">project_wiki_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-value">:index</span>), <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Page was successfully deleted&quot;</span> }
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- destroy-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- destroy-method -->
+
+    
+      <div id="method-i-edit" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">edit</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="edit-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">edit</span>
+  <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">slug</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at&quot;</span>).<span class="ruby-identifier">last</span>
+  <span class="ruby-ivar">@wiki</span> = <span class="ruby-constant">Wiki</span>.<span class="ruby-identifier">regenerate_from</span> <span class="ruby-ivar">@wiki</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- edit-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- edit-method -->
+
+    
+      <div id="method-i-history" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">history</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="history-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">history</span>
+  <span class="ruby-ivar">@wikis</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">slug</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- history-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- history-method -->
+
+    
+      <div id="method-i-pages" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">pages</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="pages-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">pages</span>
+  <span class="ruby-ivar">@wikis</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">group</span>(<span class="ruby-value">:slug</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- pages-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- pages-method -->
+
+    
+      <div id="method-i-show" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">show</span><span
+            class="method-args">()</span>
+          <span class="method-click-advice">click to toggle source</span>
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+
+          
+          <div class="method-source-code" id="show-source">
+            <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-identifier">show</span>
+  <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:old_page_id</span>]
+    <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:old_page_id</span>])
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">slug</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>]).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;created_at&quot;</span>).<span class="ruby-identifier">last</span>
+  <span class="ruby-keyword">end</span>
+
+  <span class="ruby-ivar">@note</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">notes</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">noteable</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@wiki</span>)
+
+  <span class="ruby-keyword">if</span> <span class="ruby-ivar">@wiki</span>
+    <span class="ruby-identifier">render</span> <span class="ruby-string">'show'</span>
+  <span class="ruby-keyword">else</span>
+    <span class="ruby-keyword">if</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:write_wiki</span>, <span class="ruby-ivar">@project</span>)
+      <span class="ruby-ivar">@wiki</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">wikis</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">slug</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+      <span class="ruby-identifier">render</span> <span class="ruby-string">'edit'</span>
+    <span class="ruby-keyword">else</span>
+      <span class="ruby-identifier">render</span> <span class="ruby-string">'empty'</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div><!-- show-source -->
+          
+        </div>
+
+        
+
+        
+      </div><!-- show-method -->
+
+    
+    </section><!-- public-instance-method-details -->
+  
+  </section><!-- 5Buntitled-5D -->
+
+</div><!-- documentation -->
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/created.rid b/doc/app/created.rid
new file mode 100644
index 0000000000000000000000000000000000000000..972a7e6f5da06f7c391498ad619fcd45e90afc7a
--- /dev/null
+++ b/doc/app/created.rid
@@ -0,0 +1,135 @@
+Thu, 25 Oct 2012 11:45:21 +0300
+doc/README_FOR_APP	Wed, 06 Jun 2012 13:56:49 +0300
+app/observers/issue_observer.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/observers/key_observer.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/observers/project_observer.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/observers/activity_observer.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/observers/user_observer.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/observers/merge_request_observer.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/observers/note_observer.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/observers/system_hook_observer.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/observers/users_project_observer.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/contexts/test_hook_context.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/contexts/commit_load_context.rb	Mon, 22 Oct 2012 16:08:19 +0300
+app/contexts/notes/create_context.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/contexts/notes/load_context.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/contexts/search_context.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/contexts/issues_bulk_update_context.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/contexts/base_context.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/contexts/merge_requests_load_context.rb	Mon, 22 Oct 2012 16:08:19 +0300
+app/contexts/issues_list_context.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/mailers/notify.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/team.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/push_event.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/votes.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/roles/issue_commonality.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/git_host.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/roles/authority.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/push_observer.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/roles/account.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/static_model.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/roles/repository.rb	Wed, 24 Oct 2012 12:43:00 +0300
+app/workers/post_receive.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/workers/system_hook_worker.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/controllers/issues_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/labels_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/project_resource_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/dashboard_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/projects_controller.rb	Tue, 23 Oct 2012 11:29:23 +0300
+app/controllers/repositories_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/milestones_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/hooks_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/blob_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/merge_requests_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/admin/logs_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/admin/dashboard_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/admin/projects_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/admin/hooks_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/admin/team_members_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/admin/groups_controller.rb	Wed, 24 Oct 2012 12:43:00 +0300
+app/controllers/admin/users_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/admin/resque_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/blame_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/keys_controller.rb	Wed, 26 Sep 2012 13:10:32 +0300
+app/controllers/admin_controller.rb	Wed, 26 Sep 2012 13:10:32 +0300
+app/controllers/errors_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/help_controller.rb	Wed, 06 Jun 2012 13:56:49 +0300
+app/controllers/profile_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/commits_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/team_members_controller.rb	Wed, 24 Oct 2012 16:14:03 +0300
+app/controllers/omniauth_callbacks_controller.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/controllers/protected_branches_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/snippets_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/groups_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/compare_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/wikis_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/search_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/deploy_keys_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/tree_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/commit_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/refs_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/controllers/application_controller.rb	Wed, 24 Oct 2012 14:17:22 +0300
+app/controllers/notes_controller.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/uploaders/attachment_uploader.rb	Wed, 22 Aug 2012 14:52:27 +0300
+app/models/tree.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/project.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/issue.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/project_hook.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/group.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/key.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/snippet.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/user.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/note.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/wiki.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/users_project.rb	Wed, 24 Oct 2012 16:14:03 +0300
+app/models/web_hook.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/ability.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/milestone.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/commit.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/protected_branch.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/merge_request.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/event.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/models/system_hook.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/decorators/commit_decorator.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/decorators/event_decorator.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/decorators/application_decorator.rb	Fri, 21 Sep 2012 15:40:04 +0300
+app/decorators/tree_decorator.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/tags_helper.rb	Wed, 06 Jun 2012 13:56:49 +0300
+app/helpers/application_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/gitlab_markdown_helper.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/helpers/notes_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/profile_helper.rb	Fri, 21 Sep 2012 15:47:07 +0300
+app/helpers/tree_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/commits_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/projects_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/events_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/issues_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/tab_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+app/helpers/snippets_helper.rb	Wed, 06 Jun 2012 13:56:49 +0300
+app/helpers/merge_requests_helper.rb	Mon, 22 Oct 2012 16:08:18 +0300
+lib/file_size_validator.rb	Wed, 22 Aug 2012 14:52:27 +0300
+lib/api.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/gitlab/encode.rb	Wed, 22 Aug 2012 14:52:27 +0300
+lib/gitlab/graph_commit.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/gitlab/theme.rb	Tue, 26 Jun 2012 16:08:37 +0300
+lib/gitlab/app_logger.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/gitlab/inline_diff.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/merge.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/backend/gitolite.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/gitlab/backend/grack_auth.rb	Mon, 22 Oct 2012 19:02:02 +0300
+lib/gitlab/backend/gitolite_config.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/git_logger.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/gitlab/markdown.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/file_editor.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/logger.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/satellite.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/gitlab/auth.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/extracts_path.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/api/issues.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/api/projects.rb	Mon, 22 Oct 2012 16:08:18 +0300
+lib/api/helpers.rb	Mon, 22 Oct 2012 16:08:18 +0300
+lib/api/entities.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/api/session.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/api/users.rb	Mon, 22 Oct 2012 16:08:19 +0300
+lib/api/milestones.rb	Fri, 21 Sep 2012 15:47:07 +0300
+lib/redcarpet/render/gitlab_html.rb	Wed, 22 Aug 2012 14:52:27 +0300
diff --git a/doc/app/doc/README_FOR_APP.html b/doc/app/doc/README_FOR_APP.html
new file mode 100644
index 0000000000000000000000000000000000000000..9456512ebf3dc025907398cbb03c31bfccd57d32
--- /dev/null
+++ b/doc/app/doc/README_FOR_APP.html
@@ -0,0 +1,399 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>README_FOR_APP - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
+
+
+<body class="file">
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="../index.html">Home</a>
+    <a href="../table_of_contents.html#classes">Classes</a>
+    <a href="../table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="../doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="../Gitlab.html">Gitlab</a>
+  
+    <li><a href="../Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="../Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="../Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="../Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="../Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="../Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="../Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="../Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="../Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="../Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="../Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="../Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="../Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="../Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="../Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="../Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="../Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="../Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="../Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="../Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="../Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="../Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="../Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="../Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="../Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="../Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="../Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="../Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="../Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="../Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="../Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="../Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="../Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="../Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="../Admin.html">Admin</a>
+  
+    <li><a href="../Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="../Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="../Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="../Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="../Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="../Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="../Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="../Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="../Notes.html">Notes</a>
+  
+    <li><a href="../Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="../Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="../Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="../Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="../Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="../ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="../ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="../FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="../FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="../Grack.html">Grack</a>
+  
+    <li><a href="../Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="../IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="../IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="../StaticModel.html">StaticModel</a>
+  
+    <li><a href="../StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="../Ability.html">Ability</a>
+  
+    <li><a href="../Account.html">Account</a>
+  
+    <li><a href="../ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="../AdminController.html">AdminController</a>
+  
+    <li><a href="../ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="../ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="../ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="../AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="../Authority.html">Authority</a>
+  
+    <li><a href="../BaseContext.html">BaseContext</a>
+  
+    <li><a href="../BlameController.html">BlameController</a>
+  
+    <li><a href="../BlobController.html">BlobController</a>
+  
+    <li><a href="../Commit.html">Commit</a>
+  
+    <li><a href="../CommitController.html">CommitController</a>
+  
+    <li><a href="../CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="../CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="../CommitsController.html">CommitsController</a>
+  
+    <li><a href="../CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="../CompareController.html">CompareController</a>
+  
+    <li><a href="../DashboardController.html">DashboardController</a>
+  
+    <li><a href="../DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="../ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="../Event.html">Event</a>
+  
+    <li><a href="../EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="../EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="../GitHost.html">GitHost</a>
+  
+    <li><a href="../GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="../Group.html">Group</a>
+  
+    <li><a href="../GroupsController.html">GroupsController</a>
+  
+    <li><a href="../HelpController.html">HelpController</a>
+  
+    <li><a href="../HooksController.html">HooksController</a>
+  
+    <li><a href="../Issue.html">Issue</a>
+  
+    <li><a href="../IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="../IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="../IssuesController.html">IssuesController</a>
+  
+    <li><a href="../IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="../IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="../Key.html">Key</a>
+  
+    <li><a href="../KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="../KeysController.html">KeysController</a>
+  
+    <li><a href="../LabelsController.html">LabelsController</a>
+  
+    <li><a href="../MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="../MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="../MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="../MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="../MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="../Milestone.html">Milestone</a>
+  
+    <li><a href="../MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="../Note.html">Note</a>
+  
+    <li><a href="../NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="../NotesController.html">NotesController</a>
+  
+    <li><a href="../NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="../Notify.html">Notify</a>
+  
+    <li><a href="../OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="../PostReceive.html">PostReceive</a>
+  
+    <li><a href="../ProfileController.html">ProfileController</a>
+  
+    <li><a href="../ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="../Project.html">Project</a>
+  
+    <li><a href="../ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="../ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="../ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="../ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="../ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="../ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="../ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="../PushEvent.html">PushEvent</a>
+  
+    <li><a href="../PushObserver.html">PushObserver</a>
+  
+    <li><a href="../RefsController.html">RefsController</a>
+  
+    <li><a href="../RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="../Repository.html">Repository</a>
+  
+    <li><a href="../SearchContext.html">SearchContext</a>
+  
+    <li><a href="../SearchController.html">SearchController</a>
+  
+    <li><a href="../Snippet.html">Snippet</a>
+  
+    <li><a href="../SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="../SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="../SystemHook.html">SystemHook</a>
+  
+    <li><a href="../SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="../SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="../TabHelper.html">TabHelper</a>
+  
+    <li><a href="../TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="../Team.html">Team</a>
+  
+    <li><a href="../TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="../TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="../Tree.html">Tree</a>
+  
+    <li><a href="../TreeController.html">TreeController</a>
+  
+    <li><a href="../TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="../TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="../User.html">User</a>
+  
+    <li><a href="../UserObserver.html">UserObserver</a>
+  
+    <li><a href="../UsersProject.html">UsersProject</a>
+  
+    <li><a href="../UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="../Votes.html">Votes</a>
+  
+    <li><a href="../WebHook.html">WebHook</a>
+  
+    <li><a href="../Wiki.html">Wiki</a>
+  
+    <li><a href="../WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<div id="documentation" class="description">
+  
+<p>Use this README file to introduce your application and point to useful
+places in the API for learning more. Run “rake doc:app” to generate API
+documentation for your models, controllers, helpers, and libraries.</p>
+
+</div>
+
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/images/add.png b/doc/app/images/add.png
new file mode 100755
index 0000000000000000000000000000000000000000..6332fefea4be19eeadf211b0b202b272e8564898
Binary files /dev/null and b/doc/app/images/add.png differ
diff --git a/doc/app/images/brick.png b/doc/app/images/brick.png
new file mode 100644
index 0000000000000000000000000000000000000000..7851cf34c946e5667221e3478668503eb1cd733f
Binary files /dev/null and b/doc/app/images/brick.png differ
diff --git a/doc/app/images/brick_link.png b/doc/app/images/brick_link.png
new file mode 100644
index 0000000000000000000000000000000000000000..9ebf013a23a56653655a736a7e149deb7365ea03
Binary files /dev/null and b/doc/app/images/brick_link.png differ
diff --git a/doc/app/images/bug.png b/doc/app/images/bug.png
new file mode 100644
index 0000000000000000000000000000000000000000..2d5fb90ec6ee08f53947e0266a87b03f75893446
Binary files /dev/null and b/doc/app/images/bug.png differ
diff --git a/doc/app/images/bullet_black.png b/doc/app/images/bullet_black.png
new file mode 100644
index 0000000000000000000000000000000000000000..57619706d10d9736b1849a83f2c5694fbe09c53b
Binary files /dev/null and b/doc/app/images/bullet_black.png differ
diff --git a/doc/app/images/bullet_toggle_minus.png b/doc/app/images/bullet_toggle_minus.png
new file mode 100644
index 0000000000000000000000000000000000000000..b47ce55f685dac56ee9d63f2c3d426bfc4c9e31a
Binary files /dev/null and b/doc/app/images/bullet_toggle_minus.png differ
diff --git a/doc/app/images/bullet_toggle_plus.png b/doc/app/images/bullet_toggle_plus.png
new file mode 100644
index 0000000000000000000000000000000000000000..9ab4a89664eee1aa81a51ca127f64cb3ac6fa918
Binary files /dev/null and b/doc/app/images/bullet_toggle_plus.png differ
diff --git a/doc/app/images/date.png b/doc/app/images/date.png
new file mode 100644
index 0000000000000000000000000000000000000000..783c83357fdf90a1c7c024358e1d768b5c09c135
Binary files /dev/null and b/doc/app/images/date.png differ
diff --git a/doc/app/images/delete.png b/doc/app/images/delete.png
new file mode 100755
index 0000000000000000000000000000000000000000..08f249365afd29594b51210c6e21ba253897505d
Binary files /dev/null and b/doc/app/images/delete.png differ
diff --git a/doc/app/images/find.png b/doc/app/images/find.png
new file mode 100644
index 0000000000000000000000000000000000000000..1547479646722bda4647df52cf3e8bc9b77428c6
Binary files /dev/null and b/doc/app/images/find.png differ
diff --git a/doc/app/images/loadingAnimation.gif b/doc/app/images/loadingAnimation.gif
new file mode 100644
index 0000000000000000000000000000000000000000..82290f48334c81272ff5991962951758137a08ba
Binary files /dev/null and b/doc/app/images/loadingAnimation.gif differ
diff --git a/doc/app/images/macFFBgHack.png b/doc/app/images/macFFBgHack.png
new file mode 100644
index 0000000000000000000000000000000000000000..c6473b324ee1dae1faaacc0826639833f551116c
Binary files /dev/null and b/doc/app/images/macFFBgHack.png differ
diff --git a/doc/app/images/package.png b/doc/app/images/package.png
new file mode 100644
index 0000000000000000000000000000000000000000..da3c2a2d74bab159ba0f65d7db601768258afcb2
Binary files /dev/null and b/doc/app/images/package.png differ
diff --git a/doc/app/images/page_green.png b/doc/app/images/page_green.png
new file mode 100644
index 0000000000000000000000000000000000000000..de8e003f9fb8752c09e7f3655d5d8664b5c62fc3
Binary files /dev/null and b/doc/app/images/page_green.png differ
diff --git a/doc/app/images/page_white_text.png b/doc/app/images/page_white_text.png
new file mode 100644
index 0000000000000000000000000000000000000000..813f712f726c935f9adf8d2f2dd0d7683791ef11
Binary files /dev/null and b/doc/app/images/page_white_text.png differ
diff --git a/doc/app/images/page_white_width.png b/doc/app/images/page_white_width.png
new file mode 100644
index 0000000000000000000000000000000000000000..1eb880947ddf3e745c29e8d9dc90f09c7e6e323c
Binary files /dev/null and b/doc/app/images/page_white_width.png differ
diff --git a/doc/app/images/plugin.png b/doc/app/images/plugin.png
new file mode 100644
index 0000000000000000000000000000000000000000..6187b15aec001b7080b51a5f944f07591f26cc15
Binary files /dev/null and b/doc/app/images/plugin.png differ
diff --git a/doc/app/images/ruby.png b/doc/app/images/ruby.png
new file mode 100644
index 0000000000000000000000000000000000000000..f763a16880751445e3c4a8802a28d3cf8b5787c9
Binary files /dev/null and b/doc/app/images/ruby.png differ
diff --git a/doc/app/images/tag_blue.png b/doc/app/images/tag_blue.png
new file mode 100755
index 0000000000000000000000000000000000000000..3f02b5f8f8bf7c89b60ff70437fb7df6bd95e327
Binary files /dev/null and b/doc/app/images/tag_blue.png differ
diff --git a/doc/app/images/tag_green.png b/doc/app/images/tag_green.png
new file mode 100644
index 0000000000000000000000000000000000000000..83ec984bd73364134da0f98d27a800c5d3264180
Binary files /dev/null and b/doc/app/images/tag_green.png differ
diff --git a/doc/app/images/transparent.png b/doc/app/images/transparent.png
new file mode 100644
index 0000000000000000000000000000000000000000..d665e179efd797451084235f105425247fea0a14
Binary files /dev/null and b/doc/app/images/transparent.png differ
diff --git a/doc/app/images/wrench.png b/doc/app/images/wrench.png
new file mode 100644
index 0000000000000000000000000000000000000000..5c8213fef5ab969f03189d4367e32e597e38bd7f
Binary files /dev/null and b/doc/app/images/wrench.png differ
diff --git a/doc/app/images/wrench_orange.png b/doc/app/images/wrench_orange.png
new file mode 100644
index 0000000000000000000000000000000000000000..565a9330e0a156dff5bed2c9fad8c95a44344ba4
Binary files /dev/null and b/doc/app/images/wrench_orange.png differ
diff --git a/doc/app/images/zoom.png b/doc/app/images/zoom.png
new file mode 100644
index 0000000000000000000000000000000000000000..908612e394525fc2e52a7e9b94689c25ce167381
Binary files /dev/null and b/doc/app/images/zoom.png differ
diff --git a/doc/app/index.html b/doc/app/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..a46b4fbc03daf6fddc086e252c276bb1d9a82fef
--- /dev/null
+++ b/doc/app/index.html
@@ -0,0 +1,392 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body>
+<nav id="metadata">
+  <nav id="home-section" class="section">
+  <h3 class="section-header">
+    <a href="./index.html">Home</a>
+    <a href="./table_of_contents.html#classes">Classes</a>
+    <a href="./table_of_contents.html#methods">Methods</a>
+  </h3>
+</nav>
+
+
+  <nav id="search-section" class="section project-section" class="initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <h3 class="section-header">
+      <input type="text" name="search" placeholder="Search" id="search-field"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </h3>
+  </form>
+
+  <ul id="search-results" class="initially-hidden"></ul>
+</nav>
+
+
+  <div id="project-metadata">
+    <nav id="fileindex-section" class="section project-section">
+  <h3 class="section-header">Pages</h3>
+
+  <ul>
+  
+    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
+  
+  </ul>
+</nav>
+
+    <nav id="classindex-section" class="section project-section">
+  <h3 class="section-header">Class and Module Index</h3>
+
+  <ul class="link-list">
+  
+    <li><a href="./Gitlab.html">Gitlab</a>
+  
+    <li><a href="./Gitlab/API.html">Gitlab::API</a>
+  
+    <li><a href="./Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  
+    <li><a href="./Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  
+    <li><a href="./Gitlab/Auth.html">Gitlab::Auth</a>
+  
+    <li><a href="./Gitlab/Encode.html">Gitlab::Encode</a>
+  
+    <li><a href="./Gitlab/Entities.html">Gitlab::Entities</a>
+  
+    <li><a href="./Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  
+    <li><a href="./Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  
+    <li><a href="./Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  
+    <li><a href="./Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  
+    <li><a href="./Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  
+    <li><a href="./Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  
+    <li><a href="./Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  
+    <li><a href="./Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  
+    <li><a href="./Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  
+    <li><a href="./Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  
+    <li><a href="./Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  
+    <li><a href="./Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  
+    <li><a href="./Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  
+    <li><a href="./Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  
+    <li><a href="./Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  
+    <li><a href="./Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  
+    <li><a href="./Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  
+    <li><a href="./Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  
+    <li><a href="./Gitlab/Issues.html">Gitlab::Issues</a>
+  
+    <li><a href="./Gitlab/Logger.html">Gitlab::Logger</a>
+  
+    <li><a href="./Gitlab/Markdown.html">Gitlab::Markdown</a>
+  
+    <li><a href="./Gitlab/Merge.html">Gitlab::Merge</a>
+  
+    <li><a href="./Gitlab/Milestones.html">Gitlab::Milestones</a>
+  
+    <li><a href="./Gitlab/Projects.html">Gitlab::Projects</a>
+  
+    <li><a href="./Gitlab/Satellite.html">Gitlab::Satellite</a>
+  
+    <li><a href="./Gitlab/Session.html">Gitlab::Session</a>
+  
+    <li><a href="./Gitlab/Theme.html">Gitlab::Theme</a>
+  
+    <li><a href="./Gitlab/Users.html">Gitlab::Users</a>
+  
+    <li><a href="./Admin.html">Admin</a>
+  
+    <li><a href="./Admin/DashboardController.html">Admin::DashboardController</a>
+  
+    <li><a href="./Admin/GroupsController.html">Admin::GroupsController</a>
+  
+    <li><a href="./Admin/HooksController.html">Admin::HooksController</a>
+  
+    <li><a href="./Admin/LogsController.html">Admin::LogsController</a>
+  
+    <li><a href="./Admin/ProjectsController.html">Admin::ProjectsController</a>
+  
+    <li><a href="./Admin/ResqueController.html">Admin::ResqueController</a>
+  
+    <li><a href="./Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  
+    <li><a href="./Admin/UsersController.html">Admin::UsersController</a>
+  
+    <li><a href="./Notes.html">Notes</a>
+  
+    <li><a href="./Notes/CreateContext.html">Notes::CreateContext</a>
+  
+    <li><a href="./Notes/LoadContext.html">Notes::LoadContext</a>
+  
+    <li><a href="./Redcarpet.html">Redcarpet</a>
+  
+    <li><a href="./Redcarpet/Render.html">Redcarpet::Render</a>
+  
+    <li><a href="./Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  
+    <li><a href="./ExtractsPath.html">ExtractsPath</a>
+  
+    <li><a href="./ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  
+    <li><a href="./FileSizeValidator.html">FileSizeValidator</a>
+  
+    <li><a href="./FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  
+    <li><a href="./Grack.html">Grack</a>
+  
+    <li><a href="./Grack/Auth.html">Grack::Auth</a>
+  
+    <li><a href="./IssueCommonality.html">IssueCommonality</a>
+  
+    <li><a href="./IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  
+    <li><a href="./StaticModel.html">StaticModel</a>
+  
+    <li><a href="./StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  
+    <li><a href="./Ability.html">Ability</a>
+  
+    <li><a href="./Account.html">Account</a>
+  
+    <li><a href="./ActivityObserver.html">ActivityObserver</a>
+  
+    <li><a href="./AdminController.html">AdminController</a>
+  
+    <li><a href="./ApplicationController.html">ApplicationController</a>
+  
+    <li><a href="./ApplicationDecorator.html">ApplicationDecorator</a>
+  
+    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
+  
+    <li><a href="./AttachmentUploader.html">AttachmentUploader</a>
+  
+    <li><a href="./Authority.html">Authority</a>
+  
+    <li><a href="./BaseContext.html">BaseContext</a>
+  
+    <li><a href="./BlameController.html">BlameController</a>
+  
+    <li><a href="./BlobController.html">BlobController</a>
+  
+    <li><a href="./Commit.html">Commit</a>
+  
+    <li><a href="./CommitController.html">CommitController</a>
+  
+    <li><a href="./CommitDecorator.html">CommitDecorator</a>
+  
+    <li><a href="./CommitLoadContext.html">CommitLoadContext</a>
+  
+    <li><a href="./CommitsController.html">CommitsController</a>
+  
+    <li><a href="./CommitsHelper.html">CommitsHelper</a>
+  
+    <li><a href="./CompareController.html">CompareController</a>
+  
+    <li><a href="./DashboardController.html">DashboardController</a>
+  
+    <li><a href="./DeployKeysController.html">DeployKeysController</a>
+  
+    <li><a href="./ErrorsController.html">ErrorsController</a>
+  
+    <li><a href="./Event.html">Event</a>
+  
+    <li><a href="./EventDecorator.html">EventDecorator</a>
+  
+    <li><a href="./EventsHelper.html">EventsHelper</a>
+  
+    <li><a href="./GitHost.html">GitHost</a>
+  
+    <li><a href="./GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  
+    <li><a href="./Group.html">Group</a>
+  
+    <li><a href="./GroupsController.html">GroupsController</a>
+  
+    <li><a href="./HelpController.html">HelpController</a>
+  
+    <li><a href="./HooksController.html">HooksController</a>
+  
+    <li><a href="./Issue.html">Issue</a>
+  
+    <li><a href="./IssueObserver.html">IssueObserver</a>
+  
+    <li><a href="./IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  
+    <li><a href="./IssuesController.html">IssuesController</a>
+  
+    <li><a href="./IssuesHelper.html">IssuesHelper</a>
+  
+    <li><a href="./IssuesListContext.html">IssuesListContext</a>
+  
+    <li><a href="./Key.html">Key</a>
+  
+    <li><a href="./KeyObserver.html">KeyObserver</a>
+  
+    <li><a href="./KeysController.html">KeysController</a>
+  
+    <li><a href="./LabelsController.html">LabelsController</a>
+  
+    <li><a href="./MergeRequest.html">MergeRequest</a>
+  
+    <li><a href="./MergeRequestObserver.html">MergeRequestObserver</a>
+  
+    <li><a href="./MergeRequestsController.html">MergeRequestsController</a>
+  
+    <li><a href="./MergeRequestsHelper.html">MergeRequestsHelper</a>
+  
+    <li><a href="./MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  
+    <li><a href="./Milestone.html">Milestone</a>
+  
+    <li><a href="./MilestonesController.html">MilestonesController</a>
+  
+    <li><a href="./Note.html">Note</a>
+  
+    <li><a href="./NoteObserver.html">NoteObserver</a>
+  
+    <li><a href="./NotesController.html">NotesController</a>
+  
+    <li><a href="./NotesHelper.html">NotesHelper</a>
+  
+    <li><a href="./Notify.html">Notify</a>
+  
+    <li><a href="./OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  
+    <li><a href="./PostReceive.html">PostReceive</a>
+  
+    <li><a href="./ProfileController.html">ProfileController</a>
+  
+    <li><a href="./ProfileHelper.html">ProfileHelper</a>
+  
+    <li><a href="./Project.html">Project</a>
+  
+    <li><a href="./ProjectHook.html">ProjectHook</a>
+  
+    <li><a href="./ProjectObserver.html">ProjectObserver</a>
+  
+    <li><a href="./ProjectResourceController.html">ProjectResourceController</a>
+  
+    <li><a href="./ProjectsController.html">ProjectsController</a>
+  
+    <li><a href="./ProjectsHelper.html">ProjectsHelper</a>
+  
+    <li><a href="./ProtectedBranch.html">ProtectedBranch</a>
+  
+    <li><a href="./ProtectedBranchesController.html">ProtectedBranchesController</a>
+  
+    <li><a href="./PushEvent.html">PushEvent</a>
+  
+    <li><a href="./PushObserver.html">PushObserver</a>
+  
+    <li><a href="./RefsController.html">RefsController</a>
+  
+    <li><a href="./RepositoriesController.html">RepositoriesController</a>
+  
+    <li><a href="./Repository.html">Repository</a>
+  
+    <li><a href="./SearchContext.html">SearchContext</a>
+  
+    <li><a href="./SearchController.html">SearchController</a>
+  
+    <li><a href="./Snippet.html">Snippet</a>
+  
+    <li><a href="./SnippetsController.html">SnippetsController</a>
+  
+    <li><a href="./SnippetsHelper.html">SnippetsHelper</a>
+  
+    <li><a href="./SystemHook.html">SystemHook</a>
+  
+    <li><a href="./SystemHookObserver.html">SystemHookObserver</a>
+  
+    <li><a href="./SystemHookWorker.html">SystemHookWorker</a>
+  
+    <li><a href="./TabHelper.html">TabHelper</a>
+  
+    <li><a href="./TagsHelper.html">TagsHelper</a>
+  
+    <li><a href="./Team.html">Team</a>
+  
+    <li><a href="./TeamMembersController.html">TeamMembersController</a>
+  
+    <li><a href="./TestHookContext.html">TestHookContext</a>
+  
+    <li><a href="./Tree.html">Tree</a>
+  
+    <li><a href="./TreeController.html">TreeController</a>
+  
+    <li><a href="./TreeDecorator.html">TreeDecorator</a>
+  
+    <li><a href="./TreeHelper.html">TreeHelper</a>
+  
+    <li><a href="./User.html">User</a>
+  
+    <li><a href="./UserObserver.html">UserObserver</a>
+  
+    <li><a href="./UsersProject.html">UsersProject</a>
+  
+    <li><a href="./UsersProjectObserver.html">UsersProjectObserver</a>
+  
+    <li><a href="./Votes.html">Votes</a>
+  
+    <li><a href="./WebHook.html">WebHook</a>
+  
+    <li><a href="./Wiki.html">Wiki</a>
+  
+    <li><a href="./WikisController.html">WikisController</a>
+  
+  </ul>
+</nav>
+
+  </div>
+</nav>
+
+<p>This is the API documentation for Rails Application Documentation.
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/app/js/darkfish.js b/doc/app/js/darkfish.js
new file mode 100644
index 0000000000000000000000000000000000000000..4be722fac388824e57258e43e4071696d01ccbb7
--- /dev/null
+++ b/doc/app/js/darkfish.js
@@ -0,0 +1,153 @@
+/**
+ *
+ * Darkfish Page Functions
+ * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
+ *
+ * Author: Michael Granger <mgranger@laika.com>
+ *
+ */
+
+/* Provide console simulation for firebug-less environments */
+if (!("console" in window) || !("firebug" in console)) {
+  var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
+    "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
+
+  window.console = {};
+  for (var i = 0; i < names.length; ++i)
+    window.console[names[i]] = function() {};
+};
+
+
+/**
+ * Unwrap the first element that matches the given @expr@ from the targets and return them.
+ */
+$.fn.unwrap = function( expr ) {
+  return this.each( function() {
+    $(this).parents( expr ).eq( 0 ).after( this ).remove();
+  });
+};
+
+
+function showSource( e ) {
+  var target = e.target;
+  var codeSections = $(target).
+    parents('.method-detail').
+    find('.method-source-code');
+
+  $(target).
+    parents('.method-detail').
+    find('.method-source-code').
+    slideToggle();
+};
+
+function hookSourceViews() {
+  $('.method-heading').click( showSource );
+};
+
+function toggleDebuggingSection() {
+  $('.debugging-section').slideToggle();
+};
+
+function hookDebuggingToggle() {
+  $('#debugging-toggle img').click( toggleDebuggingSection );
+};
+
+function hookTableOfContentsToggle() {
+  $('.indexpage li .toc-toggle').each( function() {
+    $(this).click( function() {
+      $(this).toggleClass('open');
+    });
+
+    var section = $(this).next();
+
+    $(this).click( function() {
+      section.slideToggle();
+    });
+  });
+}
+
+function hookSearch() {
+  var input  = $('#search-field').eq(0);
+  var result = $('#search-results').eq(0);
+  $(result).show();
+
+  var search_section = $('#search-section').get(0);
+  $(search_section).show();
+
+  var search = new Search(search_data, input, result);
+
+  search.renderItem = function(result) {
+    var li = document.createElement('li');
+    var html = '';
+
+    // TODO add relative path to <script> per-page
+    html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
+    if (result.params)
+      html += '<span class="params">' + result.params + '</span>';
+    html += '</a>';
+
+
+    if (result.namespace)
+      html += '<p class="search-namespace">' + this.hlt(result.namespace);
+
+    if (result.snippet)
+      html += '<div class="search-snippet">' + result.snippet + '</div>';
+
+    li.innerHTML = html;
+
+    return li;
+  }
+
+  search.select = function(result) {
+    var result_element = result.get(0);
+    window.location.href = result_element.firstChild.firstChild.href;
+  }
+
+  search.scrollIntoView = search.scrollInWindow;
+};
+
+function highlightTarget( anchor ) {
+  console.debug( "Highlighting target '%s'.", anchor );
+
+  $("a[name=" + anchor + "]").each( function() {
+    if ( !$(this).parent().parent().hasClass('target-section') ) {
+      console.debug( "Wrapping the target-section" );
+      $('div.method-detail').unwrap( 'div.target-section' );
+      $(this).parent().wrap( '<div class="target-section"></div>' );
+    } else {
+      console.debug( "Already wrapped." );
+    }
+  });
+};
+
+function highlightLocationTarget() {
+  console.debug( "Location hash: %s", window.location.hash );
+  if ( ! window.location.hash || window.location.hash.length == 0 ) return;
+
+  var anchor = window.location.hash.substring(1);
+  console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
+
+  highlightTarget( anchor );
+};
+
+function highlightClickTarget( event ) {
+  console.debug( "Highlighting click target for event %o", event.target );
+  try {
+    var anchor = $(event.target).attr( 'href' ).substring(1);
+    console.debug( "Found target anchor: %s", anchor );
+    highlightTarget( anchor );
+  } catch ( err ) {
+    console.error( "Exception while highlighting: %o", err );
+  };
+};
+
+
+$(document).ready( function() {
+  hookSourceViews();
+  hookDebuggingToggle();
+  hookSearch();
+  highlightLocationTarget();
+  hookTableOfContentsToggle();
+
+  $('ul.link-list a').bind( "click", highlightClickTarget );
+});
diff --git a/doc/app/js/jquery.js b/doc/app/js/jquery.js
new file mode 100644
index 0000000000000000000000000000000000000000..48590ecb96a74f5987d125e7fbc5a26c1392543a
--- /dev/null
+++ b/doc/app/js/jquery.js
@@ -0,0 +1,18 @@
+/*!
+ * jQuery JavaScript Library v1.6.2
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Thu Jun 30 14:16:56 2011 -0400
+ */
+(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bZ(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bY(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bC.test(a)?d(a,e):bY(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)bY(a+"["+e+"]",b[e],c,d);else d(a,b)}function bX(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bR,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bX(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bX(a,c,d,e,"*",g));return l}function bW(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bN),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bA(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bv:bw;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)f.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function bg(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;i<s.length;i++)g=s[i],g.origType.replace(x,"")===a.type?q.push(g.selector):s.splice(i--,1);e=f(a.target).closest(q,a.currentTarget);for(j=0,k=e.length;j<k;j++){m=e[j];for(i=0;i<s.length;i++){g=s[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,d=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,d=f(a.relatedTarget).closest(g.selector)[0],d&&f.contains(h,d)&&(d=h);(!d||d!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){e=p[j];if(c&&e.level>c)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b){if(H)return H.call(b,a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g="done fail isResolved isRejected promise then always pipe".split(" "),h=[].slice;f.extend({_Deferred:function(){var a=[],b,c,d,e={done:function(){if(!d){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=f.type(i),j==="array"?e.done.apply(e,i):j==="function"&&a.push(i);k&&e.resolveWith(k[0],k[1])}return this},resolveWith:function(e,f){if(!d&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(e,f)}finally{b=[e,f],c=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return!!c||!!b},cancel:function(){d=1,a=[];return this}};return e},Deferred:function(a){var b=f._Deferred(),c=f._Deferred(),d;f.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[c,"reject"]},function(a,c){var e=c[0],g=c[1],h;f.isFunction(e)?b[a](function(){h=e.apply(this,arguments),h&&f.isFunction(h.promise)?h.promise().then(d.resolve,d.reject):d[g](h)}):b[a](d[g])})}).promise()},promise:function(a){if(a==null){if(d)return d;d=a={}}var c=g.length;while(c--)a[g[c]]=b[g[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c<d;c++)b[c]&&f.isFunction(b[c].promise)?b[c].promise().then(i(c),g.reject):--e;e||g.resolveWith(g,b)}else g!==a&&g.resolveWith(g,d?[a]:[]);return g.promise()}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h<i;h++)g=e[h].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),k(this[0],g,d[g]))}}return d}if(typeof a=="object")return this.each(function(){f.data(this,a)});var j=a.split(".");j[1]=j[1]?"."+j[1]:"";if(c===b){d=this.triggerHandler("getData"+j[1]+"!",[j[0]]),d===b&&this.length&&(d=f.data(this[0],a),d=k(this[0],a,d));return d===b&&j[1]?this.data(j[0]):d}return this.each(function(){var b=f(this),d=[j[0],c];b.triggerHandler("setData"+j[1]+"!",d),f.data(this,a,c),b.triggerHandler("changeData"+j[1]+"!",d)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",f.data(a,c,(f.data(a,c,b,!0)||0)+1,!0))},_unmark:function(a,c,d){a!==!0&&(d=c,c=a,a=!1);if(c){d=d||"fx";var e=d+"mark",g=a?0:(f.data(c,e,b,!0)||1)-1;g?f.data(c,e,g,!0):(f.removeData(c,e,!0),m(c,d,"mark"))}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var e=f.data(a,c,b,!0);d&&(!e||f.isArray(d)?e=f.data(a,c,f.makeArray(d),!0):e.push(d));return e||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e;d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),d.call(a,function(){f.dequeue(a,b)})),c.length||(f.removeData(a,b+"queue",!0),m(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){f.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f._Deferred(),!0))h++,l.done(m);m();return d.promise()}});var n=/[\n\t\r]/g,o=/\s+/,p=/\r/g,q=/^(?:button|input)$/i,r=/^(?:button|input|object|select|textarea)$/i,s=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,u=/\:|^on/,v,w;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(o);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(o);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(n," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(o);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(n," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h<i;h++){var j=e[h];if(j.selected&&(f.support.optDisabled?!j.disabled:j.getAttribute("disabled")===null)&&(!j.parentNode.disabled||!f.nodeName(j.parentNode,"optgroup"))){b=f(j).val();if(g)return b;d.push(b)}}if(g&&!d.length&&e.length)return f(e[c]).val();return d},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))f.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=f.event.special[h]||{};for(j=e||0;j<p.length;j++){q=p[j];if(d.guid===q.guid){if(l||n.test(q.namespace))e==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(e!=null)break}}if(p.length===0||e!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&f.removeEvent(a,h,s.handle),g=null,delete t[h]}if(f.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,f.isEmptyObject(s)&&f.removeData(a,b,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){var h=c.type||c,i=[],j;h.indexOf("!")>=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.
+shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h<i;h++){var j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.data,c.handleObj=j;var k=j.handler.apply(this,g);k!==b&&(c.result=k,k===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[f.expando])return a;var d=a;a=f.Event(d);for(var e=this.props.length,g;e;)g=this.props[--e],a[g]=d[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=a.target.ownerDocument||c,i=h.documentElement,j=h.body;a.pageX=a.clientX+(i&&i.scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),a.pageY=a.clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:f.proxy,special:{ready:{setup:f.bindReady,teardown:f.noop},live:{add:function(a){f.event.add(this,N(a.origType,a.selector),f.extend({},a,{handler:M,guid:a.handler.guid}))},remove:function(a){f.event.remove(this,N(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!this.preventDefault)return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?E:D):this.type=a,b&&f.extend(this,b),this.timeStamp=f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=E;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=E;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=E,this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var F=function(a){var b=a.relatedTarget,c=!1,d=a.type;a.type=a.data,b!==this&&(b&&(c=f.contains(this,b)),c||(f.event.handle.apply(this,arguments),a.type=d))},G=function(a){a.type=a.data,f.event.handle.apply(this,arguments)};f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={setup:function(c){f.event.add(this,b,c&&c.selector?G:F,a)},teardown:function(a){f.event.remove(this,b,a&&a.selector?G:F)}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(a,b){if(!f.nodeName(this,"form"))f.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&f(b).closest("form").length&&K("submit",this,arguments)}),f.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&f(b).closest("form").length&&a.keyCode===13&&K("submit",this,arguments)});else return!1},teardown:function(a){f.event.remove(this,".specialSubmit")}});if(!f.support.changeBubbles){var H,I=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i<j;i++)f.event.add(this[i],a,g,d);return this}}),f.fn.extend({unbind:function(a,b){if(typeof a=="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else for(var d=0,e=this.length;d<e;d++)f.event.remove(this[d],a,b);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f.data(this,"lastToggle"+a.guid)||0)%d;f.data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var L={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};f.each(["live","die"],function(a,c){f.fn[c]=function(a,d,e,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:f(this.context);if(typeof a=="object"&&!a.preventDefault){for(var o in a)n[c](o,d,a[o],m);return this}if(c==="die"&&!a&&g&&g.charAt(0)==="."){n.unbind(g);return this}if(d===!1||f.isFunction(d))e=d||D,d=b;a=(a||"").split(" ");while((h=a[i++])!=null){j=x.exec(h),k="",j&&(k=j[0],h=h.replace(x,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,L[h]?(a.push(L[h]+k),h=h+k):h=(L[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)f.event.add(n[p],"live."+N(h,m),{data:d,selector:m,handler:e,origType:h,origHandler:e,preType:l});else n.unbind("live."+N(h,m),e)}return this}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(!f)g=o=!0;else if(f===!0)continue}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("parentNode",b,f,a,e,c)},"~":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("previousSibling",b,f,a,e,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c<f;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){if(a===b){g=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};f.find=k,f.expr=k.selectors,f.expr[":"]=f.expr.filters,f.unique=k.uniqueSort,f.text=k.getText,f.isXMLDoc=k.isXML,f.contains=k.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d<e;d++)i=a[d],j[i]||(j[i]=T.test(i)?f(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(l?l.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/<tbody/i,ba=/<|&#?\w+;/,bb=/<(?:script|object|embed|option|style)/i,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,bd=/\/(java|ecma)script/i,be=/^\s*<!(?:\[CDATA\[|\-\-)/,bf={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bc.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bg(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bm)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i;b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof a[0]=="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!bb.test(a[0])&&(f.support.checkClone||!bc.test(a[0]))&&(g=!0,h=f.fragments[a[0]],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j
+)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1></$2>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bl(k[i]);else bl(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bd.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.expando,g=f.event.special,h=f.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&f.noData[j.nodeName.toLowerCase()])continue;c=j[f.expando];if(c){b=d[c]&&d[c][e];if(b&&b.events){for(var k in b.events)g[k]?f.event.remove(j,k):f.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[f.expando]:j.removeAttribute&&j.removeAttribute(f.expando),delete d[c]}}}});var bn=/alpha\([^)]*\)/i,bo=/opacity=([^)]*)/,bp=/([A-Z]|^ms)/g,bq=/^-?\d+(?:px)?$/i,br=/^-?\d/,bs=/^[+\-]=/,bt=/[^+\-\.\de]+/g,bu={position:"absolute",visibility:"hidden",display:"block"},bv=["Left","Right"],bw=["Top","Bottom"],bx,by,bz;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bx(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d;if(h==="number"&&isNaN(d)||d==null)return;h==="string"&&bs.test(d)&&(d=+d.replace(bt,"")+parseFloat(f.css(a,c)),h="number"),h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bx)return bx(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bA(a,b,d);f.swap(a,bu,function(){e=bA(a,b,d)});return e}},set:function(a,b){if(!bq.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cs(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cr("hide",3),a,b,c);for(var d=0,e=this.length;d<e;d++)if(this[d].style){var g=f.css(this[d],"display");g!=="none"&&!f._data(this[d],"olddisplay")&&f._data(this[d],"olddisplay",g)}for(d=0;d<e;d++)this[d].style&&(this[d].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cr("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return this[e.queue===!1?"each":"queue"](function(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(f.support.inlineBlockNeedsLayout?(j=cs(this.nodeName),j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)k=new f.fx(this,b,i),h=a[i],cj.test(h)?k[h==="toggle"?d?"show":"hide":h]():(l=ck.exec(h),m=k.cur(),l?(n=parseFloat(l[2]),o=l[3]||(f.cssNumber[i]?"":"px"),o!=="px"&&(f.style(this,i,(n||1)+o),m=(n||1)/k.cur()*m,f.style(this,i,m+o)),l[1]&&(n=(l[1]==="-="?-1:1)*n+m),k.custom(m,n,o)):k.custom(m,h,""));return!0})},stop:function(a,b){a&&this.queue([]),this.each(function(){var a=f.timers,c=a.length;b||f._unmark(!0,this);while(c--)a[c].elem===this&&(b&&a[c](!0),a.splice(c,1))}),b||this.dequeue();return this}}),f.each({slideDown:cr("show",1),slideUp:cr("hide",1),slideToggle:cr("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue!==!1?f.dequeue(this):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function h(a){return d.step(a)}var d=this,e=f.fx,g;this.startTime=cn||cp(),this.start=a,this.end=b,this.unit=c||this.unit||(f.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,h.elem=this.elem,h()&&f.timers.push(h)&&!cl&&(co?(cl=!0,g=function(){cl&&(co(g),e.tick())},co(g)):cl=setInterval(e.tick,e.interval))},show:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=cn||cp(),c=!0,d=this.elem,e=this.options,g,h;if(a||b>=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cl),cl=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var ct=/^t(?:able|d|h)$/i,cu=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cv(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);f.offset.initialize();var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.offset.doesNotAddBorder&&(!f.offset.doesAddBorderForTableAndCells||!ct.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={initialize:function(){var a=c.body,b=c.createElement("div"),d,e,g,h,i=parseFloat(f.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window);
\ No newline at end of file
diff --git a/doc/app/js/navigation.js b/doc/app/js/navigation.js
new file mode 100644
index 0000000000000000000000000000000000000000..e41268123ea92f47c99e2e38a542c2334dfc1aeb
--- /dev/null
+++ b/doc/app/js/navigation.js
@@ -0,0 +1,142 @@
+/*
+ * Navigation allows movement using the arrow keys through the search results.
+ *
+ * When using this library you will need to set scrollIntoView to the
+ * appropriate function for your layout.  Use scrollInWindow if the container
+ * is not scrollable and scrollInElement if the container is a separate
+ * scrolling region.
+ */
+Navigation = new function() {
+  this.initNavigation = function() {
+    var _this = this;
+
+    $(document).keydown(function(e) {
+      _this.onkeydown(e);
+    }).keyup(function(e) {
+      _this.onkeyup(e);
+    });
+
+    this.navigationActive = true;
+  }
+
+  this.setNavigationActive = function(state) {
+    this.navigationActive = state;
+    this.clearMoveTimeout();
+  }
+
+  this.onkeyup = function(e) {
+    if (!this.navigationActive) return;
+
+    switch(e.keyCode) {
+      case 37: //Event.KEY_LEFT:
+      case 38: //Event.KEY_UP:
+      case 39: //Event.KEY_RIGHT:
+      case 40: //Event.KEY_DOWN:
+        this.clearMoveTimeout();
+        break;
+    }
+  }
+
+  this.onkeydown = function(e) {
+    if (!this.navigationActive) return;
+    switch(e.keyCode) {
+      case 37: //Event.KEY_LEFT:
+        if (this.moveLeft()) e.preventDefault();
+        break;
+      case 38: //Event.KEY_UP:
+        if (e.keyCode == 38 || e.ctrlKey) {
+          if (this.moveUp()) e.preventDefault();
+          this.startMoveTimeout(false);
+        }
+        break;
+      case 39: //Event.KEY_RIGHT:
+        if (this.moveRight()) e.preventDefault();
+        break;
+      case 40: //Event.KEY_DOWN:
+        if (e.keyCode == 40 || e.ctrlKey) {
+          if (this.moveDown()) e.preventDefault();
+          this.startMoveTimeout(true);
+        }
+        break;
+      case 13: //Event.KEY_RETURN:
+        if (this.$current)
+          e.preventDefault();
+          this.select(this.$current);
+        break;
+    }
+    if (e.ctrlKey && e.shiftKey) this.select(this.$current);
+  }
+
+  this.clearMoveTimeout = function() {
+    clearTimeout(this.moveTimeout);
+    this.moveTimeout = null;
+  }
+
+  this.startMoveTimeout = function(isDown) {
+    if (!$.browser.mozilla && !$.browser.opera) return;
+    if (this.moveTimeout) this.clearMoveTimeout();
+    var _this = this;
+
+    var go = function() {
+      if (!_this.moveTimeout) return;
+      _this[isDown ? 'moveDown' : 'moveUp']();
+      _this.moveTimout = setTimeout(go, 100);
+    }
+    this.moveTimeout = setTimeout(go, 200);
+  }
+
+  this.moveRight = function() {
+  }
+
+  this.moveLeft = function() {
+  }
+
+  this.move = function(isDown) {
+  }
+
+  this.moveUp = function() {
+    return this.move(false);
+  }
+
+  this.moveDown = function() {
+    return this.move(true);
+  }
+
+  /*
+   * Scrolls to the given element in the scrollable element view.
+   */
+  this.scrollInElement = function(element, view) {
+    var offset, viewHeight, viewScroll, height;
+    offset = element.offsetTop;
+    height = element.offsetHeight;
+    viewHeight = view.offsetHeight;
+    viewScroll = view.scrollTop;
+
+    if (offset - viewScroll + height > viewHeight) {
+      view.scrollTop = offset - viewHeight + height;
+    }
+    if (offset < viewScroll) {
+      view.scrollTop = offset;
+    }
+  }
+
+  /*
+   * Scrolls to the given element in the window.  The second argument is
+   * ignored
+   */
+  this.scrollInWindow = function(element, ignored) {
+    var offset, viewHeight, viewScroll, height;
+    offset = element.offsetTop;
+    height = element.offsetHeight;
+    viewHeight = window.innerHeight;
+    viewScroll = window.scrollY;
+
+    if (offset - viewScroll + height > viewHeight) {
+      window.scrollTo(window.scrollX, offset - viewHeight + height);
+    }
+    if (offset < viewScroll) {
+      window.scrollTo(window.scrollX, offset);
+    }
+  }
+}
+
diff --git a/doc/app/js/search.js b/doc/app/js/search.js
new file mode 100644
index 0000000000000000000000000000000000000000..dbdfdcbc4cb70be015fdd6ef8c7a754082776c58
--- /dev/null
+++ b/doc/app/js/search.js
@@ -0,0 +1,94 @@
+Search = function(data, input, result) {
+  this.data = data;
+  this.$input = $(input);
+  this.$result = $(result);
+
+  this.$current = null;
+  this.$view = this.$result.parent();
+  this.searcher = new Searcher(data.index);
+  this.init();
+}
+
+Search.prototype = $.extend({}, Navigation, new function() {
+  var suid = 1;
+
+  this.init = function() {
+    var _this = this;
+    var observer = function() {
+      _this.search(_this.$input[0].value);
+    };
+    this.$input.keyup(observer);
+    this.$input.click(observer); // mac's clear field
+
+    this.searcher.ready(function(results, isLast) {
+      _this.addResults(results, isLast);
+    })
+
+    this.initNavigation();
+    this.setNavigationActive(false);
+  }
+
+  this.search = function(value, selectFirstMatch) {
+    value = jQuery.trim(value).toLowerCase();
+    if (value) {
+      this.setNavigationActive(true);
+    } else {
+      this.setNavigationActive(false);
+    }
+
+    if (value == '') {
+      this.lastQuery = value;
+      this.$result.empty();
+      this.setNavigationActive(false);
+    } else if (value != this.lastQuery) {
+      this.lastQuery = value;
+      this.firstRun = true;
+      this.searcher.find(value);
+    }
+  }
+
+  this.addResults = function(results, isLast) {
+    var target = this.$result.get(0);
+    if (this.firstRun && (results.length > 0 || isLast)) {
+      this.$current = null;
+      this.$result.empty();
+    }
+
+    for (var i=0, l = results.length; i < l; i++) {
+      target.appendChild(this.renderItem.call(this, results[i]));
+    };
+
+    if (this.firstRun && results.length > 0) {
+      this.firstRun = false;
+      this.$current = $(target.firstChild);
+      this.$current.addClass('current');
+    }
+    if (jQuery.browser.msie) this.$element[0].className += '';
+  }
+
+  this.move = function(isDown) {
+    if (!this.$current) return;
+    var $next = this.$current[isDown ? 'next' : 'prev']();
+    if ($next.length) {
+      this.$current.removeClass('current');
+      $next.addClass('current');
+      this.scrollIntoView($next[0], this.$view[0]);
+      this.$current = $next;
+    }
+    return true;
+  }
+
+  this.hlt = function(html) {
+    return this.escapeHTML(html).
+      replace(/\u0001/g, '<em>').
+      replace(/\u0002/g, '</em>');
+  }
+
+  this.escapeHTML = function(html) {
+    return html.replace(/[&<>]/g, function(c) {
+      return '&#' + c.charCodeAt(0) + ';';
+    });
+  }
+
+});
+
diff --git a/doc/app/js/search_index.js b/doc/app/js/search_index.js
new file mode 100644
index 0000000000000000000000000000000000000000..ca255747c11a187d7839394e2a14576556a6d862
--- /dev/null
+++ b/doc/app/js/search_index.js
@@ -0,0 +1 @@
+var search_data = {"index":{"searchIndex":["ability","account","activityobserver","admin","dashboardcontroller","groupscontroller","hookscontroller","logscontroller","projectscontroller","resquecontroller","teammemberscontroller","userscontroller","admincontroller","applicationcontroller","applicationdecorator","applicationhelper","attachmentuploader","authority","basecontext","blamecontroller","blobcontroller","commit","commitcontroller","commitdecorator","commitloadcontext","commitscontroller","commitshelper","comparecontroller","dashboardcontroller","deploykeyscontroller","errorscontroller","event","eventdecorator","eventshelper","extractspath","invalidpatherror","filesizevalidator","helper","githost","gitlab","api","apihelpers","applogger","auth","encode","entities","hook","issue","milestone","project","projectmember","projectsnippet","repocommit","repoobject","sshkey","user","userbasic","userlogin","fileeditor","gitlogger","gitolite","accessdenied","gitoliteconfig","pullerror","pusherror","graphcommit","inlinediff","issues","logger","markdown","merge","milestones","projects","satellite","session","theme","users","gitlabmarkdownhelper","grack","auth","group","groupscontroller","helpcontroller","hookscontroller","issue","issuecommonality","classmethods","issueobserver","issuesbulkupdatecontext","issuescontroller","issueshelper","issueslistcontext","key","keyobserver","keyscontroller","labelscontroller","mergerequest","mergerequestobserver","mergerequestscontroller","mergerequestshelper","mergerequestsloadcontext","milestone","milestonescontroller","note","noteobserver","notes","createcontext","loadcontext","notescontroller","noteshelper","notify","omniauthcallbackscontroller","postreceive","profilecontroller","profilehelper","project","projecthook","projectobserver","projectresourcecontroller","projectscontroller","projectshelper","protectedbranch","protectedbranchescontroller","pushevent","pushobserver","redcarpet","render","gitlabhtml","refscontroller","repositoriescontroller","repository","searchcontext","searchcontroller","snippet","snippetscontroller","snippetshelper","staticmodel","classmethods","systemhook","systemhookobserver","systemhookworker","tabhelper","tagshelper","team","teammemberscontroller","testhookcontext","tree","treecontroller","treedecorator","treehelper","user","userobserver","usersproject","usersprojectobserver","votes","webhook","wiki","wikiscontroller","==()","[]()","_indexes_of_changed_lines()","abilities()","abilities()","abilities()","access_denied!()","access_options()","access_roles()","action_name()","active()","active()","add_access()","add_project_abilities()","add_refs()","add_user_id_to_team()","add_user_to_team()","add_users_ids_to_team()","add_users_to_team()","admin_all_repo()","admin_all_repo!()","after_commit()","after_create()","after_create()","after_create()","after_create()","after_create()","after_create()","after_create()","after_create()","after_destroy()","after_destroy()","after_destroy()","after_destroy()","after_destroy()","after_save()","after_save()","after_save()","after_sign_in_path_for()","after_update()","after_update()","all_hooks_fire()","allow_read_for?()","allowed()","allowed?()","allowed_tree_edit?()","app_theme()","apply()","apply_import()","archive()","archive_repo()","assign_ref_vars()","async_execute()","attributes_for_keys()","authbutton()","authenticate!()","authenticate_admin!()","authenticated_as_admin!()","author()","author_email()","author_link()","author_name()","authorize!()","authorize_admin_issue!()","authorize_admin_merge_request!()","authorize_admin_milestone!()","authorize_admin_snippet!()","authorize_code_access!()","authorize_modify_issue!()","authorize_modify_merge_request!()","authorize_modify_snippet!()","authorize_project!()","automerge()","automerge!()","automerge_check()","base_class()","block()","block()","block_code()","branch?()","branch_from()","branch_name()","branch_names()","branch_to()","branches()","branches()","branches_tab_class()","breadcrumbs()","broken_diffs?()","build()","build_commit_note()","build_line_anchor()","bulk_delete()","bulk_import()","bulk_update()","bulk_update()","can?()","can?()","can?()","can_be_merged?()","can_be_merged?()","can_create_group?()","can_create_project?()","can_edit?()","cared_merge_requests()","changed_issue?()","changed_merge_request?()","check_if_can_be_merged()","check_limit()","check_validity!()","clear()","closed?()","closed_event()","commit()","commit()","commit_author()","commit_from()","commit_line_notes()","commit_notes()","commit_to()","commits()","commits()","commits()","commits()","commits_between()","commits_between()","commits_count()","commits_since()","commits_since()","commits_with_refs()","commits_with_refs()","committer_email()","committer_name()","common_notes()","compare()","config()","content_types()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create_by_user()","create_from_omniauth()","create_from_omniauth()","create_repository()","create_status_change_note()","created_at()","css_class_by_id()","current_action?()","current_controller?()","current_ref()","current_user()","data()","define_show_vars()","define_tree_vars()","delete_users_ids_from_team()","description()","design()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy()","destroy_project()","destroy_project!()","destroy_repository()","destroyed?()","detect_encoding()","determine_action()","dev_access_for?()","dev_tools()","different_committer?()","diffs()","diffs()","discover_default_branch()","downvote?()","downvotes()","downvotes_in_percent()","each_diff_line()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","emoji_autocomplete_source()","empty?()","empty_repo?()","enable_automerge()","error()","event_action_name()","event_image()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute_hooks()","exists?()","expired?()","expires_at()","extract_ref()","failure_message()","feed_summary()","feed_title()","feed_url()","file_name()","file_name()","files()","filter()","find_all_by_branch()","find_for_ldap_auth()","find_for_ldap_auth()","find_free_space()","find_or_first()","find_or_new_for_omniauth()","find_or_new_for_omniauth()","fingerprintable_key()","first_name()","for_commit?()","for_diff_line?()","forbidden!()","format_message()","format_message()","fresh_commits()","fresh_commits()","generate_password()","gfm()","git_error?()","git_host()","git_not_found!()","githost()","gitlab_auth()","gitlab_markdown?()","graph()","gravatar_icon()","group()","grouped_options_refs()","grouper_project_members()","guest_access_for?()","has_commits?()","has_post_receive_file?()","heads()","help()","hexdigest()","history()","history()","http_url_to_repo()","human_state()","identification_type()","identifier()","image_diff_class()","import_team()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index()","index_commits()","info()","invalid?()","is_admin?()","is_assigned?()","is_being_closed?()","is_being_reassigned?()","is_being_reopened?()","is_blob?()","is_deploy_key()","issue()","issue()","issue?()","issue_css_classes()","issue_status_changed_email()","issue_tags()","issues()","issues()","issues_filter()","issues_filtered()","issues_labels()","joined?()","last_activity()","last_activity_date()","last_activity_project()","last_commit()","last_commit()","last_commit()","last_commit_for()","last_deploy?()","last_push_to_non_root?()","ldap()","ldap_enable?()","left?()","lifetime_select_options()","link_title()","link_to_author()","link_to_commit_diff_line_note()","link_to_gfm()","link_to_issue_assignee()","link_to_issue_author()","link_to_merge_request_assignee()","link_to_merge_request_author()","link_to_project()","loading_more_notes?()","loading_new_notes?()","log()","log()","log_info()","log_info()","logs_tree()","mark_as_merged!()","mark_as_unchecked()","mark_as_unmergable()","mark_reserved()","markdown()","markup?()","master_access_for?()","md_ref?()","membership_changed?()","merge!()","merge!()","merge_event()","merge_request()","merge_request()","merge_request?()","merge_requests()","merge_requests()","merged?()","merged?()","method_missing()","method_missing()","milestone()","mode()","module_enabled()","module_enabled()","module_enabled()","module_enabled()","mr_and_commit_notes()","mr_css_classes()","name()","nav_link()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new?()","new_branch?()","new_issue?()","new_issue_email()","new_merge_request?()","new_merge_request_email()","new_mr_path_from_push_event()","new_record?()","new_ref?()","new_user_email()","no_cache_headers()","no_commit_message()","not_allowed!()","not_found!()","not_found!()","note_commit_email()","note_for_main_target?()","note_issue_email()","note_merge_request_email()","note_wall_email()","note_wiki_email()","noteable()","notes()","notify_only_author?()","notify_team()","oauth_active_class()","observe_push()","open?()","open_branches()","open_for()","pages()","paginate()","parent_commit()","parents_count()","participants()","password_update()","path()","path_to_repo()","people()","percent_complete()","perform()","perform()","persisted?()","place_chain()","plain_text_readme?()","post_receive_data()","postprocess()","prev_commit()","prev_commit_id()","preview()","primary_key()","private?()","probably_merged?()","processing()","project()","project_abilities()","project_access_granted_email()","project_access_human()","project_id()","project_ids()","project_ids()","project_issues_filter_path()","project_last_activity()","project_name()","project_tab_class()","project_update()","projects()","projects()","projects_limit_percent()","projects_with_events()","protected_branch?()","public?()","push?()","push_action_name()","push_with_commits?()","raw()","raw()","read_latest()","readme()","reassigned_issue_email()","reassigned_merge_request_email()","recent_push()","ref()","ref_name()","ref_names()","ref_type()","regenerate_from()","reject_blocked!()","reload_code()","reloaded_commits()","reloaded_diffs()","remove_from_team_message()","remove_key()","remove_project()","remove_repository()","render_404()","render_api_error!()","render_tree()","reopened?()","replace_markers()","repo()","repo_access_human()","repo_exists?()","repo_name()","report_access_for?()","repository_masters()","repository_readers()","repository_writers()","request_protocol()","require_non_empty_project()","require_ssh_key?()","reset_access()","reset_private_token()","result()","rm_key()","rm_ref?()","role_access()","root_ref()","root_ref?()","safe_message()","satellite()","saved?()","search()","search()","search()","search()","search()","search()","search_autocomplete_source()","send_notify_mails()","send_reassigned_email()","send_reassigned_email()","set_current_user_for_observers()","set_identifier()","set_key()","set_slug()","short_id()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show()","show_last_push_widget?()","size()","snippet()","sort()","ssh_url_to_repo()","store_dir()","strip_white_space()","switch()","tag?()","tag_list()","tag_name()","tag_names()","tag_path()","tags()","tags()","take_left_leaves()","target_title()","team_member_by_id()","team_member_by_name_or_email()","team_update()","team_update()","team_without_note_author()","test()","test()","title()","to_graph()","to_graph_hash()","to_param()","to_param()","to_param()","to_param()","to_raw()","today?()","token()","tree()","tree_hex_class()","tree_icon()","tree_join()","trigger_post_receive()","unassigned_filter()","unauthorized!()","unblock()","unchecked?()","unique_key()","unmerged_commits()","unmerged_diffs()","up_dir?()","up_dir_path()","update()","update()","update()","update()","update()","update()","update()","update()","update()","update()","update()","update()","update()","update_merge_requests()","update_project()","update_project!()","update_project_config()","update_projects()","update_repository()","update_repository()","update_repository()","update_repository()","update_users_ids_to_role()","upvote?()","upvotes()","upvotes_in_percent()","url_to_repo()","url_to_repo()","user_bulk_import()","user_project()","users()","utf8()","valid?()","valid_diffs?()","valid_push?()","valid_repo?()","validate_branches()","validate_each()","validate_get_request()","validate_post_request()","validates_merge_request()","votes_count()","wall()","web_app_url()","web_url()","wiki_notes()","without_projects()","without_repository_callback()","write_key()","readme_for_app"],"longSearchIndex":["ability","account","activityobserver","admin","admin::dashboardcontroller","admin::groupscontroller","admin::hookscontroller","admin::logscontroller","admin::projectscontroller","admin::resquecontroller","admin::teammemberscontroller","admin::userscontroller","admincontroller","applicationcontroller","applicationdecorator","applicationhelper","attachmentuploader","authority","basecontext","blamecontroller","blobcontroller","commit","commitcontroller","commitdecorator","commitloadcontext","commitscontroller","commitshelper","comparecontroller","dashboardcontroller","deploykeyscontroller","errorscontroller","event","eventdecorator","eventshelper","extractspath","extractspath::invalidpatherror","filesizevalidator","filesizevalidator::helper","githost","gitlab","gitlab::api","gitlab::apihelpers","gitlab::applogger","gitlab::auth","gitlab::encode","gitlab::entities","gitlab::entities::hook","gitlab::entities::issue","gitlab::entities::milestone","gitlab::entities::project","gitlab::entities::projectmember","gitlab::entities::projectsnippet","gitlab::entities::repocommit","gitlab::entities::repoobject","gitlab::entities::sshkey","gitlab::entities::user","gitlab::entities::userbasic","gitlab::entities::userlogin","gitlab::fileeditor","gitlab::gitlogger","gitlab::gitolite","gitlab::gitolite::accessdenied","gitlab::gitoliteconfig","gitlab::gitoliteconfig::pullerror","gitlab::gitoliteconfig::pusherror","gitlab::graphcommit","gitlab::inlinediff","gitlab::issues","gitlab::logger","gitlab::markdown","gitlab::merge","gitlab::milestones","gitlab::projects","gitlab::satellite","gitlab::session","gitlab::theme","gitlab::users","gitlabmarkdownhelper","grack","grack::auth","group","groupscontroller","helpcontroller","hookscontroller","issue","issuecommonality","issuecommonality::classmethods","issueobserver","issuesbulkupdatecontext","issuescontroller","issueshelper","issueslistcontext","key","keyobserver","keyscontroller","labelscontroller","mergerequest","mergerequestobserver","mergerequestscontroller","mergerequestshelper","mergerequestsloadcontext","milestone","milestonescontroller","note","noteobserver","notes","notes::createcontext","notes::loadcontext","notescontroller","noteshelper","notify","omniauthcallbackscontroller","postreceive","profilecontroller","profilehelper","project","projecthook","projectobserver","projectresourcecontroller","projectscontroller","projectshelper","protectedbranch","protectedbranchescontroller","pushevent","pushobserver","redcarpet","redcarpet::render","redcarpet::render::gitlabhtml","refscontroller","repositoriescontroller","repository","searchcontext","searchcontroller","snippet","snippetscontroller","snippetshelper","staticmodel","staticmodel::classmethods","systemhook","systemhookobserver","systemhookworker","tabhelper","tagshelper","team","teammemberscontroller","testhookcontext","tree","treecontroller","treedecorator","treehelper","user","userobserver","usersproject","usersprojectobserver","votes","webhook","wiki","wikiscontroller","staticmodel#==()","staticmodel#[]()","gitlab::inlinediff::_indexes_of_changed_lines()","applicationcontroller#abilities()","basecontext#abilities()","grack::auth#abilities()","applicationcontroller#access_denied!()","project::access_options()","usersproject::access_roles()","event#action_name()","milestone::active()","project::active()","authority#add_access()","applicationcontroller#add_project_abilities()","gitlab::graphcommit#add_refs()","team#add_user_id_to_team()","team#add_user_to_team()","team#add_users_ids_to_team()","team#add_users_to_team()","gitlab::gitoliteconfig#admin_all_repo()","gitlab::gitoliteconfig#admin_all_repo!()","usersprojectobserver#after_commit()","activityobserver#after_create()","issueobserver#after_create()","mergerequestobserver#after_create()","noteobserver#after_create()","projectobserver#after_create()","systemhookobserver#after_create()","userobserver#after_create()","usersprojectobserver#after_create()","keyobserver#after_destroy()","projectobserver#after_destroy()","systemhookobserver#after_destroy()","userobserver#after_destroy()","usersprojectobserver#after_destroy()","activityobserver#after_save()","keyobserver#after_save()","projectobserver#after_save()","applicationcontroller#after_sign_in_path_for()","issueobserver#after_update()","mergerequestobserver#after_update()","systemhook::all_hooks_fire()","authority#allow_read_for?()","ability::allowed()","event#allowed?()","treehelper#allowed_tree_edit?()","applicationhelper#app_theme()","gitlab::gitoliteconfig#apply()","teammemberscontroller#apply_import()","repositoriescontroller#archive()","repository#archive_repo()","extractspath#assign_ref_vars()","systemhook#async_execute()","gitlab::apihelpers#attributes_for_keys()","applicationhelper#authbutton()","gitlab::apihelpers#authenticate!()","admincontroller#authenticate_admin!()","gitlab::apihelpers#authenticated_as_admin!()","event#author()","commit#author_email()","commitdecorator#author_link()","commit#author_name()","gitlab::apihelpers#authorize!()","issuescontroller#authorize_admin_issue!()","mergerequestscontroller#authorize_admin_merge_request!()","milestonescontroller#authorize_admin_milestone!()","snippetscontroller#authorize_admin_snippet!()","applicationcontroller#authorize_code_access!()","issuescontroller#authorize_modify_issue!()","mergerequestscontroller#authorize_modify_merge_request!()","snippetscontroller#authorize_modify_snippet!()","applicationcontroller#authorize_project!()","mergerequestscontroller#automerge()","mergerequest#automerge!()","mergerequestscontroller#automerge_check()","staticmodel::classmethods#base_class()","account#block()","admin::userscontroller#block()","redcarpet::render::gitlabhtml#block_code()","pushevent#branch?()","mergerequestscontroller#branch_from()","pushevent#branch_name()","repository#branch_names()","mergerequestscontroller#branch_to()","repositoriescontroller#branches()","repository#branches()","tabhelper#branches_tab_class()","treedecorator#breadcrumbs()","mergerequest#broken_diffs?()","gitlab::logger::build()","project#build_commit_note()","commitshelper#build_line_anchor()","usersproject::bulk_delete()","usersproject::bulk_import()","issuescontroller#bulk_update()","usersproject::bulk_update()","applicationcontroller#can?()","basecontext#can?()","grack::auth#can?()","gitlab::merge#can_be_merged?()","mergerequest#can_be_merged?()","account#can_create_group?()","account#can_create_project?()","gitlab::fileeditor#can_edit?()","account#cared_merge_requests()","event#changed_issue?()","event#changed_merge_request?()","mergerequest#check_if_can_be_merged()","project#check_limit()","filesizevalidator#check_validity!()","gitlab::satellite#clear()","event#closed?()","mergerequest#closed_event()","protectedbranch#commit()","repository#commit()","note#commit_author()","pushevent#commit_from()","project#commit_line_notes()","project#commit_notes()","pushevent#commit_to()","commit::commits()","mergerequest#commits()","pushevent#commits()","repository#commits()","commit::commits_between()","repository#commits_between()","pushevent#commits_count()","commit::commits_since()","repository#commits_since()","commit::commits_with_refs()","repository#commits_with_refs()","commit#committer_email()","commit#committer_name()","project#common_notes()","commit::compare()","gitlab::gitolite#config()","snippet::content_types()","admin::groupscontroller#create()","admin::hookscontroller#create()","admin::projectscontroller#create()","admin::userscontroller#create()","comparecontroller#create()","deploykeyscontroller#create()","gitlab::satellite#create()","hookscontroller#create()","issuescontroller#create()","keyscontroller#create()","mergerequestscontroller#create()","milestonescontroller#create()","notescontroller#create()","projectscontroller#create()","protectedbranchescontroller#create()","snippetscontroller#create()","teammemberscontroller#create()","wikiscontroller#create()","project::create_by_user()","gitlab::auth#create_from_omniauth()","user::create_from_omniauth()","gitlab::gitolite#create_repository()","note::create_status_change_note()","commit#created_at()","gitlab::theme::css_class_by_id()","applicationhelper#current_action?()","applicationhelper#current_controller?()","grack::auth#current_ref()","gitlab::apihelpers#current_user()","snippet#data()","mergerequestscontroller#define_show_vars()","refscontroller#define_tree_vars()","team#delete_users_ids_from_team()","commitdecorator#description()","profilecontroller#design()","admin::groupscontroller#destroy()","admin::hookscontroller#destroy()","admin::projectscontroller#destroy()","admin::teammemberscontroller#destroy()","admin::userscontroller#destroy()","deploykeyscontroller#destroy()","hookscontroller#destroy()","issuescontroller#destroy()","keyscontroller#destroy()","mergerequestscontroller#destroy()","milestonescontroller#destroy()","notescontroller#destroy()","projectscontroller#destroy()","protectedbranchescontroller#destroy()","snippetscontroller#destroy()","teammemberscontroller#destroy()","wikiscontroller#destroy()","gitlab::gitoliteconfig#destroy_project()","gitlab::gitoliteconfig#destroy_project!()","repository#destroy_repository()","staticmodel#destroyed?()","gitlab::encode#detect_encoding()","event::determine_action()","authority#dev_access_for?()","applicationcontroller#dev_tools()","commit#different_committer?()","mergerequest#diffs()","mergerequestscontroller#diffs()","repository#discover_default_branch()","note#downvote?()","votes#downvotes()","votes#downvotes_in_percent()","commitshelper#each_diff_line()","admin::groupscontroller#edit()","admin::projectscontroller#edit()","admin::teammemberscontroller#edit()","admin::userscontroller#edit()","issuescontroller#edit()","mergerequestscontroller#edit()","milestonescontroller#edit()","projectscontroller#edit()","snippetscontroller#edit()","treecontroller#edit()","wikiscontroller#edit()","applicationhelper#emoji_autocomplete_source()","tree#empty?()","repository#empty_repo?()","gitlab::gitolite#enable_automerge()","gitlab::logger::error()","eventshelper#event_action_name()","eventshelper#event_image()","commitloadcontext#execute()","issuesbulkupdatecontext#execute()","issueslistcontext#execute()","mergerequestsloadcontext#execute()","notes::createcontext#execute()","notes::loadcontext#execute()","searchcontext#execute()","testhookcontext#execute()","webhook#execute()","pushobserver#execute_hooks()","gitlab::satellite#exists?()","snippet#expired?()","milestone#expires_at()","extractspath#extract_ref()","omniauthcallbackscontroller#failure_message()","eventdecorator#feed_summary()","eventdecorator#feed_title()","eventdecorator#feed_url()","gitlab::applogger::file_name()","gitlab::gitlogger::file_name()","projectscontroller#files()","user::filter()","mergerequest::find_all_by_branch()","gitlab::auth#find_for_ldap_auth()","user::find_for_ldap_auth()","gitlab::graphcommit::find_free_space()","commit::find_or_first()","gitlab::auth#find_or_new_for_omniauth()","user::find_or_new_for_omniauth()","key#fingerprintable_key()","account#first_name()","note#for_commit?()","note#for_diff_line?()","gitlab::apihelpers#forbidden!()","gitlab::applogger#format_message()","gitlab::gitlogger#format_message()","commit::fresh_commits()","repository#fresh_commits()","user#generate_password()","gitlab::markdown#gfm()","project#git_error?()","githost#git_host()","applicationcontroller#git_not_found!()","errorscontroller#githost()","user::gitlab_auth()","treehelper#gitlab_markdown?()","projectscontroller#graph()","applicationhelper#gravatar_icon()","groupscontroller#group()","applicationhelper#grouped_options_refs()","projectshelper#grouper_project_members()","authority#guest_access_for?()","repository#has_commits?()","repository#has_post_receive_file?()","repository#heads()","filesizevalidator#help()","applicationhelper#hexdigest()","profilecontroller#history()","wikiscontroller#history()","repository#http_url_to_repo()","mergerequest#human_state()","commitshelper#identification_type()","account#identifier()","commitshelper#image_diff_class()","usersproject::import_team()","admin::dashboardcontroller#index()","admin::groupscontroller#index()","admin::hookscontroller#index()","admin::projectscontroller#index()","admin::userscontroller#index()","comparecontroller#index()","dashboardcontroller#index()","deploykeyscontroller#index()","helpcontroller#index()","hookscontroller#index()","issuescontroller#index()","keyscontroller#index()","labelscontroller#index()","mergerequestscontroller#index()","milestonescontroller#index()","notescontroller#index()","protectedbranchescontroller#index()","snippetscontroller#index()","teammemberscontroller#index()","gitlab::graphcommit::index_commits()","gitlab::logger::info()","tree#invalid?()","account#is_admin?()","issuecommonality#is_assigned?()","issuecommonality#is_being_closed?()","issuecommonality#is_being_reassigned?()","issuecommonality#is_being_reopened?()","tree#is_blob?()","key#is_deploy_key()","event#issue()","issuescontroller#issue()","event#issue?()","issueshelper#issue_css_classes()","notify#issue_status_changed_email()","issueshelper#issue_tags()","dashboardcontroller#issues()","groupscontroller#issues()","issueshelper#issues_filter()","issuescontroller#issues_filtered()","project#issues_labels()","event#joined?()","project#last_activity()","project#last_activity_date()","account#last_activity_project()","applicationhelper#last_commit()","mergerequest#last_commit()","pushevent#last_commit()","repository#last_commit_for()","key#last_deploy?()","pushevent#last_push_to_non_root?()","omniauthcallbackscontroller#ldap()","applicationhelper#ldap_enable?()","event#left?()","snippetshelper#lifetime_select_options()","commitdecorator#link_title()","eventshelper#link_to_author()","noteshelper#link_to_commit_diff_line_note()","gitlabmarkdownhelper#link_to_gfm()","issueshelper#link_to_issue_assignee()","issueshelper#link_to_issue_author()","mergerequestshelper#link_to_merge_request_assignee()","mergerequestshelper#link_to_merge_request_author()","projectshelper#link_to_project()","noteshelper#loading_more_notes?()","noteshelper#loading_new_notes?()","gitlab::auth#log()","gitlab::gitoliteconfig#log()","projectobserver#log_info()","userobserver#log_info()","refscontroller#logs_tree()","mergerequest#mark_as_merged!()","mergerequest#mark_as_unchecked()","mergerequest#mark_as_unmergable()","gitlab::graphcommit::mark_reserved()","gitlabmarkdownhelper#markdown()","treehelper#markup?()","authority#master_access_for?()","pushevent#md_ref?()","event#membership_changed?()","gitlab::merge#merge!()","mergerequest#merge!()","mergerequest#merge_event()","event#merge_request()","mergerequestscontroller#merge_request()","event#merge_request?()","dashboardcontroller#merge_requests()","groupscontroller#merge_requests()","event#merged?()","mergerequest#merged?()","applicationcontroller#method_missing()","gitlab::graphcommit#method_missing()","milestonescontroller#milestone()","snippet#mode()","issuescontroller#module_enabled()","labelscontroller#module_enabled()","mergerequestscontroller#module_enabled()","milestonescontroller#module_enabled()","mergerequest#mr_and_commit_notes()","mergerequestshelper#mr_css_classes()","snippet#name()","tabhelper#nav_link()","admin::groupscontroller#new()","admin::projectscontroller#new()","admin::userscontroller#new()","basecontext::new()","commit::new()","deploykeyscontroller#new()","filesizevalidator::new()","gitlab::fileeditor::new()","gitlab::graphcommit::new()","gitlab::merge::new()","gitlab::satellite::new()","issuescontroller#new()","keyscontroller#new()","mergerequestscontroller#new()","milestonescontroller#new()","projectscontroller#new()","redcarpet::render::gitlabhtml::new()","searchcontext::new()","snippetscontroller#new()","teammemberscontroller#new()","tree::new()","issuecommonality#new?()","pushevent#new_branch?()","event#new_issue?()","notify#new_issue_email()","event#new_merge_request?()","notify#new_merge_request_email()","mergerequestshelper#new_mr_path_from_push_event()","staticmodel#new_record?()","pushevent#new_ref?()","notify#new_user_email()","applicationcontroller#no_cache_headers()","commitdecorator#no_commit_message()","gitlab::apihelpers#not_allowed!()","applicationcontroller#not_found!()","gitlab::apihelpers#not_found!()","notify#note_commit_email()","noteshelper#note_for_main_target?()","notify#note_issue_email()","notify#note_merge_request_email()","notify#note_wall_email()","notify#note_wiki_email()","note#noteable()","notescontroller#notes()","note#notify_only_author?()","noteobserver#notify_team()","profilehelper#oauth_active_class()","pushobserver#observe_push()","mergerequest#open?()","repository#open_branches()","issue::open_for()","wikiscontroller#pages()","gitlab::apihelpers#paginate()","pushevent#parent_commit()","commit#parents_count()","milestone#participants()","profilecontroller#password_update()","gitlab::satellite#path()","repository#path_to_repo()","groupscontroller#people()","milestone#percent_complete()","postreceive::perform()","systemhookworker::perform()","staticmodel#persisted?()","gitlab::graphcommit::place_chain()","treehelper#plain_text_readme?()","pushobserver#post_receive_data()","redcarpet::render::gitlabhtml#postprocess()","commit#prev_commit()","commit#prev_commit_id()","notescontroller#preview()","staticmodel::classmethods#primary_key()","project#private?()","mergerequest#probably_merged?()","gitlab::inlinediff::processing()","applicationcontroller#project()","ability::project_abilities()","notify#project_access_granted_email()","usersproject#project_access_human()","project#project_id()","account#project_ids()","groupscontroller#project_ids()","issueshelper#project_issues_filter_path()","applicationhelper#project_last_activity()","event#project_name()","tabhelper#project_tab_class()","admin::groupscontroller#project_update()","groupscontroller#projects()","key#projects()","account#projects_limit_percent()","account#projects_with_events()","repository#protected_branch?()","project#public?()","event#push?()","pushevent#push_action_name()","pushevent#push_with_commits?()","mergerequestscontroller#raw()","snippetscontroller#raw()","gitlab::logger::read_latest()","treedecorator#readme()","notify#reassigned_issue_email()","notify#reassigned_merge_request_email()","account#recent_push()","refscontroller#ref()","pushevent#ref_name()","repository#ref_names()","pushevent#ref_type()","wiki::regenerate_from()","applicationcontroller#reject_blocked!()","mergerequest#reload_code()","mergerequest#reloaded_commits()","mergerequest#reloaded_diffs()","projectshelper#remove_from_team_message()","gitlab::gitolite#remove_key()","admin::groupscontroller#remove_project()","gitlab::gitolite#remove_repository()","applicationcontroller#render_404()","gitlab::apihelpers#render_api_error!()","treehelper#render_tree()","event#reopened?()","gitlab::inlinediff::replace_markers()","repository#repo()","usersproject#repo_access_human()","repository#repo_exists?()","project#repo_name()","authority#report_access_for?()","authority#repository_masters()","authority#repository_readers()","authority#repository_writers()","applicationhelper#request_protocol()","applicationcontroller#require_non_empty_project()","account#require_ssh_key?()","authority#reset_access()","profilecontroller#reset_private_token()","searchcontext#result()","gitlab::gitoliteconfig#rm_key()","pushevent#rm_ref?()","usersproject#role_access()","repository#root_ref()","repository#root_ref?()","commit#safe_message()","repository#satellite()","project#saved?()","group::search()","groupscontroller#search()","issuecommonality::classmethods#search()","issuescontroller#search()","project::search()","user::search()","applicationhelper#search_autocomplete_source()","noteobserver#send_notify_mails()","issueobserver#send_reassigned_email()","mergerequestobserver#send_reassigned_email()","applicationcontroller#set_current_user_for_observers()","key#set_identifier()","gitlab::gitolite#set_key()","wiki#set_slug()","commit#short_id()","admin::groupscontroller#show()","admin::projectscontroller#show()","admin::resquecontroller#show()","admin::userscontroller#show()","blamecontroller#show()","blobcontroller#show()","commitcontroller#show()","commitscontroller#show()","comparecontroller#show()","deploykeyscontroller#show()","groupscontroller#show()","issuescontroller#show()","keyscontroller#show()","mergerequestscontroller#show()","milestonescontroller#show()","profilecontroller#show()","projectscontroller#show()","repositoriescontroller#show()","searchcontroller#show()","snippetscontroller#show()","teammemberscontroller#show()","treecontroller#show()","wikiscontroller#show()","applicationhelper#show_last_push_widget?()","snippet#size()","snippetscontroller#snippet()","issuescontroller#sort()","repository#ssh_url_to_repo()","attachmentuploader#store_dir()","key#strip_white_space()","refscontroller#switch()","pushevent#tag?()","tagshelper#tag_list()","pushevent#tag_name()","repository#tag_names()","tagshelper#tag_path()","repositoriescontroller#tags()","repository#tags()","gitlab::graphcommit::take_left_leaves()","event#target_title()","team#team_member_by_id()","team#team_member_by_name_or_email()","admin::projectscontroller#team_update()","admin::userscontroller#team_update()","noteobserver#team_without_note_author()","admin::hookscontroller#test()","hookscontroller#test()","commitdecorator#title()","gitlab::graphcommit::to_graph()","gitlab::graphcommit#to_graph_hash()","group#to_param()","project#to_param()","staticmodel#to_param()","wiki#to_param()","mergerequest#to_raw()","issuecommonality#today?()","profilecontroller#token()","repository#tree()","treehelper#tree_hex_class()","treehelper#tree_icon()","treehelper#tree_join()","pushobserver#trigger_post_receive()","issueshelper#unassigned_filter()","gitlab::apihelpers#unauthorized!()","admin::userscontroller#unblock()","mergerequest#unchecked?()","key#unique_key()","mergerequest#unmerged_commits()","mergerequest#unmerged_diffs()","treedecorator#up_dir?()","treedecorator#up_dir_path()","admin::groupscontroller#update()","admin::projectscontroller#update()","admin::teammemberscontroller#update()","admin::userscontroller#update()","gitlab::fileeditor#update()","issuescontroller#update()","mergerequestscontroller#update()","milestonescontroller#update()","profilecontroller#update()","projectscontroller#update()","snippetscontroller#update()","teammemberscontroller#update()","treecontroller#update()","pushobserver#update_merge_requests()","gitlab::gitoliteconfig#update_project()","gitlab::gitoliteconfig#update_project!()","gitlab::gitoliteconfig#update_project_config()","gitlab::gitoliteconfig#update_projects()","gitlab::gitolite#update_repository()","protectedbranch#update_repository()","repository#update_repository()","usersproject#update_repository()","team#update_users_ids_to_role()","note#upvote?()","votes#upvotes()","votes#upvotes_in_percent()","gitlab::gitolite#url_to_repo()","repository#url_to_repo()","usersproject::user_bulk_import()","gitlab::apihelpers#user_project()","group#users()","gitlab::encode#utf8()","grack::auth#valid?()","mergerequest#valid_diffs?()","pushevent#valid_push?()","repository#valid_repo?()","mergerequest#validate_branches()","filesizevalidator#validate_each()","grack::auth#validate_get_request()","grack::auth#validate_post_request()","mergerequestscontroller#validates_merge_request()","votes#votes_count()","projectscontroller#wall()","applicationhelper#web_app_url()","project#web_url()","project#wiki_notes()","user::without_projects()","usersproject::without_repository_callback()","gitlab::gitoliteconfig#write_key()",""],"info":[["Ability","","Ability.html","",""],["Account","","Account.html","",""],["ActivityObserver","","ActivityObserver.html","",""],["Admin","","Admin.html","",""],["Admin::DashboardController","","Admin/DashboardController.html","",""],["Admin::GroupsController","","Admin/GroupsController.html","",""],["Admin::HooksController","","Admin/HooksController.html","",""],["Admin::LogsController","","Admin/LogsController.html","",""],["Admin::ProjectsController","","Admin/ProjectsController.html","",""],["Admin::ResqueController","","Admin/ResqueController.html","",""],["Admin::TeamMembersController","","Admin/TeamMembersController.html","",""],["Admin::UsersController","","Admin/UsersController.html","",""],["AdminController","","AdminController.html","","<p>Provides a base class for Admin controllers to subclass\n<p>Automatically sets the layout and ensures an administrator …\n"],["ApplicationController","","ApplicationController.html","",""],["ApplicationDecorator","","ApplicationDecorator.html","",""],["ApplicationHelper","","ApplicationHelper.html","",""],["AttachmentUploader","","AttachmentUploader.html","",""],["Authority","","Authority.html","",""],["BaseContext","","BaseContext.html","",""],["BlameController","","BlameController.html","","<p>Controller for viewing a file’s blame\n"],["BlobController","","BlobController.html","","<p>Controller for viewing a file’s blame\n"],["Commit","","Commit.html","",""],["CommitController","","CommitController.html","","<p>Controller for a specific Commit\n<p>Not to be confused with CommitsController, plural.\n"],["CommitDecorator","","CommitDecorator.html","",""],["CommitLoadContext","","CommitLoadContext.html","",""],["CommitsController","","CommitsController.html","",""],["CommitsHelper","","CommitsHelper.html","",""],["CompareController","","CompareController.html","",""],["DashboardController","","DashboardController.html","",""],["DeployKeysController","","DeployKeysController.html","",""],["ErrorsController","","ErrorsController.html","",""],["Event","","Event.html","",""],["EventDecorator","","EventDecorator.html","",""],["EventsHelper","","EventsHelper.html","",""],["ExtractsPath","","ExtractsPath.html","","<p>Module providing methods for dealing with separating a tree-ish string and\na file path string when combined …\n"],["ExtractsPath::InvalidPathError","","ExtractsPath/InvalidPathError.html","","<p>Raised when given an invalid file path\n"],["FileSizeValidator","","FileSizeValidator.html","",""],["FileSizeValidator::Helper","","FileSizeValidator/Helper.html","",""],["GitHost","","GitHost.html","",""],["Gitlab","","Gitlab.html","",""],["Gitlab::API","","Gitlab/API.html","",""],["Gitlab::APIHelpers","","Gitlab/APIHelpers.html","",""],["Gitlab::AppLogger","","Gitlab/AppLogger.html","",""],["Gitlab::Auth","","Gitlab/Auth.html","",""],["Gitlab::Encode","","Gitlab/Encode.html","",""],["Gitlab::Entities","","Gitlab/Entities.html","",""],["Gitlab::Entities::Hook","","Gitlab/Entities/Hook.html","",""],["Gitlab::Entities::Issue","","Gitlab/Entities/Issue.html","",""],["Gitlab::Entities::Milestone","","Gitlab/Entities/Milestone.html","",""],["Gitlab::Entities::Project","","Gitlab/Entities/Project.html","",""],["Gitlab::Entities::ProjectMember","","Gitlab/Entities/ProjectMember.html","",""],["Gitlab::Entities::ProjectSnippet","","Gitlab/Entities/ProjectSnippet.html","",""],["Gitlab::Entities::RepoCommit","","Gitlab/Entities/RepoCommit.html","",""],["Gitlab::Entities::RepoObject","","Gitlab/Entities/RepoObject.html","",""],["Gitlab::Entities::SSHKey","","Gitlab/Entities/SSHKey.html","",""],["Gitlab::Entities::User","","Gitlab/Entities/User.html","",""],["Gitlab::Entities::UserBasic","","Gitlab/Entities/UserBasic.html","",""],["Gitlab::Entities::UserLogin","","Gitlab/Entities/UserLogin.html","",""],["Gitlab::FileEditor","","Gitlab/FileEditor.html","","<p>GitLab file editor\n<p>It gives you ability to make changes to files &amp; commit this changes\nfrom GitLab …\n"],["Gitlab::GitLogger","","Gitlab/GitLogger.html","",""],["Gitlab::Gitolite","","Gitlab/Gitolite.html","",""],["Gitlab::Gitolite::AccessDenied","","Gitlab/Gitolite/AccessDenied.html","",""],["Gitlab::GitoliteConfig","","Gitlab/GitoliteConfig.html","",""],["Gitlab::GitoliteConfig::PullError","","Gitlab/GitoliteConfig/PullError.html","",""],["Gitlab::GitoliteConfig::PushError","","Gitlab/GitoliteConfig/PushError.html","",""],["Gitlab::GraphCommit","","Gitlab/GraphCommit.html","",""],["Gitlab::InlineDiff","","Gitlab/InlineDiff.html","",""],["Gitlab::Issues","","Gitlab/Issues.html","","<p>Issues API\n"],["Gitlab::Logger","","Gitlab/Logger.html","",""],["Gitlab::Markdown","","Gitlab/Markdown.html","","<p>Custom parser for GitLab-flavored Markdown\n<p>It replaces references in the text with links to the appropriate …\n"],["Gitlab::Merge","","Gitlab/Merge.html","",""],["Gitlab::Milestones","","Gitlab/Milestones.html","","<p>Milestones API\n"],["Gitlab::Projects","","Gitlab/Projects.html","","<p>Projects API\n"],["Gitlab::Satellite","","Gitlab/Satellite.html","",""],["Gitlab::Session","","Gitlab/Session.html","","<p>Users API\n"],["Gitlab::Theme","","Gitlab/Theme.html","",""],["Gitlab::Users","","Gitlab/Users.html","","<p>Users API\n"],["GitlabMarkdownHelper","","GitlabMarkdownHelper.html","",""],["Grack","","Grack.html","",""],["Grack::Auth","","Grack/Auth.html","",""],["Group","","Group.html","",""],["GroupsController","","GroupsController.html","",""],["HelpController","","HelpController.html","",""],["HooksController","","HooksController.html","",""],["Issue","","Issue.html","",""],["IssueCommonality","","IssueCommonality.html","","<p>Contains common functionality shared between Issues and MergeRequests\n"],["IssueCommonality::ClassMethods","","IssueCommonality/ClassMethods.html","",""],["IssueObserver","","IssueObserver.html","",""],["IssuesBulkUpdateContext","","IssuesBulkUpdateContext.html","",""],["IssuesController","","IssuesController.html","",""],["IssuesHelper","","IssuesHelper.html","",""],["IssuesListContext","","IssuesListContext.html","",""],["Key","","Key.html","",""],["KeyObserver","","KeyObserver.html","",""],["KeysController","","KeysController.html","",""],["LabelsController","","LabelsController.html","",""],["MergeRequest","","MergeRequest.html","",""],["MergeRequestObserver","","MergeRequestObserver.html","",""],["MergeRequestsController","","MergeRequestsController.html","",""],["MergeRequestsHelper","","MergeRequestsHelper.html","",""],["MergeRequestsLoadContext","","MergeRequestsLoadContext.html","",""],["Milestone","","Milestone.html","",""],["MilestonesController","","MilestonesController.html","",""],["Note","","Note.html","",""],["NoteObserver","","NoteObserver.html","",""],["Notes","","Notes.html","",""],["Notes::CreateContext","","Notes/CreateContext.html","",""],["Notes::LoadContext","","Notes/LoadContext.html","",""],["NotesController","","NotesController.html","",""],["NotesHelper","","NotesHelper.html","",""],["Notify","","Notify.html","",""],["OmniauthCallbacksController","","OmniauthCallbacksController.html","",""],["PostReceive","","PostReceive.html","",""],["ProfileController","","ProfileController.html","",""],["ProfileHelper","","ProfileHelper.html","",""],["Project","","Project.html","",""],["ProjectHook","","ProjectHook.html","",""],["ProjectObserver","","ProjectObserver.html","",""],["ProjectResourceController","","ProjectResourceController.html","",""],["ProjectsController","","ProjectsController.html","",""],["ProjectsHelper","","ProjectsHelper.html","",""],["ProtectedBranch","","ProtectedBranch.html","",""],["ProtectedBranchesController","","ProtectedBranchesController.html","",""],["PushEvent","","PushEvent.html","",""],["PushObserver","","PushObserver.html","","<p>Includes methods for handling Git Push events\n<p>Triggered by PostReceive job\n"],["Redcarpet","","Redcarpet.html","",""],["Redcarpet::Render","","Redcarpet/Render.html","",""],["Redcarpet::Render::GitlabHTML","","Redcarpet/Render/GitlabHTML.html","",""],["RefsController","","RefsController.html","",""],["RepositoriesController","","RepositoriesController.html","",""],["Repository","","Repository.html","",""],["SearchContext","","SearchContext.html","",""],["SearchController","","SearchController.html","",""],["Snippet","","Snippet.html","",""],["SnippetsController","","SnippetsController.html","",""],["SnippetsHelper","","SnippetsHelper.html","",""],["StaticModel","","StaticModel.html","","<p>Provides an ActiveRecord-like interface to a model whose data is not\npersisted to a database.\n"],["StaticModel::ClassMethods","","StaticModel/ClassMethods.html","",""],["SystemHook","","SystemHook.html","",""],["SystemHookObserver","","SystemHookObserver.html","",""],["SystemHookWorker","","SystemHookWorker.html","",""],["TabHelper","","TabHelper.html","",""],["TagsHelper","","TagsHelper.html","",""],["Team","","Team.html","",""],["TeamMembersController","","TeamMembersController.html","",""],["TestHookContext","","TestHookContext.html","",""],["Tree","","Tree.html","",""],["TreeController","","TreeController.html","","<p>Controller for viewing a repository’s file structure\n"],["TreeDecorator","","TreeDecorator.html","",""],["TreeHelper","","TreeHelper.html","",""],["User","","User.html","",""],["UserObserver","","UserObserver.html","",""],["UsersProject","","UsersProject.html","",""],["UsersProjectObserver","","UsersProjectObserver.html","",""],["Votes","","Votes.html","",""],["WebHook","","WebHook.html","",""],["Wiki","","Wiki.html","",""],["WikisController","","WikisController.html","",""],["==","StaticModel","StaticModel.html#method-i-3D-3D","(other)",""],["[]","StaticModel","StaticModel.html#method-i-5B-5D","(key)","<p>Used by AR for fetching attributes\n<p>Pass it along if we respond to it.\n"],["_indexes_of_changed_lines","Gitlab::InlineDiff","Gitlab/InlineDiff.html#method-c-_indexes_of_changed_lines","(diff_arr)",""],["abilities","ApplicationController","ApplicationController.html#method-i-abilities","()",""],["abilities","BaseContext","BaseContext.html#method-i-abilities","()",""],["abilities","Grack::Auth","Grack/Auth.html#method-i-abilities","()",""],["access_denied!","ApplicationController","ApplicationController.html#method-i-access_denied-21","()",""],["access_options","Project","Project.html#method-c-access_options","()",""],["access_roles","UsersProject","UsersProject.html#method-c-access_roles","()",""],["action_name","Event","Event.html#method-i-action_name","()",""],["active","Milestone","Milestone.html#method-c-active","()",""],["active","Project","Project.html#method-c-active","()",""],["add_access","Authority","Authority.html#method-i-add_access","(user, *access)","<p>Compatible with all access rights Should be rewrited for new access rights\n"],["add_project_abilities","ApplicationController","ApplicationController.html#method-i-add_project_abilities","()",""],["add_refs","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-i-add_refs","(ref_cache, repo)",""],["add_user_id_to_team","Team","Team.html#method-i-add_user_id_to_team","(user_id, access_role)","<p>Add user to project with passed access role by user id\n"],["add_user_to_team","Team","Team.html#method-i-add_user_to_team","(user, access_role)","<p>Add user to project with passed access role\n"],["add_users_ids_to_team","Team","Team.html#method-i-add_users_ids_to_team","(users_ids, access_role)","<p>Add multiple users to project with same access role by user ids\n"],["add_users_to_team","Team","Team.html#method-i-add_users_to_team","(users, access_role)","<p>Add multiple users to project with same access role\n"],["admin_all_repo","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-admin_all_repo","()","<p>Enable access to all repos for gitolite admin. We use it for accept merge\nrequest feature\n"],["admin_all_repo!","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-admin_all_repo-21","()",""],["after_commit","UsersProjectObserver","UsersProjectObserver.html#method-i-after_commit","(users_project)",""],["after_create","ActivityObserver","ActivityObserver.html#method-i-after_create","(record)",""],["after_create","IssueObserver","IssueObserver.html#method-i-after_create","(issue)",""],["after_create","MergeRequestObserver","MergeRequestObserver.html#method-i-after_create","(merge_request)",""],["after_create","NoteObserver","NoteObserver.html#method-i-after_create","(note)",""],["after_create","ProjectObserver","ProjectObserver.html#method-i-after_create","(project)",""],["after_create","SystemHookObserver","SystemHookObserver.html#method-i-after_create","(model)",""],["after_create","UserObserver","UserObserver.html#method-i-after_create","(user)",""],["after_create","UsersProjectObserver","UsersProjectObserver.html#method-i-after_create","(users_project)",""],["after_destroy","KeyObserver","KeyObserver.html#method-i-after_destroy","(key)",""],["after_destroy","ProjectObserver","ProjectObserver.html#method-i-after_destroy","(project)",""],["after_destroy","SystemHookObserver","SystemHookObserver.html#method-i-after_destroy","(model)",""],["after_destroy","UserObserver","UserObserver.html#method-i-after_destroy","(user)",""],["after_destroy","UsersProjectObserver","UsersProjectObserver.html#method-i-after_destroy","(users_project)",""],["after_save","ActivityObserver","ActivityObserver.html#method-i-after_save","(record)",""],["after_save","KeyObserver","KeyObserver.html#method-i-after_save","(key)",""],["after_save","ProjectObserver","ProjectObserver.html#method-i-after_save","(project)",""],["after_sign_in_path_for","ApplicationController","ApplicationController.html#method-i-after_sign_in_path_for","(resource)",""],["after_update","IssueObserver","IssueObserver.html#method-i-after_update","(issue)",""],["after_update","MergeRequestObserver","MergeRequestObserver.html#method-i-after_update","(merge_request)",""],["all_hooks_fire","SystemHook","SystemHook.html#method-c-all_hooks_fire","(data)",""],["allow_read_for?","Authority","Authority.html#method-i-allow_read_for-3F","(user)",""],["allowed","Ability","Ability.html#method-c-allowed","(object, subject)",""],["allowed?","Event","Event.html#method-i-allowed-3F","()","<p>Next events currently enabled for system\n\n<pre>- push\n- new issue\n- merge request</pre>\n"],["allowed_tree_edit?","TreeHelper","TreeHelper.html#method-i-allowed_tree_edit-3F","()",""],["app_theme","ApplicationHelper","ApplicationHelper.html#method-i-app_theme","()",""],["apply","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-apply","()",""],["apply_import","TeamMembersController","TeamMembersController.html#method-i-apply_import","()",""],["archive","RepositoriesController","RepositoriesController.html#method-i-archive","()",""],["archive_repo","Repository","Repository.html#method-i-archive_repo","(ref)","<p>Archive Project to .tar.gz\n<p>Already packed repo archives stored at\napp_root/tmp/repositories/project_name/project_name-commit-id.tag.gz …\n"],["assign_ref_vars","ExtractsPath","ExtractsPath.html#method-i-assign_ref_vars","()","<p>Assigns common instance variables for views working with Git tree-ish\nobjects\n<p>Assignments are:\n<p>@id     …\n"],["async_execute","SystemHook","SystemHook.html#method-i-async_execute","(data)",""],["attributes_for_keys","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-attributes_for_keys","(keys)",""],["authbutton","ApplicationHelper","ApplicationHelper.html#method-i-authbutton","(provider, size = 64)",""],["authenticate!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-authenticate-21","()",""],["authenticate_admin!","AdminController","AdminController.html#method-i-authenticate_admin-21","()",""],["authenticated_as_admin!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-authenticated_as_admin-21","()",""],["author","Event","Event.html#method-i-author","()",""],["author_email","Commit","Commit.html#method-i-author_email","()",""],["author_link","CommitDecorator","CommitDecorator.html#method-i-author_link","(options)","<p>Returns a link to the commit author. If the author has a matching user and\nis a member of the current …\n"],["author_name","Commit","Commit.html#method-i-author_name","()",""],["authorize!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-authorize-21","(action, subject)",""],["authorize_admin_issue!","IssuesController","IssuesController.html#method-i-authorize_admin_issue-21","()",""],["authorize_admin_merge_request!","MergeRequestsController","MergeRequestsController.html#method-i-authorize_admin_merge_request-21","()",""],["authorize_admin_milestone!","MilestonesController","MilestonesController.html#method-i-authorize_admin_milestone-21","()",""],["authorize_admin_snippet!","SnippetsController","SnippetsController.html#method-i-authorize_admin_snippet-21","()",""],["authorize_code_access!","ApplicationController","ApplicationController.html#method-i-authorize_code_access-21","()",""],["authorize_modify_issue!","IssuesController","IssuesController.html#method-i-authorize_modify_issue-21","()",""],["authorize_modify_merge_request!","MergeRequestsController","MergeRequestsController.html#method-i-authorize_modify_merge_request-21","()",""],["authorize_modify_snippet!","SnippetsController","SnippetsController.html#method-i-authorize_modify_snippet-21","()",""],["authorize_project!","ApplicationController","ApplicationController.html#method-i-authorize_project-21","(action)",""],["automerge","MergeRequestsController","MergeRequestsController.html#method-i-automerge","()",""],["automerge!","MergeRequest","MergeRequest.html#method-i-automerge-21","(current_user)",""],["automerge_check","MergeRequestsController","MergeRequestsController.html#method-i-automerge_check","()",""],["base_class","StaticModel::ClassMethods","StaticModel/ClassMethods.html#method-i-base_class","()","<p>Used by ActiveRecord’s polymorphic association to set object_type\n"],["block","Account","Account.html#method-i-block","()","<p>Remove user from all projects and set blocked attribute to true\n"],["block","Admin::UsersController","Admin/UsersController.html#method-i-block","()",""],["block_code","Redcarpet::Render::GitlabHTML","Redcarpet/Render/GitlabHTML.html#method-i-block_code","(code, language)",""],["branch?","PushEvent","PushEvent.html#method-i-branch-3F","()",""],["branch_from","MergeRequestsController","MergeRequestsController.html#method-i-branch_from","()",""],["branch_name","PushEvent","PushEvent.html#method-i-branch_name","()",""],["branch_names","Repository","Repository.html#method-i-branch_names","()","<p>Returns an Array of branch names\n"],["branch_to","MergeRequestsController","MergeRequestsController.html#method-i-branch_to","()",""],["branches","RepositoriesController","RepositoriesController.html#method-i-branches","()",""],["branches","Repository","Repository.html#method-i-branches","()","<p>Returns an Array of Branches\n"],["branches_tab_class","TabHelper","TabHelper.html#method-i-branches_tab_class","()",""],["breadcrumbs","TreeDecorator","TreeDecorator.html#method-i-breadcrumbs","(max_links = 2)",""],["broken_diffs?","MergeRequest","MergeRequest.html#method-i-broken_diffs-3F","()",""],["build","Gitlab::Logger","Gitlab/Logger.html#method-c-build","()",""],["build_commit_note","Project","Project.html#method-i-build_commit_note","(commit)",""],["build_line_anchor","CommitsHelper","CommitsHelper.html#method-i-build_line_anchor","(index, line_new, line_old)",""],["bulk_delete","UsersProject","UsersProject.html#method-c-bulk_delete","(project, user_ids)",""],["bulk_import","UsersProject","UsersProject.html#method-c-bulk_import","(project, user_ids, project_access)",""],["bulk_update","IssuesController","IssuesController.html#method-i-bulk_update","()",""],["bulk_update","UsersProject","UsersProject.html#method-c-bulk_update","(project, user_ids, project_access)",""],["can?","ApplicationController","ApplicationController.html#method-i-can-3F","(object, action, subject)",""],["can?","BaseContext","BaseContext.html#method-i-can-3F","(object, action, subject)",""],["can?","Grack::Auth","Grack/Auth.html#method-i-can-3F","(object, action, subject)",""],["can_be_merged?","Gitlab::Merge","Gitlab/Merge.html#method-i-can_be_merged-3F","()",""],["can_be_merged?","MergeRequest","MergeRequest.html#method-i-can_be_merged-3F","()",""],["can_create_group?","Account","Account.html#method-i-can_create_group-3F","()",""],["can_create_project?","Account","Account.html#method-i-can_create_project-3F","()",""],["can_edit?","Gitlab::FileEditor","Gitlab/FileEditor.html#method-i-can_edit-3F","(path, last_commit)",""],["cared_merge_requests","Account","Account.html#method-i-cared_merge_requests","()",""],["changed_issue?","Event","Event.html#method-i-changed_issue-3F","()",""],["changed_merge_request?","Event","Event.html#method-i-changed_merge_request-3F","()",""],["check_if_can_be_merged","MergeRequest","MergeRequest.html#method-i-check_if_can_be_merged","()",""],["check_limit","Project","Project.html#method-i-check_limit","()",""],["check_validity!","FileSizeValidator","FileSizeValidator.html#method-i-check_validity-21","()",""],["clear","Gitlab::Satellite","Gitlab/Satellite.html#method-i-clear","()","<p>will be deleted all branches except PARKING_BRANCH\n"],["closed?","Event","Event.html#method-i-closed-3F","()",""],["closed_event","MergeRequest","MergeRequest.html#method-i-closed_event","()",""],["commit","ProtectedBranch","ProtectedBranch.html#method-i-commit","()",""],["commit","Repository","Repository.html#method-i-commit","(commit_id = nil)",""],["commit_author","Note","Note.html#method-i-commit_author","()",""],["commit_from","PushEvent","PushEvent.html#method-i-commit_from","()",""],["commit_line_notes","Project","Project.html#method-i-commit_line_notes","(commit)",""],["commit_notes","Project","Project.html#method-i-commit_notes","(commit)",""],["commit_to","PushEvent","PushEvent.html#method-i-commit_to","()",""],["commits","Commit","Commit.html#method-c-commits","(repo, ref, path = nil, limit = nil, offset = nil)",""],["commits","MergeRequest","MergeRequest.html#method-i-commits","()",""],["commits","PushEvent","PushEvent.html#method-i-commits","()","<p>Max 20 commits from push DESC\n"],["commits","Repository","Repository.html#method-i-commits","(ref, path = nil, limit = nil, offset = nil)",""],["commits_between","Commit","Commit.html#method-c-commits_between","(repo, from, to)",""],["commits_between","Repository","Repository.html#method-i-commits_between","(from, to)",""],["commits_count","PushEvent","PushEvent.html#method-i-commits_count","()",""],["commits_since","Commit","Commit.html#method-c-commits_since","(repo, date)",""],["commits_since","Repository","Repository.html#method-i-commits_since","(date)",""],["commits_with_refs","Commit","Commit.html#method-c-commits_with_refs","(repo, n = 20)",""],["commits_with_refs","Repository","Repository.html#method-i-commits_with_refs","(n = 20)",""],["committer_email","Commit","Commit.html#method-i-committer_email","()",""],["committer_name","Commit","Commit.html#method-i-committer_name","()",""],["common_notes","Project","Project.html#method-i-common_notes","()",""],["compare","Commit","Commit.html#method-c-compare","(project, from, to)",""],["config","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-config","()",""],["content_types","Snippet","Snippet.html#method-c-content_types","()",""],["create","Admin::GroupsController","Admin/GroupsController.html#method-i-create","()",""],["create","Admin::HooksController","Admin/HooksController.html#method-i-create","()",""],["create","Admin::ProjectsController","Admin/ProjectsController.html#method-i-create","()",""],["create","Admin::UsersController","Admin/UsersController.html#method-i-create","()",""],["create","CompareController","CompareController.html#method-i-create","()",""],["create","DeployKeysController","DeployKeysController.html#method-i-create","()",""],["create","Gitlab::Satellite","Gitlab/Satellite.html#method-i-create","()",""],["create","HooksController","HooksController.html#method-i-create","()",""],["create","IssuesController","IssuesController.html#method-i-create","()",""],["create","KeysController","KeysController.html#method-i-create","()",""],["create","MergeRequestsController","MergeRequestsController.html#method-i-create","()",""],["create","MilestonesController","MilestonesController.html#method-i-create","()",""],["create","NotesController","NotesController.html#method-i-create","()",""],["create","ProjectsController","ProjectsController.html#method-i-create","()",""],["create","ProtectedBranchesController","ProtectedBranchesController.html#method-i-create","()",""],["create","SnippetsController","SnippetsController.html#method-i-create","()",""],["create","TeamMembersController","TeamMembersController.html#method-i-create","()",""],["create","WikisController","WikisController.html#method-i-create","()",""],["create_by_user","Project","Project.html#method-c-create_by_user","(params, user)",""],["create_from_omniauth","Gitlab::Auth","Gitlab/Auth.html#method-i-create_from_omniauth","(auth, ldap = false)",""],["create_from_omniauth","User","User.html#method-c-create_from_omniauth","(auth, ldap = false)",""],["create_repository","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-create_repository","(project)",""],["create_status_change_note","Note","Note.html#method-c-create_status_change_note","(noteable, author, status)",""],["created_at","Commit","Commit.html#method-i-created_at","()",""],["css_class_by_id","Gitlab::Theme","Gitlab/Theme.html#method-c-css_class_by_id","(id)",""],["current_action?","ApplicationHelper","ApplicationHelper.html#method-i-current_action-3F","(*args)","<p>Check if a partcular action is the current one\n<p>args - One or more action names to check\n<p>Examples\n"],["current_controller?","ApplicationHelper","ApplicationHelper.html#method-i-current_controller-3F","(*args)","<p>Check if a particular controller is the current one\n<p>args - One or more controller names to check\n<p>Examples …\n"],["current_ref","Grack::Auth","Grack/Auth.html#method-i-current_ref","()",""],["current_user","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-current_user","()",""],["data","Snippet","Snippet.html#method-i-data","()",""],["define_show_vars","MergeRequestsController","MergeRequestsController.html#method-i-define_show_vars","()",""],["define_tree_vars","RefsController","RefsController.html#method-i-define_tree_vars","()",""],["delete_users_ids_from_team","Team","Team.html#method-i-delete_users_ids_from_team","(users_ids)","<p>Delete multiple users from project by user ids\n"],["description","CommitDecorator","CommitDecorator.html#method-i-description","()","<p>Returns the commits description\n<p>cut off, ellipses (`&amp;hellp;`) are prepended to the commit message. …\n"],["design","ProfileController","ProfileController.html#method-i-design","()",""],["destroy","Admin::GroupsController","Admin/GroupsController.html#method-i-destroy","()",""],["destroy","Admin::HooksController","Admin/HooksController.html#method-i-destroy","()",""],["destroy","Admin::ProjectsController","Admin/ProjectsController.html#method-i-destroy","()",""],["destroy","Admin::TeamMembersController","Admin/TeamMembersController.html#method-i-destroy","()",""],["destroy","Admin::UsersController","Admin/UsersController.html#method-i-destroy","()",""],["destroy","DeployKeysController","DeployKeysController.html#method-i-destroy","()",""],["destroy","HooksController","HooksController.html#method-i-destroy","()",""],["destroy","IssuesController","IssuesController.html#method-i-destroy","()",""],["destroy","KeysController","KeysController.html#method-i-destroy","()",""],["destroy","MergeRequestsController","MergeRequestsController.html#method-i-destroy","()",""],["destroy","MilestonesController","MilestonesController.html#method-i-destroy","()",""],["destroy","NotesController","NotesController.html#method-i-destroy","()",""],["destroy","ProjectsController","ProjectsController.html#method-i-destroy","()",""],["destroy","ProtectedBranchesController","ProtectedBranchesController.html#method-i-destroy","()",""],["destroy","SnippetsController","SnippetsController.html#method-i-destroy","()",""],["destroy","TeamMembersController","TeamMembersController.html#method-i-destroy","()",""],["destroy","WikisController","WikisController.html#method-i-destroy","()",""],["destroy_project","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-destroy_project","(project)",""],["destroy_project!","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-destroy_project-21","(project)",""],["destroy_repository","Repository","Repository.html#method-i-destroy_repository","()",""],["destroyed?","StaticModel","StaticModel.html#method-i-destroyed-3F","()",""],["detect_encoding","Gitlab::Encode","Gitlab/Encode.html#method-i-detect_encoding","(message)",""],["determine_action","Event","Event.html#method-c-determine_action","(record)",""],["dev_access_for?","Authority","Authority.html#method-i-dev_access_for-3F","(user)",""],["dev_tools","ApplicationController","ApplicationController.html#method-i-dev_tools","()",""],["different_committer?","Commit","Commit.html#method-i-different_committer-3F","()","<p>Was this commit committed by a different person than the original author?\n"],["diffs","MergeRequest","MergeRequest.html#method-i-diffs","()",""],["diffs","MergeRequestsController","MergeRequestsController.html#method-i-diffs","()",""],["discover_default_branch","Repository","Repository.html#method-i-discover_default_branch","()","<p>Discovers the default branch based on the repository’s available branches\n<p>If no branches are present, …\n"],["downvote?","Note","Note.html#method-i-downvote-3F","()","<p>Returns true if this is a downvote note, otherwise false is returned\n"],["downvotes","Votes","Votes.html#method-i-downvotes","()","<p>Return the number of -1 comments (downvotes)\n"],["downvotes_in_percent","Votes","Votes.html#method-i-downvotes_in_percent","()",""],["each_diff_line","CommitsHelper","CommitsHelper.html#method-i-each_diff_line","(diff_arr, index)",""],["edit","Admin::GroupsController","Admin/GroupsController.html#method-i-edit","()",""],["edit","Admin::ProjectsController","Admin/ProjectsController.html#method-i-edit","()",""],["edit","Admin::TeamMembersController","Admin/TeamMembersController.html#method-i-edit","()",""],["edit","Admin::UsersController","Admin/UsersController.html#method-i-edit","()",""],["edit","IssuesController","IssuesController.html#method-i-edit","()",""],["edit","MergeRequestsController","MergeRequestsController.html#method-i-edit","()",""],["edit","MilestonesController","MilestonesController.html#method-i-edit","()",""],["edit","ProjectsController","ProjectsController.html#method-i-edit","()",""],["edit","SnippetsController","SnippetsController.html#method-i-edit","()",""],["edit","TreeController","TreeController.html#method-i-edit","()",""],["edit","WikisController","WikisController.html#method-i-edit","()",""],["emoji_autocomplete_source","ApplicationHelper","ApplicationHelper.html#method-i-emoji_autocomplete_source","()",""],["empty?","Tree","Tree.html#method-i-empty-3F","()",""],["empty_repo?","Repository","Repository.html#method-i-empty_repo-3F","()",""],["enable_automerge","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-enable_automerge","()",""],["error","Gitlab::Logger","Gitlab/Logger.html#method-c-error","(message)",""],["event_action_name","EventsHelper","EventsHelper.html#method-i-event_action_name","(event)",""],["event_image","EventsHelper","EventsHelper.html#method-i-event_image","(event)",""],["execute","CommitLoadContext","CommitLoadContext.html#method-i-execute","()",""],["execute","IssuesBulkUpdateContext","IssuesBulkUpdateContext.html#method-i-execute","()",""],["execute","IssuesListContext","IssuesListContext.html#method-i-execute","()",""],["execute","MergeRequestsLoadContext","MergeRequestsLoadContext.html#method-i-execute","()",""],["execute","Notes::CreateContext","Notes/CreateContext.html#method-i-execute","()",""],["execute","Notes::LoadContext","Notes/LoadContext.html#method-i-execute","()",""],["execute","SearchContext","SearchContext.html#method-i-execute","()",""],["execute","TestHookContext","TestHookContext.html#method-i-execute","()",""],["execute","WebHook","WebHook.html#method-i-execute","(data)",""],["execute_hooks","PushObserver","PushObserver.html#method-i-execute_hooks","(oldrev, newrev, ref, user)",""],["exists?","Gitlab::Satellite","Gitlab/Satellite.html#method-i-exists-3F","()",""],["expired?","Snippet","Snippet.html#method-i-expired-3F","()",""],["expires_at","Milestone","Milestone.html#method-i-expires_at","()",""],["extract_ref","ExtractsPath","ExtractsPath.html#method-i-extract_ref","(input)","<p>Given a string containing both a Git tree-ish, such as a branch or tag, and\na filesystem path joined …\n"],["failure_message","OmniauthCallbacksController","OmniauthCallbacksController.html#method-i-failure_message","()","<p>Extend the standard message generation to accept our custom exception\n"],["feed_summary","EventDecorator","EventDecorator.html#method-i-feed_summary","()",""],["feed_title","EventDecorator","EventDecorator.html#method-i-feed_title","()",""],["feed_url","EventDecorator","EventDecorator.html#method-i-feed_url","()",""],["file_name","Gitlab::AppLogger","Gitlab/AppLogger.html#method-c-file_name","()",""],["file_name","Gitlab::GitLogger","Gitlab/GitLogger.html#method-c-file_name","()",""],["files","ProjectsController","ProjectsController.html#method-i-files","()",""],["filter","User","User.html#method-c-filter","(filter_name)",""],["find_all_by_branch","MergeRequest","MergeRequest.html#method-c-find_all_by_branch","(branch_name)",""],["find_for_ldap_auth","Gitlab::Auth","Gitlab/Auth.html#method-i-find_for_ldap_auth","(auth, signed_in_resource = nil)",""],["find_for_ldap_auth","User","User.html#method-c-find_for_ldap_auth","(auth, signed_in_resource = nil)",""],["find_free_space","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-find_free_space","(time_range)",""],["find_or_first","Commit","Commit.html#method-c-find_or_first","(repo, commit_id = nil, root_ref)",""],["find_or_new_for_omniauth","Gitlab::Auth","Gitlab/Auth.html#method-i-find_or_new_for_omniauth","(auth)",""],["find_or_new_for_omniauth","User","User.html#method-c-find_or_new_for_omniauth","(auth)",""],["fingerprintable_key","Key","Key.html#method-i-fingerprintable_key","()",""],["first_name","Account","Account.html#method-i-first_name","()",""],["for_commit?","Note","Note.html#method-i-for_commit-3F","()",""],["for_diff_line?","Note","Note.html#method-i-for_diff_line-3F","()",""],["forbidden!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-forbidden-21","()","<p>error helpers\n"],["format_message","Gitlab::AppLogger","Gitlab/AppLogger.html#method-i-format_message","(severity, timestamp, progname, msg)",""],["format_message","Gitlab::GitLogger","Gitlab/GitLogger.html#method-i-format_message","(severity, timestamp, progname, msg)",""],["fresh_commits","Commit","Commit.html#method-c-fresh_commits","(repo, n = 10)",""],["fresh_commits","Repository","Repository.html#method-i-fresh_commits","(n = 10)",""],["generate_password","User","User.html#method-i-generate_password","()",""],["gfm","Gitlab::Markdown","Gitlab/Markdown.html#method-i-gfm","(text, html_options = {})","<p>Public: Parse the provided text with GitLab-Flavored Markdown\n<p>text         - the source text html_options …\n"],["git_error?","Project","Project.html#method-i-git_error-3F","()",""],["git_host","GitHost","GitHost.html#method-i-git_host","()",""],["git_not_found!","ApplicationController","ApplicationController.html#method-i-git_not_found-21","()",""],["githost","ErrorsController","ErrorsController.html#method-i-githost","()",""],["gitlab_auth","User","User.html#method-c-gitlab_auth","()",""],["gitlab_markdown?","TreeHelper","TreeHelper.html#method-i-gitlab_markdown-3F","(filename)",""],["graph","ProjectsController","ProjectsController.html#method-i-graph","()",""],["gravatar_icon","ApplicationHelper","ApplicationHelper.html#method-i-gravatar_icon","(user_email = '', size = 40)",""],["group","GroupsController","GroupsController.html#method-i-group","()",""],["grouped_options_refs","ApplicationHelper","ApplicationHelper.html#method-i-grouped_options_refs","(destination = :tree)",""],["grouper_project_members","ProjectsHelper","ProjectsHelper.html#method-i-grouper_project_members","(project)",""],["guest_access_for?","Authority","Authority.html#method-i-guest_access_for-3F","(user)",""],["has_commits?","Repository","Repository.html#method-i-has_commits-3F","()",""],["has_post_receive_file?","Repository","Repository.html#method-i-has_post_receive_file-3F","()",""],["heads","Repository","Repository.html#method-i-heads","()",""],["help","FileSizeValidator","FileSizeValidator.html#method-i-help","()",""],["hexdigest","ApplicationHelper","ApplicationHelper.html#method-i-hexdigest","(string)",""],["history","ProfileController","ProfileController.html#method-i-history","()",""],["history","WikisController","WikisController.html#method-i-history","()",""],["http_url_to_repo","Repository","Repository.html#method-i-http_url_to_repo","()",""],["human_state","MergeRequest","MergeRequest.html#method-i-human_state","()",""],["identification_type","CommitsHelper","CommitsHelper.html#method-i-identification_type","(line)",""],["identifier","Account","Account.html#method-i-identifier","()","<p>Returns a string for use as a Gitolite user identifier\n<p>Note that Gitolite 2.x requires the following pattern …\n"],["image_diff_class","CommitsHelper","CommitsHelper.html#method-i-image_diff_class","(diff)",""],["import_team","UsersProject","UsersProject.html#method-c-import_team","(source_project, target_project)",""],["index","Admin::DashboardController","Admin/DashboardController.html#method-i-index","()",""],["index","Admin::GroupsController","Admin/GroupsController.html#method-i-index","()",""],["index","Admin::HooksController","Admin/HooksController.html#method-i-index","()",""],["index","Admin::ProjectsController","Admin/ProjectsController.html#method-i-index","()",""],["index","Admin::UsersController","Admin/UsersController.html#method-i-index","()",""],["index","CompareController","CompareController.html#method-i-index","()",""],["index","DashboardController","DashboardController.html#method-i-index","()",""],["index","DeployKeysController","DeployKeysController.html#method-i-index","()",""],["index","HelpController","HelpController.html#method-i-index","()",""],["index","HooksController","HooksController.html#method-i-index","()",""],["index","IssuesController","IssuesController.html#method-i-index","()",""],["index","KeysController","KeysController.html#method-i-index","()",""],["index","LabelsController","LabelsController.html#method-i-index","()",""],["index","MergeRequestsController","MergeRequestsController.html#method-i-index","()",""],["index","MilestonesController","MilestonesController.html#method-i-index","()",""],["index","NotesController","NotesController.html#method-i-index","()",""],["index","ProtectedBranchesController","ProtectedBranchesController.html#method-i-index","()",""],["index","SnippetsController","SnippetsController.html#method-i-index","()",""],["index","TeamMembersController","TeamMembersController.html#method-i-index","()",""],["index_commits","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-index_commits","(commits)","<p>Method is adding time and space on the list of commits. As well as returns\ndate list corelated with time …\n"],["info","Gitlab::Logger","Gitlab/Logger.html#method-c-info","(message)",""],["invalid?","Tree","Tree.html#method-i-invalid-3F","()",""],["is_admin?","Account","Account.html#method-i-is_admin-3F","()",""],["is_assigned?","IssueCommonality","IssueCommonality.html#method-i-is_assigned-3F","()",""],["is_being_closed?","IssueCommonality","IssueCommonality.html#method-i-is_being_closed-3F","()",""],["is_being_reassigned?","IssueCommonality","IssueCommonality.html#method-i-is_being_reassigned-3F","()",""],["is_being_reopened?","IssueCommonality","IssueCommonality.html#method-i-is_being_reopened-3F","()",""],["is_blob?","Tree","Tree.html#method-i-is_blob-3F","()",""],["is_deploy_key","Key","Key.html#method-i-is_deploy_key","()",""],["issue","Event","Event.html#method-i-issue","()",""],["issue","IssuesController","IssuesController.html#method-i-issue","()",""],["issue?","Event","Event.html#method-i-issue-3F","()",""],["issue_css_classes","IssuesHelper","IssuesHelper.html#method-i-issue_css_classes","(issue)",""],["issue_status_changed_email","Notify","Notify.html#method-i-issue_status_changed_email","(recipient_id, issue_id, status, updated_by_user_id)",""],["issue_tags","IssuesHelper","IssuesHelper.html#method-i-issue_tags","()",""],["issues","DashboardController","DashboardController.html#method-i-issues","()","<p>Get only assigned issues\n"],["issues","GroupsController","GroupsController.html#method-i-issues","()","<p>Get only assigned issues\n"],["issues_filter","IssuesHelper","IssuesHelper.html#method-i-issues_filter","()",""],["issues_filtered","IssuesController","IssuesController.html#method-i-issues_filtered","()",""],["issues_labels","Project","Project.html#method-i-issues_labels","()",""],["joined?","Event","Event.html#method-i-joined-3F","()",""],["last_activity","Project","Project.html#method-i-last_activity","()",""],["last_activity_date","Project","Project.html#method-i-last_activity_date","()",""],["last_activity_project","Account","Account.html#method-i-last_activity_project","()",""],["last_commit","ApplicationHelper","ApplicationHelper.html#method-i-last_commit","(project)",""],["last_commit","MergeRequest","MergeRequest.html#method-i-last_commit","()",""],["last_commit","PushEvent","PushEvent.html#method-i-last_commit","()",""],["last_commit_for","Repository","Repository.html#method-i-last_commit_for","(ref, path = nil)",""],["last_deploy?","Key","Key.html#method-i-last_deploy-3F","()",""],["last_push_to_non_root?","PushEvent","PushEvent.html#method-i-last_push_to_non_root-3F","()",""],["ldap","OmniauthCallbacksController","OmniauthCallbacksController.html#method-i-ldap","()",""],["ldap_enable?","ApplicationHelper","ApplicationHelper.html#method-i-ldap_enable-3F","()",""],["left?","Event","Event.html#method-i-left-3F","()",""],["lifetime_select_options","SnippetsHelper","SnippetsHelper.html#method-i-lifetime_select_options","()",""],["link_title","CommitDecorator","CommitDecorator.html#method-i-link_title","()","<p>Returns a string describing the commit for use in a link title\n<p>Example\n\n<pre>&quot;Commit: Alex Denisov - Project ...</pre>\n"],["link_to_author","EventsHelper","EventsHelper.html#method-i-link_to_author","(event)",""],["link_to_commit_diff_line_note","NotesHelper","NotesHelper.html#method-i-link_to_commit_diff_line_note","(note)",""],["link_to_gfm","GitlabMarkdownHelper","GitlabMarkdownHelper.html#method-i-link_to_gfm","(body, url, html_options = {})","<p>Use this in places where you would normally use link_to(gfm(…), …).\n<p>It solves a problem occurring …\n"],["link_to_issue_assignee","IssuesHelper","IssuesHelper.html#method-i-link_to_issue_assignee","(issue)",""],["link_to_issue_author","IssuesHelper","IssuesHelper.html#method-i-link_to_issue_author","(issue)",""],["link_to_merge_request_assignee","MergeRequestsHelper","MergeRequestsHelper.html#method-i-link_to_merge_request_assignee","(merge_request)",""],["link_to_merge_request_author","MergeRequestsHelper","MergeRequestsHelper.html#method-i-link_to_merge_request_author","(merge_request)",""],["link_to_project","ProjectsHelper","ProjectsHelper.html#method-i-link_to_project","(project)",""],["loading_more_notes?","NotesHelper","NotesHelper.html#method-i-loading_more_notes-3F","()",""],["loading_new_notes?","NotesHelper","NotesHelper.html#method-i-loading_new_notes-3F","()",""],["log","Gitlab::Auth","Gitlab/Auth.html#method-i-log","()",""],["log","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-log","(message)",""],["log_info","ProjectObserver","ProjectObserver.html#method-i-log_info","(message)",""],["log_info","UserObserver","UserObserver.html#method-i-log_info","(message)",""],["logs_tree","RefsController","RefsController.html#method-i-logs_tree","()",""],["mark_as_merged!","MergeRequest","MergeRequest.html#method-i-mark_as_merged-21","()",""],["mark_as_unchecked","MergeRequest","MergeRequest.html#method-i-mark_as_unchecked","()",""],["mark_as_unmergable","MergeRequest","MergeRequest.html#method-i-mark_as_unmergable","()",""],["mark_reserved","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-mark_reserved","(time_range, space)",""],["markdown","GitlabMarkdownHelper","GitlabMarkdownHelper.html#method-i-markdown","(text)",""],["markup?","TreeHelper","TreeHelper.html#method-i-markup-3F","(filename)","<p>Public: Determines if a given filename is compatible with GitHub::Markup.\n<p>filename - Filename string to …\n"],["master_access_for?","Authority","Authority.html#method-i-master_access_for-3F","(user)",""],["md_ref?","PushEvent","PushEvent.html#method-i-md_ref-3F","()",""],["membership_changed?","Event","Event.html#method-i-membership_changed-3F","()",""],["merge!","Gitlab::Merge","Gitlab/Merge.html#method-i-merge-21","()","<p>Merges the source branch into the target branch in the satellite and pushes\nit back to Gitolite. It also …\n"],["merge!","MergeRequest","MergeRequest.html#method-i-merge-21","(user_id)",""],["merge_event","MergeRequest","MergeRequest.html#method-i-merge_event","()",""],["merge_request","Event","Event.html#method-i-merge_request","()",""],["merge_request","MergeRequestsController","MergeRequestsController.html#method-i-merge_request","()",""],["merge_request?","Event","Event.html#method-i-merge_request-3F","()",""],["merge_requests","DashboardController","DashboardController.html#method-i-merge_requests","()","<p>Get authored or assigned open merge requests\n"],["merge_requests","GroupsController","GroupsController.html#method-i-merge_requests","()","<p>Get authored or assigned open merge requests\n"],["merged?","Event","Event.html#method-i-merged-3F","()",""],["merged?","MergeRequest","MergeRequest.html#method-i-merged-3F","()",""],["method_missing","ApplicationController","ApplicationController.html#method-i-method_missing","(method_sym, *arguments, &block)",""],["method_missing","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-i-method_missing","(m, *args, &block)",""],["milestone","MilestonesController","MilestonesController.html#method-i-milestone","()",""],["mode","Snippet","Snippet.html#method-i-mode","()",""],["module_enabled","IssuesController","IssuesController.html#method-i-module_enabled","()",""],["module_enabled","LabelsController","LabelsController.html#method-i-module_enabled","()",""],["module_enabled","MergeRequestsController","MergeRequestsController.html#method-i-module_enabled","()",""],["module_enabled","MilestonesController","MilestonesController.html#method-i-module_enabled","()",""],["mr_and_commit_notes","MergeRequest","MergeRequest.html#method-i-mr_and_commit_notes","()",""],["mr_css_classes","MergeRequestsHelper","MergeRequestsHelper.html#method-i-mr_css_classes","(mr)",""],["name","Snippet","Snippet.html#method-i-name","()",""],["nav_link","TabHelper","TabHelper.html#method-i-nav_link","(options = {}, &block)","<p>Navigation link helper\n<p>Returns an `li` element with an ‘active’ class if the supplied\ncontroller(s) and/or …\n"],["new","Admin::GroupsController","Admin/GroupsController.html#method-i-new","()",""],["new","Admin::ProjectsController","Admin/ProjectsController.html#method-i-new","()",""],["new","Admin::UsersController","Admin/UsersController.html#method-i-new","()",""],["new","BaseContext","BaseContext.html#method-c-new","(project, user, params)",""],["new","Commit","Commit.html#method-c-new","(raw_commit, head = nil)",""],["new","DeployKeysController","DeployKeysController.html#method-i-new","()",""],["new","FileSizeValidator","FileSizeValidator.html#method-c-new","(options)",""],["new","Gitlab::FileEditor","Gitlab/FileEditor.html#method-c-new","(user, project, ref)",""],["new","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-new","(commit)",""],["new","Gitlab::Merge","Gitlab/Merge.html#method-c-new","(merge_request, user)",""],["new","Gitlab::Satellite","Gitlab/Satellite.html#method-c-new","(project)",""],["new","IssuesController","IssuesController.html#method-i-new","()",""],["new","KeysController","KeysController.html#method-i-new","()",""],["new","MergeRequestsController","MergeRequestsController.html#method-i-new","()",""],["new","MilestonesController","MilestonesController.html#method-i-new","()",""],["new","ProjectsController","ProjectsController.html#method-i-new","()",""],["new","Redcarpet::Render::GitlabHTML","Redcarpet/Render/GitlabHTML.html#method-c-new","(template, options = {})",""],["new","SearchContext","SearchContext.html#method-c-new","(project_ids, params)",""],["new","SnippetsController","SnippetsController.html#method-i-new","()",""],["new","TeamMembersController","TeamMembersController.html#method-i-new","()",""],["new","Tree","Tree.html#method-c-new","(raw_tree, project, ref = nil, path = nil)",""],["new?","IssueCommonality","IssueCommonality.html#method-i-new-3F","()",""],["new_branch?","PushEvent","PushEvent.html#method-i-new_branch-3F","()",""],["new_issue?","Event","Event.html#method-i-new_issue-3F","()",""],["new_issue_email","Notify","Notify.html#method-i-new_issue_email","(issue_id)","<p>Issue\n"],["new_merge_request?","Event","Event.html#method-i-new_merge_request-3F","()",""],["new_merge_request_email","Notify","Notify.html#method-i-new_merge_request_email","(merge_request_id)","<p>Merge Request\n"],["new_mr_path_from_push_event","MergeRequestsHelper","MergeRequestsHelper.html#method-i-new_mr_path_from_push_event","(event)",""],["new_record?","StaticModel","StaticModel.html#method-i-new_record-3F","()",""],["new_ref?","PushEvent","PushEvent.html#method-i-new_ref-3F","()",""],["new_user_email","Notify","Notify.html#method-i-new_user_email","(user_id, password)","<p>User\n"],["no_cache_headers","ApplicationController","ApplicationController.html#method-i-no_cache_headers","()",""],["no_commit_message","CommitDecorator","CommitDecorator.html#method-i-no_commit_message","()",""],["not_allowed!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-not_allowed-21","()",""],["not_found!","ApplicationController","ApplicationController.html#method-i-not_found-21","()",""],["not_found!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-not_found-21","(resource = nil)",""],["note_commit_email","Notify","Notify.html#method-i-note_commit_email","(recipient_id, note_id)","<p>Note\n"],["note_for_main_target?","NotesHelper","NotesHelper.html#method-i-note_for_main_target-3F","(note)","<p>Helps to distinguish e.g. commit notes in mr notes list\n"],["note_issue_email","Notify","Notify.html#method-i-note_issue_email","(recipient_id, note_id)",""],["note_merge_request_email","Notify","Notify.html#method-i-note_merge_request_email","(recipient_id, note_id)",""],["note_wall_email","Notify","Notify.html#method-i-note_wall_email","(recipient_id, note_id)",""],["note_wiki_email","Notify","Notify.html#method-i-note_wiki_email","(recipient_id, note_id)",""],["noteable","Note","Note.html#method-i-noteable","()","<p>override to return commits, which are not active record\n"],["notes","NotesController","NotesController.html#method-i-notes","()",""],["notify_only_author?","Note","Note.html#method-i-notify_only_author-3F","(user)","<p>Check if we can notify commit author with email about our comment\n<p>If commit author email exist in project …\n"],["notify_team","NoteObserver","NoteObserver.html#method-i-notify_team","(note)","<p>Notifies the whole team except the author of note\n"],["oauth_active_class","ProfileHelper","ProfileHelper.html#method-i-oauth_active_class","(provider)",""],["observe_push","PushObserver","PushObserver.html#method-i-observe_push","(oldrev, newrev, ref, user)",""],["open?","MergeRequest","MergeRequest.html#method-i-open-3F","()",""],["open_branches","Repository","Repository.html#method-i-open_branches","()",""],["open_for","Issue","Issue.html#method-c-open_for","(user)",""],["pages","WikisController","WikisController.html#method-i-pages","()",""],["paginate","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-paginate","(object)",""],["parent_commit","PushEvent","PushEvent.html#method-i-parent_commit","()",""],["parents_count","Commit","Commit.html#method-i-parents_count","()",""],["participants","Milestone","Milestone.html#method-i-participants","()",""],["password_update","ProfileController","ProfileController.html#method-i-password_update","()",""],["path","Gitlab::Satellite","Gitlab/Satellite.html#method-i-path","()",""],["path_to_repo","Repository","Repository.html#method-i-path_to_repo","()",""],["people","GroupsController","GroupsController.html#method-i-people","()",""],["percent_complete","Milestone","Milestone.html#method-i-percent_complete","()",""],["perform","PostReceive","PostReceive.html#method-c-perform","(reponame, oldrev, newrev, ref, identifier)",""],["perform","SystemHookWorker","SystemHookWorker.html#method-c-perform","(hook_id, data)",""],["persisted?","StaticModel","StaticModel.html#method-i-persisted-3F","()",""],["place_chain","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-place_chain","(commit, map, parent_time = nil)","<p>Add space mark on commit and its parents\n<p>@param [GraphCommit] the commit object. @param [Hash&lt;String …\n"],["plain_text_readme?","TreeHelper","TreeHelper.html#method-i-plain_text_readme-3F","(filename)",""],["post_receive_data","PushObserver","PushObserver.html#method-i-post_receive_data","(oldrev, newrev, ref, user)",""],["postprocess","Redcarpet::Render::GitlabHTML","Redcarpet/Render/GitlabHTML.html#method-i-postprocess","(full_document)",""],["prev_commit","Commit","Commit.html#method-i-prev_commit","()",""],["prev_commit_id","Commit","Commit.html#method-i-prev_commit_id","()",""],["preview","NotesController","NotesController.html#method-i-preview","()",""],["primary_key","StaticModel::ClassMethods","StaticModel/ClassMethods.html#method-i-primary_key","()","<p>Used by ActiveRecord’s polymorphic association to set object_id\n"],["private?","Project","Project.html#method-i-private-3F","()",""],["probably_merged?","MergeRequest","MergeRequest.html#method-i-probably_merged-3F","()",""],["processing","Gitlab::InlineDiff","Gitlab/InlineDiff.html#method-c-processing","(diff_arr)",""],["project","ApplicationController","ApplicationController.html#method-i-project","()",""],["project_abilities","Ability","Ability.html#method-c-project_abilities","(user, project)",""],["project_access_granted_email","Notify","Notify.html#method-i-project_access_granted_email","(user_project_id)","<p>Project\n"],["project_access_human","UsersProject","UsersProject.html#method-i-project_access_human","()",""],["project_id","Project","Project.html#method-i-project_id","()",""],["project_ids","Account","Account.html#method-i-project_ids","()",""],["project_ids","GroupsController","GroupsController.html#method-i-project_ids","()",""],["project_issues_filter_path","IssuesHelper","IssuesHelper.html#method-i-project_issues_filter_path","(project, params = {})",""],["project_last_activity","ApplicationHelper","ApplicationHelper.html#method-i-project_last_activity","(project)",""],["project_name","Event","Event.html#method-i-project_name","()",""],["project_tab_class","TabHelper","TabHelper.html#method-i-project_tab_class","()",""],["project_update","Admin::GroupsController","Admin/GroupsController.html#method-i-project_update","()",""],["projects","GroupsController","GroupsController.html#method-i-projects","()",""],["projects","Key","Key.html#method-i-projects","()","<p>projects that has this key\n"],["projects_limit_percent","Account","Account.html#method-i-projects_limit_percent","()",""],["projects_with_events","Account","Account.html#method-i-projects_with_events","()",""],["protected_branch?","Repository","Repository.html#method-i-protected_branch-3F","(branch_name)","<p>Check if current branch name is marked as protected in the system\n"],["public?","Project","Project.html#method-i-public-3F","()",""],["push?","Event","Event.html#method-i-push-3F","()",""],["push_action_name","PushEvent","PushEvent.html#method-i-push_action_name","()",""],["push_with_commits?","PushEvent","PushEvent.html#method-i-push_with_commits-3F","()",""],["raw","MergeRequestsController","MergeRequestsController.html#method-i-raw","()",""],["raw","SnippetsController","SnippetsController.html#method-i-raw","()",""],["read_latest","Gitlab::Logger","Gitlab/Logger.html#method-c-read_latest","()",""],["readme","TreeDecorator","TreeDecorator.html#method-i-readme","()",""],["reassigned_issue_email","Notify","Notify.html#method-i-reassigned_issue_email","(recipient_id, issue_id, previous_assignee_id)",""],["reassigned_merge_request_email","Notify","Notify.html#method-i-reassigned_merge_request_email","(recipient_id, merge_request_id, previous_assignee_id)",""],["recent_push","Account","Account.html#method-i-recent_push","(project_id = nil)",""],["ref","RefsController","RefsController.html#method-i-ref","()",""],["ref_name","PushEvent","PushEvent.html#method-i-ref_name","()",""],["ref_names","Repository","Repository.html#method-i-ref_names","()","<p>Returns an Array of branch and tag names\n"],["ref_type","PushEvent","PushEvent.html#method-i-ref_type","()",""],["regenerate_from","Wiki","Wiki.html#method-c-regenerate_from","(wiki)",""],["reject_blocked!","ApplicationController","ApplicationController.html#method-i-reject_blocked-21","()",""],["reload_code","MergeRequest","MergeRequest.html#method-i-reload_code","()",""],["reloaded_commits","MergeRequest","MergeRequest.html#method-i-reloaded_commits","()",""],["reloaded_diffs","MergeRequest","MergeRequest.html#method-i-reloaded_diffs","()",""],["remove_from_team_message","ProjectsHelper","ProjectsHelper.html#method-i-remove_from_team_message","(project, member)",""],["remove_key","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-remove_key","(key_id, projects)",""],["remove_project","Admin::GroupsController","Admin/GroupsController.html#method-i-remove_project","()",""],["remove_repository","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-remove_repository","(project)",""],["render_404","ApplicationController","ApplicationController.html#method-i-render_404","()",""],["render_api_error!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-render_api_error-21","(message, status)",""],["render_tree","TreeHelper","TreeHelper.html#method-i-render_tree","(contents)","<p>Sorts a repository’s tree so that folders are before files and renders\ntheir corresponding partials\n<p>contents …\n"],["reopened?","Event","Event.html#method-i-reopened-3F","()",""],["replace_markers","Gitlab::InlineDiff","Gitlab/InlineDiff.html#method-c-replace_markers","(line)",""],["repo","Repository","Repository.html#method-i-repo","()",""],["repo_access_human","UsersProject","UsersProject.html#method-i-repo_access_human","()",""],["repo_exists?","Repository","Repository.html#method-i-repo_exists-3F","()",""],["repo_name","Project","Project.html#method-i-repo_name","()",""],["report_access_for?","Authority","Authority.html#method-i-report_access_for-3F","(user)",""],["repository_masters","Authority","Authority.html#method-i-repository_masters","()",""],["repository_readers","Authority","Authority.html#method-i-repository_readers","()",""],["repository_writers","Authority","Authority.html#method-i-repository_writers","()",""],["request_protocol","ApplicationHelper","ApplicationHelper.html#method-i-request_protocol","()",""],["require_non_empty_project","ApplicationController","ApplicationController.html#method-i-require_non_empty_project","()",""],["require_ssh_key?","Account","Account.html#method-i-require_ssh_key-3F","()",""],["reset_access","Authority","Authority.html#method-i-reset_access","(user)",""],["reset_private_token","ProfileController","ProfileController.html#method-i-reset_private_token","()",""],["result","SearchContext","SearchContext.html#method-i-result","()",""],["rm_key","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-rm_key","(user)",""],["rm_ref?","PushEvent","PushEvent.html#method-i-rm_ref-3F","()",""],["role_access","UsersProject","UsersProject.html#method-i-role_access","()",""],["root_ref","Repository","Repository.html#method-i-root_ref","()",""],["root_ref?","Repository","Repository.html#method-i-root_ref-3F","(branch)",""],["safe_message","Commit","Commit.html#method-i-safe_message","()",""],["satellite","Repository","Repository.html#method-i-satellite","()",""],["saved?","Project","Project.html#method-i-saved-3F","()",""],["search","Group","Group.html#method-c-search","(query)",""],["search","GroupsController","GroupsController.html#method-i-search","()",""],["search","IssueCommonality::ClassMethods","IssueCommonality/ClassMethods.html#method-i-search","(query)",""],["search","IssuesController","IssuesController.html#method-i-search","()",""],["search","Project","Project.html#method-c-search","(query)",""],["search","User","User.html#method-c-search","(query)",""],["search_autocomplete_source","ApplicationHelper","ApplicationHelper.html#method-i-search_autocomplete_source","()",""],["send_notify_mails","NoteObserver","NoteObserver.html#method-i-send_notify_mails","(note)",""],["send_reassigned_email","IssueObserver","IssueObserver.html#method-i-send_reassigned_email","(issue)",""],["send_reassigned_email","MergeRequestObserver","MergeRequestObserver.html#method-i-send_reassigned_email","(merge_request)",""],["set_current_user_for_observers","ApplicationController","ApplicationController.html#method-i-set_current_user_for_observers","()",""],["set_identifier","Key","Key.html#method-i-set_identifier","()",""],["set_key","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-set_key","(key_id, key_content, projects)",""],["set_slug","Wiki","Wiki.html#method-i-set_slug","()",""],["short_id","Commit","Commit.html#method-i-short_id","(length = 10)",""],["show","Admin::GroupsController","Admin/GroupsController.html#method-i-show","()",""],["show","Admin::ProjectsController","Admin/ProjectsController.html#method-i-show","()",""],["show","Admin::ResqueController","Admin/ResqueController.html#method-i-show","()",""],["show","Admin::UsersController","Admin/UsersController.html#method-i-show","()",""],["show","BlameController","BlameController.html#method-i-show","()",""],["show","BlobController","BlobController.html#method-i-show","()",""],["show","CommitController","CommitController.html#method-i-show","()",""],["show","CommitsController","CommitsController.html#method-i-show","()",""],["show","CompareController","CompareController.html#method-i-show","()",""],["show","DeployKeysController","DeployKeysController.html#method-i-show","()",""],["show","GroupsController","GroupsController.html#method-i-show","()",""],["show","IssuesController","IssuesController.html#method-i-show","()",""],["show","KeysController","KeysController.html#method-i-show","()",""],["show","MergeRequestsController","MergeRequestsController.html#method-i-show","()",""],["show","MilestonesController","MilestonesController.html#method-i-show","()",""],["show","ProfileController","ProfileController.html#method-i-show","()",""],["show","ProjectsController","ProjectsController.html#method-i-show","()",""],["show","RepositoriesController","RepositoriesController.html#method-i-show","()",""],["show","SearchController","SearchController.html#method-i-show","()",""],["show","SnippetsController","SnippetsController.html#method-i-show","()",""],["show","TeamMembersController","TeamMembersController.html#method-i-show","()",""],["show","TreeController","TreeController.html#method-i-show","()",""],["show","WikisController","WikisController.html#method-i-show","()",""],["show_last_push_widget?","ApplicationHelper","ApplicationHelper.html#method-i-show_last_push_widget-3F","(event)",""],["size","Snippet","Snippet.html#method-i-size","()",""],["snippet","SnippetsController","SnippetsController.html#method-i-snippet","()",""],["sort","IssuesController","IssuesController.html#method-i-sort","()",""],["ssh_url_to_repo","Repository","Repository.html#method-i-ssh_url_to_repo","()",""],["store_dir","AttachmentUploader","AttachmentUploader.html#method-i-store_dir","()","<p>Override the directory where uploaded files will be stored. This is a\nsensible default for uploaders …\n"],["strip_white_space","Key","Key.html#method-i-strip_white_space","()",""],["switch","RefsController","RefsController.html#method-i-switch","()",""],["tag?","PushEvent","PushEvent.html#method-i-tag-3F","()",""],["tag_list","TagsHelper","TagsHelper.html#method-i-tag_list","(project)",""],["tag_name","PushEvent","PushEvent.html#method-i-tag_name","()",""],["tag_names","Repository","Repository.html#method-i-tag_names","()","<p>Returns an Array of tag names\n"],["tag_path","TagsHelper","TagsHelper.html#method-i-tag_path","(tag)",""],["tags","RepositoriesController","RepositoriesController.html#method-i-tags","()",""],["tags","Repository","Repository.html#method-i-tags","()","<p>Returns an Array of Tags\n"],["take_left_leaves","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-take_left_leaves","(commit, map)","<p>Takes most left subtree branch of commits which don’t have space mark yet.\n<p>@param [GraphCommit] the commit …\n"],["target_title","Event","Event.html#method-i-target_title","()",""],["team_member_by_id","Team","Team.html#method-i-team_member_by_id","(user_id)","<p>Get Team Member record by user id\n"],["team_member_by_name_or_email","Team","Team.html#method-i-team_member_by_name_or_email","(name = nil, email = nil)",""],["team_update","Admin::ProjectsController","Admin/ProjectsController.html#method-i-team_update","()",""],["team_update","Admin::UsersController","Admin/UsersController.html#method-i-team_update","()",""],["team_without_note_author","NoteObserver","NoteObserver.html#method-i-team_without_note_author","(note)",""],["test","Admin::HooksController","Admin/HooksController.html#method-i-test","()",""],["test","HooksController","HooksController.html#method-i-test","()",""],["title","CommitDecorator","CommitDecorator.html#method-i-title","()","<p>Returns the commits title.\n<p>Usually, the commit title is the first line of the commit message. In case\n…\n"],["to_graph","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-c-to_graph","(project)",""],["to_graph_hash","Gitlab::GraphCommit","Gitlab/GraphCommit.html#method-i-to_graph_hash","()",""],["to_param","Group","Group.html#method-i-to_param","()",""],["to_param","Project","Project.html#method-i-to_param","()",""],["to_param","StaticModel","StaticModel.html#method-i-to_param","()",""],["to_param","Wiki","Wiki.html#method-i-to_param","()",""],["to_raw","MergeRequest","MergeRequest.html#method-i-to_raw","()",""],["today?","IssueCommonality","IssueCommonality.html#method-i-today-3F","()",""],["token","ProfileController","ProfileController.html#method-i-token","()",""],["tree","Repository","Repository.html#method-i-tree","(fcommit, path = nil)",""],["tree_hex_class","TreeHelper","TreeHelper.html#method-i-tree_hex_class","(content)",""],["tree_icon","TreeHelper","TreeHelper.html#method-i-tree_icon","(type)","<p>Return an image icon depending on the file type\n<p>type - String type of the tree item; either ‘folder’ or …\n"],["tree_join","TreeHelper","TreeHelper.html#method-i-tree_join","(*args)","<p>Simple shortcut to File.join\n"],["trigger_post_receive","PushObserver","PushObserver.html#method-i-trigger_post_receive","(oldrev, newrev, ref, user)","<p>This method will be called after each post receive and only if the provided\nuser is present in GitLab …\n"],["unassigned_filter","IssuesHelper","IssuesHelper.html#method-i-unassigned_filter","()","<p>Returns an OpenStruct object suitable for use by\n<code>options_from_collection_for_select</code> to allow filtering …\n"],["unauthorized!","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-unauthorized-21","()",""],["unblock","Admin::UsersController","Admin/UsersController.html#method-i-unblock","()",""],["unchecked?","MergeRequest","MergeRequest.html#method-i-unchecked-3F","()",""],["unique_key","Key","Key.html#method-i-unique_key","()",""],["unmerged_commits","MergeRequest","MergeRequest.html#method-i-unmerged_commits","()",""],["unmerged_diffs","MergeRequest","MergeRequest.html#method-i-unmerged_diffs","()",""],["up_dir?","TreeDecorator","TreeDecorator.html#method-i-up_dir-3F","()",""],["up_dir_path","TreeDecorator","TreeDecorator.html#method-i-up_dir_path","()",""],["update","Admin::GroupsController","Admin/GroupsController.html#method-i-update","()",""],["update","Admin::ProjectsController","Admin/ProjectsController.html#method-i-update","()",""],["update","Admin::TeamMembersController","Admin/TeamMembersController.html#method-i-update","()",""],["update","Admin::UsersController","Admin/UsersController.html#method-i-update","()",""],["update","Gitlab::FileEditor","Gitlab/FileEditor.html#method-i-update","(path, content, commit_message, last_commit)",""],["update","IssuesController","IssuesController.html#method-i-update","()",""],["update","MergeRequestsController","MergeRequestsController.html#method-i-update","()",""],["update","MilestonesController","MilestonesController.html#method-i-update","()",""],["update","ProfileController","ProfileController.html#method-i-update","()",""],["update","ProjectsController","ProjectsController.html#method-i-update","()",""],["update","SnippetsController","SnippetsController.html#method-i-update","()",""],["update","TeamMembersController","TeamMembersController.html#method-i-update","()",""],["update","TreeController","TreeController.html#method-i-update","()",""],["update_merge_requests","PushObserver","PushObserver.html#method-i-update_merge_requests","(oldrev, newrev, ref, user)",""],["update_project","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-update_project","(repo_name, project)","<p>update or create\n"],["update_project!","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-update_project-21","(repo_name, project)",""],["update_project_config","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-update_project_config","(project, conf)",""],["update_projects","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-update_projects","(projects)","<p>Updates many projects and uses project.path as the repo path An order of\nmagnitude faster than update_project …\n"],["update_repository","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-update_repository","(project)",""],["update_repository","ProtectedBranch","ProtectedBranch.html#method-i-update_repository","()",""],["update_repository","Repository","Repository.html#method-i-update_repository","()",""],["update_repository","UsersProject","UsersProject.html#method-i-update_repository","()",""],["update_users_ids_to_role","Team","Team.html#method-i-update_users_ids_to_role","(users_ids, access_role)","<p>Update multiple project users to same access role by user ids\n"],["upvote?","Note","Note.html#method-i-upvote-3F","()","<p>Returns true if this is an upvote note, otherwise false is returned\n"],["upvotes","Votes","Votes.html#method-i-upvotes","()","<p>Return the number of +1 comments (upvotes)\n"],["upvotes_in_percent","Votes","Votes.html#method-i-upvotes_in_percent","()",""],["url_to_repo","Gitlab::Gitolite","Gitlab/Gitolite.html#method-i-url_to_repo","(path)",""],["url_to_repo","Repository","Repository.html#method-i-url_to_repo","()",""],["user_bulk_import","UsersProject","UsersProject.html#method-c-user_bulk_import","(user, project_ids, project_access)",""],["user_project","Gitlab::APIHelpers","Gitlab/APIHelpers.html#method-i-user_project","()",""],["users","Group","Group.html#method-i-users","()",""],["utf8","Gitlab::Encode","Gitlab/Encode.html#method-i-utf8","(message)",""],["valid?","Grack::Auth","Grack/Auth.html#method-i-valid-3F","()",""],["valid_diffs?","MergeRequest","MergeRequest.html#method-i-valid_diffs-3F","()",""],["valid_push?","PushEvent","PushEvent.html#method-i-valid_push-3F","()",""],["valid_repo?","Repository","Repository.html#method-i-valid_repo-3F","()",""],["validate_branches","MergeRequest","MergeRequest.html#method-i-validate_branches","()",""],["validate_each","FileSizeValidator","FileSizeValidator.html#method-i-validate_each","(record, attribute, value)",""],["validate_get_request","Grack::Auth","Grack/Auth.html#method-i-validate_get_request","()",""],["validate_post_request","Grack::Auth","Grack/Auth.html#method-i-validate_post_request","()",""],["validates_merge_request","MergeRequestsController","MergeRequestsController.html#method-i-validates_merge_request","()",""],["votes_count","Votes","Votes.html#method-i-votes_count","()","<p>Return the total number of votes\n"],["wall","ProjectsController","ProjectsController.html#method-i-wall","()","<p>Wall\n"],["web_app_url","ApplicationHelper","ApplicationHelper.html#method-i-web_app_url","()",""],["web_url","Project","Project.html#method-i-web_url","()",""],["wiki_notes","Project","Project.html#method-i-wiki_notes","()",""],["without_projects","User","User.html#method-c-without_projects","()",""],["without_repository_callback","UsersProject","UsersProject.html#method-c-without_repository_callback","()",""],["write_key","Gitlab::GitoliteConfig","Gitlab/GitoliteConfig.html#method-i-write_key","(id, key)",""],["README_FOR_APP","","doc/README_FOR_APP.html","","<p>Use this README file to introduce your application and point to useful\nplaces in the API for learning …\n"]]}}
\ No newline at end of file
diff --git a/doc/app/js/searcher.js b/doc/app/js/searcher.js
new file mode 100644
index 0000000000000000000000000000000000000000..f854b541d03ee88d164422d22dadfd17efccd85c
--- /dev/null
+++ b/doc/app/js/searcher.js
@@ -0,0 +1,228 @@
+Searcher = function(data) {
+  this.data = data;
+  this.handlers = [];
+}
+
+Searcher.prototype = new function() {
+  // search is performed in chunks of 1000 for non-blocking user input
+  var CHUNK_SIZE = 1000;
+  // do not try to find more than 100 results
+  var MAX_RESULTS = 100;
+  var huid = 1;
+  var suid = 1;
+  var runs = 0;
+
+  this.find = function(query) {
+    var queries = splitQuery(query);
+    var regexps = buildRegexps(queries);
+    var highlighters = buildHilighters(queries);
+    var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
+    var _this = this;
+
+    this.currentSuid = state.n;
+
+    if (!query) return;
+
+    var run = function() {
+      // stop current search thread if new search started
+      if (state.n != _this.currentSuid) return;
+
+      var results =
+        performSearch(_this.data, regexps, queries, highlighters, state);
+      var hasMore = (state.limit > 0 && state.pass < 4);
+
+      triggerResults.call(_this, results, !hasMore);
+      if (hasMore) {
+        setTimeout(run, 2);
+      }
+      runs++;
+    };
+    runs = 0;
+
+    // start search thread
+    run();
+  }
+
+  /*  ----- Events ------  */
+  this.ready = function(fn) {
+    fn.huid = huid;
+    this.handlers.push(fn);
+  }
+
+  /*  ----- Utilities ------  */
+  function splitQuery(query) {
+    return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) {
+      return string.match(/\S/)
+    });
+  }
+
+  function buildRegexps(queries) {
+    return jQuery.map(queries, function(query) {
+      return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i')
+    });
+  }
+
+  function buildHilighters(queries) {
+    return jQuery.map(queries, function(query) {
+      return jQuery.map(query.split(''), function(l, i) {
+        return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
+      }).join('');
+    });
+  }
+
+  // function longMatchRegexp(index, longIndex, regexps) {
+  //     for (var i = regexps.length - 1; i >= 0; i--){
+  //         if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
+  //     };
+  //     return true;
+  // }
+
+
+  /*  ----- Mathchers ------  */
+
+  /*
+   * This record matches if the index starts with queries[0] and the record
+   * matches all of the regexps
+   */
+  function matchPassBeginning(index, longIndex, queries, regexps) {
+    if (index.indexOf(queries[0]) != 0) return false;
+    for (var i=1, l = regexps.length; i < l; i++) {
+      if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+        return false;
+    };
+    return true;
+  }
+
+  /*
+   * This record matches if the longIndex starts with queries[0] and the
+   * longIndex matches all of the regexps
+   */
+  function matchPassLongIndex(index, longIndex, queries, regexps) {
+    if (longIndex.indexOf(queries[0]) != 0) return false;
+    for (var i=1, l = regexps.length; i < l; i++) {
+      if (!longIndex.match(regexps[i]))
+        return false;
+    };
+    return true;
+  }
+
+  /*
+   * This record matches if the index contains queries[0] and the record
+   * matches all of the regexps
+   */
+  function matchPassContains(index, longIndex, queries, regexps) {
+    if (index.indexOf(queries[0]) == -1) return false;
+    for (var i=1, l = regexps.length; i < l; i++) {
+      if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+        return false;
+    };
+    return true;
+  }
+
+  /*
+   * This record matches if regexps[0] matches the index and the record
+   * matches all of the regexps
+   */
+  function matchPassRegexp(index, longIndex, queries, regexps) {
+    if (!index.match(regexps[0])) return false;
+    for (var i=1, l = regexps.length; i < l; i++) {
+      if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
+        return false;
+    };
+    return true;
+  }
+
+
+  /*  ----- Highlighters ------  */
+  function highlightRegexp(info, queries, regexps, highlighters) {
+    var result = createResult(info);
+    for (var i=0, l = regexps.length; i < l; i++) {
+      result.title = result.title.replace(regexps[i], highlighters[i]);
+      result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
+    };
+    return result;
+  }
+
+  function hltSubstring(string, pos, length) {
+    return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
+  }
+
+  function highlightQuery(info, queries, regexps, highlighters) {
+    var result = createResult(info);
+    var pos = 0;
+    var lcTitle = result.title.toLowerCase();
+
+    pos = lcTitle.indexOf(queries[0]);
+    if (pos != -1) {
+      result.title = hltSubstring(result.title, pos, queries[0].length);
+    }
+
+    result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
+    for (var i=1, l = regexps.length; i < l; i++) {
+      result.title = result.title.replace(regexps[i], highlighters[i]);
+      result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
+    };
+    return result;
+  }
+
+  function createResult(info) {
+    var result = {};
+    result.title = info[0];
+    result.namespace = info[1];
+    result.path = info[2];
+    result.params = info[3];
+    result.snippet = info[4];
+    return result;
+  }
+
+  /*  ----- Searching ------  */
+  function performSearch(data, regexps, queries, highlighters, state) {
+    var searchIndex = data.searchIndex;
+    var longSearchIndex = data.longSearchIndex;
+    var info = data.info;
+    var result = [];
+    var i = state.from;
+    var l = searchIndex.length;
+    var togo = CHUNK_SIZE;
+    var matchFunc, hltFunc;
+
+    while (state.pass < 4 && state.limit > 0 && togo > 0) {
+      if (state.pass == 0) {
+        matchFunc = matchPassBeginning;
+        hltFunc = highlightQuery;
+      } else if (state.pass == 1) {
+        matchFunc = matchPassLongIndex;
+        hltFunc = highlightQuery;
+      } else if (state.pass == 2) {
+        matchFunc = matchPassContains;
+        hltFunc = highlightQuery;
+      } else if (state.pass == 3) {
+        matchFunc = matchPassRegexp;
+        hltFunc = highlightRegexp;
+      }
+
+      for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
+        if (info[i].n == state.n) continue;
+        if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
+          info[i].n = state.n;
+          result.push(hltFunc(info[i], queries, regexps, highlighters));
+          state.limit--;
+        }
+      };
+      if (searchIndex.length <= i) {
+        state.pass++;
+        i = state.from = 0;
+      } else {
+        state.from = i;
+      }
+    }
+    return result;
+  }
+
+  function triggerResults(results, isLast) {
+    jQuery.each(this.handlers, function(i, fn) {
+      fn.call(this, results, isLast)
+    })
+  }
+}
+
diff --git a/doc/app/rdoc.css b/doc/app/rdoc.css
new file mode 100644
index 0000000000000000000000000000000000000000..755b5464de563c18ca0ab9f72891801e683646ed
--- /dev/null
+++ b/doc/app/rdoc.css
@@ -0,0 +1,543 @@
+/*
+ * "Darkfish" Rdoc CSS
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
+ *
+ * Author: Michael Granger <ged@FaerieMUD.org>
+ *
+ */
+
+/* Base Green is: #6C8C22 */
+
+* { padding: 0; margin: 0; }
+
+body {
+  background: #efefef;
+  font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
+  margin-left: 40px;
+}
+body.file-popup {
+  font-size: 90%;
+  margin-left: 0;
+}
+
+h1 {
+  font-size: 300%;
+  text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
+  color: #6C8C22;
+}
+h2,h3,h4 { margin-top: 1.5em; }
+
+:link,
+:visited {
+  color: #6C8C22;
+  text-decoration: none;
+}
+:link:hover,
+:visited:hover {
+  border-bottom: 1px dotted #6C8C22;
+}
+
+pre {
+  background: #ddd;
+  padding: 0.5em 0;
+}
+
+/* @group Generic Classes */
+
+.initially-hidden {
+  display: none;
+}
+
+#search-field {
+  width: 98%;
+  background: #eee;
+  border: none;
+  height: 1.5em;
+  -webkit-border-radius: 4px;
+}
+#search-field:focus {
+  background: #f1edba;
+}
+#search-field:-moz-placeholder,
+#search-field::-webkit-input-placeholder {
+  font-weight: bold;
+  color: #666;
+}
+
+.missing-docs {
+  font-size: 120%;
+  background: white url(images/wrench_orange.png) no-repeat 4px center;
+  color: #ccc;
+  line-height: 2em;
+  border: 1px solid #d00;
+  opacity: 1;
+  padding-left: 20px;
+  text-indent: 24px;
+  letter-spacing: 3px;
+  font-weight: bold;
+  -webkit-border-radius: 5px;
+  -moz-border-radius: 5px;
+}
+
+.target-section {
+  border: 2px solid #dcce90;
+  border-left-width: 8px;
+  padding: 0 1em;
+  background: #fff3c2;
+}
+
+/* @end */
+
+/* @group Index Page, Standalone file pages */
+.indexpage ul {
+  line-height: 160%;
+  list-style: none;
+}
+.indexpage ul :link,
+.indexpage ul :visited {
+  font-size: 16px;
+}
+
+.indexpage li {
+  padding-left: 20px;
+}
+
+.indexpage ul > li {
+  background: url(images/bullet_black.png) no-repeat left 4px;
+}
+.indexpage li.method {
+  background: url(images/plugin.png) no-repeat left 4px;
+}
+.indexpage li.module {
+  background: url(images/package.png) no-repeat left 4px;
+}
+.indexpage li.class {
+  background: url(images/ruby.png) no-repeat left 4px;
+}
+.indexpage li.file {
+  background: url(images/page_white_text.png) no-repeat left 4px;
+}
+.indexpage li li {
+  background: url(images/tag_blue.png) no-repeat left 4px;
+}
+.indexpage li .toc-toggle {
+  width: 16px;
+  height: 16px;
+  background: url(images/add.png) no-repeat;
+}
+
+.indexpage li .toc-toggle.open {
+  background: url(images/delete.png) no-repeat;
+}
+
+/* @end */
+
+/* @group Top-Level Structure */
+
+#metadata {
+  float: left;
+  width: 260px;
+}
+
+#documentation {
+  margin: 2em 1em 5em 300px;
+  min-width: 340px;
+}
+
+#validator-badges {
+  clear: both;
+  margin: 1em 1em 2em;
+  font-size: smaller;
+}
+
+/* @end */
+
+/* @group Metadata Section */
+#metadata .section {
+  background-color: #dedede;
+  -moz-border-radius: 5px;
+  -webkit-border-radius: 5px;
+  border: 1px solid #aaa;
+  margin: 0 8px 8px;
+  font-size: 90%;
+  overflow: hidden;
+}
+#metadata h3.section-header {
+  margin: 0;
+  padding: 2px 8px;
+  background: #ccc;
+  color: #666;
+  -moz-border-radius-topleft: 4px;
+  -moz-border-radius-topright: 4px;
+  -webkit-border-top-left-radius: 4px;
+  -webkit-border-top-right-radius: 4px;
+  border-bottom: 1px solid #aaa;
+}
+#metadata #home-section h3.section-header {
+  border-bottom: 0;
+}
+
+#metadata ul,
+#metadata dl,
+#metadata p {
+  padding:  8px;
+  list-style: none;
+}
+
+#file-metadata {
+  margin-top: 2em;
+}
+
+#file-metadata ul {
+  padding-left: 28px;
+  list-style-image: url(images/page_green.png);
+}
+
+dl.svninfo {
+  color: #666;
+  margin: 0;
+}
+dl.svninfo dt {
+  font-weight: bold;
+}
+
+ul.link-list li {
+  white-space: nowrap;
+}
+ul.link-list .type {
+  font-size: 8px;
+  text-transform: uppercase;
+  color: white;
+  background: #969696;
+  padding: 2px 4px;
+  -webkit-border-radius: 5px;
+}
+
+/* @end */
+
+/* @group Class Metadata Section */
+#class-metadata {
+  margin-top: 2em;
+}
+/* @end */
+
+/* @group Project Metadata Section */
+#project-metadata {
+  margin-top: 2em;
+}
+
+#project-metadata .section {
+  border: 1px solid #aaa;
+}
+#project-metadata h3.section-header {
+  border-bottom: 1px solid #aaa;
+  position: relative;
+}
+
+#project-metadata form {
+  color: #777;
+  background: #ccc;
+}
+
+/* @end */
+
+/* @group Documentation Section */
+.description {
+  font-size: 100%;
+  color: #333;
+}
+
+.description p {
+  margin: 1em 0.4em;
+}
+
+.description li p {
+  margin: 0;
+}
+
+.description ol,
+.description ul {
+  margin-left: 1.5em;
+}
+.description ol li,
+.description ul li {
+  line-height: 1.4em;
+}
+
+.note-list {
+  margin: 8px 0;
+}
+
+.label-list {
+  margin: 8px 1.5em;
+  border: 1px solid #ccc;
+}
+.description .label-list {
+  font-size: 14px;
+}
+
+.note-list dt {
+  font-weight: bold;
+}
+.note-list dd {
+  padding: 0 12px;
+}
+
+.label-list dt {
+  padding: 2px 4px;
+  font-weight: bold;
+  background: #ddd;
+}
+.label-list dd {
+  padding: 2px 12px;
+}
+.label-list dd + dt,
+.note-list dd + dt {
+  margin-top: 0.7em;
+}
+
+#documentation .section {
+  font-size: 90%;
+}
+
+#documentation h2.section-header {
+  margin-top: 1em;
+  padding: 0.25em 0.5em;
+  background: #ccc;
+  color: #333;
+  font-size: 175%;
+  border: 1px solid #bbb;
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+}
+
+.documentation-section-title {
+  position: relative;
+}
+.documentation-section-title .section-click-top {
+  position: absolute;
+  top: 6px;
+  right: 12px;
+  font-size: 10px;
+  color: #9b9877;
+  visibility: hidden;
+  padding-right: 0.5px;
+}
+
+.documentation-section-title:hover .section-click-top {
+  visibility: visible;
+}
+
+#documentation h3.section-header {
+  margin-top: 1em;
+  padding: 0.25em 0.5em;
+  background-color: #dedede;
+  color: #333;
+  font-size: 150%;
+  border: 1px solid #bbb;
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+}
+
+#constants-list > dl,
+#attributes-list > dl {
+  margin: 1em 0 2em;
+  border: 0;
+}
+#constants-list > dl dt,
+#attributes-list > dl dt {
+  padding-left: 0;
+  font-weight: bold;
+  font-family: Monaco, "Andale Mono";
+  background: inherit;
+}
+#constants-list > dl dt a,
+#attributes-list > dl dt a {
+  color: inherit;
+}
+#constants-list > dl dd,
+#attributes-list > dl dd {
+  margin: 0 0 1em 0;
+  padding: 0;
+  color: #666;
+}
+
+.documentation-section h2 {
+  position: relative;
+}
+
+.documentation-section h2 a {
+  position: absolute;
+  top: 8px;
+  right: 10px;
+  font-size: 12px;
+  color: #9b9877;
+  visibility: hidden;
+}
+
+.documentation-section h2:hover a {
+  visibility: visible;
+}
+
+/* @group Method Details */
+
+#documentation .method-source-code {
+  display: none;
+}
+
+#documentation .method-detail {
+  margin: 0.5em 0;
+  padding: 0.5em 0;
+  cursor: pointer;
+}
+#documentation .method-detail:hover {
+  background-color: #f1edba;
+}
+#documentation .method-heading {
+  position: relative;
+  padding: 2px 4px 0 20px;
+  font-size: 125%;
+  font-weight: bold;
+  color: #333;
+  background: url(images/brick.png) no-repeat left bottom;
+}
+#documentation .method-heading :link,
+#documentation .method-heading :visited {
+  color: inherit;
+}
+#documentation .method-click-advice {
+  position: absolute;
+  top: 2px;
+  right: 5px;
+  font-size: 10px;
+  color: #9b9877;
+  visibility: hidden;
+  padding-right: 20px;
+  line-height: 20px;
+  background: url(images/zoom.png) no-repeat right top;
+}
+#documentation .method-heading:hover .method-click-advice {
+  visibility: visible;
+}
+
+#documentation .method-alias .method-heading {
+  color: #666;
+  background: url(images/brick_link.png) no-repeat left bottom;
+}
+
+#documentation .method-description,
+#documentation .aliases {
+  margin: 0 20px;
+  color: #666;
+}
+
+#documentation .method-description p,
+#documentation .aliases p {
+  line-height: 1.2em;
+}
+
+#documentation .aliases {
+  padding-top: 4px;
+  font-style: italic;
+  cursor: default;
+}
+#documentation .method-description p {
+  margin-bottom: 0.5em;
+}
+#documentation .method-description ul {
+  margin-left: 1.5em;
+}
+pre {
+  margin: 0.5em 0;
+}
+
+#documentation .attribute-method-heading {
+  background: url(images/tag_green.png) no-repeat left bottom;
+}
+#documentation #attribute-method-details .method-detail:hover {
+  background-color: transparent;
+  cursor: default;
+}
+#documentation .attribute-access-type {
+  font-size: 60%;
+  text-transform: uppercase;
+  vertical-align: super;
+  padding: 0 2px;
+}
+/* @end */
+
+/* @end */
+
+/* @group Source Code */
+
+pre {
+  overflow: auto;
+  background: #262626;
+  color: white;
+  border: 1px dashed #999;
+  padding: 0.5em;
+}
+
+.description pre {
+  margin: 0 0.4em;
+}
+
+.ruby-constant   { color: #7fffd4; background: transparent; }
+.ruby-keyword    { color: #00ffff; background: transparent; }
+.ruby-ivar       { color: #eedd82; background: transparent; }
+.ruby-operator   { color: #00ffee; background: transparent; }
+.ruby-identifier { color: #ffdead; background: transparent; }
+.ruby-node       { color: #ffa07a; background: transparent; }
+.ruby-comment    { color: #dc0000; font-weight: bold; background: transparent; }
+.ruby-regexp     { color: #ffa07a; background: transparent; }
+.ruby-value      { color: #7fffd4; background: transparent; }
+
+/* @end */
+
+
+/* @group search results */
+#search-results h1 {
+  font-size: 1em;
+  font-weight: normal;
+  text-shadow: none;
+}
+
+#search-results .current {
+  background: #ccc;
+  border-bottom: 1px solid transparent;
+}
+
+#search-results li {
+  list-style: none;
+  border-bottom: 1px solid #aaa;
+  -moz-border-radius: 4px;
+  -webkit-border-radius: 4px;
+  border-radius: 4px;
+  margin-bottom: 0.5em;
+}
+
+#search-results li:last-child {
+  border-bottom: none;
+  margin-bottom: 0;
+}
+
+#search-results li p {
+  padding: 0;
+  margin: 0.5em;
+}
+
+#search-results .search-namespace {
+  font-weight: bold;
+}
+
+#search-results li em {
+  background: yellow;
+  font-style: normal;
+}
+
+#search-results pre {
+  margin: 0.5em;
+}
+
+/* @end */
+
diff --git a/doc/app/table_of_contents.html b/doc/app/table_of_contents.html
new file mode 100644
index 0000000000000000000000000000000000000000..87a21cb4c970022e7c5f53f413f9a6c3f54c0f63
--- /dev/null
+++ b/doc/app/table_of_contents.html
@@ -0,0 +1,1858 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+
+<title>Table of Contents - Rails Application Documentation</title>
+
+<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "./";
+</script>
+
+<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
+<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
+
+
+<body class="indexpage">
+<h1>Table of Contents - Rails Application Documentation</h1>
+
+<h2>Pages</h2>
+<ul>
+  <li class="file">
+    <a href="doc/README_FOR_APP.html">README_FOR_APP</a>
+  </li>
+  
+</ul>
+
+<h2 id="classes">Classes/Modules</h2>
+<ul>
+  <li class="module">
+    <a href="Gitlab.html">Gitlab</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/API.html">Gitlab::API</a>
+  </li>
+    <li class="module">
+    <a href="Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Auth.html">Gitlab::Auth</a>
+  </li>
+    <li class="module">
+    <a href="Gitlab/Encode.html">Gitlab::Encode</a>
+  </li>
+    <li class="module">
+    <a href="Gitlab/Entities.html">Gitlab::Entities</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/FileEditor.html">Gitlab::FileEditor</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/GraphCommit.html">Gitlab::GraphCommit</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Issues.html">Gitlab::Issues</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Logger.html">Gitlab::Logger</a>
+  </li>
+    <li class="module">
+    <a href="Gitlab/Markdown.html">Gitlab::Markdown</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Merge.html">Gitlab::Merge</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Milestones.html">Gitlab::Milestones</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Projects.html">Gitlab::Projects</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Satellite.html">Gitlab::Satellite</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Session.html">Gitlab::Session</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Theme.html">Gitlab::Theme</a>
+  </li>
+    <li class="class">
+    <a href="Gitlab/Users.html">Gitlab::Users</a>
+  </li>
+    <li class="module">
+    <a href="Admin.html">Admin</a>
+  </li>
+    <li class="class">
+    <a href="Admin/DashboardController.html">Admin::DashboardController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/GroupsController.html">Admin::GroupsController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/HooksController.html">Admin::HooksController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/LogsController.html">Admin::LogsController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/ProjectsController.html">Admin::ProjectsController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/ResqueController.html">Admin::ResqueController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+  </li>
+    <li class="class">
+    <a href="Admin/UsersController.html">Admin::UsersController</a>
+  </li>
+    <li class="module">
+    <a href="Notes.html">Notes</a>
+  </li>
+    <li class="class">
+    <a href="Notes/CreateContext.html">Notes::CreateContext</a>
+  </li>
+    <li class="class">
+    <a href="Notes/LoadContext.html">Notes::LoadContext</a>
+  </li>
+    <li class="module">
+    <a href="Redcarpet.html">Redcarpet</a>
+  </li>
+    <li class="module">
+    <a href="Redcarpet/Render.html">Redcarpet::Render</a>
+  </li>
+    <li class="class">
+    <a href="Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+  </li>
+    <li class="module">
+    <a href="ExtractsPath.html">ExtractsPath</a>
+  </li>
+    <li class="class">
+    <a href="ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+  </li>
+    <li class="class">
+    <a href="FileSizeValidator.html">FileSizeValidator</a>
+  </li>
+    <li class="class">
+    <a href="FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+  </li>
+    <li class="module">
+    <a href="Grack.html">Grack</a>
+  </li>
+    <li class="class">
+    <a href="Grack/Auth.html">Grack::Auth</a>
+  </li>
+    <li class="module">
+    <a href="IssueCommonality.html">IssueCommonality</a>
+  </li>
+    <li class="module">
+    <a href="IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+  </li>
+    <li class="module">
+    <a href="StaticModel.html">StaticModel</a>
+  </li>
+    <li class="module">
+    <a href="StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+  </li>
+    <li class="class">
+    <a href="Ability.html">Ability</a>
+  </li>
+    <li class="module">
+    <a href="Account.html">Account</a>
+  </li>
+    <li class="class">
+    <a href="ActivityObserver.html">ActivityObserver</a>
+  </li>
+    <li class="class">
+    <a href="AdminController.html">AdminController</a>
+  </li>
+    <li class="class">
+    <a href="ApplicationController.html">ApplicationController</a>
+  </li>
+    <li class="class">
+    <a href="ApplicationDecorator.html">ApplicationDecorator</a>
+  </li>
+    <li class="module">
+    <a href="ApplicationHelper.html">ApplicationHelper</a>
+  </li>
+    <li class="class">
+    <a href="AttachmentUploader.html">AttachmentUploader</a>
+  </li>
+    <li class="module">
+    <a href="Authority.html">Authority</a>
+  </li>
+    <li class="class">
+    <a href="BaseContext.html">BaseContext</a>
+  </li>
+    <li class="class">
+    <a href="BlameController.html">BlameController</a>
+  </li>
+    <li class="class">
+    <a href="BlobController.html">BlobController</a>
+  </li>
+    <li class="class">
+    <a href="Commit.html">Commit</a>
+  </li>
+    <li class="class">
+    <a href="CommitController.html">CommitController</a>
+  </li>
+    <li class="class">
+    <a href="CommitDecorator.html">CommitDecorator</a>
+  </li>
+    <li class="class">
+    <a href="CommitLoadContext.html">CommitLoadContext</a>
+  </li>
+    <li class="class">
+    <a href="CommitsController.html">CommitsController</a>
+  </li>
+    <li class="module">
+    <a href="CommitsHelper.html">CommitsHelper</a>
+  </li>
+    <li class="class">
+    <a href="CompareController.html">CompareController</a>
+  </li>
+    <li class="class">
+    <a href="DashboardController.html">DashboardController</a>
+  </li>
+    <li class="class">
+    <a href="DeployKeysController.html">DeployKeysController</a>
+  </li>
+    <li class="class">
+    <a href="ErrorsController.html">ErrorsController</a>
+  </li>
+    <li class="class">
+    <a href="Event.html">Event</a>
+  </li>
+    <li class="class">
+    <a href="EventDecorator.html">EventDecorator</a>
+  </li>
+    <li class="module">
+    <a href="EventsHelper.html">EventsHelper</a>
+  </li>
+    <li class="module">
+    <a href="GitHost.html">GitHost</a>
+  </li>
+    <li class="module">
+    <a href="GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+  </li>
+    <li class="class">
+    <a href="Group.html">Group</a>
+  </li>
+    <li class="class">
+    <a href="GroupsController.html">GroupsController</a>
+  </li>
+    <li class="class">
+    <a href="HelpController.html">HelpController</a>
+  </li>
+    <li class="class">
+    <a href="HooksController.html">HooksController</a>
+  </li>
+    <li class="class">
+    <a href="Issue.html">Issue</a>
+  </li>
+    <li class="class">
+    <a href="IssueObserver.html">IssueObserver</a>
+  </li>
+    <li class="class">
+    <a href="IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+  </li>
+    <li class="class">
+    <a href="IssuesController.html">IssuesController</a>
+  </li>
+    <li class="module">
+    <a href="IssuesHelper.html">IssuesHelper</a>
+  </li>
+    <li class="class">
+    <a href="IssuesListContext.html">IssuesListContext</a>
+  </li>
+    <li class="class">
+    <a href="Key.html">Key</a>
+  </li>
+    <li class="class">
+    <a href="KeyObserver.html">KeyObserver</a>
+  </li>
+    <li class="class">
+    <a href="KeysController.html">KeysController</a>
+  </li>
+    <li class="class">
+    <a href="LabelsController.html">LabelsController</a>
+  </li>
+    <li class="class">
+    <a href="MergeRequest.html">MergeRequest</a>
+  </li>
+    <li class="class">
+    <a href="MergeRequestObserver.html">MergeRequestObserver</a>
+  </li>
+    <li class="class">
+    <a href="MergeRequestsController.html">MergeRequestsController</a>
+  </li>
+    <li class="module">
+    <a href="MergeRequestsHelper.html">MergeRequestsHelper</a>
+  </li>
+    <li class="class">
+    <a href="MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+  </li>
+    <li class="class">
+    <a href="Milestone.html">Milestone</a>
+  </li>
+    <li class="class">
+    <a href="MilestonesController.html">MilestonesController</a>
+  </li>
+    <li class="class">
+    <a href="Note.html">Note</a>
+  </li>
+    <li class="class">
+    <a href="NoteObserver.html">NoteObserver</a>
+  </li>
+    <li class="class">
+    <a href="NotesController.html">NotesController</a>
+  </li>
+    <li class="module">
+    <a href="NotesHelper.html">NotesHelper</a>
+  </li>
+    <li class="class">
+    <a href="Notify.html">Notify</a>
+  </li>
+    <li class="class">
+    <a href="OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+  </li>
+    <li class="class">
+    <a href="PostReceive.html">PostReceive</a>
+  </li>
+    <li class="class">
+    <a href="ProfileController.html">ProfileController</a>
+  </li>
+    <li class="module">
+    <a href="ProfileHelper.html">ProfileHelper</a>
+  </li>
+    <li class="class">
+    <a href="Project.html">Project</a>
+  </li>
+    <li class="class">
+    <a href="ProjectHook.html">ProjectHook</a>
+  </li>
+    <li class="class">
+    <a href="ProjectObserver.html">ProjectObserver</a>
+  </li>
+    <li class="class">
+    <a href="ProjectResourceController.html">ProjectResourceController</a>
+  </li>
+    <li class="class">
+    <a href="ProjectsController.html">ProjectsController</a>
+  </li>
+    <li class="module">
+    <a href="ProjectsHelper.html">ProjectsHelper</a>
+  </li>
+    <li class="class">
+    <a href="ProtectedBranch.html">ProtectedBranch</a>
+  </li>
+    <li class="class">
+    <a href="ProtectedBranchesController.html">ProtectedBranchesController</a>
+  </li>
+    <li class="module">
+    <a href="PushEvent.html">PushEvent</a>
+  </li>
+    <li class="module">
+    <a href="PushObserver.html">PushObserver</a>
+  </li>
+    <li class="class">
+    <a href="RefsController.html">RefsController</a>
+  </li>
+    <li class="class">
+    <a href="RepositoriesController.html">RepositoriesController</a>
+  </li>
+    <li class="module">
+    <a href="Repository.html">Repository</a>
+  </li>
+    <li class="class">
+    <a href="SearchContext.html">SearchContext</a>
+  </li>
+    <li class="class">
+    <a href="SearchController.html">SearchController</a>
+  </li>
+    <li class="class">
+    <a href="Snippet.html">Snippet</a>
+  </li>
+    <li class="class">
+    <a href="SnippetsController.html">SnippetsController</a>
+  </li>
+    <li class="module">
+    <a href="SnippetsHelper.html">SnippetsHelper</a>
+  </li>
+    <li class="class">
+    <a href="SystemHook.html">SystemHook</a>
+  </li>
+    <li class="class">
+    <a href="SystemHookObserver.html">SystemHookObserver</a>
+  </li>
+    <li class="class">
+    <a href="SystemHookWorker.html">SystemHookWorker</a>
+  </li>
+    <li class="module">
+    <a href="TabHelper.html">TabHelper</a>
+  </li>
+    <li class="module">
+    <a href="TagsHelper.html">TagsHelper</a>
+  </li>
+    <li class="module">
+    <a href="Team.html">Team</a>
+  </li>
+    <li class="class">
+    <a href="TeamMembersController.html">TeamMembersController</a>
+  </li>
+    <li class="class">
+    <a href="TestHookContext.html">TestHookContext</a>
+  </li>
+    <li class="class">
+    <a href="Tree.html">Tree</a>
+  </li>
+    <li class="class">
+    <a href="TreeController.html">TreeController</a>
+  </li>
+    <li class="class">
+    <a href="TreeDecorator.html">TreeDecorator</a>
+  </li>
+    <li class="module">
+    <a href="TreeHelper.html">TreeHelper</a>
+  </li>
+    <li class="class">
+    <a href="User.html">User</a>
+  </li>
+    <li class="class">
+    <a href="UserObserver.html">UserObserver</a>
+  </li>
+    <li class="class">
+    <a href="UsersProject.html">UsersProject</a>
+  </li>
+    <li class="class">
+    <a href="UsersProjectObserver.html">UsersProjectObserver</a>
+  </li>
+    <li class="module">
+    <a href="Votes.html">Votes</a>
+  </li>
+    <li class="class">
+    <a href="WebHook.html">WebHook</a>
+  </li>
+    <li class="class">
+    <a href="Wiki.html">Wiki</a>
+  </li>
+    <li class="class">
+    <a href="WikisController.html">WikisController</a>
+  </li>
+  
+</ul>
+
+<h2 id="methods">Methods</h2>
+<ul>
+  
+    <li class="method"><a href="Gitlab/InlineDiff.html#method-c-_indexes_of_changed_lines">::_indexes_of_changed_lines &mdash; Gitlab::InlineDiff</a>
+  
+    <li class="method"><a href="Project.html#method-c-access_options">::access_options &mdash; Project</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-access_roles">::access_roles &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Milestone.html#method-c-active">::active &mdash; Milestone</a>
+  
+    <li class="method"><a href="Project.html#method-c-active">::active &mdash; Project</a>
+  
+    <li class="method"><a href="SystemHook.html#method-c-all_hooks_fire">::all_hooks_fire &mdash; SystemHook</a>
+  
+    <li class="method"><a href="Ability.html#method-c-allowed">::allowed &mdash; Ability</a>
+  
+    <li class="method"><a href="Gitlab/Logger.html#method-c-build">::build &mdash; Gitlab::Logger</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-bulk_delete">::bulk_delete &mdash; UsersProject</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-bulk_import">::bulk_import &mdash; UsersProject</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-bulk_update">::bulk_update &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Commit.html#method-c-commits">::commits &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-c-commits_between">::commits_between &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-c-commits_since">::commits_since &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-c-commits_with_refs">::commits_with_refs &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-c-compare">::compare &mdash; Commit</a>
+  
+    <li class="method"><a href="Snippet.html#method-c-content_types">::content_types &mdash; Snippet</a>
+  
+    <li class="method"><a href="Project.html#method-c-create_by_user">::create_by_user &mdash; Project</a>
+  
+    <li class="method"><a href="User.html#method-c-create_from_omniauth">::create_from_omniauth &mdash; User</a>
+  
+    <li class="method"><a href="Note.html#method-c-create_status_change_note">::create_status_change_note &mdash; Note</a>
+  
+    <li class="method"><a href="Gitlab/Theme.html#method-c-css_class_by_id">::css_class_by_id &mdash; Gitlab::Theme</a>
+  
+    <li class="method"><a href="Event.html#method-c-determine_action">::determine_action &mdash; Event</a>
+  
+    <li class="method"><a href="Gitlab/Logger.html#method-c-error">::error &mdash; Gitlab::Logger</a>
+  
+    <li class="method"><a href="Gitlab/GitLogger.html#method-c-file_name">::file_name &mdash; Gitlab::GitLogger</a>
+  
+    <li class="method"><a href="Gitlab/AppLogger.html#method-c-file_name">::file_name &mdash; Gitlab::AppLogger</a>
+  
+    <li class="method"><a href="User.html#method-c-filter">::filter &mdash; User</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-c-find_all_by_branch">::find_all_by_branch &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="User.html#method-c-find_for_ldap_auth">::find_for_ldap_auth &mdash; User</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-find_free_space">::find_free_space &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Commit.html#method-c-find_or_first">::find_or_first &mdash; Commit</a>
+  
+    <li class="method"><a href="User.html#method-c-find_or_new_for_omniauth">::find_or_new_for_omniauth &mdash; User</a>
+  
+    <li class="method"><a href="Commit.html#method-c-fresh_commits">::fresh_commits &mdash; Commit</a>
+  
+    <li class="method"><a href="User.html#method-c-gitlab_auth">::gitlab_auth &mdash; User</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-import_team">::import_team &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-index_commits">::index_commits &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Gitlab/Logger.html#method-c-info">::info &mdash; Gitlab::Logger</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-mark_reserved">::mark_reserved &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Redcarpet/Render/GitlabHTML.html#method-c-new">::new &mdash; Redcarpet::Render::GitlabHTML</a>
+  
+    <li class="method"><a href="FileSizeValidator.html#method-c-new">::new &mdash; FileSizeValidator</a>
+  
+    <li class="method"><a href="BaseContext.html#method-c-new">::new &mdash; BaseContext</a>
+  
+    <li class="method"><a href="SearchContext.html#method-c-new">::new &mdash; SearchContext</a>
+  
+    <li class="method"><a href="Tree.html#method-c-new">::new &mdash; Tree</a>
+  
+    <li class="method"><a href="Commit.html#method-c-new">::new &mdash; Commit</a>
+  
+    <li class="method"><a href="Gitlab/Merge.html#method-c-new">::new &mdash; Gitlab::Merge</a>
+  
+    <li class="method"><a href="Gitlab/FileEditor.html#method-c-new">::new &mdash; Gitlab::FileEditor</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-new">::new &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Gitlab/Satellite.html#method-c-new">::new &mdash; Gitlab::Satellite</a>
+  
+    <li class="method"><a href="Issue.html#method-c-open_for">::open_for &mdash; Issue</a>
+  
+    <li class="method"><a href="PostReceive.html#method-c-perform">::perform &mdash; PostReceive</a>
+  
+    <li class="method"><a href="SystemHookWorker.html#method-c-perform">::perform &mdash; SystemHookWorker</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-place_chain">::place_chain &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Gitlab/InlineDiff.html#method-c-processing">::processing &mdash; Gitlab::InlineDiff</a>
+  
+    <li class="method"><a href="Ability.html#method-c-project_abilities">::project_abilities &mdash; Ability</a>
+  
+    <li class="method"><a href="Gitlab/Logger.html#method-c-read_latest">::read_latest &mdash; Gitlab::Logger</a>
+  
+    <li class="method"><a href="Wiki.html#method-c-regenerate_from">::regenerate_from &mdash; Wiki</a>
+  
+    <li class="method"><a href="Gitlab/InlineDiff.html#method-c-replace_markers">::replace_markers &mdash; Gitlab::InlineDiff</a>
+  
+    <li class="method"><a href="Group.html#method-c-search">::search &mdash; Group</a>
+  
+    <li class="method"><a href="Project.html#method-c-search">::search &mdash; Project</a>
+  
+    <li class="method"><a href="User.html#method-c-search">::search &mdash; User</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-take_left_leaves">::take_left_leaves &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-c-to_graph">::to_graph &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-user_bulk_import">::user_bulk_import &mdash; UsersProject</a>
+  
+    <li class="method"><a href="User.html#method-c-without_projects">::without_projects &mdash; User</a>
+  
+    <li class="method"><a href="UsersProject.html#method-c-without_repository_callback">::without_repository_callback &mdash; UsersProject</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-3D-3D">#== &mdash; StaticModel</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-5B-5D">#[] &mdash; StaticModel</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-abilities">#abilities &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="BaseContext.html#method-i-abilities">#abilities &mdash; BaseContext</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-abilities">#abilities &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-access_denied-21">#access_denied! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Event.html#method-i-action_name">#action_name &mdash; Event</a>
+  
+    <li class="method"><a href="Authority.html#method-i-add_access">#add_access &mdash; Authority</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-add_project_abilities">#add_project_abilities &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-i-add_refs">#add_refs &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Team.html#method-i-add_user_id_to_team">#add_user_id_to_team &mdash; Team</a>
+  
+    <li class="method"><a href="Team.html#method-i-add_user_to_team">#add_user_to_team &mdash; Team</a>
+  
+    <li class="method"><a href="Team.html#method-i-add_users_ids_to_team">#add_users_ids_to_team &mdash; Team</a>
+  
+    <li class="method"><a href="Team.html#method-i-add_users_to_team">#add_users_to_team &mdash; Team</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-admin_all_repo">#admin_all_repo &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-admin_all_repo-21">#admin_all_repo! &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="UsersProjectObserver.html#method-i-after_commit">#after_commit &mdash; UsersProjectObserver</a>
+  
+    <li class="method"><a href="IssueObserver.html#method-i-after_create">#after_create &mdash; IssueObserver</a>
+  
+    <li class="method"><a href="SystemHookObserver.html#method-i-after_create">#after_create &mdash; SystemHookObserver</a>
+  
+    <li class="method"><a href="ActivityObserver.html#method-i-after_create">#after_create &mdash; ActivityObserver</a>
+  
+    <li class="method"><a href="UsersProjectObserver.html#method-i-after_create">#after_create &mdash; UsersProjectObserver</a>
+  
+    <li class="method"><a href="NoteObserver.html#method-i-after_create">#after_create &mdash; NoteObserver</a>
+  
+    <li class="method"><a href="MergeRequestObserver.html#method-i-after_create">#after_create &mdash; MergeRequestObserver</a>
+  
+    <li class="method"><a href="UserObserver.html#method-i-after_create">#after_create &mdash; UserObserver</a>
+  
+    <li class="method"><a href="ProjectObserver.html#method-i-after_create">#after_create &mdash; ProjectObserver</a>
+  
+    <li class="method"><a href="UserObserver.html#method-i-after_destroy">#after_destroy &mdash; UserObserver</a>
+  
+    <li class="method"><a href="ProjectObserver.html#method-i-after_destroy">#after_destroy &mdash; ProjectObserver</a>
+  
+    <li class="method"><a href="SystemHookObserver.html#method-i-after_destroy">#after_destroy &mdash; SystemHookObserver</a>
+  
+    <li class="method"><a href="KeyObserver.html#method-i-after_destroy">#after_destroy &mdash; KeyObserver</a>
+  
+    <li class="method"><a href="UsersProjectObserver.html#method-i-after_destroy">#after_destroy &mdash; UsersProjectObserver</a>
+  
+    <li class="method"><a href="KeyObserver.html#method-i-after_save">#after_save &mdash; KeyObserver</a>
+  
+    <li class="method"><a href="ActivityObserver.html#method-i-after_save">#after_save &mdash; ActivityObserver</a>
+  
+    <li class="method"><a href="ProjectObserver.html#method-i-after_save">#after_save &mdash; ProjectObserver</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-after_sign_in_path_for">#after_sign_in_path_for &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="IssueObserver.html#method-i-after_update">#after_update &mdash; IssueObserver</a>
+  
+    <li class="method"><a href="MergeRequestObserver.html#method-i-after_update">#after_update &mdash; MergeRequestObserver</a>
+  
+    <li class="method"><a href="Authority.html#method-i-allow_read_for-3F">#allow_read_for? &mdash; Authority</a>
+  
+    <li class="method"><a href="Event.html#method-i-allowed-3F">#allowed? &mdash; Event</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-allowed_tree_edit-3F">#allowed_tree_edit? &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-app_theme">#app_theme &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-apply">#apply &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-apply_import">#apply_import &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="RepositoriesController.html#method-i-archive">#archive &mdash; RepositoriesController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-archive_repo">#archive_repo &mdash; Repository</a>
+  
+    <li class="method"><a href="ExtractsPath.html#method-i-assign_ref_vars">#assign_ref_vars &mdash; ExtractsPath</a>
+  
+    <li class="method"><a href="SystemHook.html#method-i-async_execute">#async_execute &mdash; SystemHook</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-attributes_for_keys">#attributes_for_keys &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-authbutton">#authbutton &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-authenticate-21">#authenticate! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="AdminController.html#method-i-authenticate_admin-21">#authenticate_admin! &mdash; AdminController</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-authenticated_as_admin-21">#authenticated_as_admin! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Event.html#method-i-author">#author &mdash; Event</a>
+  
+    <li class="method"><a href="Commit.html#method-i-author_email">#author_email &mdash; Commit</a>
+  
+    <li class="method"><a href="CommitDecorator.html#method-i-author_link">#author_link &mdash; CommitDecorator</a>
+  
+    <li class="method"><a href="Commit.html#method-i-author_name">#author_name &mdash; Commit</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-authorize-21">#authorize! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-authorize_admin_issue-21">#authorize_admin_issue! &mdash; IssuesController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-authorize_admin_merge_request-21">#authorize_admin_merge_request! &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-authorize_admin_milestone-21">#authorize_admin_milestone! &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-authorize_admin_snippet-21">#authorize_admin_snippet! &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-authorize_code_access-21">#authorize_code_access! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-authorize_modify_issue-21">#authorize_modify_issue! &mdash; IssuesController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-authorize_modify_merge_request-21">#authorize_modify_merge_request! &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-authorize_modify_snippet-21">#authorize_modify_snippet! &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-authorize_project-21">#authorize_project! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-automerge">#automerge &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-automerge-21">#automerge! &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-automerge_check">#automerge_check &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="StaticModel/ClassMethods.html#method-i-base_class">#base_class &mdash; StaticModel::ClassMethods</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-block">#block &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="Account.html#method-i-block">#block &mdash; Account</a>
+  
+    <li class="method"><a href="Redcarpet/Render/GitlabHTML.html#method-i-block_code">#block_code &mdash; Redcarpet::Render::GitlabHTML</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-branch-3F">#branch? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-branch_from">#branch_from &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-branch_name">#branch_name &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Repository.html#method-i-branch_names">#branch_names &mdash; Repository</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-branch_to">#branch_to &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-branches">#branches &mdash; Repository</a>
+  
+    <li class="method"><a href="RepositoriesController.html#method-i-branches">#branches &mdash; RepositoriesController</a>
+  
+    <li class="method"><a href="TabHelper.html#method-i-branches_tab_class">#branches_tab_class &mdash; TabHelper</a>
+  
+    <li class="method"><a href="TreeDecorator.html#method-i-breadcrumbs">#breadcrumbs &mdash; TreeDecorator</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-broken_diffs-3F">#broken_diffs? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Project.html#method-i-build_commit_note">#build_commit_note &mdash; Project</a>
+  
+    <li class="method"><a href="CommitsHelper.html#method-i-build_line_anchor">#build_line_anchor &mdash; CommitsHelper</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-bulk_update">#bulk_update &mdash; IssuesController</a>
+  
+    <li class="method"><a href="BaseContext.html#method-i-can-3F">#can? &mdash; BaseContext</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-can-3F">#can? &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-can-3F">#can? &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Gitlab/Merge.html#method-i-can_be_merged-3F">#can_be_merged? &mdash; Gitlab::Merge</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-can_be_merged-3F">#can_be_merged? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Account.html#method-i-can_create_group-3F">#can_create_group? &mdash; Account</a>
+  
+    <li class="method"><a href="Account.html#method-i-can_create_project-3F">#can_create_project? &mdash; Account</a>
+  
+    <li class="method"><a href="Gitlab/FileEditor.html#method-i-can_edit-3F">#can_edit? &mdash; Gitlab::FileEditor</a>
+  
+    <li class="method"><a href="Account.html#method-i-cared_merge_requests">#cared_merge_requests &mdash; Account</a>
+  
+    <li class="method"><a href="Event.html#method-i-changed_issue-3F">#changed_issue? &mdash; Event</a>
+  
+    <li class="method"><a href="Event.html#method-i-changed_merge_request-3F">#changed_merge_request? &mdash; Event</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-check_if_can_be_merged">#check_if_can_be_merged &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Project.html#method-i-check_limit">#check_limit &mdash; Project</a>
+  
+    <li class="method"><a href="FileSizeValidator.html#method-i-check_validity-21">#check_validity! &mdash; FileSizeValidator</a>
+  
+    <li class="method"><a href="Gitlab/Satellite.html#method-i-clear">#clear &mdash; Gitlab::Satellite</a>
+  
+    <li class="method"><a href="Event.html#method-i-closed-3F">#closed? &mdash; Event</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-closed_event">#closed_event &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="ProtectedBranch.html#method-i-commit">#commit &mdash; ProtectedBranch</a>
+  
+    <li class="method"><a href="Repository.html#method-i-commit">#commit &mdash; Repository</a>
+  
+    <li class="method"><a href="Note.html#method-i-commit_author">#commit_author &mdash; Note</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-commit_from">#commit_from &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Project.html#method-i-commit_line_notes">#commit_line_notes &mdash; Project</a>
+  
+    <li class="method"><a href="Project.html#method-i-commit_notes">#commit_notes &mdash; Project</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-commit_to">#commit_to &mdash; PushEvent</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-commits">#commits &mdash; PushEvent</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-commits">#commits &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Repository.html#method-i-commits">#commits &mdash; Repository</a>
+  
+    <li class="method"><a href="Repository.html#method-i-commits_between">#commits_between &mdash; Repository</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-commits_count">#commits_count &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Repository.html#method-i-commits_since">#commits_since &mdash; Repository</a>
+  
+    <li class="method"><a href="Repository.html#method-i-commits_with_refs">#commits_with_refs &mdash; Repository</a>
+  
+    <li class="method"><a href="Commit.html#method-i-committer_email">#committer_email &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-i-committer_name">#committer_name &mdash; Commit</a>
+  
+    <li class="method"><a href="Project.html#method-i-common_notes">#common_notes &mdash; Project</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-config">#config &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-create">#create &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="Gitlab/Satellite.html#method-i-create">#create &mdash; Gitlab::Satellite</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-create">#create &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-create">#create &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="ProtectedBranchesController.html#method-i-create">#create &mdash; ProtectedBranchesController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-create">#create &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="Admin/HooksController.html#method-i-create">#create &mdash; Admin::HooksController</a>
+  
+    <li class="method"><a href="CompareController.html#method-i-create">#create &mdash; CompareController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-create">#create &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-create">#create &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-create">#create &mdash; IssuesController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-create">#create &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="DeployKeysController.html#method-i-create">#create &mdash; DeployKeysController</a>
+  
+    <li class="method"><a href="NotesController.html#method-i-create">#create &mdash; NotesController</a>
+  
+    <li class="method"><a href="HooksController.html#method-i-create">#create &mdash; HooksController</a>
+  
+    <li class="method"><a href="KeysController.html#method-i-create">#create &mdash; KeysController</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-create">#create &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-create">#create &mdash; WikisController</a>
+  
+    <li class="method"><a href="Gitlab/Auth.html#method-i-create_from_omniauth">#create_from_omniauth &mdash; Gitlab::Auth</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-create_repository">#create_repository &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="Commit.html#method-i-created_at">#created_at &mdash; Commit</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-current_action-3F">#current_action? &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-current_controller-3F">#current_controller? &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-current_ref">#current_ref &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-current_user">#current_user &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Snippet.html#method-i-data">#data &mdash; Snippet</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-define_show_vars">#define_show_vars &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="RefsController.html#method-i-define_tree_vars">#define_tree_vars &mdash; RefsController</a>
+  
+    <li class="method"><a href="Team.html#method-i-delete_users_ids_from_team">#delete_users_ids_from_team &mdash; Team</a>
+  
+    <li class="method"><a href="CommitDecorator.html#method-i-description">#description &mdash; CommitDecorator</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-design">#design &mdash; ProfileController</a>
+  
+    <li class="method"><a href="NotesController.html#method-i-destroy">#destroy &mdash; NotesController</a>
+  
+    <li class="method"><a href="HooksController.html#method-i-destroy">#destroy &mdash; HooksController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-destroy">#destroy &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="DeployKeysController.html#method-i-destroy">#destroy &mdash; DeployKeysController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-destroy">#destroy &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="ProtectedBranchesController.html#method-i-destroy">#destroy &mdash; ProtectedBranchesController</a>
+  
+    <li class="method"><a href="Admin/HooksController.html#method-i-destroy">#destroy &mdash; Admin::HooksController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-destroy">#destroy &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-destroy">#destroy &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-destroy">#destroy &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-destroy">#destroy &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-destroy">#destroy &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="Admin/TeamMembersController.html#method-i-destroy">#destroy &mdash; Admin::TeamMembersController</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-destroy">#destroy &mdash; WikisController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-destroy">#destroy &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-destroy">#destroy &mdash; IssuesController</a>
+  
+    <li class="method"><a href="KeysController.html#method-i-destroy">#destroy &mdash; KeysController</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-destroy_project">#destroy_project &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-destroy_project-21">#destroy_project! &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Repository.html#method-i-destroy_repository">#destroy_repository &mdash; Repository</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-destroyed-3F">#destroyed? &mdash; StaticModel</a>
+  
+    <li class="method"><a href="Gitlab/Encode.html#method-i-detect_encoding">#detect_encoding &mdash; Gitlab::Encode</a>
+  
+    <li class="method"><a href="Authority.html#method-i-dev_access_for-3F">#dev_access_for? &mdash; Authority</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-dev_tools">#dev_tools &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Commit.html#method-i-different_committer-3F">#different_committer? &mdash; Commit</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-diffs">#diffs &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-diffs">#diffs &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-discover_default_branch">#discover_default_branch &mdash; Repository</a>
+  
+    <li class="method"><a href="Note.html#method-i-downvote-3F">#downvote? &mdash; Note</a>
+  
+    <li class="method"><a href="Votes.html#method-i-downvotes">#downvotes &mdash; Votes</a>
+  
+    <li class="method"><a href="Votes.html#method-i-downvotes_in_percent">#downvotes_in_percent &mdash; Votes</a>
+  
+    <li class="method"><a href="CommitsHelper.html#method-i-each_diff_line">#each_diff_line &mdash; CommitsHelper</a>
+  
+    <li class="method"><a href="TreeController.html#method-i-edit">#edit &mdash; TreeController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-edit">#edit &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-edit">#edit &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-edit">#edit &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-edit">#edit &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="Admin/TeamMembersController.html#method-i-edit">#edit &mdash; Admin::TeamMembersController</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-edit">#edit &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-edit">#edit &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-edit">#edit &mdash; WikisController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-edit">#edit &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-edit">#edit &mdash; IssuesController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-emoji_autocomplete_source">#emoji_autocomplete_source &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Tree.html#method-i-empty-3F">#empty? &mdash; Tree</a>
+  
+    <li class="method"><a href="Repository.html#method-i-empty_repo-3F">#empty_repo? &mdash; Repository</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-enable_automerge">#enable_automerge &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="EventsHelper.html#method-i-event_action_name">#event_action_name &mdash; EventsHelper</a>
+  
+    <li class="method"><a href="EventsHelper.html#method-i-event_image">#event_image &mdash; EventsHelper</a>
+  
+    <li class="method"><a href="WebHook.html#method-i-execute">#execute &mdash; WebHook</a>
+  
+    <li class="method"><a href="SearchContext.html#method-i-execute">#execute &mdash; SearchContext</a>
+  
+    <li class="method"><a href="CommitLoadContext.html#method-i-execute">#execute &mdash; CommitLoadContext</a>
+  
+    <li class="method"><a href="Notes/CreateContext.html#method-i-execute">#execute &mdash; Notes::CreateContext</a>
+  
+    <li class="method"><a href="Notes/LoadContext.html#method-i-execute">#execute &mdash; Notes::LoadContext</a>
+  
+    <li class="method"><a href="IssuesBulkUpdateContext.html#method-i-execute">#execute &mdash; IssuesBulkUpdateContext</a>
+  
+    <li class="method"><a href="MergeRequestsLoadContext.html#method-i-execute">#execute &mdash; MergeRequestsLoadContext</a>
+  
+    <li class="method"><a href="TestHookContext.html#method-i-execute">#execute &mdash; TestHookContext</a>
+  
+    <li class="method"><a href="IssuesListContext.html#method-i-execute">#execute &mdash; IssuesListContext</a>
+  
+    <li class="method"><a href="PushObserver.html#method-i-execute_hooks">#execute_hooks &mdash; PushObserver</a>
+  
+    <li class="method"><a href="Gitlab/Satellite.html#method-i-exists-3F">#exists? &mdash; Gitlab::Satellite</a>
+  
+    <li class="method"><a href="Snippet.html#method-i-expired-3F">#expired? &mdash; Snippet</a>
+  
+    <li class="method"><a href="Milestone.html#method-i-expires_at">#expires_at &mdash; Milestone</a>
+  
+    <li class="method"><a href="ExtractsPath.html#method-i-extract_ref">#extract_ref &mdash; ExtractsPath</a>
+  
+    <li class="method"><a href="OmniauthCallbacksController.html#method-i-failure_message">#failure_message &mdash; OmniauthCallbacksController</a>
+  
+    <li class="method"><a href="EventDecorator.html#method-i-feed_summary">#feed_summary &mdash; EventDecorator</a>
+  
+    <li class="method"><a href="EventDecorator.html#method-i-feed_title">#feed_title &mdash; EventDecorator</a>
+  
+    <li class="method"><a href="EventDecorator.html#method-i-feed_url">#feed_url &mdash; EventDecorator</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-files">#files &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="Gitlab/Auth.html#method-i-find_for_ldap_auth">#find_for_ldap_auth &mdash; Gitlab::Auth</a>
+  
+    <li class="method"><a href="Gitlab/Auth.html#method-i-find_or_new_for_omniauth">#find_or_new_for_omniauth &mdash; Gitlab::Auth</a>
+  
+    <li class="method"><a href="Key.html#method-i-fingerprintable_key">#fingerprintable_key &mdash; Key</a>
+  
+    <li class="method"><a href="Account.html#method-i-first_name">#first_name &mdash; Account</a>
+  
+    <li class="method"><a href="Note.html#method-i-for_commit-3F">#for_commit? &mdash; Note</a>
+  
+    <li class="method"><a href="Note.html#method-i-for_diff_line-3F">#for_diff_line? &mdash; Note</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-forbidden-21">#forbidden! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Gitlab/GitLogger.html#method-i-format_message">#format_message &mdash; Gitlab::GitLogger</a>
+  
+    <li class="method"><a href="Gitlab/AppLogger.html#method-i-format_message">#format_message &mdash; Gitlab::AppLogger</a>
+  
+    <li class="method"><a href="Repository.html#method-i-fresh_commits">#fresh_commits &mdash; Repository</a>
+  
+    <li class="method"><a href="User.html#method-i-generate_password">#generate_password &mdash; User</a>
+  
+    <li class="method"><a href="Gitlab/Markdown.html#method-i-gfm">#gfm &mdash; Gitlab::Markdown</a>
+  
+    <li class="method"><a href="Project.html#method-i-git_error-3F">#git_error? &mdash; Project</a>
+  
+    <li class="method"><a href="GitHost.html#method-i-git_host">#git_host &mdash; GitHost</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-git_not_found-21">#git_not_found! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="ErrorsController.html#method-i-githost">#githost &mdash; ErrorsController</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-gitlab_markdown-3F">#gitlab_markdown? &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-graph">#graph &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-gravatar_icon">#gravatar_icon &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-group">#group &mdash; GroupsController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-grouped_options_refs">#grouped_options_refs &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="ProjectsHelper.html#method-i-grouper_project_members">#grouper_project_members &mdash; ProjectsHelper</a>
+  
+    <li class="method"><a href="Authority.html#method-i-guest_access_for-3F">#guest_access_for? &mdash; Authority</a>
+  
+    <li class="method"><a href="Repository.html#method-i-has_commits-3F">#has_commits? &mdash; Repository</a>
+  
+    <li class="method"><a href="Repository.html#method-i-has_post_receive_file-3F">#has_post_receive_file? &mdash; Repository</a>
+  
+    <li class="method"><a href="Repository.html#method-i-heads">#heads &mdash; Repository</a>
+  
+    <li class="method"><a href="FileSizeValidator.html#method-i-help">#help &mdash; FileSizeValidator</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-hexdigest">#hexdigest &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-history">#history &mdash; WikisController</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-history">#history &mdash; ProfileController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-http_url_to_repo">#http_url_to_repo &mdash; Repository</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-human_state">#human_state &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="CommitsHelper.html#method-i-identification_type">#identification_type &mdash; CommitsHelper</a>
+  
+    <li class="method"><a href="Account.html#method-i-identifier">#identifier &mdash; Account</a>
+  
+    <li class="method"><a href="CommitsHelper.html#method-i-image_diff_class">#image_diff_class &mdash; CommitsHelper</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-index">#index &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="CompareController.html#method-i-index">#index &mdash; CompareController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-index">#index &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-index">#index &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-index">#index &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="HelpController.html#method-i-index">#index &mdash; HelpController</a>
+  
+    <li class="method"><a href="ProtectedBranchesController.html#method-i-index">#index &mdash; ProtectedBranchesController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-index">#index &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="Admin/DashboardController.html#method-i-index">#index &mdash; Admin::DashboardController</a>
+  
+    <li class="method"><a href="DashboardController.html#method-i-index">#index &mdash; DashboardController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-index">#index &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="Admin/HooksController.html#method-i-index">#index &mdash; Admin::HooksController</a>
+  
+    <li class="method"><a href="LabelsController.html#method-i-index">#index &mdash; LabelsController</a>
+  
+    <li class="method"><a href="KeysController.html#method-i-index">#index &mdash; KeysController</a>
+  
+    <li class="method"><a href="HooksController.html#method-i-index">#index &mdash; HooksController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-index">#index &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="DeployKeysController.html#method-i-index">#index &mdash; DeployKeysController</a>
+  
+    <li class="method"><a href="NotesController.html#method-i-index">#index &mdash; NotesController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-index">#index &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="Tree.html#method-i-invalid-3F">#invalid? &mdash; Tree</a>
+  
+    <li class="method"><a href="Account.html#method-i-is_admin-3F">#is_admin? &mdash; Account</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-is_assigned-3F">#is_assigned? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-is_being_closed-3F">#is_being_closed? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-is_being_reassigned-3F">#is_being_reassigned? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-is_being_reopened-3F">#is_being_reopened? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="Tree.html#method-i-is_blob-3F">#is_blob? &mdash; Tree</a>
+  
+    <li class="method"><a href="Key.html#method-i-is_deploy_key">#is_deploy_key &mdash; Key</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-issue">#issue &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Event.html#method-i-issue">#issue &mdash; Event</a>
+  
+    <li class="method"><a href="Event.html#method-i-issue-3F">#issue? &mdash; Event</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-issue_css_classes">#issue_css_classes &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="Notify.html#method-i-issue_status_changed_email">#issue_status_changed_email &mdash; Notify</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-issue_tags">#issue_tags &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="DashboardController.html#method-i-issues">#issues &mdash; DashboardController</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-issues">#issues &mdash; GroupsController</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-issues_filter">#issues_filter &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-issues_filtered">#issues_filtered &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Project.html#method-i-issues_labels">#issues_labels &mdash; Project</a>
+  
+    <li class="method"><a href="Event.html#method-i-joined-3F">#joined? &mdash; Event</a>
+  
+    <li class="method"><a href="Project.html#method-i-last_activity">#last_activity &mdash; Project</a>
+  
+    <li class="method"><a href="Project.html#method-i-last_activity_date">#last_activity_date &mdash; Project</a>
+  
+    <li class="method"><a href="Account.html#method-i-last_activity_project">#last_activity_project &mdash; Account</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-last_commit">#last_commit &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-last_commit">#last_commit &mdash; PushEvent</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-last_commit">#last_commit &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Repository.html#method-i-last_commit_for">#last_commit_for &mdash; Repository</a>
+  
+    <li class="method"><a href="Key.html#method-i-last_deploy-3F">#last_deploy? &mdash; Key</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-last_push_to_non_root-3F">#last_push_to_non_root? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="OmniauthCallbacksController.html#method-i-ldap">#ldap &mdash; OmniauthCallbacksController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-ldap_enable-3F">#ldap_enable? &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Event.html#method-i-left-3F">#left? &mdash; Event</a>
+  
+    <li class="method"><a href="SnippetsHelper.html#method-i-lifetime_select_options">#lifetime_select_options &mdash; SnippetsHelper</a>
+  
+    <li class="method"><a href="CommitDecorator.html#method-i-link_title">#link_title &mdash; CommitDecorator</a>
+  
+    <li class="method"><a href="EventsHelper.html#method-i-link_to_author">#link_to_author &mdash; EventsHelper</a>
+  
+    <li class="method"><a href="NotesHelper.html#method-i-link_to_commit_diff_line_note">#link_to_commit_diff_line_note &mdash; NotesHelper</a>
+  
+    <li class="method"><a href="GitlabMarkdownHelper.html#method-i-link_to_gfm">#link_to_gfm &mdash; GitlabMarkdownHelper</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-link_to_issue_assignee">#link_to_issue_assignee &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-link_to_issue_author">#link_to_issue_author &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="MergeRequestsHelper.html#method-i-link_to_merge_request_assignee">#link_to_merge_request_assignee &mdash; MergeRequestsHelper</a>
+  
+    <li class="method"><a href="MergeRequestsHelper.html#method-i-link_to_merge_request_author">#link_to_merge_request_author &mdash; MergeRequestsHelper</a>
+  
+    <li class="method"><a href="ProjectsHelper.html#method-i-link_to_project">#link_to_project &mdash; ProjectsHelper</a>
+  
+    <li class="method"><a href="NotesHelper.html#method-i-loading_more_notes-3F">#loading_more_notes? &mdash; NotesHelper</a>
+  
+    <li class="method"><a href="NotesHelper.html#method-i-loading_new_notes-3F">#loading_new_notes? &mdash; NotesHelper</a>
+  
+    <li class="method"><a href="Gitlab/Auth.html#method-i-log">#log &mdash; Gitlab::Auth</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-log">#log &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="ProjectObserver.html#method-i-log_info">#log_info &mdash; ProjectObserver</a>
+  
+    <li class="method"><a href="UserObserver.html#method-i-log_info">#log_info &mdash; UserObserver</a>
+  
+    <li class="method"><a href="RefsController.html#method-i-logs_tree">#logs_tree &mdash; RefsController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-mark_as_merged-21">#mark_as_merged! &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-mark_as_unchecked">#mark_as_unchecked &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-mark_as_unmergable">#mark_as_unmergable &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="GitlabMarkdownHelper.html#method-i-markdown">#markdown &mdash; GitlabMarkdownHelper</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-markup-3F">#markup? &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="Authority.html#method-i-master_access_for-3F">#master_access_for? &mdash; Authority</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-md_ref-3F">#md_ref? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Event.html#method-i-membership_changed-3F">#membership_changed? &mdash; Event</a>
+  
+    <li class="method"><a href="Gitlab/Merge.html#method-i-merge-21">#merge! &mdash; Gitlab::Merge</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-merge-21">#merge! &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-merge_event">#merge_event &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Event.html#method-i-merge_request">#merge_request &mdash; Event</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-merge_request">#merge_request &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="Event.html#method-i-merge_request-3F">#merge_request? &mdash; Event</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-merge_requests">#merge_requests &mdash; GroupsController</a>
+  
+    <li class="method"><a href="DashboardController.html#method-i-merge_requests">#merge_requests &mdash; DashboardController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-merged-3F">#merged? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Event.html#method-i-merged-3F">#merged? &mdash; Event</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-method_missing">#method_missing &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-i-method_missing">#method_missing &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-milestone">#milestone &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="Snippet.html#method-i-mode">#mode &mdash; Snippet</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-module_enabled">#module_enabled &mdash; IssuesController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-module_enabled">#module_enabled &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="LabelsController.html#method-i-module_enabled">#module_enabled &mdash; LabelsController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-module_enabled">#module_enabled &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-mr_and_commit_notes">#mr_and_commit_notes &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequestsHelper.html#method-i-mr_css_classes">#mr_css_classes &mdash; MergeRequestsHelper</a>
+  
+    <li class="method"><a href="Snippet.html#method-i-name">#name &mdash; Snippet</a>
+  
+    <li class="method"><a href="TabHelper.html#method-i-nav_link">#nav_link &mdash; TabHelper</a>
+  
+    <li class="method"><a href="KeysController.html#method-i-new">#new &mdash; KeysController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-new">#new &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-new">#new &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-new">#new &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-new">#new &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-new">#new &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-new">#new &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-new">#new &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="DeployKeysController.html#method-i-new">#new &mdash; DeployKeysController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-new">#new &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-new">#new &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-new-3F">#new? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-new_branch-3F">#new_branch? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Event.html#method-i-new_issue-3F">#new_issue? &mdash; Event</a>
+  
+    <li class="method"><a href="Notify.html#method-i-new_issue_email">#new_issue_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Event.html#method-i-new_merge_request-3F">#new_merge_request? &mdash; Event</a>
+  
+    <li class="method"><a href="Notify.html#method-i-new_merge_request_email">#new_merge_request_email &mdash; Notify</a>
+  
+    <li class="method"><a href="MergeRequestsHelper.html#method-i-new_mr_path_from_push_event">#new_mr_path_from_push_event &mdash; MergeRequestsHelper</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-new_record-3F">#new_record? &mdash; StaticModel</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-new_ref-3F">#new_ref? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Notify.html#method-i-new_user_email">#new_user_email &mdash; Notify</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-no_cache_headers">#no_cache_headers &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="CommitDecorator.html#method-i-no_commit_message">#no_commit_message &mdash; CommitDecorator</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-not_allowed-21">#not_allowed! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-not_found-21">#not_found! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-not_found-21">#not_found! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Notify.html#method-i-note_commit_email">#note_commit_email &mdash; Notify</a>
+  
+    <li class="method"><a href="NotesHelper.html#method-i-note_for_main_target-3F">#note_for_main_target? &mdash; NotesHelper</a>
+  
+    <li class="method"><a href="Notify.html#method-i-note_issue_email">#note_issue_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Notify.html#method-i-note_merge_request_email">#note_merge_request_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Notify.html#method-i-note_wall_email">#note_wall_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Notify.html#method-i-note_wiki_email">#note_wiki_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Note.html#method-i-noteable">#noteable &mdash; Note</a>
+  
+    <li class="method"><a href="NotesController.html#method-i-notes">#notes &mdash; NotesController</a>
+  
+    <li class="method"><a href="Note.html#method-i-notify_only_author-3F">#notify_only_author? &mdash; Note</a>
+  
+    <li class="method"><a href="NoteObserver.html#method-i-notify_team">#notify_team &mdash; NoteObserver</a>
+  
+    <li class="method"><a href="ProfileHelper.html#method-i-oauth_active_class">#oauth_active_class &mdash; ProfileHelper</a>
+  
+    <li class="method"><a href="PushObserver.html#method-i-observe_push">#observe_push &mdash; PushObserver</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-open-3F">#open? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Repository.html#method-i-open_branches">#open_branches &mdash; Repository</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-pages">#pages &mdash; WikisController</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-paginate">#paginate &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-parent_commit">#parent_commit &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Commit.html#method-i-parents_count">#parents_count &mdash; Commit</a>
+  
+    <li class="method"><a href="Milestone.html#method-i-participants">#participants &mdash; Milestone</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-password_update">#password_update &mdash; ProfileController</a>
+  
+    <li class="method"><a href="Gitlab/Satellite.html#method-i-path">#path &mdash; Gitlab::Satellite</a>
+  
+    <li class="method"><a href="Repository.html#method-i-path_to_repo">#path_to_repo &mdash; Repository</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-people">#people &mdash; GroupsController</a>
+  
+    <li class="method"><a href="Milestone.html#method-i-percent_complete">#percent_complete &mdash; Milestone</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-persisted-3F">#persisted? &mdash; StaticModel</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-plain_text_readme-3F">#plain_text_readme? &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="PushObserver.html#method-i-post_receive_data">#post_receive_data &mdash; PushObserver</a>
+  
+    <li class="method"><a href="Redcarpet/Render/GitlabHTML.html#method-i-postprocess">#postprocess &mdash; Redcarpet::Render::GitlabHTML</a>
+  
+    <li class="method"><a href="Commit.html#method-i-prev_commit">#prev_commit &mdash; Commit</a>
+  
+    <li class="method"><a href="Commit.html#method-i-prev_commit_id">#prev_commit_id &mdash; Commit</a>
+  
+    <li class="method"><a href="NotesController.html#method-i-preview">#preview &mdash; NotesController</a>
+  
+    <li class="method"><a href="StaticModel/ClassMethods.html#method-i-primary_key">#primary_key &mdash; StaticModel::ClassMethods</a>
+  
+    <li class="method"><a href="Project.html#method-i-private-3F">#private? &mdash; Project</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-probably_merged-3F">#probably_merged? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-project">#project &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Notify.html#method-i-project_access_granted_email">#project_access_granted_email &mdash; Notify</a>
+  
+    <li class="method"><a href="UsersProject.html#method-i-project_access_human">#project_access_human &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Project.html#method-i-project_id">#project_id &mdash; Project</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-project_ids">#project_ids &mdash; GroupsController</a>
+  
+    <li class="method"><a href="Account.html#method-i-project_ids">#project_ids &mdash; Account</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-project_issues_filter_path">#project_issues_filter_path &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-project_last_activity">#project_last_activity &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Event.html#method-i-project_name">#project_name &mdash; Event</a>
+  
+    <li class="method"><a href="TabHelper.html#method-i-project_tab_class">#project_tab_class &mdash; TabHelper</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-project_update">#project_update &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-projects">#projects &mdash; GroupsController</a>
+  
+    <li class="method"><a href="Key.html#method-i-projects">#projects &mdash; Key</a>
+  
+    <li class="method"><a href="Account.html#method-i-projects_limit_percent">#projects_limit_percent &mdash; Account</a>
+  
+    <li class="method"><a href="Account.html#method-i-projects_with_events">#projects_with_events &mdash; Account</a>
+  
+    <li class="method"><a href="Repository.html#method-i-protected_branch-3F">#protected_branch? &mdash; Repository</a>
+  
+    <li class="method"><a href="Project.html#method-i-public-3F">#public? &mdash; Project</a>
+  
+    <li class="method"><a href="Event.html#method-i-push-3F">#push? &mdash; Event</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-push_action_name">#push_action_name &mdash; PushEvent</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-push_with_commits-3F">#push_with_commits? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-raw">#raw &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-raw">#raw &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="TreeDecorator.html#method-i-readme">#readme &mdash; TreeDecorator</a>
+  
+    <li class="method"><a href="Notify.html#method-i-reassigned_issue_email">#reassigned_issue_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Notify.html#method-i-reassigned_merge_request_email">#reassigned_merge_request_email &mdash; Notify</a>
+  
+    <li class="method"><a href="Account.html#method-i-recent_push">#recent_push &mdash; Account</a>
+  
+    <li class="method"><a href="RefsController.html#method-i-ref">#ref &mdash; RefsController</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-ref_name">#ref_name &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Repository.html#method-i-ref_names">#ref_names &mdash; Repository</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-ref_type">#ref_type &mdash; PushEvent</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-reject_blocked-21">#reject_blocked! &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-reload_code">#reload_code &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-reloaded_commits">#reloaded_commits &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-reloaded_diffs">#reloaded_diffs &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="ProjectsHelper.html#method-i-remove_from_team_message">#remove_from_team_message &mdash; ProjectsHelper</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-remove_key">#remove_key &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-remove_project">#remove_project &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-remove_repository">#remove_repository &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-render_404">#render_404 &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-render_api_error-21">#render_api_error! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-render_tree">#render_tree &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="Event.html#method-i-reopened-3F">#reopened? &mdash; Event</a>
+  
+    <li class="method"><a href="Repository.html#method-i-repo">#repo &mdash; Repository</a>
+  
+    <li class="method"><a href="UsersProject.html#method-i-repo_access_human">#repo_access_human &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Repository.html#method-i-repo_exists-3F">#repo_exists? &mdash; Repository</a>
+  
+    <li class="method"><a href="Project.html#method-i-repo_name">#repo_name &mdash; Project</a>
+  
+    <li class="method"><a href="Authority.html#method-i-report_access_for-3F">#report_access_for? &mdash; Authority</a>
+  
+    <li class="method"><a href="Authority.html#method-i-repository_masters">#repository_masters &mdash; Authority</a>
+  
+    <li class="method"><a href="Authority.html#method-i-repository_readers">#repository_readers &mdash; Authority</a>
+  
+    <li class="method"><a href="Authority.html#method-i-repository_writers">#repository_writers &mdash; Authority</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-request_protocol">#request_protocol &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-require_non_empty_project">#require_non_empty_project &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Account.html#method-i-require_ssh_key-3F">#require_ssh_key? &mdash; Account</a>
+  
+    <li class="method"><a href="Authority.html#method-i-reset_access">#reset_access &mdash; Authority</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-reset_private_token">#reset_private_token &mdash; ProfileController</a>
+  
+    <li class="method"><a href="SearchContext.html#method-i-result">#result &mdash; SearchContext</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-rm_key">#rm_key &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-rm_ref-3F">#rm_ref? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="UsersProject.html#method-i-role_access">#role_access &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Repository.html#method-i-root_ref">#root_ref &mdash; Repository</a>
+  
+    <li class="method"><a href="Repository.html#method-i-root_ref-3F">#root_ref? &mdash; Repository</a>
+  
+    <li class="method"><a href="Commit.html#method-i-safe_message">#safe_message &mdash; Commit</a>
+  
+    <li class="method"><a href="Repository.html#method-i-satellite">#satellite &mdash; Repository</a>
+  
+    <li class="method"><a href="Project.html#method-i-saved-3F">#saved? &mdash; Project</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-search">#search &mdash; GroupsController</a>
+  
+    <li class="method"><a href="IssueCommonality/ClassMethods.html#method-i-search">#search &mdash; IssueCommonality::ClassMethods</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-search">#search &mdash; IssuesController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-search_autocomplete_source">#search_autocomplete_source &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="NoteObserver.html#method-i-send_notify_mails">#send_notify_mails &mdash; NoteObserver</a>
+  
+    <li class="method"><a href="MergeRequestObserver.html#method-i-send_reassigned_email">#send_reassigned_email &mdash; MergeRequestObserver</a>
+  
+    <li class="method"><a href="IssueObserver.html#method-i-send_reassigned_email">#send_reassigned_email &mdash; IssueObserver</a>
+  
+    <li class="method"><a href="ApplicationController.html#method-i-set_current_user_for_observers">#set_current_user_for_observers &mdash; ApplicationController</a>
+  
+    <li class="method"><a href="Key.html#method-i-set_identifier">#set_identifier &mdash; Key</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-set_key">#set_key &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="Wiki.html#method-i-set_slug">#set_slug &mdash; Wiki</a>
+  
+    <li class="method"><a href="Commit.html#method-i-short_id">#short_id &mdash; Commit</a>
+  
+    <li class="method"><a href="RepositoriesController.html#method-i-show">#show &mdash; RepositoriesController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-show">#show &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-show">#show &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="GroupsController.html#method-i-show">#show &mdash; GroupsController</a>
+  
+    <li class="method"><a href="SearchController.html#method-i-show">#show &mdash; SearchController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-show">#show &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="Admin/ResqueController.html#method-i-show">#show &mdash; Admin::ResqueController</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-show">#show &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="WikisController.html#method-i-show">#show &mdash; WikisController</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-show">#show &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-show">#show &mdash; IssuesController</a>
+  
+    <li class="method"><a href="BlobController.html#method-i-show">#show &mdash; BlobController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-show">#show &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="KeysController.html#method-i-show">#show &mdash; KeysController</a>
+  
+    <li class="method"><a href="CommitController.html#method-i-show">#show &mdash; CommitController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-show">#show &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-show">#show &mdash; ProfileController</a>
+  
+    <li class="method"><a href="TreeController.html#method-i-show">#show &mdash; TreeController</a>
+  
+    <li class="method"><a href="CompareController.html#method-i-show">#show &mdash; CompareController</a>
+  
+    <li class="method"><a href="CommitsController.html#method-i-show">#show &mdash; CommitsController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-show">#show &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="BlameController.html#method-i-show">#show &mdash; BlameController</a>
+  
+    <li class="method"><a href="DeployKeysController.html#method-i-show">#show &mdash; DeployKeysController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-show_last_push_widget-3F">#show_last_push_widget? &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Snippet.html#method-i-size">#size &mdash; Snippet</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-snippet">#snippet &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-sort">#sort &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-ssh_url_to_repo">#ssh_url_to_repo &mdash; Repository</a>
+  
+    <li class="method"><a href="AttachmentUploader.html#method-i-store_dir">#store_dir &mdash; AttachmentUploader</a>
+  
+    <li class="method"><a href="Key.html#method-i-strip_white_space">#strip_white_space &mdash; Key</a>
+  
+    <li class="method"><a href="RefsController.html#method-i-switch">#switch &mdash; RefsController</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-tag-3F">#tag? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="TagsHelper.html#method-i-tag_list">#tag_list &mdash; TagsHelper</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-tag_name">#tag_name &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Repository.html#method-i-tag_names">#tag_names &mdash; Repository</a>
+  
+    <li class="method"><a href="TagsHelper.html#method-i-tag_path">#tag_path &mdash; TagsHelper</a>
+  
+    <li class="method"><a href="RepositoriesController.html#method-i-tags">#tags &mdash; RepositoriesController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-tags">#tags &mdash; Repository</a>
+  
+    <li class="method"><a href="Event.html#method-i-target_title">#target_title &mdash; Event</a>
+  
+    <li class="method"><a href="Team.html#method-i-team_member_by_id">#team_member_by_id &mdash; Team</a>
+  
+    <li class="method"><a href="Team.html#method-i-team_member_by_name_or_email">#team_member_by_name_or_email &mdash; Team</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-team_update">#team_update &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-team_update">#team_update &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="NoteObserver.html#method-i-team_without_note_author">#team_without_note_author &mdash; NoteObserver</a>
+  
+    <li class="method"><a href="Admin/HooksController.html#method-i-test">#test &mdash; Admin::HooksController</a>
+  
+    <li class="method"><a href="HooksController.html#method-i-test">#test &mdash; HooksController</a>
+  
+    <li class="method"><a href="CommitDecorator.html#method-i-title">#title &mdash; CommitDecorator</a>
+  
+    <li class="method"><a href="Gitlab/GraphCommit.html#method-i-to_graph_hash">#to_graph_hash &mdash; Gitlab::GraphCommit</a>
+  
+    <li class="method"><a href="Group.html#method-i-to_param">#to_param &mdash; Group</a>
+  
+    <li class="method"><a href="Project.html#method-i-to_param">#to_param &mdash; Project</a>
+  
+    <li class="method"><a href="Wiki.html#method-i-to_param">#to_param &mdash; Wiki</a>
+  
+    <li class="method"><a href="StaticModel.html#method-i-to_param">#to_param &mdash; StaticModel</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-to_raw">#to_raw &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="IssueCommonality.html#method-i-today-3F">#today? &mdash; IssueCommonality</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-token">#token &mdash; ProfileController</a>
+  
+    <li class="method"><a href="Repository.html#method-i-tree">#tree &mdash; Repository</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-tree_hex_class">#tree_hex_class &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-tree_icon">#tree_icon &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="TreeHelper.html#method-i-tree_join">#tree_join &mdash; TreeHelper</a>
+  
+    <li class="method"><a href="PushObserver.html#method-i-trigger_post_receive">#trigger_post_receive &mdash; PushObserver</a>
+  
+    <li class="method"><a href="IssuesHelper.html#method-i-unassigned_filter">#unassigned_filter &mdash; IssuesHelper</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-unauthorized-21">#unauthorized! &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-unblock">#unblock &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-unchecked-3F">#unchecked? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="Key.html#method-i-unique_key">#unique_key &mdash; Key</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-unmerged_commits">#unmerged_commits &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-unmerged_diffs">#unmerged_diffs &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="TreeDecorator.html#method-i-up_dir-3F">#up_dir? &mdash; TreeDecorator</a>
+  
+    <li class="method"><a href="TreeDecorator.html#method-i-up_dir_path">#up_dir_path &mdash; TreeDecorator</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-update">#update &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="ProfileController.html#method-i-update">#update &mdash; ProfileController</a>
+  
+    <li class="method"><a href="Admin/ProjectsController.html#method-i-update">#update &mdash; Admin::ProjectsController</a>
+  
+    <li class="method"><a href="TreeController.html#method-i-update">#update &mdash; TreeController</a>
+  
+    <li class="method"><a href="Admin/GroupsController.html#method-i-update">#update &mdash; Admin::GroupsController</a>
+  
+    <li class="method"><a href="IssuesController.html#method-i-update">#update &mdash; IssuesController</a>
+  
+    <li class="method"><a href="Admin/UsersController.html#method-i-update">#update &mdash; Admin::UsersController</a>
+  
+    <li class="method"><a href="Gitlab/FileEditor.html#method-i-update">#update &mdash; Gitlab::FileEditor</a>
+  
+    <li class="method"><a href="MilestonesController.html#method-i-update">#update &mdash; MilestonesController</a>
+  
+    <li class="method"><a href="Admin/TeamMembersController.html#method-i-update">#update &mdash; Admin::TeamMembersController</a>
+  
+    <li class="method"><a href="TeamMembersController.html#method-i-update">#update &mdash; TeamMembersController</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-update">#update &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="SnippetsController.html#method-i-update">#update &mdash; SnippetsController</a>
+  
+    <li class="method"><a href="PushObserver.html#method-i-update_merge_requests">#update_merge_requests &mdash; PushObserver</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-update_project">#update_project &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-update_project-21">#update_project! &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-update_project_config">#update_project_config &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-update_projects">#update_projects &mdash; Gitlab::GitoliteConfig</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-update_repository">#update_repository &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="ProtectedBranch.html#method-i-update_repository">#update_repository &mdash; ProtectedBranch</a>
+  
+    <li class="method"><a href="Repository.html#method-i-update_repository">#update_repository &mdash; Repository</a>
+  
+    <li class="method"><a href="UsersProject.html#method-i-update_repository">#update_repository &mdash; UsersProject</a>
+  
+    <li class="method"><a href="Team.html#method-i-update_users_ids_to_role">#update_users_ids_to_role &mdash; Team</a>
+  
+    <li class="method"><a href="Note.html#method-i-upvote-3F">#upvote? &mdash; Note</a>
+  
+    <li class="method"><a href="Votes.html#method-i-upvotes">#upvotes &mdash; Votes</a>
+  
+    <li class="method"><a href="Votes.html#method-i-upvotes_in_percent">#upvotes_in_percent &mdash; Votes</a>
+  
+    <li class="method"><a href="Repository.html#method-i-url_to_repo">#url_to_repo &mdash; Repository</a>
+  
+    <li class="method"><a href="Gitlab/Gitolite.html#method-i-url_to_repo">#url_to_repo &mdash; Gitlab::Gitolite</a>
+  
+    <li class="method"><a href="Gitlab/APIHelpers.html#method-i-user_project">#user_project &mdash; Gitlab::APIHelpers</a>
+  
+    <li class="method"><a href="Group.html#method-i-users">#users &mdash; Group</a>
+  
+    <li class="method"><a href="Gitlab/Encode.html#method-i-utf8">#utf8 &mdash; Gitlab::Encode</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-valid-3F">#valid? &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-valid_diffs-3F">#valid_diffs? &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="PushEvent.html#method-i-valid_push-3F">#valid_push? &mdash; PushEvent</a>
+  
+    <li class="method"><a href="Repository.html#method-i-valid_repo-3F">#valid_repo? &mdash; Repository</a>
+  
+    <li class="method"><a href="MergeRequest.html#method-i-validate_branches">#validate_branches &mdash; MergeRequest</a>
+  
+    <li class="method"><a href="FileSizeValidator.html#method-i-validate_each">#validate_each &mdash; FileSizeValidator</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-validate_get_request">#validate_get_request &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="Grack/Auth.html#method-i-validate_post_request">#validate_post_request &mdash; Grack::Auth</a>
+  
+    <li class="method"><a href="MergeRequestsController.html#method-i-validates_merge_request">#validates_merge_request &mdash; MergeRequestsController</a>
+  
+    <li class="method"><a href="Votes.html#method-i-votes_count">#votes_count &mdash; Votes</a>
+  
+    <li class="method"><a href="ProjectsController.html#method-i-wall">#wall &mdash; ProjectsController</a>
+  
+    <li class="method"><a href="ApplicationHelper.html#method-i-web_app_url">#web_app_url &mdash; ApplicationHelper</a>
+  
+    <li class="method"><a href="Project.html#method-i-web_url">#web_url &mdash; Project</a>
+  
+    <li class="method"><a href="Project.html#method-i-wiki_notes">#wiki_notes &mdash; Project</a>
+  
+    <li class="method"><a href="Gitlab/GitoliteConfig.html#method-i-write_key">#write_key &mdash; Gitlab::GitoliteConfig</a>
+  
+</ul>
+
+
+<footer id="validator-badges">
+  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
+  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
+  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
+</footer>
+
diff --git a/doc/development.md b/doc/development.md
index 67bcb8e1c9605c2b0718a4fff5be8b6b93afb78e..b7213adc1e0811151ed656d007f46a3c60e9179d 100644
--- a/doc/development.md
+++ b/doc/development.md
@@ -1,45 +1,36 @@
-## Development tips: 
+## Development tips:
 
-### Start application in development mode
 
-#### 1. Via foreman 
+### Installation
 
-    bundle exec foreman -p 3000
+Install the Gitlab development in a virtual machine with the [Gitlab Vagrant virtual machine](https://github.com/gitlabhq/gitlab-vagrant-vm). Installing it in a virtual machine makes it much easier to set up all the dependencies for integration testing.
 
-#### 2. Via gitlab cli
 
-    ./gitlab start
+### Start application in development mode
 
-#### 3. Manually
+#### 1. Via foreman
 
-   bundle exec rails s
-   bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
+    bundle exec foreman start -p 3000
 
+#### 2. Manually
 
-### Run tests: 
- 
-#### 1. Packages
+    bundle exec rails s
+    bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
 
-    # ubuntu
-    sudo apt-get install libqt4-dev libqtwebkit-dev
-    sudo apt-get install xvfb
-   
-    # Mac 
-    brew install qt
-    brew install xvfb
 
-#### 2. DB & seeds
+### Test DB setup & seed
 
     bundle exec rake db:setup RAILS_ENV=test
     bundle exec rake db:seed_fu RAILS_ENV=test
 
-###  3. Run Tests
+
+###  Run the Tests
 
     # All in one
     bundle exec rake gitlab:test
-    
-    # Rspec 
+
+    # Rspec
     bundle exec rake spec
-    
+
     # Spinach
     bundle exec rake spinach
diff --git a/doc/install/databases.md b/doc/install/databases.md
new file mode 100644
index 0000000000000000000000000000000000000000..b7beff26a0fdcd55e0addaccd1a28a430651f581
--- /dev/null
+++ b/doc/install/databases.md
@@ -0,0 +1,71 @@
+# Databases:
+
+GitLab use mysql as default database but you are free to use PostgreSQL or SQLite.
+
+
+## SQLite
+
+    sudo apt-get install -y sqlite3 libsqlite3-dev 
+
+## MySQL
+
+    sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
+
+    # Login to MySQL
+    $ mysql -u root -p
+
+    # Create the GitLab production database
+    mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
+
+    # Create the MySQL User change $password to a real password
+    mysql> CREATE USER 'gitlab'@'localhost' IDENTIFIED BY '$password';
+
+    # Grant proper permissions to the MySQL User
+    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'gitlab'@'localhost';
+
+
+## PostgreSQL
+
+    sudo apt-get install -y postgresql-9.1 postgresql-server-dev-9.1
+
+    # Connect to database server
+    sudo -u postgres psql -d template1
+
+    # Add a user called gitlab. Change $password to a real password
+    template1=# CREATE USER gitlab WITH PASSWORD '$password';
+
+    # Create the GitLab production database & grant all privileges on database
+    template1=# CREATE DATABASE gitlabhq_production OWNER gitlab;
+
+    # Quit from PostgreSQL server
+    template1=# \q
+
+    # Try connect to new database
+    sudo -u gitlab psql -d gitlabhq_production
+
+
+
+#### Select the database you want to use
+
+    # SQLite
+    sudo -u gitlab cp config/database.yml.sqlite config/database.yml
+
+    # Mysql
+    sudo -u gitlab cp config/database.yml.mysql config/database.yml
+
+    # PostgreSQL
+    sudo -u gitlab cp config/database.yml.postgresql config/database.yml
+
+    # make sure to update username/password in config/database.yml
+
+#### Install gems 
+
+    # mysql
+    sudo -u gitlab -H bundle install --without development test sqlite postgres  --deployment
+
+    # or postgres
+    sudo -u gitlab -H bundle install --without development test sqlite mysql --deployment
+
+    # or sqlite
+    sudo -u gitlab -H bundle install --without development test mysql postgres  --deployment
+
diff --git a/doc/installation.md b/doc/install/installation.md
similarity index 61%
rename from doc/installation.md
rename to doc/install/installation.md
index af1a5819d7bce6ee970e697674b274d3b180adfa..07ed0b0f9de2e7241e4cd34d2ecc0c73f77daee0 100644
--- a/doc/installation.md
+++ b/doc/install/installation.md
@@ -1,71 +1,39 @@
-## Platform requirements:
+_This installation guide created for Debian/Ubuntu and properly tested._
 
-**The project is designed for the Linux operating system.**
+_Checkout requirements before setup_
 
-It may work on FreeBSD and Mac OS, but we don't test our application for these systems and can't guarantee stability and full functionality.
-
-We officially support (recent versions of) these Linux distributions:
-
-- Ubuntu Linux
-- Debian/GNU Linux
-
-It should work on:
-
-- Fedora
-- CentOs
-- RedHat
-
-You might have some luck using these, but no guarantees:
-
- - MacOS X
- - FreeBSD
-
-GitLab does **not** run on Windows and we have no plans of making GitLab compatible.
 
+### IMPORTANT
 
-## Hardware: 
+Please make sure you have followed all the steps below before posting to the mailing list with installation and configuration questions.
 
-We recommend to use server with at least 1GB RAM for gitlab instance.
+Only create a GitHub Issue if you want a specific part of this installation guide updated.
 
+Also read the [Read this before you submit an issue](https://github.com/gitlabhq/gitlabhq/wiki/Read-this-before-you-submit-an-issue) wiki page.
 
-## This installation guide created for Debian/Ubuntu and properly tested.
+- - -
 
-The installation consists of 6 steps:
+# Basic setup
 
-1. Install packages / dependencies
-2. Install ruby
-3. Install Gitolite
-4. Install and configure GitLab.
-5. Start the web front-end
-6. Start a Resque worker (for background processing)
+The basic installation will provide you a GitLab setup with options:
 
-### IMPORTANT
+1. ruby 1.9.3
+2. mysql as main db
+3. gitolite v3 fork by gitlab
+4. nginx + unicorn
 
-Please make sure you have followed all the steps below before posting to the mailing list with installation and configuration questions.
+The installation consists of next steps:
 
-Only create a GitHub Issue if you want a specific part of this installation guide updated.
+1. Packages / dependencies
+2. Ruby
+3. Users
+4. Gitolite
+5. Mysql
+6. GitLab.
+7. Nginx 
 
-Also read the [Read this before you submit an issue](https://github.com/gitlabhq/gitlabhq/wiki/Read-this-before-you-submit-an-issue) wiki page.
 
-> - - -
-> The first 3 steps of this guide can be easily skipped by executing an install script:
->
->     # Install curl and sudo
->     apt-get install curl sudo
->
->     # 3 steps in 1 command :)
->     curl https://raw.github.com/gitlabhq/gitlab-recipes/master/install/debian_ubuntu.sh | sh
->
-> Now you can go to [Step 4](#4-install-gitlab-and-configuration-check-status-configuration)
->
-> Or if you are installing on Amazon Web Services using Ubuntu 12.04 you can do all steps (1 to 6) at once with:
->
->     curl https://raw.github.com/gitlabhq/gitlab-recipes/master/install/debian_ubuntu_aws.sh | sh
->
-> for more detailed instructions read the HOWTO section of [the script](https://github.com/gitlabhq/gitlab-recipes/blob/master/install/debian_ubuntu_aws.sh)
-> - - -
-
-# 1. Install packages
+# 1. Packages / dependencies
 
 *Keep in mind that `sudo` is not installed on Debian by default. You should install it as root:*
 
@@ -78,52 +46,7 @@ Now install the required packages:
 
     sudo apt-get install -y wget curl gcc checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libreadline6-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server git-core python-dev python-pip libyaml-dev postfix libpq-dev
 
-
-# Database
-
-## SQLite
-
-    sudo apt-get install -y sqlite3 libsqlite3-dev 
-
-## MySQL
-
-    sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
-
-    # Login to MySQL
-    $ mysql -u root -p
-
-    # Create the GitLab production database
-    mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
-
-    # Create the MySQL User change $password to a real password
-    mysql> CREATE USER 'gitlab'@'localhost' IDENTIFIED BY '$password';
-
-    # Grant proper permissions to the MySQL User
-    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'gitlab'@'localhost';
-
-
-## PostgreSQL
-
-    sudo apt-get install -y postgresql-9.2 postgresql-server-dev-9.2
-
-    # Connect to database server
-    sudo -u postgres psql -d template1
-
-    # Add a user called gitlab. Change $password to a real password
-    template1=# CREATE USER gitlab WITH PASSWORD '$password';
-
-    # Create the GitLab production database
-    template1=# CREATE DATABASE IF NOT EXISTS gitlabhq_production;
-
-    # Grant all privileges on database
-    template1=# GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab;
-
-    # Quit from PostgreSQL server
-    template1=# \q
-
-    # Try connect to new database
-    $ su - gitlab
-    $ psql -d gitlabhq_production -U gitlab
+    sudo pip install pygments
 
 
 # 2. Install Ruby
@@ -135,7 +58,7 @@ Now install the required packages:
     make
     sudo make install
 
-# 3. Install Gitolite
+# 3. Users
 
 Create user for git:
 
@@ -153,18 +76,18 @@ Create user for GitLab:
     # ubuntu/debian
     sudo adduser --disabled-login --gecos 'gitlab system' gitlab
 
-Add your user to the `git` group:
+Add your users to groups:
 
     sudo usermod -a -G git gitlab
-
-Add `git` user to `gitlab` group:
-
     sudo usermod -a -G gitlab git
 
 Generate key:
 
     sudo -H -u gitlab ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa
 
+
+# 4. Gitolite
+
 Clone GitLab's fork of the Gitolite source code:
 
     sudo -H -u git git clone -b gl-v304 https://github.com/gitlabhq/gitolite.git /home/git/gitolite
@@ -180,14 +103,13 @@ Setup:
     sudo chmod 0444 /home/git/gitlab.pub
 
     sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub"
+ 
 
 Permissions:
 
     sudo chmod -R g+rwX /home/git/repositories/
     sudo chown -R git:git /home/git/repositories/
 
-#### CHECK: Logout & login again to apply git group to your user
-
     # clone admin repo to add localhost to known_hosts
     # & be sure your user has access to gitolite
     sudo -u gitlab -H git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
@@ -199,13 +121,31 @@ Permissions:
 Check the [Trouble Shooting Guide](https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide)
 and ensure you have followed all of the above steps carefully.
 
-# 4. Clone GitLab source and install prerequisites
 
-    sudo gem install charlock_holmes --version '0.6.8'
-    sudo pip install pygments
-    sudo gem install bundler
+# 5. Mysql database
+
+    sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
+
+    # Login to MySQL
+    $ mysql -u root -p
+
+    # Create the GitLab production database
+    mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
+
+    # Create the MySQL User change $password to a real password
+    mysql> CREATE USER 'gitlab'@'localhost' IDENTIFIED BY '$password';
+
+    # Grant proper permissions to the MySQL User
+    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'gitlab'@'localhost';
+
+
+# 6. GitLab
+
     cd /home/gitlab
 
+
+#### Get source code
+
     # Get gitlab code. Use this for stable setup
     sudo -H -u gitlab git clone -b stable https://github.com/gitlabhq/gitlabhq.git gitlab
 
@@ -213,39 +153,46 @@ and ensure you have followed all of the above steps carefully.
     # Master branch (recent changes, less stable)
     sudo -H -u gitlab git clone -b master https://github.com/gitlabhq/gitlabhq.git gitlab
 
+
+#### Copy configs
+ 
     cd gitlab
 
     # Rename config files
+    #
     sudo -u gitlab cp config/gitlab.yml.example config/gitlab.yml
 
-#### Select the database you want to use
-
-    # SQLite
-    sudo -u gitlab cp config/database.yml.sqlite config/database.yml
-
-    # Mysql
+    # Copy mysql db config
+    #
+    # make sure to update username/password in config/database.yml
+    #
     sudo -u gitlab cp config/database.yml.mysql config/database.yml
 
-    # PostgreSQL
-    sudo -u gitlab cp config/database.yml.postgres config/database.yml
-
-    # make sure to update username/password in config/database.yml
+    # Copy unicorn config
+    #
+    sudo -u gitlab cp config/unicorn.rb.example config/unicorn.rb
 
 #### Install gems
 
-    # mysql
+    cd /home/gitlab/gitlab
+
+    sudo gem install charlock_holmes --version '0.6.9'
+    sudo gem install bundler
     sudo -u gitlab -H bundle install --without development test sqlite postgres  --deployment
 
-    # or postgres
-    sudo -u gitlab -H bundle install --without development test sqlite mysql --deployment
+#### Configure git client
 
-    # or sqlite
-    sudo -u gitlab -H bundle install --without development test mysql postgres  --deployment
+Gitlab needs to be able to commit and push changes to gitolite.
+Git requires a username and email in order to be able to do that.
 
-#### Setup database
+    sudo -u gitlab -H git config --global user.email "gitlab@localhost"
+    sudo -u gitlab -H git config --global user.name "Gitlab"
+
+#### Setup application
 
     sudo -u gitlab bundle exec rake gitlab:app:setup RAILS_ENV=production
 
+
 #### Setup GitLab hooks
 
     sudo cp ./lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive
@@ -273,53 +220,25 @@ Checking status:
     UMASK for .gitolite.rc is 0007? ............YES
     /home/git/share/gitolite/hooks/common/post-receive exists? ............YES
 
-If you got all YES - congratulations! You can go to the next step.
-
-# 5. Start the web server
-
-Application can be started with next command:
-
-    # For test purposes
-    sudo -u gitlab bundle exec rails s -e production
-
-    # As daemon
-    sudo -u gitlab bundle exec rails s -e production -d
-
-You can login via web using admin generated with setup:
-
-    admin@local.host
-    5iveL!fe
-
-#  6. Run Resque process (for processing job queue).
+If you got all YES - congratulations! You can run a GitLab app.
 
-    # Manually
-    sudo -u gitlab bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes
+#### init script
 
-    # GitLab start script
-    sudo -u gitlab ./resque.sh
-    # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
-    # causing the resque worker not to start via init script on next boot/service restart
-
-## Customizing Resque's Redis connection
+Create init script in /etc/init.d/gitlab:
 
-If you'd like Resque to connect to a Redis server on a non-standard port or on
-a different host, you can configure its connection string in the
-**config/resque.yml** file:
+    sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab -P /etc/init.d/
+    sudo chmod +x /etc/init.d/gitlab
 
-    production: redis.example.com:6379
+GitLab autostart:
 
-**Ok - we have a working application now. **
-**But keep going - there are some things that should be done **
+    sudo update-rc.d gitlab defaults 21
 
-# Nginx && Unicorn
+#### Now you should start GitLab application:
 
-## 1. Unicorn
+    sudo service gitlab start
 
-    cd /home/gitlab/gitlab
-    sudo -u gitlab cp config/unicorn.rb.example config/unicorn.rb
-    sudo -u gitlab bundle exec unicorn_rails -c config/unicorn.rb -E production -D
 
-## 2. Nginx
+# 7. Nginx
 
     # Install first
     sudo apt-get install nginx
@@ -336,17 +255,29 @@ a different host, you can configure its connection string in the
     # Restart nginx:
     sudo /etc/init.d/nginx restart
 
-## 3. Init script
 
-Create init script in /etc/init.d/gitlab:
+# Done!  Visit YOUR_SERVER for gitlab instance
 
-    sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab -P /etc/init.d/
-    sudo chmod +x /etc/init.d/gitlab
+You can login via web using admin generated with setup:
 
-GitLab autostart:
+    admin@local.host
+    5iveL!fe
 
-    sudo update-rc.d gitlab defaults 21
 
-Now you can start/restart/stop GitLab like:
+- - -
+
+
+# Advanced setup tips:
+
+_Checkout databases.md for postgres or sqlite_
+
+## Customizing Resque's Redis connection
+
+If you'd like Resque to connect to a Redis server on a non-standard port or on
+a different host, you can configure its connection string in the
+**config/resque.yml** file:
+
+    production: redis.example.com:6379
 
-    sudo /etc/init.d/gitlab restart
+**Ok - we have a working application now. **
+**But keep going - there are some things that should be done **
diff --git a/doc/install/requirements.md b/doc/install/requirements.md
new file mode 100644
index 0000000000000000000000000000000000000000..75b02d6456f8392623f7340896cca761ba6bd511
--- /dev/null
+++ b/doc/install/requirements.md
@@ -0,0 +1,28 @@
+## Platform requirements:
+
+**The project is designed for the Linux operating system.**
+
+It may work on FreeBSD and Mac OS, but we don't test our application for these systems and can't guarantee stability and full functionality.
+
+We officially support (recent versions of) these Linux distributions:
+
+- Ubuntu Linux
+- Debian/GNU Linux
+
+It should work on:
+
+- Fedora
+- CentOs
+- RedHat
+
+You might have some luck using these, but no guarantees:
+
+- FreeBSD will likely work, see https://github.com/gitlabhq/gitlabhq/issues/796
+- MacOS X will likely work, see https://groups.google.com/forum/#!topic/gitlabhq/5IXHbPkjKLA
+
+GitLab does **not** run on Windows and we have no plans of making GitLab compatible.
+
+
+## Hardware: 
+
+We recommend to use server with at least 1GB RAM for gitlab instance.
diff --git a/features/dashboard/search.feature b/features/dashboard/search.feature
index 91d870f46f3bf57c6c6baeb70a151f7723572e99..9813d9d1e7c8f8d4bdebc0150d422390e799fa27 100644
--- a/features/dashboard/search.feature
+++ b/features/dashboard/search.feature
@@ -2,8 +2,13 @@ Feature: Dashboard Search
   Background:
     Given I sign in as a user
     And I own project "Shop"
+    And Project "Shop" has wiki page "Contibuting guide"
     And I visit dashboard search page
 
   Scenario: I should see project I am looking for
     Given I search for "Sho"
     Then I should see "Shop" project link
+
+  Scenario: I should see wiki page I am looking for
+    Given I search for "Contibuting"
+    Then I should see "Contibuting guide" wiki link
\ No newline at end of file
diff --git a/features/profile/profile.feature b/features/profile/profile.feature
index d07a6db1a7958530d66800fe9a789dda76500378..95b85a9f911a05f3ea0529c1c4b994653207b54a 100644
--- a/features/profile/profile.feature
+++ b/features/profile/profile.feature
@@ -16,6 +16,11 @@ Feature: Profile
     Then I change my password
     And I should be redirected to sign in page
 
+  Scenario: I unsuccessfully change my password
+    Given I visit profile account page
+    When I unsuccessfully change my password
+    Then I should see a password error message
+
   Scenario: I reset my token
     Given I visit profile account page
     Then I reset my token
@@ -25,3 +30,16 @@ Feature: Profile
     Given I have activity
     When I visit profile history page
     Then I should see my activity
+
+  @javascript
+  Scenario: I change my application theme
+    Given I visit profile design page
+    When I change my application theme
+    Then I should see the theme change immediately
+    And I should receive feedback that the changes were saved
+
+  @javascript
+  Scenario: I change my code preview theme
+    Given I visit profile design page
+    When I change my code preview theme
+    Then I should receive feedback that the changes were saved
diff --git a/features/project/commits/commits.feature b/features/project/commits/commits.feature
index df795ef71e63e5dba292532131527fee334b4ec2..56069cdc977840cf5c1e80ab0febbad75b5aea57 100644
--- a/features/project/commits/commits.feature
+++ b/features/project/commits/commits.feature
@@ -19,3 +19,11 @@ Feature: Project Browse commits
     Given I visit compare refs page
     And I fill compare fields with refs
     Then I see compared refs
+
+  Scenario: I browse commits for a specific path
+    Given I visit my project's commits page for a specific path
+    Then I see breadcrumb links
+
+  Scenario: I browse commits stats
+    Given I visit my project's commits stats page
+    Then I see commits stats
diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb
index b22b2465763afe7cb4f7fd45e03e21303055ca24..99c48738876089c1b5e53a8e4b0b611d54518cb6 100644
--- a/features/steps/dashboard/dashboard.rb
+++ b/features/steps/dashboard/dashboard.rb
@@ -32,7 +32,7 @@ class Dashboard < Spinach::FeatureSteps
   end
 
   Given 'user with name "John Doe" joined project "Shop"' do
-    user = Factory.create(:user, {name: "John Doe"})
+    user = create(:user, {name: "John Doe"})
     project = Project.find_by_name "Shop"
     Event.create(
       project: project,
@@ -60,14 +60,14 @@ class Dashboard < Spinach::FeatureSteps
   end
 
   And 'I own project "Shop"' do
-    @project = Factory :project, :name => 'Shop'
+    @project = create :project, name: 'Shop'
     @project.add_access(@user, :admin)
   end
 
   And 'I have group with projects' do
-    @group   = Factory :group
-    @project = Factory :project, group: @group
-    @event   = Factory :closed_issue_event, project: @project
+    @group   = create(:group)
+    @project = create(:project, group: @group)
+    @event   = create(:closed_issue_event, project: @project)
 
     @project.add_access current_user, :admin
   end
@@ -76,25 +76,25 @@ class Dashboard < Spinach::FeatureSteps
     @project = Project.find_by_name("Shop")
 
     data = {
-      :before => "0000000000000000000000000000000000000000",
-      :after => "0220c11b9a3e6c69dc8fd35321254ca9a7b98f7e",
-      :ref => "refs/heads/new_design",
-      :user_id => @user.id,
-      :user_name => @user.name,
-      :repository => {
-        :name => @project.name,
-        :url => "localhost/rubinius",
-        :description => "",
-        :homepage => "localhost/rubinius",
-        :private => true
+      before: "0000000000000000000000000000000000000000",
+      after: "0220c11b9a3e6c69dc8fd35321254ca9a7b98f7e",
+      ref: "refs/heads/new_design",
+      user_id: @user.id,
+      user_name: @user.name,
+      repository: {
+        name: @project.name,
+        url: "localhost/rubinius",
+        description: "",
+        homepage: "localhost/rubinius",
+        private: true
       }
     }
 
     @event = Event.create(
-      :project => @project,
-      :action => Event::Pushed,
-      :data => data,
-      :author_id => @user.id
+      project: @project,
+      action: Event::Pushed,
+      data: data,
+      author_id: @user.id
     )
   end
 
diff --git a/features/steps/dashboard/dashboard_issues.rb b/features/steps/dashboard/dashboard_issues.rb
index 9368782bf99e2127d0b3c41441821c53e9e22d78..e5caf905f953f58e0c197a1a6f8d963d1e9459c7 100644
--- a/features/steps/dashboard/dashboard_issues.rb
+++ b/features/steps/dashboard/dashboard_issues.rb
@@ -11,9 +11,9 @@ class DashboardIssues < Spinach::FeatureSteps
   end
 
   And 'I have assigned issues' do
-    project = Factory :project
+    project = create :project
     project.add_access(@user, :read, :write)
 
-    2.times { Factory :issue, :author => @user, :assignee => @user, :project => project }
+    2.times { create :issue, author: @user, assignee: @user, project: project }
   end
 end
diff --git a/features/steps/dashboard/dashboard_merge_requests.rb b/features/steps/dashboard/dashboard_merge_requests.rb
index fc339e756d8219f85b2cd5bfef642f9c2e20adb0..485a4ccc113380192c3fd5a6850e5766a6a3e887 100644
--- a/features/steps/dashboard/dashboard_merge_requests.rb
+++ b/features/steps/dashboard/dashboard_merge_requests.rb
@@ -11,13 +11,13 @@ class DashboardMergeRequests < Spinach::FeatureSteps
   end
 
   And 'I have authored merge requests' do
-    project1 = Factory :project
-    project2 = Factory :project
+    project1 = create :project
+    project2 = create :project
 
     project1.add_access(@user, :read, :write)
     project2.add_access(@user, :read, :write)
 
-    merge_request1 = Factory :merge_request, :author => @user, :project => project1
-    merge_request2 = Factory :merge_request, :author => @user, :project => project2
+    merge_request1 = create :merge_request, author: @user, project: project1
+    merge_request2 = create :merge_request, author: @user, project: project2
   end
 end
diff --git a/features/steps/dashboard/dashboard_search.rb b/features/steps/dashboard/dashboard_search.rb
index e35858985d688a89b7c965468dacb7e7417764bc..a34c14d0c5fb503a63763e43a37bcc4cf8c1537e 100644
--- a/features/steps/dashboard/dashboard_search.rb
+++ b/features/steps/dashboard/dashboard_search.rb
@@ -3,7 +3,7 @@ class DashboardSearch < Spinach::FeatureSteps
   include SharedPaths
 
   Given 'I search for "Sho"' do
-    fill_in "dashboard_search", :with => "Sho"
+    fill_in "dashboard_search", with: "Sho"
     click_button "Search"
   end
 
@@ -12,7 +12,23 @@ class DashboardSearch < Spinach::FeatureSteps
   end
 
   And 'I own project "Shop"' do
-    @project = Factory :project, :name => "Shop"
+    @project = create(:project, :name => "Shop")
     @project.add_access(@user, :admin)
   end
+
+  Given 'I search for "Contibuting"' do
+    fill_in "dashboard_search", with: "Contibuting"
+    click_button "Search"
+  end
+
+  And 'Project "Shop" has wiki page "Contibuting guide"' do
+    @wiki_page = create :wiki,
+      project: @project,
+      title: "Contibuting guide",
+      slug: "contributing"
+  end
+
+  Then 'I should see "Contibuting guide" wiki link' do
+    page.should have_link "Contibuting guide"
+  end
 end
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 51581a1ec7bc76de8bfc3d066d7a125a9dfc2ffe..4de260ec33e35a72d913552e7317e7bf2eb0320b 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -9,9 +9,9 @@ class Groups < Spinach::FeatureSteps
   end
 
   And 'I have group with projects' do
-    @group   = Factory :group
-    @project = Factory :project, group: @group
-    @event   = Factory :closed_issue_event, project: @project
+    @group   = create(:group)
+    @project = create(:project, group: @group)
+    @event   = create(:closed_issue_event, project: @project)
 
     @project.add_access current_user, :admin
   end
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb
index 605936ba55eb66a4518c44146773773b605b4127..b6833f2bde24646c603a83690a70e6ff8426d8ff 100644
--- a/features/steps/profile/profile.rb
+++ b/features/steps/profile/profile.rb
@@ -28,6 +28,16 @@ class Profile < Spinach::FeatureSteps
     click_button "Save"
   end
 
+  When 'I unsuccessfully change my password' do
+    fill_in "user_password", with: "password"
+    fill_in "user_password_confirmation", with: "confirmation"
+    click_button "Save"
+  end
+
+  Then "I should see a password error message" do
+    page.should have_content "Password doesn't match confirmation"
+  end
+
   And 'I should be redirected to sign in page' do
     current_path.should == new_user_session_path
   end
@@ -43,10 +53,27 @@ class Profile < Spinach::FeatureSteps
   end
 
   Given 'I have activity' do
-    Factory :closed_issue_event, author: current_user
+    create(:closed_issue_event, author: current_user)
   end
 
   Then 'I should see my activity' do
     page.should have_content "#{current_user.name} closed issue"
   end
+
+  When "I change my application theme" do
+    choose "Violet"
+  end
+
+  When "I change my code preview theme" do
+    choose "Dark code preview"
+  end
+
+  Then "I should see the theme change immediately" do
+    page.should have_selector('body.ui_color')
+    page.should_not have_selector('body.ui_basic')
+  end
+
+  Then "I should receive feedback that the changes were saved" do
+    page.should have_content("Saved")
+  end
 end
diff --git a/features/steps/profile/profile_ssh_keys.rb b/features/steps/profile/profile_ssh_keys.rb
index 535c3862860125342f38754c7cbb955f28c47602..8ae1fa910257abe044d74162a415bc1732b4539b 100644
--- a/features/steps/profile/profile_ssh_keys.rb
+++ b/features/steps/profile/profile_ssh_keys.rb
@@ -43,6 +43,6 @@ class ProfileSshKeys < Spinach::FeatureSteps
   end
 
   And 'I have ssh key "ssh-rsa Work"' do
-    Factory :key, :user => @user, :title => "ssh-rsa Work", :key => "jfKLJDFKSFJSHFJssh-rsa Work"
+    create(:key, :user => @user, :title => "ssh-rsa Work", :key => "jfKLJDFKSFJSHFJssh-rsa Work")
   end
 end
diff --git a/features/steps/project/project_browse_commits.rb b/features/steps/project/project_browse_commits.rb
index cb5cabe98b3ac6cda3afb6c3fda08fa3ca2d0387..6bf164e2c8f0079478c8f5956851434926841473 100644
--- a/features/steps/project/project_browse_commits.rb
+++ b/features/steps/project/project_browse_commits.rb
@@ -42,4 +42,20 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
     page.should have_content "Commits (1)"
     page.should have_content "Showing 2 changed files"
   end
+
+  Then 'I see breadcrumb links' do
+    page.should have_selector('ul.breadcrumb')
+    page.should have_selector('ul.breadcrumb span.divider', count: 3)
+    page.should have_selector('ul.breadcrumb a', count: 4)
+
+    find('ul.breadcrumb li:first a')['href'].should match(/#{@project.path}\/commits\/master\z/)
+    find('ul.breadcrumb li:last a')['href'].should match(%r{master/app/models/project\.rb\z})
+  end
+
+  Then 'I see commits stats' do
+    page.should have_content 'Stats'
+    page.should have_content 'Committers'
+    page.should have_content 'Total commits'
+    page.should have_content 'Authors'
+  end
 end
diff --git a/features/steps/project/project_hooks.rb b/features/steps/project/project_hooks.rb
index 1786fe5bc05ac73ee45da631e44726cf642492c4..36555fb8e8cfa40699a072f01dec0887fd153473 100644
--- a/features/steps/project/project_hooks.rb
+++ b/features/steps/project/project_hooks.rb
@@ -6,7 +6,7 @@ class ProjectHooks < Spinach::FeatureSteps
   include RSpec::Mocks::ExampleMethods
 
   Given 'project has hook' do
-    @hook = Factory :project_hook, project: current_project
+    @hook = create(:project_hook, project: current_project)
   end
 
   Then 'I should see project hook' do
diff --git a/features/steps/project/project_issues.rb b/features/steps/project/project_issues.rb
index 64af24490aa3ce4753f2783aaddcc17cc3347312..88bfac638d0510883c1136d3d3f10a9817960614 100644
--- a/features/steps/project/project_issues.rb
+++ b/features/steps/project/project_issues.rb
@@ -79,16 +79,16 @@ class ProjectIssues < Spinach::FeatureSteps
 
   Given 'project "Shop" has milestone "v2.2"' do
     project = Project.find_by_name("Shop")
-    milestone = Factory :milestone, :title => "v2.2", :project => project
+    milestone = create(:milestone, :title => "v2.2", :project => project)
 
-    3.times { Factory :issue, :project => project, :milestone => milestone }
+    3.times { create(:issue, :project => project, :milestone => milestone) }
   end
 
   And 'project "Shop" has milestone "v3.0"' do
     project = Project.find_by_name("Shop")
-    milestone = Factory :milestone, :title => "v3.0", :project => project
+    milestone = create(:milestone, :title => "v3.0", :project => project)
 
-    3.times { Factory :issue, :project => project, :milestone => milestone }
+    3.times { create(:issue, :project => project, :milestone => milestone) }
   end
 
   When 'I select milestone "v3.0"' do
@@ -96,8 +96,7 @@ class ProjectIssues < Spinach::FeatureSteps
   end
 
   Then 'I should see selected milestone with title "v3.0"' do
-    issues_milestone_selector = "#issue_milestone_id_chzn/a"
-    wait_until { page.has_content?("Details") }
+    issues_milestone_selector = "#milestone_id_chzn > a"
     page.find(issues_milestone_selector).should have_content("v3.0")
   end
 
@@ -108,8 +107,7 @@ class ProjectIssues < Spinach::FeatureSteps
   end
 
   Then 'I should see first assignee from "Shop" as selected assignee' do
-    issues_assignee_selector = "#issue_assignee_id_chzn/a"
-    wait_until { page.has_content?("Details") }
+    issues_assignee_selector = "#assignee_id_chzn > a"
     project = Project.find_by_name "Shop"
     assignee_name = project.users.first.name
     page.find(issues_assignee_selector).should have_content(assignee_name)
@@ -117,18 +115,18 @@ class ProjectIssues < Spinach::FeatureSteps
 
   And 'project "Shop" have "Release 0.4" open issue' do
     project = Project.find_by_name("Shop")
-    Factory.create(:issue,
-      :title => "Release 0.4",
-      :project => project,
-      :author => project.users.first)
+    create(:issue,
+           :title => "Release 0.4",
+           :project => project,
+           :author => project.users.first)
   end
 
   And 'project "Shop" have "Release 0.3" closed issue' do
     project = Project.find_by_name("Shop")
-    Factory.create(:issue,
-      :title => "Release 0.3",
-      :project => project,
-      :author => project.users.first,
-      :closed => true)
+    create(:issue,
+           :title => "Release 0.3",
+           :project => project,
+           :author => project.users.first,
+           :closed => true)
   end
 end
diff --git a/features/steps/project/project_labels.rb b/features/steps/project/project_labels.rb
index 1a347bf358f6c1ce8edb116f27a4737a03c166d3..915190f3dae2f1e9f05bb5c7257084e2684446d2 100644
--- a/features/steps/project/project_labels.rb
+++ b/features/steps/project/project_labels.rb
@@ -18,7 +18,7 @@ class ProjectLabels < Spinach::FeatureSteps
   And 'project "Shop" have issues tags: "bug", "feature"' do
     project = Project.find_by_name("Shop")
     ['bug', 'feature'].each do |label|
-      Factory :issue, project: project, label_list: label
+      create(:issue, project: project, label_list: label)
     end
   end
 end
diff --git a/features/steps/project/project_merge_requests.rb b/features/steps/project/project_merge_requests.rb
index 80e83906c723e93ff069857f7b29fd3e4982e500..d153ad28d2b6f6ec595e47d85b7a1085a6ad7189 100644
--- a/features/steps/project/project_merge_requests.rb
+++ b/features/steps/project/project_merge_requests.rb
@@ -63,18 +63,18 @@ class ProjectMergeRequests < Spinach::FeatureSteps
 
   And 'project "Shop" have "Bug NS-04" open merge request' do
     project = Project.find_by_name("Shop")
-    Factory.create(:merge_request,
-      :title => "Bug NS-04",
-      :project => project,
-      :author => project.users.first)
+    create(:merge_request,
+           :title => "Bug NS-04",
+           :project => project,
+           :author => project.users.first)
   end
 
   And 'project "Shop" have "Feature NS-03" closed merge request' do
     project = Project.find_by_name("Shop")
-    Factory.create(:merge_request,
-      :title => "Feature NS-03",
-      :project => project,
-      :author => project.users.first,
-      :closed => true)
+    create(:merge_request,
+           :title => "Feature NS-03",
+           :project => project,
+           :author => project.users.first,
+           :closed => true)
   end
 end
diff --git a/features/steps/project/project_milestones.rb b/features/steps/project/project_milestones.rb
index 4d689c95d259f7a31fdbaeb889fd537b186ff37a..1c9ad6da6514a425542031571e6e15f276150133 100644
--- a/features/steps/project/project_milestones.rb
+++ b/features/steps/project/project_milestones.rb
@@ -32,9 +32,9 @@ class ProjectMilestones < Spinach::FeatureSteps
 
   And 'project "Shop" has milestone "v2.2"' do
     project = Project.find_by_name("Shop")
-    milestone = Factory :milestone, :title => "v2.2", :project => project
+    milestone = create(:milestone, :title => "v2.2", :project => project)
 
-    3.times { Factory :issue, :project => project, :milestone => milestone }
+    3.times { create(:issue, :project => project, :milestone => milestone) }
   end
 
   Given 'the milestone has open and closed issues' do
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb
index f34a81a408d0866d97958543a22e0eabe9f9ff94..6fde532f1a257f1def16e07ecb97dbe424063d06 100644
--- a/features/steps/project/project_network_graph.rb
+++ b/features/steps/project/project_network_graph.rb
@@ -11,12 +11,10 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
   end
 
   And 'I visit project "Shop" network page' do
-    project = Project.find_by_name("Shop")
-
-    # Stub out find_all to speed this up (10 commits vs. 650)
-    commits = Grit::Commit.find_all(project.repo, nil, {max_count: 10})
-    Grit::Commit.stub(:find_all).and_return(commits)
+    # Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
+    Gitlab::Graph::JsonBuilder.stub(max_count: 10)
 
+    project = Project.find_by_name("Shop")
     visit graph_project_path(project)
   end
 end
diff --git a/features/steps/project/project_team_management.rb b/features/steps/project/project_team_management.rb
index 5c3a9b311295f3cb31323c38899434a4a7e972d0..6bde0b64dfa6b21bc9ea1f0cc8d61d22c017573c 100644
--- a/features/steps/project/project_team_management.rb
+++ b/features/steps/project/project_team_management.rb
@@ -74,11 +74,11 @@ class ProjectTeamManagement < Spinach::FeatureSteps
   end
 
   And 'gitlab user "Mike"' do
-    Factory :user, :name => "Mike"
+    create(:user, :name => "Mike")
   end
 
   And 'gitlab user "Sam"' do
-    Factory :user, :name => "Sam"
+    create(:user, :name => "Sam")
   end
 
   And '"Sam" is "Shop" developer' do
@@ -88,7 +88,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
   end
 
   Given 'I own project "Website"' do
-    @project = Factory :project, :name => "Website"
+    @project = create(:project, :name => "Website")
     @project.add_access(@user, :admin)
   end
 
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index b4e4b810c2091d8f906c8a6b3fb99c1060bfc199..33a940274723d963853e7503ec6b8a765cab7791 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -121,10 +121,17 @@ module SharedPaths
     visit project_commits_path(@project, @project.root_ref, {limit: 5})
   end
 
+  Given "I visit my project's commits page for a specific path" do
+    visit project_commits_path(@project, @project.root_ref + "/app/models/project.rb", {limit: 5})
+  end
+
+  Given 'I visit my project\'s commits stats page' do
+    visit stats_project_repository_path(@project)
+  end
+
   Given "I visit my project's network page" do
-    # Stub out find_all to speed this up (10 commits vs. 650)
-    commits = Grit::Commit.find_all(@project.repo, nil, {max_count: 10})
-    Grit::Commit.stub(:find_all).and_return(commits)
+    # Stub Graph::JsonBuilder max_size to speed up test (10 commits vs. 650)
+    Gitlab::Graph::JsonBuilder.stub(max_count: 10)
 
     visit graph_project_path(@project)
   end
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index ae871d63ed572afb66ced64975c0d16279230cf9..dfc8ce9d99c4e84d58ce2d13d0ba9082dc58f996 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -9,7 +9,7 @@ module SharedProject
 
   # Create a specific project called "Shop"
   And 'I own project "Shop"' do
-    @project = Factory :project, :name => "Shop"
+    @project = create(:project, :name => "Shop")
     @project.add_access(@user, :admin)
   end
 
diff --git a/features/support/env.rb b/features/support/env.rb
index 6d49c25a8baa66823fa2cb61807b02aa2c2cc6dc..1a72d765197beb3e8e3e0bc9326c1b4ff7c89a59 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -11,14 +11,33 @@ end
 
 Dir["#{Rails.root}/features/steps/shared/*.rb"].each {|file| require file}
 
+#
+# Stub gitolite
+#
 include GitoliteStub
 
 WebMock.allow_net_connect!
-Capybara.javascript_driver = :webkit
+
+#
+# JS driver
+#
+require 'capybara/poltergeist'
+Capybara.javascript_driver = :poltergeist
+Spinach.hooks.on_tag("javascript") do
+  ::Capybara.current_driver = ::Capybara.javascript_driver
+  ::Capybara.default_wait_time = 5
+end
+
 
 DatabaseCleaner.strategy = :truncation
-Spinach.hooks.before_scenario { DatabaseCleaner.start }
-Spinach.hooks.after_scenario  { DatabaseCleaner.clean }
+
+Spinach.hooks.before_scenario do
+  DatabaseCleaner.start
+end
+
+Spinach.hooks.after_scenario do
+  DatabaseCleaner.clean
+end
 
 Spinach.hooks.before_run do
   RSpec::Mocks::setup self
diff --git a/gitlab b/gitlab
deleted file mode 100755
index acafb3f10c44f92c0fab3ff83f7bda01255baf63..0000000000000000000000000000000000000000
--- a/gitlab
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/env ruby
-
-class GitlabCli
-  def initialize
-    @path = File.dirname(__FILE__)
-    @command = ARGV.shift
-    @mode = ARGV.shift
-  end
-
-  def execute
-    case @command
-    when 'start' then start
-    when 'stop' then stop
-    else
-      puts "-- Usage gitlab start production or gitlab stop development"
-    end
-  end
-
-  private
-
-  def start
-    case @mode
-    when 'production';
-      system(unicorn_start_cmd)
-      system(resque_start_cmd)
-    else
-      system(rails_start_cmd)
-      system(resque_dev_start_cmd)
-    end
-  end
-
-  def stop
-    case @mode
-    when 'production';
-      system(unicorn_stop_cmd)
-    else
-      system(rails_stop_cmd)
-    end
-    system(resque_stop_cmd)
-  end
-
-  def rails_start_cmd
-    "bundle exec rails s -d"
-  end
-
-  def rails_stop_cmd
-    pid = File.join(@path, "tmp/pids/server.pid")
-    "kill -QUIT `cat #{pid}`"
-  end
-
-  def unicorn_start_cmd
-    unicorn_conf  = File.join(@path, "config/unicorn.rb")
-    "bundle exec unicorn_rails -c #{unicorn_conf} -E production -D"
-  end
-
-  def unicorn_stop_cmd
-    pid = File.join(@path, "/tmp/pids/unicorn.pid")
-    "kill -QUIT `cat #{pid}`"
-  end
-
-  def resque_dev_start_cmd
-    "./resque_dev.sh > /dev/null 2>&1"
-  end
-
-  def resque_start_cmd
-    "./resque.sh > /dev/null 2>&1"
-  end
-
-  def resque_stop_cmd
-    pid = File.join(@path, "tmp/pids/resque_worker.pid")
-    "kill -QUIT `cat #{pid}`"
-  end
-end
-
-GitlabCli.new.execute
diff --git a/lib/api.rb b/lib/api.rb
index 2890a8cc9e8f13e2881f001ec7389dfe19f28728..7a1845443e734eed6e220f318eb34efd8df33932 100644
--- a/lib/api.rb
+++ b/lib/api.rb
@@ -18,5 +18,6 @@ module Gitlab
     mount Issues
     mount Milestones
     mount Session
+    mount MergeRequests
   end
 end
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index ee693de699e21c389a6796585b0fc389ad18d81a..9e605a607a2c92b7d81a545ea01c272b59978d67 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -63,5 +63,15 @@ module Gitlab
     class SSHKey < Grape::Entity
       expose :id, :title, :key
     end
+
+    class MergeRequest < Grape::Entity
+      expose :id, :target_branch, :source_branch, :project_id, :title, :closed, :merged
+      expose :author, :assignee, using: Entities::UserBasic
+    end
+
+    class Note < Grape::Entity
+      expose :author, using: Entities::UserBasic
+      expose :note
+    end
   end
 end
diff --git a/lib/api/merge_requests.rb b/lib/api/merge_requests.rb
new file mode 100644
index 0000000000000000000000000000000000000000..d8f2c51293a532277a0105176e6bb4c93e3e052b
--- /dev/null
+++ b/lib/api/merge_requests.rb
@@ -0,0 +1,118 @@
+module Gitlab
+  # MergeRequest API
+  class MergeRequests < Grape::API
+    before { authenticate! }
+
+    resource :projects do
+      
+      # List merge requests
+      # 
+      # Parameters:
+      #   id (required) - The ID or code name of a project
+      #
+      # Example:
+      #   GET /projects/:id/merge_requests
+      #
+      get ":id/merge_requests" do
+        authorize! :read_merge_request, user_project
+        
+        present paginate(user_project.merge_requests), with: Entities::MergeRequest
+      end
+      
+      # Show MR
+      # 
+      # Parameters:
+      #   id (required)               - The ID or code name of a project
+      #   merge_request_id (required) - The ID of MR
+      # 
+      # Example:
+      #   GET /projects/:id/merge_request/:merge_request_id
+      #
+      get ":id/merge_request/:merge_request_id" do
+        merge_request = user_project.merge_requests.find(params[:merge_request_id])
+        
+        authorize! :read_merge_request, merge_request
+        
+        present merge_request, with: Entities::MergeRequest
+      end
+
+      # Create MR
+      #
+      # Parameters:
+      #
+      #   id (required)            - The ID or code name of a project
+      #   source_branch (required) - The source branch
+      #   target_branch (required) - The target branch
+      #   assignee_id              - Assignee user ID
+      #   title (required)         - Title of MR
+      # 
+      # Example:
+      #   POST /projects/:id/merge_requests
+      #
+      post ":id/merge_requests" do
+        authorize! :write_merge_request, user_project
+        
+        attrs = attributes_for_keys [:source_branch, :target_branch, :assignee_id, :title]
+        merge_request = user_project.merge_requests.new(attrs)
+        merge_request.author = current_user
+        
+        if merge_request.save
+          merge_request.reload_code
+          present merge_request, with: Entities::MergeRequest
+        else
+          not_found!
+        end
+      end
+
+      # Update MR
+      #
+      # Parameters:
+      #   id (required)               - The ID or code name of a project
+      #   merge_request_id (required) - ID of MR
+      #   source_branch               - The source branch
+      #   target_branch               - The target branch
+      #   assignee_id                 - Assignee user ID
+      #   title                       - Title of MR
+      #   closed                      - Status of MR. true - closed
+      # Example:
+      #   PUT /projects/:id/merge_request/:merge_request_id
+      #
+      put ":id/merge_request/:merge_request_id" do
+        attrs = attributes_for_keys [:source_branch, :target_branch, :assignee_id, :title, :closed]
+        merge_request = user_project.merge_requests.find(params[:merge_request_id])
+        
+        authorize! :modify_merge_request, merge_request
+        
+        if merge_request.update_attributes attrs
+          merge_request.reload_code
+          merge_request.mark_as_unchecked
+          present merge_request, with: Entities::MergeRequest
+        else
+          not_found!
+        end
+      end
+
+      # Post comment to merge request
+      #
+      # Parameters:
+      #   id (required) - The ID or code name of a project
+      #   merge_request_id (required) - ID of MR
+      #   note (required) - Text of comment
+      # Examples: 
+      #   POST /projects/:id/merge_request/:merge_request_id/comments
+      #
+      post ":id/merge_request/:merge_request_id/comments" do
+        merge_request = user_project.merge_requests.find(params[:merge_request_id])
+        note = merge_request.notes.new(note: params[:note], project_id: user_project.id)
+        note.author = current_user
+
+        if note.save
+          present note, with: Entities::Note
+        else
+          not_found!
+        end
+      end
+
+    end
+  end
+end
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 8f094e0c7236fa6bf9649f4983f4b30ba5d8de91..ac20bbeccab9b90cebbf530185be9992f0a3042e 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -147,7 +147,7 @@ module Gitlab
         @hooks = paginate user_project.hooks
         present @hooks, with: Entities::Hook
       end
-      
+
       # Get a project hook
       #
       # Parameters:
@@ -159,7 +159,7 @@ module Gitlab
         @hook = user_project.hooks.find(params[:hook_id])
         present @hook, with: Entities::Hook
       end
-      
+
 
       # Add hook to project
       #
@@ -177,7 +177,7 @@ module Gitlab
           error!({'message' => '404 Not found'}, 404)
         end
       end
-      
+
       # Update an existing project hook
       #
       # Parameters:
@@ -382,13 +382,7 @@ module Gitlab
         tree = Tree.new commit.tree, user_project, ref, params[:filepath]
         not_found! "File" unless tree.try(:tree)
 
-        if tree.text?
-          encoding = Gitlab::Encode.detect_encoding(tree.data)
-          content_type encoding ? "text/plain; charset=#{encoding}" : "text/plain"
-        else
-          content_type tree.mime_type
-        end
-
+        content_type tree.mime_type
         present tree.data
       end
 
diff --git a/lib/api/users.rb b/lib/api/users.rb
index 7f548aaa667b3312287c86f6b8b98892aafe52d9..57e0aa108cfb8cd8dc78f7b869f0a75bdf9bfddc 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -23,24 +23,23 @@ module Gitlab
         @user = User.find(params[:id])
         present @user, with: Entities::User
       end
-      
+
       # Create user. Available only for admin
       #
       # Parameters:
       #   email (required)                  - Email
-      #   name (required)                   - Name
       #   password (required)               - Password
-      #   password_confirmation (required)  - Password confirmation
+      #   name                              - Name
       #   skype                             - Skype ID
       #   linkedin                          - Linkedin
       #   twitter                           - Twitter account
-      #   projects_limit                    - Limit projects wich user can create
+      #   projects_limit                    - Number of projects user can create
       # Example Request:
       #   POST /users
       post do
         authenticated_as_admin!
-        attrs = attributes_for_keys [:email, :name, :password, :password_confirmation, :skype, :linkedin, :twitter, :projects_limit]
-        user = User.new attrs
+        attrs = attributes_for_keys [:email, :name, :password, :skype, :linkedin, :twitter, :projects_limit]
+        user = User.new attrs, as: :admin
         if user.save
           present user, with: Entities::User
         else
diff --git a/lib/event_filter.rb b/lib/event_filter.rb
new file mode 100644
index 0000000000000000000000000000000000000000..14ab0193bf125a6e872d5979a31aae356401ed1a
--- /dev/null
+++ b/lib/event_filter.rb
@@ -0,0 +1,68 @@
+class EventFilter
+  attr_accessor :params
+
+  class << self
+    def default_filter
+      %w{ push issues merge_requests team}
+    end
+
+    def push
+      'push'
+    end
+
+    def merged
+      'merged'
+    end
+
+    def comments
+      'comments'
+    end
+
+    def team
+      'team'
+    end
+  end
+
+  def initialize params
+    @params = if params
+                params.dup
+              else
+                []#EventFilter.default_filter
+              end
+  end
+
+  def apply_filter events
+    return events unless params.present?
+
+    filter = params.dup
+
+    actions = []
+    actions << Event::Pushed if filter.include? 'push'
+    actions << Event::Merged if filter.include? 'merged'
+
+    if filter.include? 'team'
+      actions << Event::Joined
+      actions << Event::Left
+    end
+
+    actions << Event::Commented if filter.include? 'comments'
+
+    events = events.where(action: actions)
+  end
+
+  def options key
+    filter = params.dup
+
+    if filter.include? key
+      filter.delete key
+    else
+      filter << key
+    end
+
+    filter
+  end
+
+  def active? key
+    params.include? key
+  end
+end
diff --git a/lib/gitlab/backend/gitolite_config.rb b/lib/gitlab/backend/gitolite_config.rb
index d988164d4398da1114042f25ee99c6568a73f87f..7ae34de66bc39b1148435d56e362dc2809482dcb 100644
--- a/lib/gitlab/backend/gitolite_config.rb
+++ b/lib/gitlab/backend/gitolite_config.rb
@@ -14,7 +14,10 @@ module Gitlab
     end
 
     def ga_repo
-      @ga_repo ||= ::Gitolite::GitoliteAdmin.new(File.join(config_tmp_dir,'gitolite'))
+      @ga_repo ||= ::Gitolite::GitoliteAdmin.new(
+        File.join(config_tmp_dir,'gitolite'),
+        conf: Gitlab.config.gitolite_config_file
+      )
     end
 
     def apply
@@ -191,8 +194,10 @@ module Gitlab
 
     def push tmp_dir
       Dir.chdir(File.join(tmp_dir, "gitolite"))
-      system('git add -A')
-      system('git commit -am "GitLab"')
+      raise "Git add failed." unless system('git add -A')
+      system('git commit -m "GitLab"') # git commit returns 0 on success, and 1 if there is nothing to commit
+      raise "Git commit failed." unless [0,1].include? $?.exitstatus
+
       if system('git push')
         Dir.chdir(Rails.root)
       else
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb
index 766e3874555ebba12221d2c536628af104ac171c..dd5a9becafc386c0644a0be302b65af4f772f42f 100644
--- a/lib/gitlab/backend/grack_auth.rb
+++ b/lib/gitlab/backend/grack_auth.rb
@@ -18,7 +18,7 @@ module Grack
       @env['SCRIPT_NAME'] = ""
 
       # Find project by PATH_INFO from env
-      if m = /^\/([\w-]+).git/.match(@request.path_info).to_a
+      if m = /^\/([\w\.-]+)\.git/.match(@request.path_info).to_a
         self.project = Project.find_by_path(m.last)
         return false unless project
       end
@@ -65,7 +65,7 @@ module Grack
       end
       # Need to reset seek point
       @request.body.rewind
-      /refs\/heads\/([\w-]+)/.match(input).to_a.first
+      /refs\/heads\/([\w\.-]+)/.match(input).to_a.first
     end
 
     protected
diff --git a/lib/gitlab/encode.rb b/lib/gitlab/encode.rb
deleted file mode 100644
index 7e37442ea325b3e05ce7cec6c34192341be76211..0000000000000000000000000000000000000000
--- a/lib/gitlab/encode.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# Patch Strings to enable detect_encoding! on views
-require 'charlock_holmes/string'
-module Gitlab
-  module Encode
-    extend self
-
-    def utf8 message
-      # return nil if message is nil
-      return nil unless message
-
-      message.force_encoding("utf-8")
-      # return message if message type is binary
-      detect = CharlockHolmes::EncodingDetector.detect(message)
-      return message if detect[:type] == :binary
-
-      # if message is utf-8 encoding, just return it
-      return message if message.valid_encoding?
-
-      # if message is not utf-8 encoding, convert it
-      if detect[:encoding]
-        message.force_encoding(detect[:encoding])
-        message.encode!("utf-8", detect[:encoding], undef: :replace, replace: "", invalid: :replace)
-      end
-
-      # ensure message encoding is utf8
-      message.valid_encoding? ? message : raise
-
-    # Prevent app from crash cause of encoding errors
-    rescue
-      encoding = detect ? detect[:encoding] : "unknown"
-      "--broken encoding: #{encoding}"
-    end
-
-    def detect_encoding message
-      return nil unless message
-
-      hash = CharlockHolmes::EncodingDetector.detect(message) rescue {}
-      return hash[:encoding] ? hash[:encoding] : nil
-    end
-  end
-end
diff --git a/lib/gitlab/file_editor.rb b/lib/gitlab/file_editor.rb
deleted file mode 100644
index dc3f9480460a8725616b4d887dd69358c15ee414..0000000000000000000000000000000000000000
--- a/lib/gitlab/file_editor.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-module Gitlab
-  # GitLab file editor
-  #
-  # It gives you ability to make changes to files
-  # & commit this changes from GitLab UI.
-  class FileEditor
-    attr_accessor :user, :project, :ref
-
-    def initialize(user, project, ref)
-      self.user = user
-      self.project = project
-      self.ref = ref
-    end
-
-    def update(path, content, commit_message, last_commit)
-      return false unless can_edit?(path, last_commit)
-
-      Grit::Git.with_timeout(10.seconds) do
-        lock_file = Rails.root.join("tmp", "#{project.path}.lock")
-
-        File.open(lock_file, "w+") do |f|
-          f.flock(File::LOCK_EX)
-
-          unless project.satellite.exists?
-            raise "Satellite doesn't exist"
-          end
-
-          project.satellite.clear
-
-          Dir.chdir(project.satellite.path) do
-            r = Grit::Repo.new('.')
-            r.git.sh "git reset --hard"
-            r.git.sh "git fetch origin"
-            r.git.sh "git config user.name \"#{user.name}\""
-            r.git.sh "git config user.email \"#{user.email}\""
-            r.git.sh "git checkout -b #{ref} origin/#{ref}"
-            File.open(path, 'w'){|f| f.write(content)}
-            r.git.sh "git add ."
-            r.git.sh "git commit -am '#{commit_message}'"
-            output = r.git.sh "git push origin #{ref}"
-
-            if output =~ /reject/
-              return false
-            end
-          end
-        end
-      end
-      true
-    end
-
-    protected
-
-    def can_edit?(path, last_commit)
-      current_last_commit = @project.last_commit_for(ref, path).sha
-      last_commit == current_last_commit
-    end
-  end
-end
diff --git a/lib/gitlab/git_stats.rb b/lib/gitlab/git_stats.rb
new file mode 100644
index 0000000000000000000000000000000000000000..855bffb5ddefaad31d44c0ea9a193e0a5e35bcf1
--- /dev/null
+++ b/lib/gitlab/git_stats.rb
@@ -0,0 +1,73 @@
+module Gitlab
+  class GitStats
+    attr_accessor :repo, :ref
+
+    def initialize repo, ref
+      @repo, @ref = repo, ref
+    end
+
+    def authors
+      @authors ||= collect_authors
+    end
+
+    def commits_count
+      @commits_count ||= repo.commit_count(ref)
+    end
+
+    def files_count
+      args = [ref, '-r', '--name-only' ]
+      repo.git.run(nil, 'ls-tree', nil, {}, args).split("\n").count
+    end
+
+    def authors_count
+      authors.size
+    end
+
+    def graph
+      @graph ||= build_graph
+    end
+
+    protected
+
+    def collect_authors
+      shortlog = repo.git.shortlog({e: true, s: true }, ref)
+
+      authors = []
+
+      lines = shortlog.split("\n")
+
+      lines.each do |line|
+        data = line.split("\t")
+        commits = data.first
+        author = Grit::Actor.from_string(data.last)
+
+        authors << OpenStruct.new(
+          name: author.name,
+          email: author.email,
+          commits: commits.to_i
+        )
+      end
+
+      authors.sort_by(&:commits).reverse
+    end
+
+    def build_graph n = 4
+      from, to = (Date.today - n.weeks), Date.today
+      args = ['--all', "--since=#{from.to_s(:date)}", '--format=%ad' ]
+      rev_list = repo.git.run(nil, 'rev-list', nil, {}, args).split("\n")
+
+      commits_dates = rev_list.values_at(* rev_list.each_index.select {|i| i.odd?})
+      commits_dates = commits_dates.map { |date_str| Time.parse(date_str).to_date.to_s(:date) }
+
+      commits_per_day = from.upto(to).map do |day|
+        commits_dates.count(day.to_date.to_s(:date))
+      end
+
+      OpenStruct.new(
+        labels: from.upto(to).map { |day| day.stamp('Aug 23') },
+        commits: commits_per_day,
+        weeks: n
+      )
+    end
+  end
+end
diff --git a/lib/gitlab/graph/commit.rb b/lib/gitlab/graph/commit.rb
new file mode 100644
index 0000000000000000000000000000000000000000..af8d7828ce95f8c0ea35a7e1a3ca78346354ad48
--- /dev/null
+++ b/lib/gitlab/graph/commit.rb
@@ -0,0 +1,48 @@
+require "grit"
+
+module Gitlab
+  module Graph
+    class Commit
+      include ActionView::Helpers::TagHelper
+
+      attr_accessor :time, :space, :refs
+
+      def initialize(commit)
+        @_commit = commit
+        @time = -1
+        @space = 0
+      end
+
+      def method_missing(m, *args, &block)
+        @_commit.send(m, *args, &block)
+      end
+
+      def to_graph_hash
+        h = {}
+        h[:parents] = self.parents.collect do |p|
+          [p.id,0,0]
+        end
+        h[:author]  = author.name
+        h[:time]    = time
+        h[:space]   = space
+        h[:refs]    = refs.collect{|r|r.name}.join(" ") unless refs.nil?
+        h[:id]      = sha
+        h[:date]    = date
+        h[:message] = escape_once(message)
+        h[:login]   = author.email
+        h
+      end
+
+      def add_refs(ref_cache, repo)
+        if ref_cache.empty?
+          repo.refs.each do |ref|
+            ref_cache[ref.commit.id] ||= []
+            ref_cache[ref.commit.id] << ref
+          end
+        end
+        @refs = ref_cache[@_commit.id] if ref_cache.include?(@_commit.id)
+        @refs ||= []
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/graph/json_builder.rb b/lib/gitlab/graph/json_builder.rb
new file mode 100644
index 0000000000000000000000000000000000000000..c2c3fa662a65271dd0faffffe7adf8ad554777ac
--- /dev/null
+++ b/lib/gitlab/graph/json_builder.rb
@@ -0,0 +1,172 @@
+require "grit"
+
+module Gitlab
+  module Graph
+    class JsonBuilder
+      attr_accessor :days, :commits, :ref_cache, :repo
+
+      def self.max_count
+        @max_count ||= 650
+      end
+
+      def initialize project
+        @project = project
+        @repo = project.repo
+        @ref_cache = {}
+
+        @commits = collect_commits
+        @days = index_commits
+      end
+
+      def days_json
+        @days_json = @days.compact.map { |d| [d.day, d.strftime("%b")] }.to_json
+      end
+
+      def commits_json
+        @commits_json = @commits.map(&:to_graph_hash).to_json
+      end
+
+      protected
+
+      # Get commits from repository
+      #
+      def collect_commits
+        @commits = Grit::Commit.find_all(repo, nil, {max_count: self.class.max_count}).dup
+
+        # Decorate with app/models/commit.rb
+        @commits.map! { |commit| ::Commit.new(commit) }
+
+        # Decorate with lib/gitlab/graph/commit.rb
+        @commits.map! { |commit| Gitlab::Graph::Commit.new(commit) }
+
+        # add refs to each commit
+        @commits.each { |commit| commit.add_refs(ref_cache, repo) }
+
+        @commits
+      end
+
+      # Method is adding time and space on the
+      # list of commits. As well as returns date list
+      # corelated with time set on commits.
+      #
+      # @param [Array<Graph::Commit>] comits to index
+      #
+      # @return [Array<TimeDate>] list of commit dates corelated with time on commits
+      def index_commits
+        days, heads = [], []
+        map = {}
+
+        commits.reverse.each_with_index do |c,i|
+          c.time = i
+          days[i] = c.committed_date
+          map[c.id] = c
+          heads += c.refs unless c.refs.nil?
+        end
+
+        heads.select!{|h| h.is_a? Grit::Head or h.is_a? Grit::Remote}
+        # sort heads so the master is top and current branches are closer
+        heads.sort! do |a,b|
+          if a.name == "master"
+            -1
+          elsif b.name == "master"
+            1
+          else
+            b.commit.committed_date <=> a.commit.committed_date
+          end
+        end
+
+        @_reserved = {}
+        days.each_index do |i|
+          @_reserved[i] = []
+        end
+
+        heads.each do |h|
+          if map.include? h.commit.id then
+            place_chain(map[h.commit.id], map)
+          end
+        end
+
+        days
+      end
+
+      # Add space mark on commit and its parents
+      #
+      # @param [Graph::Commit] the commit object.
+      # @param [Hash<String,Graph::Commit>] map of commits
+      def place_chain(commit, map, parent_time = nil)
+        leaves = take_left_leaves(commit, map)
+        if leaves.empty?
+          return
+        end
+        space = find_free_space(leaves.last.time..leaves.first.time)
+        leaves.each{|l| l.space = space}
+        # and mark it as reserved
+        min_time = leaves.last.time
+        parents = leaves.last.parents.collect
+        parents.each do |p|
+          if map.include? p.id
+            parent = map[p.id]
+            if parent.time < min_time
+              min_time = parent.time
+            end
+          end
+        end
+        if parent_time.nil?
+          max_time = leaves.first.time
+        else
+          max_time = parent_time - 1
+        end
+        mark_reserved(min_time..max_time, space)
+
+        # Visit branching chains
+        leaves.each do |l|
+          parents = l.parents.collect.select{|p| map.include? p.id and map[p.id].space == 0}
+          for p in parents
+            place_chain(map[p.id], map, l.time)
+          end
+        end
+      end
+
+      def mark_reserved(time_range, space)
+        for day in time_range
+          @_reserved[day].push(space)
+        end
+      end
+
+      def find_free_space(time_range)
+        reserved = []
+        for day in time_range
+          reserved += @_reserved[day]
+        end
+        space = 1
+        while reserved.include? space do
+          space += 1
+        end
+        space
+      end
+
+      # Takes most left subtree branch of commits
+      # which don't have space mark yet.
+      #
+      # @param [Graph::Commit] the commit object.
+      # @param [Hash<String,Graph::Commit>] map of commits
+      #
+      # @return [Array<Graph::Commit>] list of branch commits
+      def take_left_leaves(commit, map)
+        leaves = []
+        leaves.push(commit) if commit.space.zero?
+
+        while true
+          parent = commit.parents.collect.select do |p|
+            map.include? p.id and map[p.id].space == 0
+          end
+
+          return leaves if parent.count.zero?
+
+          commit = map[parent.first.id]
+          leaves.push(commit)
+        end
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/graph_commit.rb b/lib/gitlab/graph_commit.rb
deleted file mode 100644
index d3668a991073940e3a53e1e06446c0855783a198..0000000000000000000000000000000000000000
--- a/lib/gitlab/graph_commit.rb
+++ /dev/null
@@ -1,185 +0,0 @@
-require "grit"
-
-module Gitlab
-  class GraphCommit
-    attr_accessor :time, :space
-    attr_accessor :refs
-
-    include ActionView::Helpers::TagHelper
-
-    def self.to_graph(project)
-      @repo = project.repo
-      commits = Grit::Commit.find_all(@repo, nil, {max_count: 650})
-
-      ref_cache = {}
-
-      commits.map! {|c| GraphCommit.new(Commit.new(c))}
-      commits.each { |commit| commit.add_refs(ref_cache, @repo) }
-
-      days = GraphCommit.index_commits(commits)
-      @days_json = days.compact.collect{|d| [d.day, d.strftime("%b")] }.to_json
-      @commits_json = commits.map(&:to_graph_hash).to_json
-
-      return @days_json, @commits_json
-    end
-
-    # Method is adding time and space on the
-    # list of commits. As well as returns date list
-    # corelated with time set on commits.
-    #
-    # @param [Array<GraphCommit>] comits to index
-    #
-    # @return [Array<TimeDate>] list of commit dates corelated with time on commits
-    def self.index_commits(commits)
-      days, heads = [], []
-      map = {}
-
-      commits.reverse.each_with_index do |c,i|
-        c.time = i
-        days[i] = c.committed_date
-        map[c.id] = c
-        heads += c.refs unless c.refs.nil?
-      end
-
-      heads.select!{|h| h.is_a? Grit::Head or h.is_a? Grit::Remote}
-      # sort heads so the master is top and current branches are closer
-      heads.sort! do |a,b|
-        if a.name == "master"
-          -1
-        elsif b.name == "master"
-          1
-        else
-          b.commit.committed_date <=> a.commit.committed_date
-        end
-      end
-
-      @_reserved = {}
-      days.each_index do |i|
-        @_reserved[i] = []
-      end
-
-      heads.each do |h|
-        if map.include? h.commit.id then
-          place_chain(map[h.commit.id], map)
-        end
-      end
-      days
-    end
-
-    # Add space mark on commit and its parents
-    #
-    # @param [GraphCommit] the commit object.
-    # @param [Hash<String,GraphCommit>] map of commits
-    def self.place_chain(commit, map, parent_time = nil)
-      leaves = take_left_leaves(commit, map)
-      if leaves.empty? then
-        return
-      end
-      space = find_free_space(leaves.last.time..leaves.first.time)
-      leaves.each{|l| l.space = space}
-      # and mark it as reserved
-      min_time = leaves.last.time
-      parents = leaves.last.parents.collect
-      parents.each do |p|
-        if map.include? p.id then
-          parent = map[p.id]
-          if parent.time < min_time then
-            min_time = parent.time
-          end
-        end
-      end
-      if parent_time.nil? then
-        max_time = leaves.first.time
-      else
-        max_time = parent_time - 1
-      end
-      mark_reserved(min_time..max_time, space)
-      # Visit branching chains
-      leaves.each do |l|
-        parents = l.parents.collect
-          .select{|p| map.include? p.id and map[p.id].space == 0}
-        for p in parents
-          place_chain(map[p.id], map, l.time)
-        end
-      end
-    end
-
-    def self.mark_reserved(time_range, space)
-      for day in time_range
-        @_reserved[day].push(space)
-      end
-    end
-
-    def self.find_free_space(time_range)
-      reserved = []
-      for day in time_range
-          reserved += @_reserved[day]
-      end
-      space = 1
-      while reserved.include? space do
-        space += 1
-      end
-      space
-    end
-
-    # Takes most left subtree branch of commits
-    # which don't have space mark yet.
-    #
-    # @param [GraphCommit] the commit object.
-    # @param [Hash<String,GraphCommit>] map of commits
-    #
-    # @return [Array<GraphCommit>] list of branch commits
-    def self.take_left_leaves(commit, map)
-      leaves = []
-      leaves.push(commit)  if commit.space == 0
-      while true
-        parent = commit.parents.collect
-          .select{|p| map.include? p.id and map[p.id].space == 0}
-        if parent.count == 0 then
-          return leaves
-        else
-          commit = map[parent.first.id]
-          leaves.push(commit)
-        end
-      end
-    end
-
-
-    def initialize(commit)
-      @_commit = commit
-      @time = -1
-      @space = 0
-    end
-
-    def method_missing(m, *args, &block)
-      @_commit.send(m, *args, &block)
-    end
-
-    def to_graph_hash
-      h = {}
-      h[:parents] = self.parents.collect do |p|
-        [p.id,0,0]
-      end
-      h[:author]  = Gitlab::Encode.utf8(author.name)
-      h[:time]    = time
-      h[:space]   = space
-      h[:refs]    = refs.collect{|r|r.name}.join(" ") unless refs.nil?
-      h[:id]      = sha
-      h[:date]    = date
-      h[:message] = escape_once(Gitlab::Encode.utf8(message))
-      h[:login]   = author.email
-      h
-    end
-
-    def add_refs(ref_cache, repo)
-      if ref_cache.empty?
-        repo.refs.each do |ref|
-          ref_cache[ref.commit.id] ||= []
-          ref_cache[ref.commit.id] << ref
-        end
-      end
-      @refs = ref_cache[@_commit.id] if ref_cache.include?(@_commit.id)
-      @refs ||= []
-    end
-  end
-end
diff --git a/lib/gitlab/merge.rb b/lib/gitlab/merge.rb
deleted file mode 100644
index bf7aaa516f1c938183f6f5ef1474be3a45e962ac..0000000000000000000000000000000000000000
--- a/lib/gitlab/merge.rb
+++ /dev/null
@@ -1,106 +0,0 @@
-module Gitlab
-  class Merge
-    attr_accessor :merge_request, :project, :user
-
-    def initialize(merge_request, user)
-      @merge_request = merge_request
-      @project = merge_request.project
-      @user = user
-    end
-
-    def can_be_merged?
-      in_locked_and_timed_satellite do |merge_repo|
-        merge_in_satellite!(merge_repo)
-      end
-    end
-
-    # Merges the source branch into the target branch in the satellite and
-    # pushes it back to Gitolite.
-    # It also removes the source branch if requested in the merge request.
-    #
-    # Returns false if the merge produced conflicts
-    # Returns false if pushing from the satallite to Gitolite failed or was rejected
-    # Returns true otherwise
-    def merge!
-      in_locked_and_timed_satellite do |merge_repo|
-        if merge_in_satellite!(merge_repo)
-          # push merge back to Gitolite
-          # will raise CommandFailed when push fails
-          merge_repo.git.push({raise: true}, :origin, merge_request.target_branch)
-
-          # remove source branch
-          if merge_request.should_remove_source_branch && !project.root_ref?(merge_request.source_branch)
-            # will raise CommandFailed when push fails
-            merge_repo.git.push({raise: true}, :origin, ":#{merge_request.source_branch}")
-          end
-
-          # merge, push and branch removal successful
-          true
-        end
-      end
-    rescue Grit::Git::CommandFailed
-      false
-    end
-
-    private
-
-    # * Sets a 30s timeout for Git
-    # * Locks the satellite repo
-    # * Yields the prepared satallite repo
-    def in_locked_and_timed_satellite
-      Grit::Git.with_timeout(30.seconds) do
-        lock_file = Rails.root.join("tmp", "#{project.path}.lock")
-
-        File.open(lock_file, "w+") do |f|
-          f.flock(File::LOCK_EX)
-
-          unless project.satellite.exists?
-            raise "Satellite doesn't exist"
-          end
-
-          Dir.chdir(project.satellite.path) do
-            repo = Grit::Repo.new('.')
-
-            return yield repo
-          end
-        end
-      end
-    rescue Errno::ENOMEM => ex
-      Gitlab::GitLogger.error(ex.message)
-    rescue Grit::Git::GitTimeout
-      return false
-    end
-
-    # Merges the source_branch into the target_branch in the satellite.
-    #
-    # Note: it will clear out the satellite before doing anything
-    #
-    # Returns false if the merge produced conflicts
-    # Returns true otherwise
-    def merge_in_satellite!(repo)
-      prepare_satelite!(repo)
-
-      # create target branch in satellite at the corresponding commit from Gitolite
-      repo.git.checkout({b: true}, merge_request.target_branch, "origin/#{merge_request.target_branch}")
-
-      # merge the source branch from Gitolite into the satellite
-      # will raise CommandFailed when merge fails
-      repo.git.pull({no_ff: true, raise: true}, :origin, merge_request.source_branch)
-    rescue Grit::Git::CommandFailed
-      false
-    end
-
-    # * Clears the satellite
-    # * Updates the satellite from Gitolite
-    # * Sets up Git variables for the user
-    def prepare_satelite!(repo)
-      project.satellite.clear
-
-      repo.git.reset(hard: true)
-      repo.git.fetch({}, :origin)
-
-      repo.git.config({}, "user.name", user.name)
-      repo.git.config({}, "user.email", user.email)
-    end
-  end
-end
diff --git a/lib/gitlab/satellite.rb b/lib/gitlab/satellite.rb
deleted file mode 100644
index 9d8dfb8e0a4b70b726ca68226a601efa0ac1d048..0000000000000000000000000000000000000000
--- a/lib/gitlab/satellite.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-module Gitlab
-  class Satellite
-
-    PARKING_BRANCH = "__parking_branch"
-
-    attr_accessor :project
-
-    def initialize project
-      self.project = project
-    end
-
-    def create
-      `git clone #{project.url_to_repo} #{path}`
-    end
-
-    def path
-      Rails.root.join("tmp", "repo_satellites", project.path)
-    end
-
-    def exists?
-      File.exists? path
-    end
-
-    #will be deleted all branches except PARKING_BRANCH
-    def clear
-      Dir.chdir(path) do
-        heads = Grit::Repo.new(".").heads.map{|head| head.name}
-        if heads.include? PARKING_BRANCH
-          `git checkout #{PARKING_BRANCH}`
-        else
-          `git checkout -b #{PARKING_BRANCH}`
-        end
-        heads.delete(PARKING_BRANCH)
-        heads.each do |head|
-          `git branch -D #{head}`
-        end
-      end
-    end
-
-  end
-end
diff --git a/lib/gitlab/satellite/action.rb b/lib/gitlab/satellite/action.rb
new file mode 100644
index 0000000000000000000000000000000000000000..ed2541f3998e45c0fd09345d0d37439c9d4ec89d
--- /dev/null
+++ b/lib/gitlab/satellite/action.rb
@@ -0,0 +1,46 @@
+module Gitlab
+  module Satellite
+    class Action
+      DEFAULT_OPTIONS = { git_timeout: 30.seconds }
+
+      attr_accessor :options, :project, :user
+
+      def initialize(user, project, options = {})
+        @options = DEFAULT_OPTIONS.merge(options)
+        @project = project
+        @user = user
+      end
+
+      protected
+
+      # * Sets a 30s timeout for Git
+      # * Locks the satellite repo
+      # * Yields the prepared satellite repo
+      def in_locked_and_timed_satellite
+        Grit::Git.with_timeout(options[:git_timeout]) do
+          project.satellite.lock do
+            return yield project.satellite.repo
+          end
+        end
+      rescue Errno::ENOMEM => ex
+        Gitlab::GitLogger.error(ex.message)
+        return false
+      rescue Grit::Git::GitTimeout => ex
+        Gitlab::GitLogger.error(ex.message)
+        return false
+      end
+
+      # * Clears the satellite
+      # * Updates the satellite from Gitolite
+      # * Sets up Git variables for the user
+      #
+      # Note: use this within #in_locked_and_timed_satellite
+      def prepare_satellite!(repo)
+        project.satellite.clear_and_update!
+
+        repo.git.config({}, "user.name", user.name)
+        repo.git.config({}, "user.email", user.email)
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/satellite/edit_file_action.rb b/lib/gitlab/satellite/edit_file_action.rb
new file mode 100644
index 0000000000000000000000000000000000000000..336afc881c226f3971a6ffae9a683290d8b0e627
--- /dev/null
+++ b/lib/gitlab/satellite/edit_file_action.rb
@@ -0,0 +1,57 @@
+module Gitlab
+  module Satellite
+    # GitLab server-side file update and commit
+    class EditFileAction < Action
+      attr_accessor :file_path, :ref
+
+      def initialize(user, project, ref, file_path)
+        super user, project, git_timeout: 10.seconds
+        @file_path = file_path
+        @ref = ref
+      end
+
+      # Updates the files content and creates a new commit for it
+      #
+      # Returns false if the ref has been updated while editing the file
+      # Returns false if commiting the change fails
+      # Returns false if pushing from the satellite to Gitolite failed or was rejected
+      # Returns true otherwise
+      def commit!(content, commit_message, last_commit)
+        return false unless can_edit?(last_commit)
+
+        in_locked_and_timed_satellite do |repo|
+          prepare_satellite!(repo)
+
+          # create target branch in satellite at the corresponding commit from Gitolite
+          repo.git.checkout({raise: true, timeout: true, b: true}, ref, "origin/#{ref}")
+
+          # update the file in the satellite's working dir
+          file_path_in_satellite = File.join(repo.working_dir, file_path)
+          File.open(file_path_in_satellite, 'w') { |f| f.write(content) }
+
+          # commit the changes
+          # will raise CommandFailed when commit fails
+          repo.git.commit(raise: true, timeout: true, a: true, m: commit_message)
+
+
+          # push commit back to Gitolite
+          # will raise CommandFailed when push fails
+          repo.git.push({raise: true, timeout: true}, :origin, ref)
+
+          # everything worked
+          true
+        end
+      rescue Grit::Git::CommandFailed => ex
+        Gitlab::GitLogger.error(ex.message)
+        false
+      end
+
+      protected
+
+      def can_edit?(last_commit)
+        current_last_commit = @project.last_commit_for(ref, file_path).sha
+        last_commit == current_last_commit
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/satellite/merge_action.rb b/lib/gitlab/satellite/merge_action.rb
new file mode 100644
index 0000000000000000000000000000000000000000..832db6621c4f23ff58c8df93299ec60171ca6e05
--- /dev/null
+++ b/lib/gitlab/satellite/merge_action.rb
@@ -0,0 +1,71 @@
+module Gitlab
+  module Satellite
+    # GitLab server-side merge
+    class MergeAction < Action
+      attr_accessor :merge_request
+
+      def initialize(user, merge_request)
+        super user, merge_request.project
+        @merge_request = merge_request
+      end
+
+      # Checks if a merge request can be executed without user interaction
+      def can_be_merged?
+        in_locked_and_timed_satellite do |merge_repo|
+          merge_in_satellite!(merge_repo)
+        end
+      end
+
+      # Merges the source branch into the target branch in the satellite and
+      # pushes it back to Gitolite.
+      # It also removes the source branch if requested in the merge request.
+      #
+      # Returns false if the merge produced conflicts
+      # Returns false if pushing from the satellite to Gitolite failed or was rejected
+      # Returns true otherwise
+      def merge!
+        in_locked_and_timed_satellite do |merge_repo|
+          if merge_in_satellite!(merge_repo)
+            # push merge back to Gitolite
+            # will raise CommandFailed when push fails
+            merge_repo.git.push({raise: true, timeout: true}, :origin, merge_request.target_branch)
+
+            # remove source branch
+            if merge_request.should_remove_source_branch && !project.root_ref?(merge_request.source_branch)
+              # will raise CommandFailed when push fails
+              merge_repo.git.push({raise: true, timeout: true}, :origin, ":#{merge_request.source_branch}")
+            end
+
+            # merge, push and branch removal successful
+            true
+          end
+        end
+      rescue Grit::Git::CommandFailed => ex
+        Gitlab::GitLogger.error(ex.message)
+        false
+      end
+
+      private
+
+      # Merges the source_branch into the target_branch in the satellite.
+      #
+      # Note: it will clear out the satellite before doing anything
+      #
+      # Returns false if the merge produced conflicts
+      # Returns true otherwise
+      def merge_in_satellite!(repo)
+        prepare_satellite!(repo)
+
+        # create target branch in satellite at the corresponding commit from Gitolite
+        repo.git.checkout({raise: true, timeout: true, b: true}, merge_request.target_branch, "origin/#{merge_request.target_branch}")
+
+        # merge the source branch from Gitolite into the satellite
+        # will raise CommandFailed when merge fails
+        repo.git.pull({raise: true, timeout: true, no_ff: true}, :origin, merge_request.source_branch)
+      rescue Grit::Git::CommandFailed => ex
+        Gitlab::GitLogger.error(ex.message)
+        false
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb
new file mode 100644
index 0000000000000000000000000000000000000000..28b6f538d0078f9df10cd699b849ea137f2da613
--- /dev/null
+++ b/lib/gitlab/satellite/satellite.rb
@@ -0,0 +1,92 @@
+module Gitlab
+  module Satellite
+    class Satellite
+      PARKING_BRANCH = "__parking_branch"
+
+      attr_accessor :project
+
+      def initialize(project)
+        @project = project
+      end
+
+      def clear_and_update!
+        raise "Satellite doesn't exist" unless exists?
+
+        delete_heads!
+        clear_working_dir!
+        update_from_source!
+      end
+
+      def create
+        `git clone #{project.url_to_repo} #{path}`
+      end
+
+      def exists?
+        File.exists? path
+      end
+
+      # * Locks the satellite
+      # * Changes the current directory to the satellite's working dir
+      # * Yields
+      def lock
+        raise "Satellite doesn't exist" unless exists?
+
+        File.open(lock_file, "w+") do |f|
+          f.flock(File::LOCK_EX)
+
+          Dir.chdir(path) do
+            return yield
+          end
+        end
+      end
+
+      def lock_file
+        Rails.root.join("tmp", "#{project.path}.lock")
+      end
+
+      def path
+        Rails.root.join("tmp", "repo_satellites", project.path)
+      end
+
+      def repo
+        raise "Satellite doesn't exist" unless exists?
+
+        @repo ||= Grit::Repo.new(path)
+      end
+
+      private
+
+      # Clear the working directory
+      def clear_working_dir!
+        repo.git.reset(hard: true)
+      end
+
+      # Deletes all branches except the parking branch
+      #
+      # This ensures we have no name clashes or issues updating branches when
+      # working with the satellite.
+      def delete_heads!
+        heads = repo.heads.map(&:name)
+
+        # update or create the parking branch
+        if heads.include? PARKING_BRANCH
+          repo.git.checkout({}, PARKING_BRANCH)
+        else
+          repo.git.checkout({b: true}, PARKING_BRANCH)
+        end
+
+        # remove the parking branch from the list of heads ...
+        heads.delete(PARKING_BRANCH)
+        # ... and delete all others
+        heads.each { |head| repo.git.branch({D: true}, head) }
+      end
+
+      # Updates the satellite from Gitolite
+      #
+      # Note: this will only update remote branches (i.e. origin/*)
+      def update_from_source!
+        repo.git.fetch({timeout: true}, :origin)
+      end
+    end
+  end
+end
diff --git a/lib/gitlab/seeder.rb b/lib/gitlab/seeder.rb
new file mode 100644
index 0000000000000000000000000000000000000000..3aa3b2ba1e9ad365b2319b5e0d554333c7555720
--- /dev/null
+++ b/lib/gitlab/seeder.rb
@@ -0,0 +1,10 @@
+module Gitlab
+  class Seeder
+    def self.quiet
+      SeedFu.quiet = true
+      yield
+      SeedFu.quiet = false
+      puts "\nOK".green
+    end
+  end
+end
diff --git a/lib/gitlab/theme.rb b/lib/gitlab/theme.rb
index 6e2be76508ad11dbb7a4f7c1937fa6ae13394cd8..7f833867e393c59c32f59bd376b07f55aa44f5e9 100644
--- a/lib/gitlab/theme.rb
+++ b/lib/gitlab/theme.rb
@@ -1,10 +1,12 @@
 module Gitlab
   class Theme
     def self.css_class_by_id(id)
-      themes = { 
+      themes = {
         1 => "ui_basic",
         2 => "ui_mars",
-        3 => "ui_modern"
+        3 => "ui_modern",
+        4 => "ui_gray",
+        5 => "ui_color"
       }
 
       id ||= 1
diff --git a/lib/hooks/post-receive b/lib/hooks/post-receive
index 4e59667984ca832be8e9b76d8b02eddbfd25b5be..4a3ce372eb8177a7f1f31980beac6c48ced888c0 100755
--- a/lib/hooks/post-receive
+++ b/lib/hooks/post-receive
@@ -8,5 +8,5 @@ do
   # For every branch or tag that was pushed, create a Resque job in redis.
   pwd=`pwd`
   reponame=`basename "$pwd" | sed s/\.git$//`
-  env -i redis-cli rpush "resque:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
+  env -i redis-cli rpush "resque:gitlab:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
 done
diff --git a/lib/redcarpet/render/gitlab_html.rb b/lib/redcarpet/render/gitlab_html.rb
index 30a807145eac26b5e1f6480b5be840e3561756f1..48b4da9d3395246b772b14cdb09519521fd86a65 100644
--- a/lib/redcarpet/render/gitlab_html.rb
+++ b/lib/redcarpet/render/gitlab_html.rb
@@ -10,10 +10,12 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML
   end
 
   def block_code(code, language)
+    options = { options: {encoding: 'utf-8'} }
+
     if Pygments::Lexer.find(language)
-      Pygments.highlight(code, lexer: language, options: {encoding: 'utf-8'})
+      Pygments.highlight(code, options.merge(lexer: language.downcase))
     else
-      Pygments.highlight(code, options: {encoding: 'utf-8'})
+      Pygments.highlight(code, options)
     end
   end
 
diff --git a/lib/support/rewrite-hooks.sh b/lib/support/rewrite-hooks.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6688785a1792831256c576a1d3bda91e2d2b0e7b
--- /dev/null
+++ b/lib/support/rewrite-hooks.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+src="/home/git/repositories"
+
+for dir in `ls "$src/"`
+do
+  if [ -d "$src/$dir" ]; then
+
+    if [ "$dir" = "gitolite-admin.git" ]
+    then
+      continue 
+    fi
+
+    project_hook="$src/$dir/hooks/post-receive"
+    gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
+
+    ln -s -f $gitolite_hook $project_hook
+  fi
+done
diff --git a/lib/tasks/bulk_import.rake b/lib/tasks/bulk_import.rake
deleted file mode 100644
index 914f920a8d7a6fc5244f18781d6b98102fc38b11..0000000000000000000000000000000000000000
--- a/lib/tasks/bulk_import.rake
+++ /dev/null
@@ -1,83 +0,0 @@
-desc "Imports existing Git repos from a directory into new projects in git_base_path"
-task :import_projects, [:directory,:email] => :environment  do |t, args|
-  user_email, import_directory = args.email, args.directory
-  repos_to_import = Dir.glob("#{import_directory}/*")
-  git_base_path = Gitlab.config.git_base_path
-  imported_count, skipped_count, failed_count = 0
-
-  puts "Found #{repos_to_import.size} repos to import"
-
-  repos_to_import.each do |repo_path|
-    repo_name = File.basename repo_path
-    clone_path = "#{git_base_path}#{repo_name}.git"
-
-    puts "  Processing #{repo_name}"
-
-    if Dir.exists? clone_path
-      if Project.find_by_code(repo_name)
-        puts "  INFO: #{clone_path} already exists in repositories directory, skipping."
-        skipped_count += 1
-        next
-      else
-        puts "  INFO: Project doesn't exist for #{repo_name} (but the repo does)."
-      end
-    else
-      # Clone the repo
-      unless clone_bare_repo_as_git(repo_path, clone_path)
-        failed_count += 1
-        next
-      end
-    end
-
-    # Create the project and repo
-    if create_repo_project(repo_name, user_email)
-      imported_count += 1
-    else
-      failed_count += 1
-    end
-  end
-
-  puts "Finished importing #{imported_count} projects (skipped #{skipped_count}, failed #{failed_count})."
-end
-
-# Clones a repo as bare git repo using the git_user
-def clone_bare_repo_as_git(existing_path, new_path)
-  git_user = Gitlab.config.ssh_user
-  begin
-    sh "sudo -u #{git_user} -i git clone --bare '#{existing_path}' #{new_path}"
-  rescue Exception => msg
-    puts "  ERROR: Failed to clone #{existing_path} to #{new_path}"
-  	puts "	Make sure #{git_user} can reach #{existing_path}"
-  	puts "	Exception-MSG: #{msg}"
-  end
-end
-
-# Creates a project in GitLab given a `project_name` to use
-# (for name, web url, and code url) and a `user_email` that will be
-# assigned as the owner of the project.
-def create_repo_project(project_name, user_email)
-  if user = User.find_by_email(user_email)
-    # Using find_by_code since that's the most important identifer to be unique
-    if Project.find_by_code(project_name)
-      puts "  INFO: Project #{project_name} already exists in Gitlab, skipping."
-    else
-      project = Project.create(
-        name: project_name,
-        code: project_name,
-        path: project_name,
-        owner: user,
-        description: "Automatically created from 'import_projects' rake task on #{Time.now}"
-      )
-
-      if project.valid?
-        # Add user as admin for project
-        project.users_projects.create!(:project_access => UsersProject::MASTER, :user => user)
-        project.update_repository
-      else
-        puts "  ERROR: Failed to create project #{project} because #{project.errors.first}"
-      end
-    end
-  else
-    puts "  ERROR: user with #{user_email} not found, skipping"
-  end
-end
diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
index 06d7cb65d643d850f9217549fd1235466b41fd7b..17a0e336bb5fdc233b5c19f0d7235336404c991b 100644
--- a/lib/tasks/gitlab/backup.rake
+++ b/lib/tasks/gitlab/backup.rake
@@ -85,11 +85,11 @@ namespace :gitlab do
       ENV["VERSION"] = "#{settings["db_version"]}" if settings["db_version"].to_i > 0
 
       # restoring mismatching backups can lead to unexpected problems
-      if settings["gitlab_version"] != %x{git rev-parse HEAD}.gsub(/\n/,"")
+      if settings[:gitlab_version] != %x{git rev-parse HEAD}.gsub(/\n/,"")
         puts "gitlab_version mismatch:".red
         puts "  Your current HEAD differs from the HEAD in the backup!".red
         puts "  Please switch to the following revision and try again:".red
-        puts "  revision: #{settings["gitlab_version"]}".red
+        puts "  revision: #{settings[:gitlab_version]}".red
         exit 1
       end
 
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
new file mode 100644
index 0000000000000000000000000000000000000000..09f0dc9e45983be29c786533f82e34722a1e845d
--- /dev/null
+++ b/lib/tasks/gitlab/import.rake
@@ -0,0 +1,54 @@
+namespace :gitlab do
+  namespace :import do
+    # How to use:
+    #
+    #  1. copy your bare repos under git base_path
+    #  2. run bundle exec rake gitlab:import:repos RAILS_ENV=production
+    #
+    # Notes:
+    #  * project owner will be a first admin
+    #  * existing projects will be skipped
+    #
+    desc "GITLAB | Import bare repositories from git_host -> base_path into GitLab project instance"
+    task :repos => :environment do
+
+      git_base_path = Gitlab.config.git_base_path
+      repos_to_import = Dir.glob(git_base_path + '/*')
+
+      repos_to_import.each do |repo_path|
+        repo_name = File.basename repo_path
+
+        # skip gitolite admin
+        next if repo_name == 'gitolite-admin.git'
+
+        path = repo_name.sub(/\.git$/, '')
+
+        project = Project.find_by_path(path)
+
+        puts "Processing #{repo_name}".yellow
+
+        if project
+          puts " * #{project.name} (#{repo_name}) exists"
+        else
+          user = User.admins.first
+
+          project_params = {
+            :name => path,
+            :code => path,
+            :path => path,
+          }
+
+          project = Project.create_by_user(project_params, user)
+
+          if project.valid?
+            puts " * Created #{project.name} (#{repo_name})".green
+          else
+            puts " * Failed trying to create #{project.name} (#{repo_name})".red
+          end
+        end
+      end
+
+      puts "Done!".green
+    end
+  end
+end
diff --git a/lib/tasks/gitlab/status.rake b/lib/tasks/gitlab/status.rake
index 302f417c01ab9da7996e36969cb664b3144bfd10..cbc77abb97a958577c959d72a9baad16cf20f166 100644
--- a/lib/tasks/gitlab/status.rake
+++ b/lib/tasks/gitlab/status.rake
@@ -2,7 +2,7 @@ namespace :gitlab do
   namespace :app do
     desc "GITLAB | Check GitLab installation status"
     task :status => :environment  do
-      puts "Starting diagnostics".yellow
+      puts "\nStarting diagnostics".yellow
       git_base_path = Gitlab.config.git_base_path
 
       print "config/database.yml............"
@@ -37,9 +37,10 @@ namespace :gitlab do
         return
       end
 
+      FileUtils.rm_rf("/tmp/gitolite_gitlab_test")
       begin
-        `git clone #{Gitlab.config.gitolite_admin_uri} /tmp/gitolite_gitlab_test`
-        FileUtils.rm_rf("/tmp/gitolite_gitlab_test")
+        `git clone -q #{Gitlab.config.gitolite_admin_uri} /tmp/gitolite_gitlab_test`
+        raise unless $?.success?
         print "Can clone gitolite-admin?............"
         puts "YES".green
       rescue
@@ -48,8 +49,23 @@ namespace :gitlab do
         return
       end
 
+      begin
+        Dir.chdir("/tmp/gitolite_gitlab_test") do
+          `touch blah && git add blah && git commit -qm blah -- blah`
+          raise unless $?.success?
+        end
+        print "Can git commit?............"
+        puts "YES".green
+      rescue
+        print "Can git commit?............"
+        puts "NO".red
+        return
+      ensure
+        FileUtils.rm_rf("/tmp/gitolite_gitlab_test")
+      end
+
       print "UMASK for .gitolite.rc is 0007? ............"
-      if open("#{git_base_path}/../.gitolite.rc").grep(/UMASK([ \t]*)=([ \t>]*)0007/).any?
+      if open(File.absolute_path("#{git_base_path}/../.gitolite.rc")).grep(/UMASK([ \t]*)=([ \t>]*)0007/).any?
         puts "YES".green
       else
         puts "NO".red
@@ -70,17 +86,24 @@ namespace :gitlab do
       end
 
       if Project.count > 0
-        puts "Validating projects repositories:".yellow
+        puts "\nValidating projects repositories:".yellow
         Project.find_each(:batch_size => 100) do |project|
-          print "#{project.name}....."
+          print "* #{project.name}....."
           hook_file = File.join(project.path_to_repo, 'hooks', 'post-receive')
 
           unless File.exists?(hook_file)
             puts "post-receive file missing".red
-            return
+            next
           end
 
-          puts "post-receive file ok".green
+          original_content = File.read(Rails.root.join('lib', 'hooks', 'post-receive'))
+          new_content = File.read(hook_file)
+
+          if original_content == new_content
+            puts "post-receive file ok".green
+          else
+            puts "post-receive file content does not match".red
+          end
         end
       end
 
diff --git a/resque.sh b/resque.sh
index ab67c650805d112da53e04b9298e2573b7c2ddaf..0ebf319efc1d1a499d6061663e02ff633a5888ac 100755
--- a/resque.sh
+++ b/resque.sh
@@ -1,2 +1,2 @@
 mkdir -p tmp/pids
-bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes
+nohup bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid > ./log/resque.log  &
diff --git a/resque_dev.sh b/resque_dev.sh
index 0f1d6edb41f687592dfe8b6f72a76e54167ffc10..b250caa9aee252df5e7a2455f070f646f69a4f86 100755
--- a/resque_dev.sh
+++ b/resque_dev.sh
@@ -1,2 +1,2 @@
 mkdir -p tmp/pids
-bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1 PIDFILE=tmp/pids/resque_worker.pid RAILS_ENV=development BACKGROUND=yes
+nohup bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1 RAILS_ENV=development PIDFILE=tmp/pids/resque_worker.pid > ./log/resque.log  &
diff --git a/spec/factories.rb b/spec/factories.rb
index 0258f8920e9ad56b98387fa8274cd9d251d79019..7c33f0ecc8b546ec7c4b48d8520fb8e9790dcba6 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -1,21 +1,3 @@
-# Backwards compatibility with the old method
-def Factory(type, *args)
-  FactoryGirl.create(type, *args)
-end
-
-module Factory
-  def self.create(type, *args)
-    FactoryGirl.create(type, *args)
-  end
-
-  def self.new(type, *args)
-    FactoryGirl.build(type, *args)
-  end
-  def self.attributes(type, *args)
-    FactoryGirl.attributes_for(type, *args)
-  end
-end
-
 FactoryGirl.define do
   sequence :sentence, aliases: [:title, :content] do
     Faker::Lorem.sentence
@@ -150,4 +132,16 @@ FactoryGirl.define do
     name
     project
   end
+
+  factory :service do
+    type ""
+    title "GitLab CI"
+    token "x56olispAND34ng"
+    project
+  end
+
+  factory :service_hook do
+    url
+    service
+  end
 end
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 874864a38940599b3731f1fda095a17cf8dffc23..b6b1769fc80a930dae4916cbe9ebeafc0c1e8ce5 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -4,8 +4,8 @@ describe Notify do
   include EmailSpec::Helpers
   include EmailSpec::Matchers
 
-  let(:recipient) { Factory.create(:user, email: 'recipient@example.com') }
-  let(:project) { Factory.create(:project) }
+  let(:recipient) { create(:user, email: 'recipient@example.com') }
+  let(:project) { create(:project) }
 
   shared_examples 'a multiple recipients email' do
     it 'is sent to the given recipient' do
@@ -15,7 +15,7 @@ describe Notify do
 
   describe 'for new users, the email' do
     let(:example_site_path) { root_path }
-    let(:new_user) { Factory.create(:user, email: 'newguy@example.com') }
+    let(:new_user) { create(:user, email: 'newguy@example.com') }
 
     subject { Notify.new_user_email(new_user.id, new_user.password) }
 
@@ -42,8 +42,8 @@ describe Notify do
 
   context 'for a project' do
     describe 'items that are assignable, the email' do
-      let(:assignee) { Factory.create(:user, email: 'assignee@example.com') }
-      let(:previous_assignee) { Factory.create(:user, name: 'Previous Assignee') }
+      let(:assignee) { create(:user, email: 'assignee@example.com') }
+      let(:previous_assignee) { create(:user, name: 'Previous Assignee') }
 
       shared_examples 'an assignee email' do
         it 'is sent to the assignee' do
@@ -52,7 +52,7 @@ describe Notify do
       end
 
       context 'for issues' do
-        let(:issue) { Factory.create(:issue, assignee: assignee, project: project ) }
+        let(:issue) { create(:issue, assignee: assignee, project: project ) }
 
         describe 'that are new' do
           subject { Notify.new_issue_email(issue.id) }
@@ -93,10 +93,10 @@ describe Notify do
         end
 
         describe 'status changed' do
-          let(:current_user) { Factory.create :user, email: "current@email.com" }
+          let(:current_user) { create(:user, email: "current@email.com") }
           let(:status) { 'closed' }
           subject { Notify.issue_status_changed_email(recipient.id, issue.id, status, current_user) }
-        
+
           it 'has the correct subject' do
             should have_subject /changed issue ##{issue.id} \| #{issue.title}/i
           end
@@ -117,7 +117,7 @@ describe Notify do
       end
 
       context 'for merge requests' do
-        let(:merge_request) { Factory.create(:merge_request, assignee: assignee, project: project) }
+        let(:merge_request) { create(:merge_request, assignee: assignee, project: project) }
 
         describe 'that are new' do
           subject { Notify.new_merge_request_email(merge_request.id) }
@@ -169,13 +169,13 @@ describe Notify do
     end
 
     describe 'project access changed' do
-      let(:project) { Factory.create(:project, 
-                                      path: "Fuu", 
-                                      code: "Fuu") }
-      let(:user) { Factory.create :user }
-      let(:users_project) { Factory.create(:users_project, 
-                                           project: project, 
-                                           user: user) }
+      let(:project) { create(:project,
+                             path: "Fuu",
+                             code: "Fuu") }
+      let(:user) { create(:user) }
+      let(:users_project) { create(:users_project,
+                                   project: project,
+                                   user: user) }
       subject { Notify.project_access_granted_email(users_project.id) }
       it 'has the correct subject' do
         should have_subject /access to project was granted/
@@ -189,8 +189,8 @@ describe Notify do
     end
 
     context 'items that are noteable, the email for a note' do
-      let(:note_author) { Factory.create(:user, name: 'author_name') }
-      let(:note) { Factory.create(:note, project: project, author: note_author) }
+      let(:note_author) { create(:user, name: 'author_name') }
+      let(:note) { create(:note, project: project, author: note_author) }
 
       before :each do
           Note.stub(:find).with(note.id).and_return(note)
@@ -251,7 +251,7 @@ describe Notify do
       end
 
       describe 'on a merge request' do
-        let(:merge_request) { Factory.create(:merge_request, project: project) }
+        let(:merge_request) { create(:merge_request, project: project) }
         let(:note_on_merge_request_path) { project_merge_request_path(project, merge_request, anchor: "note_#{note.id}") }
         before(:each) { note.stub(:noteable).and_return(merge_request) }
 
@@ -269,7 +269,7 @@ describe Notify do
       end
 
       describe 'on an issue' do
-        let(:issue) { Factory.create(:issue, project: project) }
+        let(:issue) { create(:issue, project: project) }
         let(:note_on_issue_path) { project_issue_path(project, issue, anchor: "note_#{note.id}") }
         before(:each) { note.stub(:noteable).and_return(issue) }
 
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index 77b49246c4669b60fcad3ca94eb5c8e1b1f00b74..49cb49db375fca6e30be6c4707f618fd66f644e9 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -2,14 +2,14 @@
 #
 # Table name: events
 #
-#  id          :integer         not null, primary key
+#  id          :integer          not null, primary key
 #  target_type :string(255)
 #  target_id   :integer
 #  title       :string(255)
 #  data        :text
 #  project_id  :integer
-#  created_at  :datetime        not null
-#  updated_at  :datetime        not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
 #  action      :integer
 #  author_id   :integer
 #
@@ -32,7 +32,7 @@ describe Event do
 
   describe "Push event" do
     before do
-      project = Factory :project
+      project = create(:project)
       @user = project.owner
 
       data = {
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index 5ae40658823df18fe2547998f0677bc09e86955e..6ae2cb201693b7f37e2dbad57f8f922f3a577103 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -2,12 +2,12 @@
 #
 # Table name: groups
 #
-#  id         :integer         not null, primary key
-#  name       :string(255)     not null
-#  code       :string(255)     not null
-#  owner_id   :integer         not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
+#  id         :integer          not null, primary key
+#  name       :string(255)      not null
+#  code       :string(255)      not null
+#  owner_id   :integer          not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
 #
 
 require 'spec_helper'
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb
index 7c98b9ea58d3ecaf14f845eba6be22320ac5aec2..4c52a09438624b98088f832f9e9b0b1ce9b20a7f 100644
--- a/spec/models/issue_spec.rb
+++ b/spec/models/issue_spec.rb
@@ -2,15 +2,15 @@
 #
 # Table name: issues
 #
-#  id           :integer         not null, primary key
+#  id           :integer          not null, primary key
 #  title        :string(255)
 #  assignee_id  :integer
 #  author_id    :integer
 #  project_id   :integer
-#  created_at   :datetime        not null
-#  updated_at   :datetime        not null
-#  closed       :boolean         default(FALSE), not null
-#  position     :integer         default(0)
+#  created_at   :datetime         not null
+#  updated_at   :datetime         not null
+#  closed       :boolean          default(FALSE), not null
+#  position     :integer          default(0)
 #  branch_name  :string(255)
 #  description  :text
 #  milestone_id :integer
@@ -30,7 +30,6 @@ describe Issue do
 
   describe "Validation" do
     it { should ensure_length_of(:description).is_within(0..2000) }
-    it { should ensure_inclusion_of(:closed).in_array([true, false]) }
   end
 
   describe 'modules' do
@@ -38,11 +37,11 @@ describe Issue do
     it { should include_module(Votes) }
   end
 
-  subject { Factory.create(:issue) }
+  subject { create(:issue) }
 
   describe '#is_being_reassigned?' do
     it 'returns true if the issue assignee has changed' do
-      subject.assignee = Factory(:user)
+      subject.assignee = create(:user)
       subject.is_being_reassigned?.should be_true
     end
     it 'returns false if the issue assignee has not changed' do
@@ -56,7 +55,7 @@ describe Issue do
       subject.is_being_closed?.should be_true
     end
     it 'returns false if the closed attribute has changed and is now false' do
-      issue = Factory.create(:closed_issue)
+      issue = create(:closed_issue)
       issue.closed = false
       issue.is_being_closed?.should be_false
     end
@@ -68,7 +67,7 @@ describe Issue do
 
   describe '#is_being_reopened?' do
     it 'returns true if the closed attribute has changed and is now false' do
-      issue = Factory.create(:closed_issue)
+      issue = create(:closed_issue)
       issue.closed = false
       issue.is_being_reopened?.should be_true
     end
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb
index d3231af88bc7cad8cbf28ac5880eed765591f238..6d2310df5c025782cef8da8ecc472635b25a69e1 100644
--- a/spec/models/key_spec.rb
+++ b/spec/models/key_spec.rb
@@ -2,10 +2,10 @@
 #
 # Table name: keys
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  user_id    :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
 #  key        :text
 #  title      :string(255)
 #  identifier :string(255)
@@ -53,7 +53,7 @@ describe Key do
     end
 
     context "as a personal key" do
-      let(:user) { Factory.create(:user) }
+      let(:user) { create(:user) }
 
       it "accepts the key once" do
         build(:key, user: user).should be_valid
@@ -67,7 +67,7 @@ describe Key do
   end
 
   context "validate it is a fingerprintable key" do
-    let(:user) { Factory.create(:user) }
+    let(:user) { create(:user) }
 
     it "accepts the fingerprintable key" do
       build(:key, user: user).should be_valid
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb
index be40c561adb3241b1d103bd0db4981c68f4959fb..d70647f668da023c0fafab40b078b8906dcb8d84 100644
--- a/spec/models/merge_request_spec.rb
+++ b/spec/models/merge_request_spec.rb
@@ -2,20 +2,21 @@
 #
 # Table name: merge_requests
 #
-#  id            :integer         not null, primary key
-#  target_branch :string(255)     not null
-#  source_branch :string(255)     not null
-#  project_id    :integer         not null
+#  id            :integer          not null, primary key
+#  target_branch :string(255)      not null
+#  source_branch :string(255)      not null
+#  project_id    :integer          not null
 #  author_id     :integer
 #  assignee_id   :integer
 #  title         :string(255)
-#  closed        :boolean         default(FALSE), not null
-#  created_at    :datetime        not null
-#  updated_at    :datetime        not null
-#  st_commits    :text(4294967295
-#  st_diffs      :text(4294967295
-#  merged        :boolean         default(FALSE), not null
-#  state         :integer         default(1), not null
+#  closed        :boolean          default(FALSE), not null
+#  created_at    :datetime         not null
+#  updated_at    :datetime         not null
+#  st_commits    :text(2147483647)
+#  st_diffs      :text(2147483647)
+#  merged        :boolean          default(FALSE), not null
+#  state         :integer          default(1), not null
+#  milestone_id  :integer
 #
 
 require 'spec_helper'
@@ -37,12 +38,12 @@ describe MergeRequest do
   end
 
   describe "#mr_and_commit_notes" do
-    let!(:merge_request) { Factory.create(:merge_request) }
+    let!(:merge_request) { create(:merge_request) }
 
     before do
       merge_request.stub(:commits) { [merge_request.project.commit] }
-      Factory.create(:note, noteable: merge_request.commits.first)
-      Factory.create(:note, noteable: merge_request)
+      create(:note, noteable: merge_request.commits.first)
+      create(:note, noteable: merge_request)
     end
 
     it "should include notes for commits" do
@@ -51,11 +52,11 @@ describe MergeRequest do
     end
   end
 
-  subject { Factory.create(:merge_request) }
+  subject { create(:merge_request) }
 
   describe '#is_being_reassigned?' do
     it 'returns true if the merge_request assignee has changed' do
-      subject.assignee = Factory(:user)
+      subject.assignee = create(:user)
       subject.is_being_reassigned?.should be_true
     end
     it 'returns false if the merge request assignee has not changed' do
@@ -69,7 +70,7 @@ describe MergeRequest do
       subject.is_being_closed?.should be_true
     end
     it 'returns false if the closed attribute has changed and is now false' do
-      merge_request = Factory.create(:closed_merge_request)
+      merge_request = create(:closed_merge_request)
       merge_request.closed = false
       merge_request.is_being_closed?.should be_false
     end
@@ -81,7 +82,7 @@ describe MergeRequest do
 
   describe '#is_being_reopened?' do
     it 'returns true if the closed attribute has changed and is now false' do
-      merge_request = Factory.create(:closed_merge_request)
+      merge_request = create(:closed_merge_request)
       merge_request.closed = false
       merge_request.is_being_reopened?.should be_true
     end
diff --git a/spec/models/milestone_spec.rb b/spec/models/milestone_spec.rb
index 1aba20c651db1f9dcffd3e33b7fc8fbe62005839..431985d0d46e67cc0de68c56a4d1f4a0278517ea 100644
--- a/spec/models/milestone_spec.rb
+++ b/spec/models/milestone_spec.rb
@@ -2,14 +2,14 @@
 #
 # Table name: milestones
 #
-#  id          :integer         not null, primary key
-#  title       :string(255)     not null
-#  project_id  :integer         not null
+#  id          :integer          not null, primary key
+#  title       :string(255)      not null
+#  project_id  :integer          not null
 #  description :text
 #  due_date    :date
-#  closed      :boolean         default(FALSE), not null
-#  created_at  :datetime        not null
-#  updated_at  :datetime        not null
+#  closed      :boolean          default(FALSE), not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
 #
 
 require 'spec_helper'
@@ -30,8 +30,8 @@ describe Milestone do
     it { should ensure_inclusion_of(:closed).in_array([true, false]) }
   end
 
-  let(:milestone) { Factory :milestone }
-  let(:issue) { Factory :issue }
+  let(:milestone) { create(:milestone) }
+  let(:issue) { create(:issue) }
 
   describe "#percent_complete" do
     it "should not count open issues" do
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 514b6202b74ca7cc5a8ee1e76bdb7d70f1d99d1e..4f9352b9a144159883b1d39bb742f4e22be904c6 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -2,13 +2,13 @@
 #
 # Table name: notes
 #
-#  id            :integer         not null, primary key
+#  id            :integer          not null, primary key
 #  note          :text
 #  noteable_id   :string(255)
 #  noteable_type :string(255)
 #  author_id     :integer
-#  created_at    :datetime        not null
-#  updated_at    :datetime        not null
+#  created_at    :datetime         not null
+#  updated_at    :datetime         not null
 #  project_id    :integer
 #  attachment    :string(255)
 #  line_code     :string(255)
@@ -40,10 +40,10 @@ describe Note do
   end
 
   describe "Voting score" do
-    let(:project) { Factory(:project) }
+    let(:project) { create(:project) }
 
     it "recognizes a neutral note" do
-      note = Factory(:note, note: "This is not a +1 note")
+      note = create(:note, note: "This is not a +1 note")
       note.should_not be_upvote
       note.should_not be_downvote
     end
@@ -55,7 +55,7 @@ describe Note do
     end
 
     it "recognizes a +1 note" do
-      note = Factory(:note, note: "+1 for this")
+      note = create(:note, note: "+1 for this")
       note.should be_upvote
     end
 
@@ -65,7 +65,7 @@ describe Note do
     end
 
     it "recognizes a -1 note" do
-      note = Factory(:note, note: "-1 for this")
+      note = create(:note, note: "-1 for this")
       note.should be_downvote
     end
 
@@ -80,9 +80,9 @@ describe Note do
 
   describe "Commit notes" do
     before do
-      @note = Factory :note,
-        noteable_id: commit.id,
-        noteable_type: "Commit"
+      @note = create(:note,
+                     noteable_id: commit.id,
+                     noteable_type: "Commit")
     end
 
     it "should be accessible through #noteable" do
@@ -103,10 +103,10 @@ describe Note do
 
   describe "Pre-line commit notes" do
     before do
-      @note = Factory :note,
-        noteable_id: commit.id,
-        noteable_type: "Commit",
-        line_code: "0_16_1"
+      @note = create(:note,
+                     noteable_id: commit.id,
+                     noteable_type: "Commit",
+                     line_code: "0_16_1")
     end
 
     it "should save a valid note" do
@@ -120,9 +120,9 @@ describe Note do
   end
 
   describe '#create_status_change_note' do
-    let(:project)  { Factory.create(:project) }
-    let(:thing)    { Factory.create(:issue, project: project) }
-    let(:author)   { Factory(:user) }
+    let(:project)  { create(:project) }
+    let(:thing)    { create(:issue, project: project) }
+    let(:author)   { create(:user) }
     let(:status)   { 'new_status' }
 
     subject { Note.create_status_change_note(thing, author, status) }
@@ -141,10 +141,10 @@ describe Note do
   describe :authorization do
     before do
       @p1 = create(:project)
-      @p2 = Factory :project
-      @u1 = Factory :user
-      @u2 = Factory :user
-      @u3 = Factory :user
+      @p2 = create(:project)
+      @u1 = create(:user)
+      @u2 = create(:user)
+      @u3 = create(:user)
       @abilities = Six.new
       @abilities << Ability
     end
diff --git a/spec/models/project_hooks_spec.rb b/spec/models/project_hooks_spec.rb
index 129e3d61030b04ddfc62012abb00826f73e35da4..7c8f05b17a39f439f8002b9a796aa0c6c037baee 100644
--- a/spec/models/project_hooks_spec.rb
+++ b/spec/models/project_hooks_spec.rb
@@ -1,23 +1,25 @@
 require 'spec_helper'
 
 describe Project, "Hooks" do
-  let(:project) { Factory :project }
-  before do 
-    @key = Factory :key, user: project.owner
+  let(:project) { create(:project) }
+  before do
+    @key = create(:key, user: project.owner)
     @user = @key.user
     @key_id = @key.identifier
   end
 
-  describe "Post Receive Event" do 
-    it "should create push event" do 
+  describe "Post Receive Event" do
+    it "should create push event" do
       oldrev, newrev, ref = '00000000000000000000000000000000', 'newrev', 'refs/heads/master'
-      project.observe_push(oldrev, newrev, ref, @user)
+      data = project.post_receive_data(oldrev, newrev, ref, @user)
+
+      project.observe_push(data)
       event = Event.last
 
       event.should_not be_nil
       event.project.should == project
       event.action.should == Event::Pushed
-      event.data == project.post_receive_data(oldrev, newrev, ref, @user)
+      event.data.should == data
     end
   end
 
@@ -25,15 +27,15 @@ describe Project, "Hooks" do
     context "with no web hooks" do
       it "raises no errors" do
         lambda {
-          project.execute_hooks('oldrev', 'newrev', 'ref', @user)
+          project.execute_hooks({})
         }.should_not raise_error
       end
     end
 
     context "with web hooks" do
       before do
-        @project_hook = Factory(:project_hook)
-        @project_hook_2 = Factory(:project_hook)
+        @project_hook = create(:project_hook)
+        @project_hook_2 = create(:project_hook)
         project.hooks << [@project_hook, @project_hook_2]
       end
 
@@ -41,24 +43,24 @@ describe Project, "Hooks" do
         @project_hook.should_receive(:execute).once
         @project_hook_2.should_receive(:execute).once
 
-        project.execute_hooks('oldrev', 'newrev', 'refs/heads/master', @user)
+        project.trigger_post_receive('oldrev', 'newrev', 'refs/heads/master', @user)
       end
     end
 
     context "does not execute web hooks" do
       before do
-        @project_hook = Factory(:project_hook)
+        @project_hook = create(:project_hook)
         project.hooks << [@project_hook]
       end
 
       it "when pushing a branch for the first time" do
         @project_hook.should_not_receive(:execute)
-        project.execute_hooks('00000000000000000000000000000000', 'newrev', 'refs/heads/master', @user)
+        project.trigger_post_receive('00000000000000000000000000000000', 'newrev', 'refs/heads/master', @user)
       end
 
       it "when pushing tags" do
         @project_hook.should_not_receive(:execute)
-        project.execute_hooks('oldrev', 'newrev', 'refs/tags/v1.0.0', @user)
+        project.trigger_post_receive('oldrev', 'newrev', 'refs/tags/v1.0.0', @user)
       end
     end
 
diff --git a/spec/models/project_security_spec.rb b/spec/models/project_security_spec.rb
index baf6d4b68ea75e382b672a3459784c6f72314e70..60f8d45c9c803c2df01f83fcc2912189c7b8fa3f 100644
--- a/spec/models/project_security_spec.rb
+++ b/spec/models/project_security_spec.rb
@@ -3,9 +3,9 @@ require 'spec_helper'
 describe Project do
   describe :authorization do
     before do
-      @p1 = Factory :project
-      @u1 = Factory :user
-      @u2 = Factory :user
+      @p1 = create(:project)
+      @u1 = create(:user)
+      @u2 = create(:user)
       @abilities = Six.new
       @abilities << Ability
     end
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 6fe4644626289b33c1a67b85800bb664143e3c21..5bcab924496051bfd01f2344c798d163f0f03404 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -2,20 +2,20 @@
 #
 # Table name: projects
 #
-#  id                     :integer         not null, primary key
+#  id                     :integer          not null, primary key
 #  name                   :string(255)
 #  path                   :string(255)
 #  description            :text
-#  created_at             :datetime        not null
-#  updated_at             :datetime        not null
-#  private_flag           :boolean         default(TRUE), not null
+#  created_at             :datetime         not null
+#  updated_at             :datetime         not null
+#  private_flag           :boolean          default(TRUE), not null
 #  code                   :string(255)
 #  owner_id               :integer
 #  default_branch         :string(255)
-#  issues_enabled         :boolean         default(TRUE), not null
-#  wall_enabled           :boolean         default(TRUE), not null
-#  merge_requests_enabled :boolean         default(TRUE), not null
-#  wiki_enabled           :boolean         default(TRUE), not null
+#  issues_enabled         :boolean          default(TRUE), not null
+#  wall_enabled           :boolean          default(TRUE), not null
+#  merge_requests_enabled :boolean          default(TRUE), not null
+#  wiki_enabled           :boolean          default(TRUE), not null
 #  group_id               :integer
 #
 
@@ -157,7 +157,7 @@ describe Project do
 
   describe :valid_repo? do
     it "should be valid repo" do
-      project = Factory :project
+      project = create(:project)
       project.valid_repo?.should be_true
     end
 
@@ -168,7 +168,7 @@ describe Project do
   end
 
   describe "last_activity methods" do
-    let(:project)    { Factory :project }
+    let(:project)    { create(:project) }
     let(:last_event) { double(created_at: Time.now) }
 
     describe "last_activity" do
@@ -191,7 +191,7 @@ describe Project do
   end
 
   describe "fresh commits" do
-    let(:project) { Factory :project }
+    let(:project) { create(:project) }
 
     it { project.fresh_commits(3).count.should == 3 }
     it { project.fresh_commits.first.id.should == "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a" }
@@ -199,7 +199,7 @@ describe Project do
   end
 
   describe "commits_between" do
-    let(:project) { Factory :project }
+    let(:project) { create(:project) }
 
     subject do
       commits = project.commits_between("3a4b4fb4cde7809f033822a171b9feae19d41fff",
@@ -213,7 +213,7 @@ describe Project do
   end
 
   describe "Git methods" do
-    let(:project) { Factory :project }
+    let(:project) { create(:project) }
 
     describe :repo do
       it "should return valid repo" do
@@ -270,14 +270,14 @@ describe Project do
   end
 
   describe :update_merge_requests do
-    let(:project) { Factory :project }
+    let(:project) { create(:project) }
 
     before do
-      @merge_request = Factory :merge_request,
-        project: project,
-        merged: false,
-        closed: false
-      @key = Factory :key, user_id: project.owner.id
+      @merge_request = create(:merge_request,
+                              project: project,
+                              merged: false,
+                              closed: false)
+      @key = create(:key, user_id: project.owner.id)
     end
 
     it "should close merge request if last commit from source branch was pushed to target branch" do
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 874c4e4d885cdaa9625c1cd33126705f0fefe7ab..7340ce50cede6b7d2392a3d5bea34b40e061ccf6 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -2,11 +2,11 @@
 #
 # Table name: protected_branches
 #
-#  id         :integer         not null, primary key
-#  project_id :integer         not null
-#  name       :string(255)     not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
+#  id         :integer          not null, primary key
+#  project_id :integer          not null
+#  name       :string(255)      not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
 #
 
 require 'spec_helper'
diff --git a/spec/models/service_hook_spec.rb b/spec/models/service_hook_spec.rb
new file mode 100644
index 0000000000000000000000000000000000000000..0b0262c97f1811dba2b5d4009d3c6ca2a6031b2a
--- /dev/null
+++ b/spec/models/service_hook_spec.rb
@@ -0,0 +1,20 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+#  id         :integer          not null, primary key
+#  url        :string(255)
+#  project_id :integer
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
+#
+
+require "spec_helper"
+
+describe ServiceHook do
+  describe "Associations" do
+    it { should belong_to :service }
+  end
+end
diff --git a/spec/models/service_spec.rb b/spec/models/service_spec.rb
new file mode 100644
index 0000000000000000000000000000000000000000..1a58f680baf5c1dfdb34c40253b8caa20dec988e
--- /dev/null
+++ b/spec/models/service_spec.rb
@@ -0,0 +1,27 @@
+# == Schema Information
+#
+# Table name: services
+#
+#  id          :integer          not null, primary key
+#  type        :string(255)
+#  title       :string(255)
+#  token       :string(255)
+#  project_id  :integer          not null
+#  created_at  :datetime         not null
+#  updated_at  :datetime         not null
+#  active      :boolean          default(FALSE), not null
+#  project_url :string(255)
+#
+
+require 'spec_helper'
+
+describe Service do
+  describe "Associations" do
+    it { should belong_to :project }
+    it { should have_one :service_hook }
+  end
+
+  describe "Mass assignment" do
+    it { should_not allow_mass_assignment_of(:project_id) }
+  end
+end
diff --git a/spec/models/snippet_spec.rb b/spec/models/snippet_spec.rb
index ada5fcdbcb8066536fe762f0df3131384e14c667..b474d88c9e27e070181a3fe78e5bee7be0a0fc85 100644
--- a/spec/models/snippet_spec.rb
+++ b/spec/models/snippet_spec.rb
@@ -2,13 +2,13 @@
 #
 # Table name: snippets
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  title      :string(255)
 #  content    :text
-#  author_id  :integer         not null
-#  project_id :integer         not null
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
+#  author_id  :integer          not null
+#  project_id :integer          not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
 #  file_name  :string(255)
 #  expires_at :datetime
 #
diff --git a/spec/models/system_hook_spec.rb b/spec/models/system_hook_spec.rb
index b5d338a8c5510870d4215ab4eb3e3f56733b9b70..9d03b56cd8f563e1f0fb04dd0a508f6349399e3c 100644
--- a/spec/models/system_hook_spec.rb
+++ b/spec/models/system_hook_spec.rb
@@ -2,12 +2,13 @@
 #
 # Table name: web_hooks
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  url        :string(255)
 #  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  type       :string(255)     default("ProjectHook")
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
 #
 
 require "spec_helper"
@@ -17,19 +18,19 @@ describe SystemHook do
     before(:each) { ActiveRecord::Base.observers.enable(:all) }
 
     before(:each) do
-      @system_hook = Factory :system_hook
+      @system_hook = create(:system_hook)
       WebMock.stub_request(:post, @system_hook.url)
     end
 
     it "project_create hook" do
       with_resque do
-        project = Factory :project
+        project = create(:project)
       end
       WebMock.should have_requested(:post, @system_hook.url).with(body: /project_create/).once
     end
 
     it "project_destroy hook" do
-      project = Factory :project
+      project = create(:project)
       with_resque do
         project.destroy
       end
@@ -38,13 +39,13 @@ describe SystemHook do
 
     it "user_create hook" do
       with_resque do
-        Factory :user
+        create(:user)
       end
       WebMock.should have_requested(:post, @system_hook.url).with(body: /user_create/).once
     end
 
     it "user_destroy hook" do
-      user = Factory :user
+      user = create(:user)
       with_resque do
         user.destroy
       end
@@ -52,8 +53,8 @@ describe SystemHook do
     end
 
     it "project_create hook" do
-      user = Factory :user
-      project = Factory :project
+      user = create(:user)
+      project = create(:project)
       with_resque do
         project.users << user
       end
@@ -61,8 +62,8 @@ describe SystemHook do
     end
 
     it "project_destroy hook" do
-      user = Factory :user
-      project = Factory :project
+      user = create(:user)
+      project = create(:project)
       project.users << user
       with_resque do
         project.users_projects.clear
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 5f41fb05ed138f6e723f5f368cb21da654d8f8ba..4ac699b1c453f760bb6432fa9ee84d95d7eb021e 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -2,31 +2,31 @@
 #
 # Table name: users
 #
-#  id                     :integer         not null, primary key
-#  email                  :string(255)     default(""), not null
-#  encrypted_password     :string(128)     default(""), not null
+#  id                     :integer          not null, primary key
+#  email                  :string(255)      default(""), not null
+#  encrypted_password     :string(255)      default(""), not null
 #  reset_password_token   :string(255)
 #  reset_password_sent_at :datetime
 #  remember_created_at    :datetime
-#  sign_in_count          :integer         default(0)
+#  sign_in_count          :integer          default(0)
 #  current_sign_in_at     :datetime
 #  last_sign_in_at        :datetime
 #  current_sign_in_ip     :string(255)
 #  last_sign_in_ip        :string(255)
-#  created_at             :datetime        not null
-#  updated_at             :datetime        not null
+#  created_at             :datetime         not null
+#  updated_at             :datetime         not null
 #  name                   :string(255)
-#  admin                  :boolean         default(FALSE), not null
-#  projects_limit         :integer         default(10)
-#  skype                  :string(255)     default(""), not null
-#  linkedin               :string(255)     default(""), not null
-#  twitter                :string(255)     default(""), not null
+#  admin                  :boolean          default(FALSE), not null
+#  projects_limit         :integer          default(10)
+#  skype                  :string(255)      default(""), not null
+#  linkedin               :string(255)      default(""), not null
+#  twitter                :string(255)      default(""), not null
 #  authentication_token   :string(255)
-#  dark_scheme            :boolean         default(FALSE), not null
-#  theme_id               :integer         default(1), not null
+#  dark_scheme            :boolean          default(FALSE), not null
+#  theme_id               :integer          default(1), not null
 #  bio                    :string(255)
-#  blocked                :boolean         default(FALSE), not null
-#  failed_attempts        :integer         default(0)
+#  blocked                :boolean          default(FALSE), not null
+#  failed_attempts        :integer          default(0)
 #  locked_at              :datetime
 #  extern_uid             :string(255)
 #  provider               :string(255)
@@ -108,7 +108,7 @@ describe User do
 
   describe 'authentication token' do
     it "should have authentication token" do
-      user = Factory(:user)
+      user = create(:user)
       user.authentication_token.should_not be_blank
     end
   end
diff --git a/spec/models/users_project_spec.rb b/spec/models/users_project_spec.rb
index 2ad9a0bd909725688842f5559554ba6923312c7e..1f896324f18bea50f6fee576328d2adeb8fe58a2 100644
--- a/spec/models/users_project_spec.rb
+++ b/spec/models/users_project_spec.rb
@@ -2,12 +2,12 @@
 #
 # Table name: users_projects
 #
-#  id             :integer         not null, primary key
-#  user_id        :integer         not null
-#  project_id     :integer         not null
-#  created_at     :datetime        not null
-#  updated_at     :datetime        not null
-#  project_access :integer         default(0), not null
+#  id             :integer          not null, primary key
+#  user_id        :integer          not null
+#  project_id     :integer          not null
+#  created_at     :datetime         not null
+#  updated_at     :datetime         not null
+#  project_access :integer          default(0), not null
 #
 
 require 'spec_helper'
diff --git a/spec/models/web_hook_spec.rb b/spec/models/web_hook_spec.rb
index d71fec811f0657869e2e3aef50e9c5e95d8b6ac2..2d9301732dd9550ef98177dda05b6f86f3f75729 100644
--- a/spec/models/web_hook_spec.rb
+++ b/spec/models/web_hook_spec.rb
@@ -2,12 +2,13 @@
 #
 # Table name: web_hooks
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  url        :string(255)
 #  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
-#  type       :string(255)     default("ProjectHook")
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#  type       :string(255)      default("ProjectHook")
+#  service_id :integer
 #
 
 require 'spec_helper'
@@ -39,8 +40,8 @@ describe ProjectHook do
 
   describe "execute" do
     before(:each) do
-      @project_hook = Factory :project_hook
-      @project = Factory :project
+      @project_hook = create(:project_hook)
+      @project = create(:project)
       @project.hooks << [@project_hook]
       @data = { before: 'oldrev', after: 'newrev', ref: 'ref'}
 
diff --git a/spec/models/wiki_spec.rb b/spec/models/wiki_spec.rb
index 96aebd2ddb7443e2338cd2aec90a0fe218734272..9750b81d303ecd1105a6c2bbe2d6b76aa79edd5b 100644
--- a/spec/models/wiki_spec.rb
+++ b/spec/models/wiki_spec.rb
@@ -2,12 +2,12 @@
 #
 # Table name: wikis
 #
-#  id         :integer         not null, primary key
+#  id         :integer          not null, primary key
 #  title      :string(255)
 #  content    :text
 #  project_id :integer
-#  created_at :datetime        not null
-#  updated_at :datetime        not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
 #  slug       :string(255)
 #  user_id    :integer
 #
diff --git a/spec/observers/activity_observer_spec.rb b/spec/observers/activity_observer_spec.rb
index 0db4a9985be1f59c77f6091d9d1620b0db7adfd7..0eec41f44e9dc1e9d9cda9246e921d90caa9f9d0 100644
--- a/spec/observers/activity_observer_spec.rb
+++ b/spec/observers/activity_observer_spec.rb
@@ -1,17 +1,17 @@
 require 'spec_helper'
 
 describe ActivityObserver do
-  let(:project)  { Factory :project } 
+  let(:project)  { create(:project) }
 
   def self.it_should_be_valid_event
     it { @event.should_not be_nil }
     it { @event.project.should == project }
   end
 
-  describe "Merge Request created" do 
+  describe "Merge Request created" do
     before do
       MergeRequest.observers.enable :activity_observer do
-        @merge_request = Factory :merge_request, project: project
+        @merge_request = create(:merge_request, project: project)
         @event = Event.last
       end
     end
@@ -21,10 +21,10 @@ describe ActivityObserver do
     it { @event.target.should == @merge_request }
   end
 
-  describe "Issue created" do 
+  describe "Issue created" do
     before do
       Issue.observers.enable :activity_observer do
-        @issue = Factory :issue, project: project
+        @issue = create(:issue, project: project)
         @event = Event.last
       end
     end
@@ -34,10 +34,10 @@ describe ActivityObserver do
     it { @event.target.should == @issue }
   end
 
-  #describe "Issue commented" do 
-    #before do 
-      #@issue = Factory :issue, project: project
-      #@note = Factory :note, noteable: @issue, project: project
+  #describe "Issue commented" do
+    #before do
+      #@issue = create(:issue, project: project)
+      #@note = create(:note, noteable: @issue, project: project)
       #@event = Event.last
     #end
 
diff --git a/spec/observers/issue_observer_spec.rb b/spec/observers/issue_observer_spec.rb
index b5943f2c5399c6733a6b5c7ac98f52ff03faafe5..509c1d02b491c4f03d2bf59fb2d4c95c20b0aa01 100644
--- a/spec/observers/issue_observer_spec.rb
+++ b/spec/observers/issue_observer_spec.rb
@@ -16,7 +16,7 @@ describe IssueObserver do
       subject.should_receive(:after_create)
 
       Issue.observers.enable :issue_observer do
-        Factory.create(:issue, project: Factory.create(:project))
+        create(:issue, project: create(:project))
       end
     end
 
@@ -43,7 +43,7 @@ describe IssueObserver do
     end
 
     it 'is called when an issue is changed' do
-      changed = Factory.create(:issue, project: Factory.create(:project))
+      changed = create(:issue, project: create(:project))
       subject.should_receive(:after_update)
 
       Issue.observers.enable :issue_observer do
diff --git a/spec/observers/merge_request_observer_spec.rb b/spec/observers/merge_request_observer_spec.rb
index a9ba79271e340b0bc4ae5581ad495b5dd381ce92..6b15be96630e301b942287aa0f9bcc55bda45bdf 100644
--- a/spec/observers/merge_request_observer_spec.rb
+++ b/spec/observers/merge_request_observer_spec.rb
@@ -16,7 +16,7 @@ describe MergeRequestObserver do
       subject.should_receive(:after_create)
 
       MergeRequest.observers.enable :merge_request_observer do
-        Factory.create(:merge_request, project: Factory.create(:project))
+        create(:merge_request, project: create(:project))
       end
     end
 
@@ -43,7 +43,7 @@ describe MergeRequestObserver do
     end
 
     it 'is called when a merge request is changed' do
-      changed = Factory.create(:merge_request, project: Factory.create(:project))
+      changed = create(:merge_request, project: create(:project))
       subject.should_receive(:after_update)
 
       MergeRequest.observers.enable :merge_request_observer do
diff --git a/spec/observers/note_observer_spec.rb b/spec/observers/note_observer_spec.rb
index 203a58a495063087c79783f557ce1b37e5d3523f..7dfa9f772e962c42280893feb5af89af19079602 100644
--- a/spec/observers/note_observer_spec.rb
+++ b/spec/observers/note_observer_spec.rb
@@ -13,7 +13,7 @@ describe NoteObserver do
       subject.should_receive :after_create
 
       Note.observers.enable :note_observer do
-        Factory.create(:note)
+        create(:note)
       end
     end
 
diff --git a/spec/observers/user_observer_spec.rb b/spec/observers/user_observer_spec.rb
index 0420a250c8aa981a4e1a0bbef836c5211080c172..08254f44026da78f9c408bc783e3289ca7b5411a 100644
--- a/spec/observers/user_observer_spec.rb
+++ b/spec/observers/user_observer_spec.rb
@@ -4,7 +4,7 @@ describe UserObserver do
   subject { UserObserver.instance }
 
   it 'calls #after_create when new users are created' do
-    new_user = Factory.new(:user)
+    new_user = build(:user)
     subject.should_receive(:after_create).with(new_user)
 
     User.observers.enable :user_observer do
diff --git a/spec/observers/users_project_observer_spec.rb b/spec/observers/users_project_observer_spec.rb
index a8e0834bc99133dca3302d877ee46282468a61d5..cbe4224803371ffe451c918c1f1e5dfa4ff5db55 100644
--- a/spec/observers/users_project_observer_spec.rb
+++ b/spec/observers/users_project_observer_spec.rb
@@ -1,13 +1,13 @@
 require 'spec_helper'
 
 describe UsersProjectObserver do
-  let(:user) { Factory.create :user }
-  let(:project) { Factory.create(:project, 
-                                 code: "Fuu", 
-                                 path: "Fuu" ) }
-  let(:users_project) { Factory.create(:users_project,
-                                        project: project,
-                                        user: user )}
+  let(:user) { create(:user) }
+  let(:project) { create(:project,
+                         code: "Fuu",
+                         path: "Fuu" ) }
+  let(:users_project) { create(:users_project,
+                               project: project,
+                               user: user )}
   subject { UsersProjectObserver.instance }
 
   describe "#after_commit" do
diff --git a/spec/requests/admin/admin_hooks_spec.rb b/spec/requests/admin/admin_hooks_spec.rb
index 2f026aabab8e28e297c4baecaef9a5291598395e..3f35b2fd37d58d8ebe9cb95207b080ac28686970 100644
--- a/spec/requests/admin/admin_hooks_spec.rb
+++ b/spec/requests/admin/admin_hooks_spec.rb
@@ -2,12 +2,12 @@ require 'spec_helper'
 
 describe "Admin::Hooks" do
   before do
-    @project = Factory :project,
-      name: "LeGiT",
-      code: "LGT"
+    @project = create(:project,
+                      name: "LeGiT",
+                      code: "LGT")
     login_as :admin
 
-    @system_hook = Factory :system_hook
+    @system_hook = create(:system_hook)
 
   end
 
diff --git a/spec/requests/admin/admin_projects_spec.rb b/spec/requests/admin/admin_projects_spec.rb
index 61e66eec08b2b23e3b19d930001a63f1a087ecc5..43e39d7cbcd009ab29ba18a55f956604bbb0b04e 100644
--- a/spec/requests/admin/admin_projects_spec.rb
+++ b/spec/requests/admin/admin_projects_spec.rb
@@ -2,9 +2,9 @@ require 'spec_helper'
 
 describe "Admin::Projects" do
   before do
-    @project = Factory :project,
-      name: "LeGiT",
-      code: "LGT"
+    @project = create(:project,
+                      name: "LeGiT",
+                      code: "LGT")
     login_as :admin
   end
 
@@ -104,7 +104,7 @@ describe "Admin::Projects" do
 
   describe "Add new team member" do
     before do
-      @new_user = Factory :user
+      @new_user = create(:user)
       visit admin_project_path(@project)
     end
 
diff --git a/spec/requests/admin/admin_users_spec.rb b/spec/requests/admin/admin_users_spec.rb
index 68358bf0a0f231c53c1a9d73f0175c33e2dd4b66..9f43f07a476db7f73d1d79a0e45b3b970d57fee8 100644
--- a/spec/requests/admin/admin_users_spec.rb
+++ b/spec/requests/admin/admin_users_spec.rb
@@ -76,7 +76,7 @@ describe "Admin::Users" do
 
   describe "GET /admin/users/:id/edit" do
     before do
-      @simple_user = Factory :user
+      @simple_user = create(:user)
       visit admin_users_path
       click_link "edit_user_#{@simple_user.id}"
     end
@@ -107,13 +107,13 @@ describe "Admin::Users" do
     end
   end
 
-  describe "Add new project" do 
-    before do 
-      @new_project = Factory :project
+  describe "Add new project" do
+    before do
+      @new_project = create(:project)
       visit admin_user_path(@user)
     end
 
-    it "should create new user" do 
+    it "should create new user" do
       select @new_project.name, from: "project_ids"
       expect { click_button "Add" }.to change { UsersProject.count }.by(1)
       page.should have_content @new_project.name
diff --git a/spec/requests/api/issues_spec.rb b/spec/requests/api/issues_spec.rb
index 442e9c730dc8d9d4c4fbdb4fda158dc23b6210e6..6ea7e9b557924e3775d0b6de68b558e391e130ff 100644
--- a/spec/requests/api/issues_spec.rb
+++ b/spec/requests/api/issues_spec.rb
@@ -3,9 +3,9 @@ require 'spec_helper'
 describe Gitlab::API do
   include ApiHelpers
 
-  let(:user) { Factory :user }
-  let!(:project) { Factory :project, owner: user }
-  let!(:issue) { Factory :issue, author: user, assignee: user, project: project }
+  let(:user) { create(:user) }
+  let!(:project) { create(:project, owner: user) }
+  let!(:issue) { create(:issue, author: user, assignee: user, project: project) }
   before { project.add_access(user, :read) }
 
   describe "GET /issues" do
diff --git a/spec/requests/api/merge_requests_spec.rb b/spec/requests/api/merge_requests_spec.rb
new file mode 100644
index 0000000000000000000000000000000000000000..e83f24671edf4da15c078ff06f985e2c05fd9bf5
--- /dev/null
+++ b/spec/requests/api/merge_requests_spec.rb
@@ -0,0 +1,62 @@
+require "spec_helper"
+
+describe Gitlab::API do
+  include ApiHelpers
+
+  let(:user) { create(:user ) }
+  let!(:project) { create(:project, owner: user) }
+  let!(:merge_request) { create(:merge_request, author: user, assignee: user, project: project, title: "Test") }
+  before { project.add_access(user, :read) }
+
+  describe "GET /projects/:id/merge_requests" do
+    context "when unauthenticated" do
+      it "should return authentication error" do
+        get api("/projects/#{project.code}/merge_requests")
+        response.status.should == 401
+      end
+    end
+
+    context "when authenticated" do
+      it "should return an array of merge_requests" do
+        get api("/projects/#{project.code}/merge_requests", user)
+        response.status.should == 200
+        json_response.should be_an Array
+        json_response.first['title'].should == merge_request.title
+      end
+    end
+  end
+
+  describe "GET /projects/:id/merge_request/:merge_request_id" do
+    it "should return merge_request" do
+      get api("/projects/#{project.code}/merge_request/#{merge_request.id}", user)
+      response.status.should == 200
+      json_response['title'].should == merge_request.title
+    end
+  end
+
+  describe "POST /projects/:id/merge_requests" do
+    it "should return merge_request" do
+      post api("/projects/#{project.code}/merge_requests", user),
+        title: 'Test merge_request', source_branch: "stable", target_branch: "master", author: user
+      response.status.should == 201
+      json_response['title'].should == 'Test merge_request'
+    end
+  end
+
+  describe "PUT /projects/:id/merge_request/:merge_request_id" do
+    it "should return merge_request" do
+      put api("/projects/#{project.code}/merge_request/#{merge_request.id}", user), title: "New title"
+      response.status.should == 200
+      json_response['title'].should == 'New title'
+    end
+  end
+
+  describe "POST /projects/:id/merge_request/:merge_request_id/comments" do
+    it "should return comment" do
+      post api("/projects/#{project.code}/merge_request/#{merge_request.id}/comments", user), note: "My comment"
+      response.status.should == 201
+      json_response['note'].should == 'My comment'
+    end
+  end
+
+end
diff --git a/spec/requests/api/milestones_spec.rb b/spec/requests/api/milestones_spec.rb
index cf5f65f068ceb3b9762dc0720ccd54b9d706358c..860825ab2dbf96ae2c2a187b990828a2b60ef616 100644
--- a/spec/requests/api/milestones_spec.rb
+++ b/spec/requests/api/milestones_spec.rb
@@ -3,9 +3,9 @@ require 'spec_helper'
 describe Gitlab::API do
   include ApiHelpers
 
-  let(:user) { Factory :user }
-  let!(:project) { Factory :project, owner: user }
-  let!(:milestone) { Factory :milestone, project: project }
+  let(:user) { create(:user) }
+  let!(:project) { create(:project, owner: user) }
+  let!(:milestone) { create(:milestone, project: project) }
 
   before { project.add_access(user, :read) }
 
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index 51526f89fbad20f12721a3fd328f06a18d985d6d..d24ce43d3f2408a88d8a726fd7f6898c09db26b5 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -3,14 +3,14 @@ require 'spec_helper'
 describe Gitlab::API do
   include ApiHelpers
 
-  let(:user) { Factory :user }
-  let(:user2) { Factory.create(:user) }
-  let(:user3) { Factory.create(:user) }
-  let!(:hook) { Factory :project_hook, project: project, url: "http://example.com" }
-  let!(:project) { Factory :project, owner: user }
-  let!(:snippet) { Factory :snippet, author: user, project: project, title: 'example' }
-  let!(:users_project) { Factory :users_project, user: user, project: project, project_access: UsersProject::MASTER  }
-  let!(:users_project2) { Factory :users_project, user: user3, project: project, project_access: UsersProject::DEVELOPER  }
+  let(:user) { create(:user) }
+  let(:user2) { create(:user) }
+  let(:user3) { create(:user) }
+  let!(:hook) { create(:project_hook, project: project, url: "http://example.com") }
+  let!(:project) { create(:project, owner: user ) }
+  let!(:snippet) { create(:snippet, author: user, project: project, title: 'example') }
+  let!(:users_project) { create(:users_project, user: user, project: project, project_access: UsersProject::MASTER) }
+  let!(:users_project2) { create(:users_project, user: user3, project: project, project_access: UsersProject::DEVELOPER) }
   before { project.add_access(user, :read) }
 
   describe "GET /projects" do
@@ -46,13 +46,13 @@ describe Gitlab::API do
       response.status.should == 201
     end
 
-    it "should repsond with 404 on failure" do
+    it "should respond with 404 on failure" do
       post api("/projects", user)
       response.status.should == 404
     end
 
     it "should assign attributes to project" do
-      project = Factory.attributes(:project, {
+      project = attributes_for(:project, {
         path: 'path',
         code: 'code',
         description: Faker::Lorem.sentence,
@@ -188,16 +188,16 @@ describe Gitlab::API do
       }.to change {project.hooks.count}.by(1)
     end
   end
-  
+
   describe "PUT /projects/:id/hooks/:hook_id" do
     it "should update an existing project hook" do
       put api("/projects/#{project.code}/hooks/#{hook.id}", user),
-        url: 'http://example.com'
+        url: 'http://example.org'
       response.status.should == 200
-      json_response['url'].should == 'http://example.com'
+      json_response['url'].should == 'http://example.org'
     end
   end
-  
+
 
   describe "DELETE /projects/:id/hooks" do
     it "should delete hook from project" do
@@ -239,7 +239,7 @@ describe Gitlab::API do
   end
 
   describe "GET /projects/:id/snippets" do
-    it "should return a project snippet" do
+    it "should return an array of project snippets" do
       get api("/projects/#{project.code}/snippets", user)
       response.status.should == 200
       json_response.should be_an Array
diff --git a/spec/requests/api/session_spec.rb b/spec/requests/api/session_spec.rb
index f251f3921acacde95418deb7b3bae3cd54256a45..afae8be8cbca3ce2692f83bd90c87c07c13c511e 100644
--- a/spec/requests/api/session_spec.rb
+++ b/spec/requests/api/session_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
 describe Gitlab::API do
   include ApiHelpers
 
-  let(:user) { Factory :user }
+  let(:user) { create(:user) }
 
   describe "POST /session" do
     context "when valid password" do
diff --git a/spec/requests/api/users_spec.rb b/spec/requests/api/users_spec.rb
index e3049e0901687f1cf06e47ea9ab4a3ff14f62050..4cfb4884e7c9f1da124308696c0316bd7ac46b06 100644
--- a/spec/requests/api/users_spec.rb
+++ b/spec/requests/api/users_spec.rb
@@ -3,9 +3,9 @@ require 'spec_helper'
 describe Gitlab::API do
   include ApiHelpers
 
-  let(:user)  { Factory :user }
-  let(:admin) {Factory :admin}
-  let(:key)   { Factory :key, user: user }
+  let(:user)  { create(:user) }
+  let(:admin) { create(:admin) }
+  let(:key)   { create(:key, user: user) }
 
   describe "GET /users" do
     context "when unauthenticated" do
@@ -42,13 +42,13 @@ describe Gitlab::API do
     end
 
     it "should create user" do
-      expect{
-        post api("/users", admin), Factory.attributes(:user)
-      }.to change{User.count}.by(1)
+      expect {
+        post api("/users", admin), attributes_for(:user, projects_limit: 3)
+      }.to change { User.count }.by(1)
     end
 
     it "shouldn't available for non admin users" do
-      post api("/users", user), Factory.attributes(:user)
+      post api("/users", user), attributes_for(:user)
       response.status.should == 403
     end
   end
@@ -103,7 +103,7 @@ describe Gitlab::API do
     end
 
     it "should create ssh key" do
-      key_attrs = Factory.attributes :key
+      key_attrs = attributes_for :key
       expect {
         post api("/user/keys", user), key_attrs
       }.to change{ user.keys.count }.by(1)
diff --git a/spec/requests/atom/dashboard_issues_spec.rb b/spec/requests/atom/dashboard_issues_spec.rb
index 8d1111fc7701a5de91485c3c395c2a92a15014ba..8ce64cd4c14a825d75fca86662932176e278fe64 100644
--- a/spec/requests/atom/dashboard_issues_spec.rb
+++ b/spec/requests/atom/dashboard_issues_spec.rb
@@ -2,11 +2,11 @@ require 'spec_helper'
 
 describe "Dashboard Issues Feed" do
   describe "GET /issues" do
-    let!(:user)     { Factory :user }
-    let!(:project1) { Factory :project }
-    let!(:project2) { Factory :project }
-    let!(:issue1)   { Factory :issue, author: user, assignee: user, project: project1 }
-    let!(:issue2)   { Factory :issue, author: user, assignee: user, project: project2 }
+    let!(:user)     { create(:user) }
+    let!(:project1) { create(:project) }
+    let!(:project2) { create(:project) }
+    let!(:issue1)   { create(:issue, author: user, assignee: user, project: project1) }
+    let!(:issue2)   { create(:issue, author: user, assignee: user, project: project2) }
 
     describe "atom feed" do
       it "should render atom feed via private token" do
diff --git a/spec/requests/atom/dashboard_spec.rb b/spec/requests/atom/dashboard_spec.rb
index c160d24ac20c69fe23dadf697b28d9ab2ca8ecc8..6257ad5c8958018eb3c30f9216e1745023f0f4a7 100644
--- a/spec/requests/atom/dashboard_spec.rb
+++ b/spec/requests/atom/dashboard_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
 
 describe "Dashboard Feed" do
   describe "GET /" do
-    let!(:user) { Factory :user }
+    let!(:user) { create(:user) }
 
     context "projects atom feed via private token" do
       it "should render projects atom feed" do
diff --git a/spec/requests/atom/issues_spec.rb b/spec/requests/atom/issues_spec.rb
index c86719798708a57deb378a2f1657aeba33a1ca02..29f88f3f1c34190238425678858c0f3ce1582f47 100644
--- a/spec/requests/atom/issues_spec.rb
+++ b/spec/requests/atom/issues_spec.rb
@@ -2,9 +2,9 @@ require 'spec_helper'
 
 describe "Issues Feed" do
   describe "GET /issues" do
-    let!(:user)     { Factory :user }
-    let!(:project)  { Factory :project, owner: user }
-    let!(:issue)    { Factory :issue, author: user, project: project }
+    let!(:user)     { create(:user) }
+    let!(:project)  { create(:project, owner: user) }
+    let!(:issue)    { create(:issue, author: user, project: project) }
 
     before { project.add_access(user, :read, :write) }
 
diff --git a/spec/requests/gitlab_flavored_markdown_spec.rb b/spec/requests/gitlab_flavored_markdown_spec.rb
index 106f6451485806f984e0af15679f7a203f41c32c..aedd435e61723e6a340d80c62e3d2a87c1d8cb9d 100644
--- a/spec/requests/gitlab_flavored_markdown_spec.rb
+++ b/spec/requests/gitlab_flavored_markdown_spec.rb
@@ -1,11 +1,11 @@
 require 'spec_helper'
 
 describe "Gitlab Flavored Markdown" do
-  let(:project) { Factory :project }
-  let(:issue) { Factory :issue, project: project }
-  let(:merge_request) { Factory :merge_request, project: project }
+  let(:project) { create(:project) }
+  let(:issue) { create(:issue, project: project) }
+  let(:merge_request) { create(:merge_request, project: project) }
   let(:fred) do
-      u = Factory :user, name: "fred"
+      u = create(:user, name: "fred")
       project.users << u
       u
   end
@@ -80,26 +80,20 @@ describe "Gitlab Flavored Markdown" do
 
       page.should have_link("##{issue.id}")
     end
-
-    it "should render title in repositories#tags" do
-      visit tags_project_repository_path(project)
-
-      page.should have_link("##{issue.id}")
-    end
   end
 
   describe "for issues" do
     before do
-      @other_issue = Factory :issue,
+      @other_issue = create(:issue,
+                            author: @user,
+                            assignee: @user,
+                            project: project)
+      @issue = create(:issue,
                       author: @user,
                       assignee: @user,
-                      project: project
-      @issue = Factory :issue,
-                author: @user,
-                assignee: @user,
-                project: project,
-                title: "fix ##{@other_issue.id}",
-                description: "ask @#{fred.name} for details"
+                      project: project,
+                      title: "fix ##{@other_issue.id}",
+                      description: "ask @#{fred.name} for details")
     end
 
     it "should render subject in issues#index" do
@@ -124,9 +118,9 @@ describe "Gitlab Flavored Markdown" do
 
   describe "for merge requests" do
     before do
-      @merge_request = Factory :merge_request,
-                        project: project,
-                        title: "fix ##{issue.id}"
+      @merge_request = create(:merge_request,
+                              project: project,
+                              title: "fix ##{issue.id}")
     end
 
     it "should render title in merge_requests#index" do
@@ -145,10 +139,10 @@ describe "Gitlab Flavored Markdown" do
 
   describe "for milestones" do
     before do
-      @milestone = Factory :milestone,
-                    project: project,
-                    title: "fix ##{issue.id}",
-                    description: "ask @#{fred.name} for details"
+      @milestone = create(:milestone,
+                          project: project,
+                          title: "fix ##{issue.id}",
+                          description: "ask @#{fred.name} for details")
     end
 
     it "should render title in milestones#index" do
diff --git a/spec/requests/issues_spec.rb b/spec/requests/issues_spec.rb
index 15ee5d174a0ce11246b523d1defd3df6ab37d574..ff4d4c8b8aefc86cd4c4dd54ea8a4a49aef9f587 100644
--- a/spec/requests/issues_spec.rb
+++ b/spec/requests/issues_spec.rb
@@ -1,28 +1,31 @@
 require 'spec_helper'
 
 describe "Issues" do
-  let(:project) { Factory :project }
+  let(:project) { create(:project) }
 
   before do
     login_as :user
-    @user2 = Factory :user
+    user2 = create(:user)
 
     project.add_access(@user, :read, :write)
-    project.add_access(@user2, :read, :write)
+    project.add_access(user2, :read, :write)
   end
 
   describe "Edit issue", js: true do
+    let!(:issue) do
+      create(:issue,
+             author: @user,
+             assignee: @user,
+             project: project)
+    end
+
     before do
-      @issue = Factory :issue,
-        author: @user,
-        assignee: @user,
-        project: project
       visit project_issues_path(project)
       click_link "Edit"
     end
 
     it "should open new issue popup" do
-      page.should have_content("Issue ##{@issue.id}")
+      page.should have_content("Issue ##{issue.id}")
     end
 
     describe "fill in" do
@@ -46,19 +49,18 @@ describe "Issues" do
   describe "Search issue", js: true do
     before do
       ['foobar', 'foobar2', 'gitlab'].each do |title|
-        @issue = Factory :issue,
-          author: @user,
-          assignee: @user,
-          project: project,
-          title: title
-        @issue.save
+        create(:issue,
+               author: @user,
+               assignee: @user,
+               project: project,
+               title: title)
       end
     end
 
     it "should be able to search on different statuses" do
-      @issue = Issue.first
-      @issue.closed = true
-      @issue.save
+      issue = Issue.first # with title 'foobar'
+      issue.closed = true
+      issue.save
 
       visit project_issues_path(project)
       click_link 'Closed'
@@ -81,8 +83,9 @@ describe "Issues" do
     it "should return all results if term has been cleared" do
       visit project_issues_path(project)
       fill_in "issue_search", with: "foobar"
-      # Because fill_in, with: "" triggers nothing we need to trigger a keyup event
-      page.execute_script("$('.issue_search').val('').keyup();");
+      # Reset the search field and trigger loading the issues
+      fill_in "issue_search", with: ""
+      page.execute_script("$('#issue_search').keyup();");
 
       page.should have_content 'foobar'
       page.should have_content 'foobar2'
@@ -93,19 +96,21 @@ describe "Issues" do
   describe "Filter issue" do
     before do
       ['foobar', 'barbaz', 'gitlab'].each do |title|
-        @issue = Factory :issue,
-          author: @user,
-          assignee: @user,
-          project: project,
-          title: title
+        create(:issue,
+               author: @user,
+               assignee: @user,
+               project: project,
+               title: title)
       end
 
-      @issue = Issue.first
-      @issue.milestone = Factory(:milestone, project: project)
-      @issue.assignee = nil
-      @issue.save
+      issue = Issue.first # with title 'foobar'
+      issue.milestone = create(:milestone, project: project)
+      issue.assignee = nil
+      issue.save
     end
 
+    let(:issue) { Issue.first }
+
     it "should allow filtering by issues with no specified milestone" do
       visit project_issues_path(project, milestone_id: '0')
 
@@ -115,7 +120,7 @@ describe "Issues" do
     end
 
     it "should allow filtering by a specified milestone" do
-      visit project_issues_path(project, milestone_id: @issue.milestone.id)
+      visit project_issues_path(project, milestone_id: issue.milestone.id)
 
       page.should have_content 'foobar'
       page.should_not have_content 'barbaz'
diff --git a/spec/requests/projects_deploy_keys_spec.rb b/spec/requests/projects_deploy_keys_spec.rb
index df1be79d2f51713cdf96ee089f21d89a302f9fb1..35323f556f90a9876ab0d0262e2c75ceed1dfaf7 100644
--- a/spec/requests/projects_deploy_keys_spec.rb
+++ b/spec/requests/projects_deploy_keys_spec.rb
@@ -1,7 +1,7 @@
 require 'spec_helper'
 
 describe "Projects", "DeployKeys" do
-  let(:project) { Factory :project }
+  let(:project) { create(:project) }
 
   before do
     login_as :user
@@ -10,7 +10,7 @@ describe "Projects", "DeployKeys" do
 
   describe "GET /keys" do
     before do
-      @key = Factory :key, project: project
+      @key = create(:key, project: project)
       visit project_deploy_keys_path(project)
     end
 
@@ -57,7 +57,7 @@ describe "Projects", "DeployKeys" do
 
   describe "Show page" do
     before do
-      @key = Factory :key, project: project
+      @key = create(:key, project: project)
       visit project_deploy_key_path(project, @key)
     end
 
diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb
index 92e89a162afe856938f3d2a358dfc025d7fdd2c5..c44bea89f969de17e09874ce4cf7806650575b13 100644
--- a/spec/requests/projects_spec.rb
+++ b/spec/requests/projects_spec.rb
@@ -6,7 +6,7 @@ describe "Projects" do
   describe 'GET /project/new' do
     it "should work autocomplete", :js => true do
       visit new_project_path
-      
+
       fill_in 'project_name', with: 'Awesome'
       find("#project_path").value.should == 'awesome'
       find("#project_code").value.should == 'awesome'
@@ -15,7 +15,7 @@ describe "Projects" do
 
   describe "GET /projects/show" do
     before do
-      @project = Factory :project, owner: @user
+      @project = create(:project, owner: @user)
       @project.add_access(@user, :read)
 
       visit project_path(@project)
@@ -28,7 +28,7 @@ describe "Projects" do
 
   describe "GET /projects/:id/edit" do
     before do
-      @project = Factory :project
+      @project = create(:project)
       @project.add_access(@user, :admin, :read)
 
       visit edit_project_path(@project)
@@ -47,7 +47,7 @@ describe "Projects" do
 
   describe "PUT /projects/:id" do
     before do
-      @project = Factory :project, owner: @user
+      @project = create(:project, owner: @user)
       @project.add_access(@user, :admin, :read)
 
       visit edit_project_path(@project)
@@ -69,7 +69,7 @@ describe "Projects" do
 
   describe "DELETE /projects/:id" do
     before do
-      @project = Factory :project
+      @project = create(:project)
       @project.add_access(@user, :read, :admin)
       visit edit_project_path(@project)
     end
diff --git a/spec/requests/search_spec.rb b/spec/requests/search_spec.rb
index 537c4d0c64c4443bcfa080b69a11663b1a69eafc..17cc0d39946d56652c329b97cbe71a5193530db5 100644
--- a/spec/requests/search_spec.rb
+++ b/spec/requests/search_spec.rb
@@ -3,14 +3,14 @@ require 'spec_helper'
 describe "Search" do
   before do
     login_as :user
-    @project = Factory :project
+    @project = create(:project)
     @project.add_access(@user, :read)
     visit search_path
     fill_in "search", with: @project.name[0..3]
     click_button "Search"
   end
 
-  it "should show project in search results" do 
+  it "should show project in search results" do
     page.should have_content @project.name
   end
 end
diff --git a/spec/requests/security/profile_access_spec.rb b/spec/requests/security/profile_access_spec.rb
index 69c1c29cf12022bfb03ffbc0373079e6f89941f4..8562b8e78af0e2fc34b1d96ce3ee392b94c8f315 100644
--- a/spec/requests/security/profile_access_spec.rb
+++ b/spec/requests/security/profile_access_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
 describe "Users Security" do
   describe "Project" do
     before do
-      @u1 = Factory :user
+      @u1 = create(:user)
     end
 
     describe "GET /login" do
diff --git a/spec/requests/snippets_spec.rb b/spec/requests/snippets_spec.rb
index 6b993660507838747ee5599714fe0673ab1c7cca..9ef217ba62c4fc182a0859b49171a42e099bc7c8 100644
--- a/spec/requests/snippets_spec.rb
+++ b/spec/requests/snippets_spec.rb
@@ -1,7 +1,7 @@
 require 'spec_helper'
 
 describe "Snippets" do
-  let(:project) { Factory :project }
+  let(:project) { create(:project) }
 
   before do
     login_as :user
@@ -10,9 +10,9 @@ describe "Snippets" do
 
   describe "GET /snippets" do
     before do
-      @snippet = Factory :snippet,
-        author: @user,
-        project: project
+      @snippet = create(:snippet,
+                        author: @user,
+                        project: project)
 
       visit project_snippets_path(project)
     end
@@ -68,9 +68,9 @@ describe "Snippets" do
 
   describe "Edit snippet" do
     before do
-      @snippet = Factory :snippet,
-        author: @user,
-        project: project
+      @snippet = create(:snippet,
+                        author: @user,
+                        project: project)
       visit project_snippet_path(project, @snippet)
       click_link "Edit"
     end
diff --git a/spec/roles/issue_commonality_spec.rb b/spec/roles/issue_commonality_spec.rb
index fc4114e3a77f01a049319e6079e9b34378c1abcf..11f278dea1023f83bb77158983caf953a7001ee9 100644
--- a/spec/roles/issue_commonality_spec.rb
+++ b/spec/roles/issue_commonality_spec.rb
@@ -15,6 +15,7 @@ describe Issue, "IssueCommonality" do
     it { should validate_presence_of(:author) }
     it { should validate_presence_of(:title) }
     it { should ensure_length_of(:title).is_at_least(0).is_at_most(255) }
+    it { should ensure_inclusion_of(:closed).in_array([true, false]) }
   end
 
   describe "Scope" do
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 4700c3fe9af9b3de9d550aa341e0573003ff06f2..ace5ca00cc18c307654a7c7858d7a4d1805a4873 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,14 +11,13 @@ require 'capybara/rails'
 require 'capybara/rspec'
 require 'webmock/rspec'
 require 'email_spec'
-require 'headless'
 
 # Requires supporting ruby files with custom matchers and macros, etc,
 # in spec/support/ and its subdirectories.
 Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
 
-# Use capybara-webkit
-Capybara.javascript_driver = :webkit
+require 'capybara/poltergeist'
+Capybara.javascript_driver = :poltergeist
 
 WebMock.disable_net_connect!(allow_localhost: true)
 
@@ -35,11 +34,6 @@ RSpec.configure do |config|
   # instead of true.
   config.use_transactional_fixtures = false
 
-  config.before :all do
-    headless = Headless.new
-    headless.start
-  end
-
   config.before do
     stub_gitolite!
 
diff --git a/spec/support/login_helpers.rb b/spec/support/login_helpers.rb
index 769034e2286ddc8bad23d613c775d0b6b0f46051..4579c971d475a092ab180eaa0f97831584657f53 100644
--- a/spec/support/login_helpers.rb
+++ b/spec/support/login_helpers.rb
@@ -3,7 +3,7 @@ module LoginHelpers
   #
   # role - User role (e.g., :admin, :user)
   def login_as(role)
-    @user = Factory(role)
+    @user = create(role)
     login_with(@user)
   end
 
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index 809453c4a3b45d1bb709e30aa68b3623516870fc..29d16ecbac72e7397e3ee5e45b1a31df6dea3219 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -59,9 +59,9 @@ module UrlAccess
 
   def emulate_user(user)
     user = case user
-           when :user then Factory(:user)
+           when :user then create(:user)
            when :visitor then nil
-           when :admin then Factory(:admin)
+           when :admin then create(:admin)
            else user
            end
     login_with(user) if user
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb
index 6f4bcca2bf264b1a512acbef9ed776fa04637fdd..bbc91f4474af274c6812d0c6906af16698c638be 100644
--- a/spec/workers/post_receive_spec.rb
+++ b/spec/workers/post_receive_spec.rb
@@ -9,8 +9,8 @@ describe PostReceive do
   end
 
   context "web hook" do
-    let(:project) { Factory.create(:project) }
-    let(:key) { Factory.create(:key, user: project.owner) }
+    let(:project) { create(:project) }
+    let(:key) { create(:key, user: project.owner) }
     let(:key_id) { key.identifier }
 
     it "fetches the correct project" do
@@ -27,16 +27,12 @@ describe PostReceive do
       PostReceive.perform(project.path, 'sha-old', 'sha-new', 'refs/heads/master', key_id).should be_false
     end
 
-    it "asks the project to execute web hooks" do
+    it "asks the project to trigger all hooks" do
       Project.stub(find_by_path: project)
-      project.should_receive(:execute_hooks).with('sha-old', 'sha-new', 'refs/heads/master', project.owner)
-
-      PostReceive.perform(project.path, 'sha-old', 'sha-new', 'refs/heads/master', key_id)
-    end
-
-    it "asks the project to observe push/create event data" do
-      Project.stub(find_by_path: project)
-      project.should_receive(:observe_push).with('sha-old', 'sha-new', 'refs/heads/master', project.owner)
+      project.should_receive(:execute_hooks)
+      project.should_receive(:execute_services)
+      project.should_receive(:update_merge_requests)
+      project.should_receive(:observe_push)
 
       PostReceive.perform(project.path, 'sha-old', 'sha-new', 'refs/heads/master', key_id)
     end
diff --git a/vendor/assets/javascripts/g.bar-min.js b/vendor/assets/javascripts/g.bar-min.js
new file mode 100644
index 0000000000000000000000000000000000000000..42f452af3501910055785f3da887329be0023f71
--- /dev/null
+++ b/vendor/assets/javascripts/g.bar-min.js
@@ -0,0 +1,7 @@
+/*!
+ * g.Raphael 0.5 - Charting library, based on Raphaël
+ *
+ * Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
+ * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
+ */
+(function(){var f=Math.min,a=Math.max;function e(o,m,h,p,j,k,l,i){var s,n={round:"round",sharp:"sharp",soft:"soft",square:"square"};if((j&&!p)||(!j&&!h)){return l?"":i.path()}k=n[k]||"square";p=Math.round(p);h=Math.round(h);o=Math.round(o);m=Math.round(m);switch(k){case"round":if(!j){var g=~~(p/2);if(h<g){g=h;s=["M",o+0.5,m+0.5-~~(p/2),"l",0,0,"a",g,~~(p/2),0,0,1,0,p,"l",0,0,"z"]}else{s=["M",o+0.5,m+0.5-g,"l",h-g,0,"a",g,g,0,1,1,0,p,"l",g-h,0,"z"]}}else{g=~~(h/2);if(p<g){g=p;s=["M",o-~~(h/2),m,"l",0,0,"a",~~(h/2),g,0,0,1,h,0,"l",0,0,"z"]}else{s=["M",o-g,m,"l",0,g-p,"a",g,g,0,1,1,h,0,"l",0,p-g,"z"]}}break;case"sharp":if(!j){var q=~~(p/2);s=["M",o,m+q,"l",0,-p,a(h-q,0),0,f(q,h),q,-f(q,h),q+(q*2<p),"z"]}else{q=~~(h/2);s=["M",o+q,m,"l",-h,0,0,-a(p-q,0),q,-f(q,p),q,f(q,p),q,"z"]}break;case"square":if(!j){s=["M",o,m+~~(p/2),"l",0,-p,h,0,0,p,"z"]}else{s=["M",o+~~(h/2),m,"l",1-h,0,0,-p,h-1,0,"z"]}break;case"soft":if(!j){g=f(h,Math.round(p/5));s=["M",o+0.5,m+0.5-~~(p/2),"l",h-g,0,"a",g,g,0,0,1,g,g,"l",0,p-g*2,"a",g,g,0,0,1,-g,g,"l",g-h,0,"z"]}else{g=f(Math.round(h/5),p);s=["M",o-~~(h/2),m,"l",0,g-p,"a",g,g,0,0,1,g,-g,"l",h-2*g,0,"a",g,g,0,0,1,g,g,"l",0,p-g,"z"]}}if(l){return s.join(",")}else{return i.path(s)}}function d(l,J,H,g,m,V,D){D=D||{};var z=this,W=D.type||"square",u=parseFloat(D.gutter||"20%"),T=l.set(),E=l.set(),n=l.set(),B=l.set(),F=Math.max.apply(Math,V),U=[],I=0,M=D.colors||z.colors,A=V.length;if(Raphael.is(V[0],"array")){F=[];I=A;A=0;for(var R=V.length;R--;){E.push(l.set());F.push(Math.max.apply(Math,V[R]));A=Math.max(A,V[R].length)}if(D.stacked){for(var R=A;R--;){var r=0;for(var Q=V.length;Q--;){r+=+V[Q][R]||0}U.push(r)}}for(var R=V.length;R--;){if(V[R].length<A){for(var Q=A;Q--;){V[R].push(0)}}}F=Math.max.apply(Math,D.stacked?U:F)}F=(D.to)||F;var K=g/(A*(100+u)+u)*100,k=K*u/100,p=D.vgutter==null?20:D.vgutter,C=[],q=J+k,o=(m-2*p)/F;if(!D.stretch){k=Math.round(k);K=Math.floor(K)}!D.stacked&&(K/=I||1);for(var R=0;R<A;R++){C=[];for(var Q=0;Q<(I||1);Q++){var S=Math.round((I?V[Q][R]:V[R])*o),t=H+m-p-S,O=e(Math.round(q+K/2),t+S,K,S,true,W,null,l).attr({stroke:"none",fill:M[I?Q:R]});if(I){E[Q].push(O)}else{E.push(O)}O.y=t;O.x=Math.round(q+K/2);O.w=K;O.h=S;O.value=I?V[Q][R]:V[R];if(!D.stacked){q+=K}else{C.push(O)}}if(D.stacked){var P;B.push(P=l.rect(C[0].x-C[0].w/2,H,K,m).attr(z.shim));P.bars=l.set();var v=0;for(var L=C.length;L--;){C[L].toFront()}for(var L=0,w=C.length;L<w;L++){var O=C[L],G,S=(v+O.value)*o,N=e(O.x,H+m-p-!!v*0.5,K,S,true,W,1,l);P.bars.push(O);v&&O.attr({path:N});O.h=S;O.y=H+m-p-!!v*0.5-S;n.push(G=l.rect(O.x-O.w/2,O.y,K,O.value*o).attr(z.shim));G.bar=O;G.value=O.value;v+=O.value}q+=K}q+=k}B.toFront();q=J+k;if(!D.stacked){for(var R=0;R<A;R++){for(var Q=0;Q<(I||1);Q++){var G;n.push(G=l.rect(Math.round(q),H+p,K,m-p).attr(z.shim));G.bar=I?E[Q][R]:E[R];G.value=G.bar.value;q+=K}q+=k}}T.label=function(y,Z){y=y||[];this.labels=l.set();var aa,h=-Infinity;if(D.stacked){for(var x=0;x<A;x++){var X=0;for(var s=0;s<(I||1);s++){X+=I?V[s][x]:V[x];if(s==I-1){var ab=z.labelise(y[x],X,F);aa=l.text(E[s][x].x,H+m-p/2,ab).attr(z.txtattr).attr({fill:D.legendcolor||"#000","text-anchor":"start"}).insertBefore(n[x*(I||1)+s]);var Y=aa.getBBox();if(Y.x-7<h){aa.remove()}else{this.labels.push(aa);h=Y.x+Y.width}}}}}else{for(var x=0;x<A;x++){for(var s=0;s<(I||1);s++){var ab=z.labelise(I?y[s]&&y[s][x]:y[x],I?V[s][x]:V[x],F);aa=l.text(E[s][x].x-k/2,Z?H+m-p/2:E[s][x].y-10,ab).attr(z.txtattr).attr({fill:D.legendcolor||"#000","text-anchor":"start"}).insertBefore(n[x*(I||1)+s]);var Y=aa.getBBox();if(Y.x-7<h){aa.remove()}else{this.labels.push(aa);h=Y.x+Y.width}}}}return this};T.hover=function(i,h){B.hide();n.show();n.mouseover(i).mouseout(h);return this};T.hoverColumn=function(i,h){n.hide();B.show();h=h||function(){};B.mouseover(i).mouseout(h);return this};T.click=function(h){B.hide();n.show();n.click(h);return this};T.each=function(j){if(!Raphael.is(j,"function")){return this}for(var h=n.length;h--;){j.call(n[h])}return this};T.eachColumn=function(j){if(!Raphael.is(j,"function")){return this}for(var h=B.length;h--;){j.call(B[h])}return this};T.clickColumn=function(h){n.hide();B.show();B.click(h);return this};T.push(E,n,B);T.bars=E;T.covers=n;return T}function b(w,v,u,I,F,l,B){B=B||{};var h=this,n=B.type||"square",o=parseFloat(B.gutter||"20%"),D=w.set(),H=w.set(),q=w.set(),L=w.set(),T=Math.max.apply(Math,l),g=[],J=0,t=B.colors||h.colors,O=l.length;if(Raphael.is(l[0],"array")){T=[];J=O;O=0;for(var N=l.length;N--;){H.push(w.set());T.push(Math.max.apply(Math,l[N]));O=Math.max(O,l[N].length)}if(B.stacked){for(var N=O;N--;){var z=0;for(var M=l.length;M--;){z+=+l[M][N]||0}g.push(z)}}for(var N=l.length;N--;){if(l[N].length<O){for(var M=O;M--;){l[N].push(0)}}}T=Math.max.apply(Math,B.stacked?g:T)}T=(B.to)||T;var Q=Math.floor(F/(O*(100+o)+o)*100),r=Math.floor(Q*o/100),p=[],k=u+r,m=(I-1)/T;!B.stacked&&(Q/=J||1);for(var N=0;N<O;N++){p=[];for(var M=0;M<(J||1);M++){var S=J?l[M][N]:l[N],P=e(v,k+Q/2,Math.round(S*m),Q-1,false,n,null,w).attr({stroke:"none",fill:t[J?M:N]});if(J){H[M].push(P)}else{H.push(P)}P.x=v+Math.round(S*m);P.y=k+Q/2;P.w=Math.round(S*m);P.h=Q;P.value=+S;if(!B.stacked){k+=Q}else{p.push(P)}}if(B.stacked){var A=w.rect(v,p[0].y-p[0].h/2,I,Q).attr(h.shim);L.push(A);A.bars=w.set();var E=0;for(var C=p.length;C--;){p[C].toFront()}for(var C=0,K=p.length;C<K;C++){var P=p[C],R,S=Math.round((E+P.value)*m),G=e(v,P.y,S,Q-1,false,n,1,w);A.bars.push(P);E&&P.attr({path:G});P.w=S;P.x=v+S;q.push(R=w.rect(v+E*m,P.y-P.h/2,P.value*m,Q).attr(h.shim));R.bar=P;E+=P.value}k+=Q}k+=r}L.toFront();k=u+r;if(!B.stacked){for(var N=0;N<O;N++){for(var M=0;M<(J||1);M++){var R=w.rect(v,k,I,Q).attr(h.shim);q.push(R);R.bar=J?H[M][N]:H[N];R.value=R.bar.value;k+=Q}k+=r}}D.label=function(Z,W){Z=Z||[];this.labels=w.set();for(var V=0;V<O;V++){for(var U=0;U<J;U++){var y=h.labelise(J?Z[U]&&Z[U][V]:Z[V],J?l[U][V]:l[V],T),Y=W?H[U][V].x-Q/2+3:v+5,x=W?"end":"start",s;this.labels.push(s=w.text(Y,H[U][V].y,y).attr(h.txtattr).attr({fill:B.legendcolor||"#000","text-anchor":"start"}).insertBefore(q[0]));if(s.getBBox().x<v+5){s.attr({x:v+5,"text-anchor":"start"})}else{H[U][V].label=s}}}return this};D.hover=function(j,i){L.hide();q.show();i=i||function(){};q.mouseover(j).mouseout(i);return this};D.hoverColumn=function(j,i){q.hide();L.show();i=i||function(){};L.mouseover(j).mouseout(i);return this};D.each=function(s){if(!Raphael.is(s,"function")){return this}for(var j=q.length;j--;){s.call(q[j])}return this};D.eachColumn=function(s){if(!Raphael.is(s,"function")){return this}for(var j=L.length;j--;){s.call(L[j])}return this};D.click=function(i){L.hide();q.show();q.click(i);return this};D.clickColumn=function(i){q.hide();L.show();L.click(i);return this};D.push(H,q,L);D.bars=H;D.covers=q;return D}var c=function(){};c.prototype=Raphael.g;b.prototype=d.prototype=new c;Raphael.fn.hbarchart=function(h,l,j,g,i,k){return new b(this,h,l,j,g,i,k)};Raphael.fn.barchart=function(h,l,j,g,i,k){return new d(this,h,l,j,g,i,k)}})();
\ No newline at end of file
diff --git a/vendor/assets/javascripts/g.raphael-min.js b/vendor/assets/javascripts/g.raphael-min.js
new file mode 100644
index 0000000000000000000000000000000000000000..932904f9acf617199d9a1bf305cb92f33d7cc137
--- /dev/null
+++ b/vendor/assets/javascripts/g.raphael-min.js
@@ -0,0 +1,28 @@
+/*!
+ * g.Raphael 0.51 - Charting library, based on Raphaël
+ *
+ * Copyright (c) 2009-2012 Dmitry Baranovskiy (http://g.raphaeljs.com)
+ * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
+ */
+Raphael.el.popup=function(d,a,b,f){var e=this.paper||this[0].paper,c,g,i,h;if(e){switch(this.type){case "text":case "circle":case "ellipse":g=!0;break;default:g=!1}d=null==d?"up":d;a=a||5;c=this.getBBox();b="number"==typeof b?b:g?c.x+c.width/2:c.x;f="number"==typeof f?f:g?c.y+c.height/2:c.y;i=Math.max(c.width/2-a,0);h=Math.max(c.height/2-a,0);this.translate(b-c.x-(g?c.width/2:0),f-c.y-(g?c.height/2:0));c=this.getBBox();b={up:["M",b,f,"l",-a,-a,-i,0,"a",a,a,0,0,1,-a,-a,"l",0,-c.height,"a",a,a,0,0,
+1,a,-a,"l",2*a+2*i,0,"a",a,a,0,0,1,a,a,"l",0,c.height,"a",a,a,0,0,1,-a,a,"l",-i,0,"z"].join(),down:["M",b,f,"l",a,a,i,0,"a",a,a,0,0,1,a,a,"l",0,c.height,"a",a,a,0,0,1,-a,a,"l",-(2*a+2*i),0,"a",a,a,0,0,1,-a,-a,"l",0,-c.height,"a",a,a,0,0,1,a,-a,"l",i,0,"z"].join(),left:["M",b,f,"l",-a,a,0,h,"a",a,a,0,0,1,-a,a,"l",-c.width,0,"a",a,a,0,0,1,-a,-a,"l",0,-(2*a+2*h),"a",a,a,0,0,1,a,-a,"l",c.width,0,"a",a,a,0,0,1,a,a,"l",0,h,"z"].join(),right:["M",b,f,"l",a,-a,0,-h,"a",a,a,0,0,1,a,-a,"l",c.width,0,"a",a,
+a,0,0,1,a,a,"l",0,2*a+2*h,"a",a,a,0,0,1,-a,a,"l",-c.width,0,"a",a,a,0,0,1,-a,-a,"l",0,-h,"z"].join()};a={up:{x:-!g*(c.width/2),y:2*-a-(g?c.height/2:c.height)},down:{x:-!g*(c.width/2),y:2*a+(g?c.height/2:c.height)},left:{x:2*-a-(g?c.width/2:c.width),y:-!g*(c.height/2)},right:{x:2*a+(g?c.width/2:c.width),y:-!g*(c.height/2)}}[d];this.translate(a.x,a.y);return e.path(b[d]).attr({fill:"#000",stroke:"none"}).insertBefore(this.node?this:this[0])}};
+Raphael.el.tag=function(d,a,b,f){var e=this.paper||this[0].paper;if(e){var e=e.path().attr({fill:"#000",stroke:"#000"}),c=this.getBBox(),g,i,h;switch(this.type){case "text":case "circle":case "ellipse":h=!0;break;default:h=!1}d=d||0;b="number"==typeof b?b:h?c.x+c.width/2:c.x;f="number"==typeof f?f:h?c.y+c.height/2:c.y;a=null==a?5:a;i=0.5522*a;c.height>=2*a?e.attr({path:["M",b,f+a,"a",a,a,0,1,1,0,2*-a,a,a,0,1,1,0,2*a,"m",0,2*-a-3,"a",a+3,a+3,0,1,0,0,2*(a+3),"L",b+a+3,f+c.height/2+3,"l",c.width+6,0,
+0,-c.height-6,-c.width-6,0,"L",b,f-a-3].join()}):(g=Math.sqrt(Math.pow(a+3,2)-Math.pow(c.height/2+3,2)),e.attr({path:["M",b,f+a,"c",-i,0,-a,i-a,-a,-a,0,-i,a-i,-a,a,-a,i,0,a,a-i,a,a,0,i,i-a,a,-a,a,"M",b+g,f-c.height/2-3,"a",a+3,a+3,0,1,0,0,c.height+6,"l",a+3-g+c.width+6,0,0,-c.height-6,"L",b+g,f-c.height/2-3].join()}));d=360-d;e.rotate(d,b,f);this.attrs?(this.attr(this.attrs.x?"x":"cx",b+a+3+(!h?"text"==this.type?c.width:0:c.width/2)).attr("y",h?f:f-c.height/2),this.rotate(d,b,f),90<d&&270>d&&this.attr(this.attrs.x?
+"x":"cx",b-a-3-(!h?c.width:c.width/2)).rotate(180,b,f)):90<d&&270>d?(this.translate(b-c.x-c.width-a-3,f-c.y-c.height/2),this.rotate(d-180,c.x+c.width+a+3,c.y+c.height/2)):(this.translate(b-c.x+a+3,f-c.y-c.height/2),this.rotate(d,c.x-a-3,c.y+c.height/2));return e.insertBefore(this.node?this:this[0])}};
+Raphael.el.drop=function(d,a,b){var f=this.getBBox(),e=this.paper||this[0].paper,c,g;if(e){switch(this.type){case "text":case "circle":case "ellipse":c=!0;break;default:c=!1}d=d||0;a="number"==typeof a?a:c?f.x+f.width/2:f.x;b="number"==typeof b?b:c?f.y+f.height/2:f.y;g=Math.max(f.width,f.height)+Math.min(f.width,f.height);e=e.path(["M",a,b,"l",g,0,"A",0.4*g,0.4*g,0,1,0,a+0.7*g,b-0.7*g,"z"]).attr({fill:"#000",stroke:"none"}).rotate(22.5-d,a,b);d=(d+90)*Math.PI/180;a=a+g*Math.sin(d)-(c?0:f.width/2);
+d=b+g*Math.cos(d)-(c?0:f.height/2);this.attrs?this.attr(this.attrs.x?"x":"cx",a).attr(this.attrs.y?"y":"cy",d):this.translate(a-f.x,d-f.y);return e.insertBefore(this.node?this:this[0])}};
+Raphael.el.flag=function(d,a,b){var f=this.paper||this[0].paper;if(f){var f=f.path().attr({fill:"#000",stroke:"#000"}),e=this.getBBox(),c=e.height/2,g;switch(this.type){case "text":case "circle":case "ellipse":g=!0;break;default:g=!1}d=d||0;a="number"==typeof a?a:g?e.x+e.width/2:e.x;b="number"==typeof b?b:g?e.y+e.height/2:e.y;f.attr({path:["M",a,b,"l",c+3,-c-3,e.width+6,0,0,e.height+6,-e.width-6,0,"z"].join()});d=360-d;f.rotate(d,a,b);this.attrs?(this.attr(this.attrs.x?"x":"cx",a+c+3+(!g?"text"==
+this.type?e.width:0:e.width/2)).attr("y",g?b:b-e.height/2),this.rotate(d,a,b),90<d&&270>d&&this.attr(this.attrs.x?"x":"cx",a-c-3-(!g?e.width:e.width/2)).rotate(180,a,b)):90<d&&270>d?(this.translate(a-e.x-e.width-c-3,b-e.y-e.height/2),this.rotate(d-180,e.x+e.width+c+3,e.y+e.height/2)):(this.translate(a-e.x+c+3,b-e.y-e.height/2),this.rotate(d,e.x-c-3,e.y+e.height/2));return f.insertBefore(this.node?this:this[0])}};
+Raphael.el.label=function(){var d=this.getBBox(),a=this.paper||this[0].paper,b=Math.min(20,d.width+10,d.height+10)/2;if(a)return a.rect(d.x-b/2,d.y-b/2,d.width+b,d.height+b,b).attr({stroke:"none",fill:"#000"}).insertBefore(this.node?this:this[0])};
+Raphael.el.blob=function(d,a,b){var f=this.getBBox(),e=Math.PI/180,c=this.paper||this[0].paper,g,i;if(c){switch(this.type){case "text":case "circle":case "ellipse":g=!0;break;default:g=!1}c=c.path().attr({fill:"#000",stroke:"none"});d=(+d+1?d:45)+90;i=Math.min(f.height,f.width);var a="number"==typeof a?a:g?f.x+f.width/2:f.x,b="number"==typeof b?b:g?f.y+f.height/2:f.y,h=Math.max(f.width+i,25*i/12),j=Math.max(f.height+i,25*i/12);g=a+i*Math.sin((d-22.5)*e);var o=b+i*Math.cos((d-22.5)*e),l=a+i*Math.sin((d+
+22.5)*e),d=b+i*Math.cos((d+22.5)*e),e=(l-g)/2;i=(d-o)/2;var h=h/2,j=j/2,n=-Math.sqrt(Math.abs(h*h*j*j-h*h*i*i-j*j*e*e)/(h*h*i*i+j*j*e*e));i=n*h*i/j+(l+g)/2;e=n*-j*e/h+(d+o)/2;c.attr({x:i,y:e,path:["M",a,b,"L",l,d,"A",h,j,0,1,1,g,o,"z"].join()});this.translate(i-f.x-f.width/2,e-f.y-f.height/2);return c.insertBefore(this.node?this:this[0])}};Raphael.fn.label=function(d,a,b){var f=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return f.push(b.label(),b)};
+Raphael.fn.popup=function(d,a,b,f,e){var c=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return c.push(b.popup(f,e),b)};Raphael.fn.tag=function(d,a,b,f,e){var c=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return c.push(b.tag(f,e),b)};Raphael.fn.flag=function(d,a,b,f){var e=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return e.push(b.flag(f),b)};Raphael.fn.drop=function(d,a,b,f){var e=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return e.push(b.drop(f),b)};
+Raphael.fn.blob=function(d,a,b,f){var e=this.set(),b=this.text(d,a,b).attr(Raphael.g.txtattr);return e.push(b.blob(f),b)};Raphael.el.lighter=function(d){var d=d||2,a=[this.attrs.fill,this.attrs.stroke];this.fs=this.fs||[a[0],a[1]];a[0]=Raphael.rgb2hsb(Raphael.getRGB(a[0]).hex);a[1]=Raphael.rgb2hsb(Raphael.getRGB(a[1]).hex);a[0].b=Math.min(a[0].b*d,1);a[0].s/=d;a[1].b=Math.min(a[1].b*d,1);a[1].s/=d;this.attr({fill:"hsb("+[a[0].h,a[0].s,a[0].b]+")",stroke:"hsb("+[a[1].h,a[1].s,a[1].b]+")"});return this};
+Raphael.el.darker=function(d){var d=d||2,a=[this.attrs.fill,this.attrs.stroke];this.fs=this.fs||[a[0],a[1]];a[0]=Raphael.rgb2hsb(Raphael.getRGB(a[0]).hex);a[1]=Raphael.rgb2hsb(Raphael.getRGB(a[1]).hex);a[0].s=Math.min(a[0].s*d,1);a[0].b/=d;a[1].s=Math.min(a[1].s*d,1);a[1].b/=d;this.attr({fill:"hsb("+[a[0].h,a[0].s,a[0].b]+")",stroke:"hsb("+[a[1].h,a[1].s,a[1].b]+")"});return this};Raphael.el.resetBrightness=function(){this.fs&&(this.attr({fill:this.fs[0],stroke:this.fs[1]}),delete this.fs);return this};
+(function(){var d=["lighter","darker","resetBrightness"],a="popup tag flag label drop blob".split(" "),b;for(b in a)(function(a){Raphael.st[a]=function(){return Raphael.el[a].apply(this,arguments)}})(a[b]);for(b in d)(function(a){Raphael.st[a]=function(){for(var b=0;b<this.length;b++)this[b][a].apply(this[b],arguments);return this}})(d[b])})();
+Raphael.g={shim:{stroke:"none",fill:"#000","fill-opacity":0},txtattr:{font:"12px Arial, sans-serif",fill:"#fff"},colors:function(){for(var d=[0.6,0.2,0.05,0.1333,0.75,0],a=[],b=0;10>b;b++)b<d.length?a.push("hsb("+d[b]+",.75, .75)"):a.push("hsb("+d[b-d.length]+", 1, .5)");return a}(),snapEnds:function(d,a,b){function f(a){return 0.25>Math.abs(a-0.5)?~~a+0.5:Math.round(a)}var e=d,c=a;if(e==c)return{from:e,to:c,power:0};var e=(c-e)/b,g=c=~~e,b=0;if(c){for(;g;)b--,g=~~(e*Math.pow(10,b))/Math.pow(10,b);
+b++}else{if(0==e||!isFinite(e))b=1;else for(;!c;)b=b||1,c=~~(e*Math.pow(10,b))/Math.pow(10,b),b++;b&&b--}c=f(a*Math.pow(10,b))/Math.pow(10,b);c<a&&(c=f((a+0.5)*Math.pow(10,b))/Math.pow(10,b));e=f((d-(0<b?0:0.5))*Math.pow(10,b))/Math.pow(10,b);return{from:e,to:c,power:b}},axis:function(d,a,b,f,e,c,g,i,h,j,o){var j=null==j?2:j,h=h||"t",c=c||10,o=arguments[arguments.length-1],l="|"==h||" "==h?["M",d+0.5,a,"l",0,0.001]:1==g||3==g?["M",d+0.5,a,"l",0,-b]:["M",d,a+0.5,"l",b,0],n=this.snapEnds(f,e,c),p=n.from,
+t=n.to,m=n.power,u=0,v={font:"11px 'Fontin Sans', Fontin-Sans, sans-serif"},n=o.set(),t=(t-p)/c,k=p,r=0<m?m:0,s=b/c;if(1==+g||3==+g){m=a;for(p=(g-1?1:-1)*(j+3+!!(g-1));m>=a-b;)"-"!=h&&" "!=h&&(l=l.concat(["M",d-("+"==h||"|"==h?j:2*!(g-1)*j),m+0.5,"l",2*j+1,0])),n.push(o.text(d+p,m,i&&i[u++]||(Math.round(k)==k?k:+k.toFixed(r))).attr(v).attr({"text-anchor":g-1?"start":"end"})),k+=t,m-=s;Math.round(m+s-(a-b))&&("-"!=h&&" "!=h&&(l=l.concat(["M",d-("+"==h||"|"==h?j:2*!(g-1)*j),a-b+0.5,"l",2*j+1,0])),n.push(o.text(d+
+p,a-b,i&&i[u]||(Math.round(k)==k?k:+k.toFixed(r))).attr(v).attr({"text-anchor":g-1?"start":"end"})))}else{for(var k=p,r=(0<m)*m,p=(g?-1:1)*(j+9+!g),m=d,s=b/c,q=0,w=0;m<=d+b;)"-"!=h&&" "!=h&&(l=l.concat(["M",m+0.5,a-("+"==h?j:2*!!g*j),"l",0,2*j+1])),n.push(q=o.text(m,a+p,i&&i[u++]||(Math.round(k)==k?k:+k.toFixed(r))).attr(v)),q=q.getBBox(),w>=q.x-5?n.pop(n.length-1).remove():w=q.x+q.width,k+=t,m+=s;Math.round(m-s-d-b)&&("-"!=h&&" "!=h&&(l=l.concat(["M",d+b+0.5,a-("+"==h?j:2*!!g*j),"l",0,2*j+1])),n.push(o.text(d+
+b,a+p,i&&i[u]||(Math.round(k)==k?k:+k.toFixed(r))).attr(v)))}l=o.path(l);l.text=n;l.all=o.set([l,n]);l.remove=function(){this.text.remove();this.constructor.prototype.remove.call(this)};return l},labelise:function(d,a,b){return d?(d+"").replace(/(##+(?:\.#+)?)|(%%+(?:\.%+)?)/g,function(d,e,c){if(e)return(+a).toFixed(e.replace(/^#+\.?/g,"").length);if(c)return(100*a/b).toFixed(c.replace(/^%+\.?/g,"").length)+"%"}):(+a).toFixed(0)}};
\ No newline at end of file
diff --git a/vendor/assets/javascripts/jquery.scrollto.js b/vendor/assets/javascripts/jquery.scrollto.js
new file mode 100644
index 0000000000000000000000000000000000000000..7f10b7f108254762bf990c4c24393054fb74d31a
--- /dev/null
+++ b/vendor/assets/javascripts/jquery.scrollto.js
@@ -0,0 +1,225 @@
+/**
+ * @depends jquery
+ * @name jquery.scrollto
+ * @package jquery-scrollto {@link http://balupton.com/projects/jquery-scrollto}
+ */
+
+/**
+ * jQuery Aliaser
+ */
+(function(window,undefined){
+	// Prepare
+	var jQuery, $, ScrollTo;
+	jQuery = $ = window.jQuery;
+
+	/**
+	 * jQuery ScrollTo (balupton edition)
+	 * @version 1.2.0
+	 * @date July 9, 2012
+	 * @since 0.1.0, August 27, 2010
+	 * @package jquery-scrollto {@link http://balupton.com/projects/jquery-scrollto}
+	 * @author Benjamin "balupton" Lupton {@link http://balupton.com}
+	 * @copyright (c) 2010 Benjamin Arthur Lupton {@link http://balupton.com}
+	 * @license MIT License {@link http://creativecommons.org/licenses/MIT/}
+	 */
+	ScrollTo = $.ScrollTo = $.ScrollTo || {
+		/**
+		 * The Default Configuration
+		 */
+		config: {
+			duration: 400,
+			easing: 'swing',
+			callback: undefined,
+			durationMode: 'each',
+			offsetTop: 0,
+			offsetLeft: 0
+		},
+
+		/**
+		 * Configure ScrollTo
+		 */
+		configure: function(options){
+			// Apply Options to Config
+			$.extend(ScrollTo.config, options||{});
+
+			// Chain
+			return this;
+		},
+
+		/**
+		 * Perform the Scroll Animation for the Collections
+		 * We use $inline here, so we can determine the actual offset start for each overflow:scroll item
+		 * Each collection is for each overflow:scroll item
+		 */
+		scroll: function(collections, config){
+			// Prepare
+			var collection, $container, container, $target, $inline, position,
+				containerScrollTop, containerScrollLeft,
+				containerScrollTopEnd, containerScrollLeftEnd,
+				startOffsetTop, targetOffsetTop, targetOffsetTopAdjusted,
+				startOffsetLeft, targetOffsetLeft, targetOffsetLeftAdjusted,
+				scrollOptions,
+				callback;
+
+			// Determine the Scroll
+			collection = collections.pop();
+			$container = collection.$container;
+			container = $container.get(0);
+			$target = collection.$target;
+
+			// Prepare the Inline Element of the Container
+			$inline = $('<span/>').css({
+				'position': 'absolute',
+				'top': '0px',
+				'left': '0px'
+			});
+			position = $container.css('position');
+
+			// Insert the Inline Element of the Container
+			$container.css('position','relative');
+			$inline.appendTo($container);
+
+			// Determine the top offset
+			startOffsetTop = $inline.offset().top;
+			targetOffsetTop = $target.offset().top;
+			targetOffsetTopAdjusted = targetOffsetTop - startOffsetTop - parseInt(config.offsetTop,10);
+
+			// Determine the left offset
+			startOffsetLeft = $inline.offset().left;
+			targetOffsetLeft = $target.offset().left;
+			targetOffsetLeftAdjusted = targetOffsetLeft - startOffsetLeft - parseInt(config.offsetLeft,10);
+
+			// Determine current scroll positions
+			containerScrollTop = container.scrollTop;
+			containerScrollLeft = container.scrollLeft;
+
+			// Reset the Inline Element of the Container
+			$inline.remove();
+			$container.css('position',position);
+
+			// Prepare the scroll options
+			scrollOptions = {};
+
+			// Prepare the callback
+			callback = function(event){
+				// Check
+				if ( collections.length === 0 ) {
+					// Callback
+					if ( typeof config.callback === 'function' ) {
+						config.callback.apply(this,[event]);
+					}
+				}
+				else {
+					// Recurse
+					ScrollTo.scroll(collections,config);
+				}
+				// Return true
+				return true;
+			};
+
+			// Handle if we only want to scroll if we are outside the viewport
+			if ( config.onlyIfOutside ) {
+				// Determine current scroll positions
+				containerScrollTopEnd = containerScrollTop + $container.height();
+				containerScrollLeftEnd = containerScrollLeft + $container.width();
+
+				// Check if we are in the range of the visible area of the container
+				if ( containerScrollTop < targetOffsetTopAdjusted && targetOffsetTopAdjusted < containerScrollTopEnd ) {
+					targetOffsetTopAdjusted = containerScrollTop;
+				}
+				if ( containerScrollLeft < targetOffsetLeftAdjusted && targetOffsetLeftAdjusted < containerScrollLeftEnd ) {
+					targetOffsetLeftAdjusted = containerScrollLeft;
+				}
+			}
+
+			// Determine the scroll options
+			if ( targetOffsetTopAdjusted !== containerScrollTop ) {
+				scrollOptions.scrollTop = targetOffsetTopAdjusted;
+			}
+			if ( targetOffsetLeftAdjusted !== containerScrollLeft ) {
+				scrollOptions.scrollLeft = targetOffsetLeftAdjusted;
+			}
+
+			// Perform the scroll
+			if ( $.browser.safari && container === document.body ) {
+				window.scrollTo(scrollOptions.scrollLeft, scrollOptions.scrollTop);
+				callback();
+			}
+			else if ( scrollOptions.scrollTop || scrollOptions.scrollLeft ) {
+				$container.animate(scrollOptions, config.duration, config.easing, callback);
+			}
+			else {
+				callback();
+			}
+
+			// Return true
+			return true;
+		},
+
+		/**
+		 * ScrollTo the Element using the Options
+		 */
+		fn: function(options){
+			// Prepare
+			var collections, config, $container, container;
+			collections = [];
+
+			// Prepare
+			var	$target = $(this);
+			if ( $target.length === 0 ) {
+				// Chain
+				return this;
+			}
+
+			// Handle Options
+			config = $.extend({},ScrollTo.config,options);
+
+			// Fetch
+			$container = $target.parent();
+			container = $container.get(0);
+
+			// Cycle through the containers
+			while ( ($container.length === 1) && (container !== document.body) && (container !== document) ) {
+				// Check Container for scroll differences
+				var scrollTop, scrollLeft;
+				scrollTop = $container.css('overflow-y') !== 'visible' && container.scrollHeight !== container.clientHeight;
+				scrollLeft =  $container.css('overflow-x') !== 'visible' && container.scrollWidth !== container.clientWidth;
+				if ( scrollTop || scrollLeft ) {
+					// Push the Collection
+					collections.push({
+						'$container': $container,
+						'$target': $target
+					});
+					// Update the Target
+					$target = $container;
+				}
+				// Update the Container
+				$container = $container.parent();
+				container = $container.get(0);
+			}
+
+			// Add the final collection
+			collections.push({
+				'$container': $(
+					($.browser.msie || $.browser.mozilla) ? 'html' : 'body'
+				),
+				'$target': $target
+			});
+
+			// Adjust the Config
+			if ( config.durationMode === 'all' ) {
+				config.duration /= collections.length;
+			}
+
+			// Handle
+			ScrollTo.scroll(collections,config);
+
+			// Chain
+			return this;
+		}
+	};
+
+	// Apply our jQuery Prototype Function
+	$.fn.ScrollTo = $.ScrollTo.fn;
+
+})(window);