summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-15 00:52:25 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-15 00:52:25 +0100
commit30227869482bbbdbfea153f2b45ef3bb9a9fd218 (patch)
treeaff64071116447092751770d2896998f62d1b44a
parent8ee5fce9d64b70d8981896457484fae622d142c9 (diff)
parentaca0caa8cc1a6bd481f87dd810284e69d3747050 (diff)
downloadgitlab-ce-30227869482bbbdbfea153f2b45ef3bb9a9fd218.tar.gz
Merge commit 'master' into discussions
Conflicts: app/assets/stylesheets/sections/notes.scss app/contexts/notes/load_context.rb app/models/project.rb app/observers/note_observer.rb app/roles/votes.rb app/views/commit/show.html.haml app/views/merge_requests/_show.html.haml app/views/merge_requests/diffs.js.haml app/views/merge_requests/show.js.haml app/views/notes/_note.html.haml features/steps/project/project_merge_requests.rb spec/models/note_spec.rb
-rw-r--r--.gitignore2
-rw-r--r--.simplecov4
-rw-r--r--.travis.yml6
-rw-r--r--CHANGELOG3
-rw-r--r--Gemfile26
-rw-r--r--Gemfile.lock150
-rw-r--r--Procfile2
-rw-r--r--README.md3
-rw-r--r--VERSION2
-rw-r--r--app/assets/fonts/OFL.txt92
-rw-r--r--app/assets/fonts/YanoneKaffeesatz-Light.ttfbin0 -> 77296 bytes
-rw-r--r--app/assets/fonts/korolev-medium-compressed.otfbin28736 -> 0 bytes
-rw-r--r--app/assets/images/download.pngbin674 -> 0 bytes
-rw-r--r--app/assets/javascripts/dashboard.js.coffee30
-rw-r--r--app/assets/javascripts/issues.js2
-rw-r--r--app/assets/javascripts/merge_requests.js132
-rw-r--r--app/assets/javascripts/merge_requests.js.coffee97
-rw-r--r--app/assets/javascripts/milestones.js.coffee8
-rw-r--r--app/assets/javascripts/pager.js11
-rw-r--r--app/assets/stylesheets/common.scss34
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/blocks.scss113
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/buttons.scss4
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/common.scss37
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/fonts.scss8
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/lists.scss12
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/mixins.scss6
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/tables.scss2
-rw-r--r--app/assets/stylesheets/sections/commits.scss82
-rw-r--r--app/assets/stylesheets/sections/events.scss6
-rw-r--r--app/assets/stylesheets/sections/header.scss37
-rw-r--r--app/assets/stylesheets/sections/issues.scss50
-rw-r--r--app/assets/stylesheets/sections/merge_requests.scss37
-rw-r--r--app/assets/stylesheets/sections/notes.scss2
-rw-r--r--app/assets/stylesheets/sections/projects.scss12
-rw-r--r--app/assets/stylesheets/themes/ui_basic.scss13
-rw-r--r--app/assets/stylesheets/themes/ui_color.scss9
-rw-r--r--app/assets/stylesheets/themes/ui_gray.scss9
-rw-r--r--app/assets/stylesheets/themes/ui_mars.scss13
-rw-r--r--app/assets/stylesheets/themes/ui_modern.scss9
-rw-r--r--app/contexts/commit_load_context.rb6
-rw-r--r--app/contexts/filter_context.rb31
-rw-r--r--app/contexts/issues_list_context.rb2
-rw-r--r--app/contexts/notes/load_context.rb4
-rw-r--r--app/contexts/test_hook_context.rb2
-rw-r--r--app/controllers/admin/dashboard_controller.rb4
-rw-r--r--app/controllers/admin/groups_controller.rb11
-rw-r--r--app/controllers/admin/projects_controller.rb6
-rw-r--r--app/controllers/admin/users_controller.rb10
-rw-r--r--app/controllers/application_controller.rb6
-rw-r--r--app/controllers/commits_controller.rb4
-rw-r--r--app/controllers/dashboard_controller.rb28
-rw-r--r--app/controllers/groups_controller.rb21
-rw-r--r--app/controllers/merge_requests_controller.rb6
-rw-r--r--app/controllers/project_resource_controller.rb1
-rw-r--r--app/controllers/projects_controller.rb10
-rw-r--r--app/controllers/refs_controller.rb10
-rw-r--r--app/controllers/repositories_controller.rb10
-rw-r--r--app/controllers/search_controller.rb2
-rw-r--r--app/controllers/services_controller.rb2
-rw-r--r--app/controllers/snippets_controller.rb2
-rw-r--r--app/controllers/team_members_controller.rb9
-rw-r--r--app/controllers/tree_controller.rb2
-rw-r--r--app/decorators/tree_decorator.rb8
-rw-r--r--app/helpers/application_helper.rb20
-rw-r--r--app/helpers/commits_helper.rb8
-rw-r--r--app/helpers/events_helper.rb19
-rw-r--r--app/helpers/groups_helper.rb17
-rw-r--r--app/helpers/merge_requests_helper.rb2
-rw-r--r--app/helpers/namespaces_helper.rb2
-rw-r--r--app/mailers/notify.rb12
-rw-r--r--app/models/ability.rb34
-rw-r--r--app/models/commit.rb18
-rw-r--r--app/models/concerns/issuable.rb (renamed from app/roles/issue_commonality.rb)41
-rw-r--r--app/models/event.rb162
-rw-r--r--app/models/gitlab_ci_service.rb8
-rw-r--r--app/models/group.rb12
-rw-r--r--app/models/issue.rb3
-rw-r--r--app/models/key.rb2
-rw-r--r--app/models/merge_request.rb5
-rw-r--r--app/models/milestone.rb10
-rw-r--r--app/models/namespace.rb31
-rw-r--r--app/models/note.rb15
-rw-r--r--app/models/project.rb356
-rw-r--r--app/models/protected_branch.rb6
-rw-r--r--app/models/repository.rb (renamed from app/roles/repository.rb)112
-rw-r--r--app/models/service.rb4
-rw-r--r--app/models/system_hook.rb2
-rw-r--r--app/models/team.rb118
-rw-r--r--app/models/tree.rb7
-rw-r--r--app/models/user.rb167
-rw-r--r--app/models/users_project.rb131
-rw-r--r--app/models/wiki.rb1
-rw-r--r--app/observers/issue_observer.rb6
-rw-r--r--app/observers/key_observer.rb6
-rw-r--r--app/observers/merge_request_observer.rb4
-rw-r--r--app/observers/note_observer.rb4
-rw-r--r--app/observers/user_observer.rb4
-rw-r--r--app/observers/users_project_observer.rb2
-rw-r--r--app/roles/account.rb124
-rw-r--r--app/roles/authority.rb58
-rw-r--r--app/roles/git_host.rb5
-rw-r--r--app/roles/namespaced_project.rb59
-rw-r--r--app/roles/note_event.rb37
-rw-r--r--app/roles/push_event.rb100
-rw-r--r--app/roles/push_observer.rb144
-rw-r--r--app/roles/team.rb52
-rw-r--r--app/roles/votes.rb33
-rw-r--r--app/uploaders/attachment_uploader.rb42
-rw-r--r--app/views/admin/dashboard/index.html.haml31
-rw-r--r--app/views/admin/groups/show.html.haml62
-rw-r--r--app/views/admin/projects/_form.html.haml18
-rw-r--r--app/views/admin/projects/index.html.haml8
-rw-r--r--app/views/admin/projects/show.html.haml81
-rw-r--r--app/views/admin/resque/show.html.haml4
-rw-r--r--app/views/admin/users/index.html.haml9
-rw-r--r--app/views/admin/users/show.html.haml6
-rw-r--r--app/views/commit/show.html.haml9
-rw-r--r--app/views/commits/_commit.html.haml4
-rw-r--r--app/views/commits/_commit_box.html.haml35
-rw-r--r--app/views/commits/_commits.html.haml2
-rw-r--r--app/views/commits/_head.html.haml6
-rw-r--r--app/views/commits/_text_diff.html.haml2
-rw-r--r--app/views/compare/_form.html.haml2
-rw-r--r--app/views/compare/show.html.haml3
-rw-r--r--app/views/dashboard/_activities.html.haml2
-rw-r--r--app/views/dashboard/_groups.html.haml4
-rw-r--r--app/views/dashboard/_projects.html.haml2
-rw-r--r--app/views/dashboard/index.html.haml2
-rw-r--r--app/views/dashboard/issues.html.haml3
-rw-r--r--app/views/dashboard/merge_requests.html.haml3
-rw-r--r--app/views/events/event/_note.html.haml5
-rw-r--r--app/views/groups/_filter.html.haml33
-rw-r--r--app/views/groups/_new_group_member.html.haml18
-rw-r--r--app/views/groups/_new_member.html.haml2
-rw-r--r--app/views/groups/_projects.html.haml2
-rw-r--r--app/views/groups/issues.html.haml32
-rw-r--r--app/views/groups/merge_requests.html.haml30
-rw-r--r--app/views/groups/people.html.haml6
-rw-r--r--app/views/groups/search.html.haml68
-rw-r--r--app/views/groups/show.html.haml4
-rw-r--r--app/views/help/index.html.haml48
-rw-r--r--app/views/help/markdown.html.haml4
-rw-r--r--app/views/help/raketasks.html.haml11
-rw-r--r--app/views/hooks/_data_ex.html.erb78
-rw-r--r--app/views/issues/_filter.html.haml20
-rw-r--r--app/views/issues/_form.html.haml31
-rw-r--r--app/views/issues/_issues.html.haml10
-rw-r--r--app/views/issues/_show.html.haml9
-rw-r--r--app/views/issues/index.html.haml70
-rw-r--r--app/views/issues/show.html.haml10
-rw-r--r--app/views/layouts/_head.html.haml2
-rw-r--r--app/views/layouts/_head_panel.html.haml3
-rw-r--r--app/views/layouts/admin.html.haml2
-rw-r--r--app/views/layouts/application.html.haml2
-rw-r--r--app/views/layouts/group.html.haml2
-rw-r--r--app/views/layouts/notify.html.haml4
-rw-r--r--app/views/layouts/project_resource.html.haml4
-rw-r--r--app/views/merge_requests/_filter.html.haml20
-rw-r--r--app/views/merge_requests/_form.html.haml84
-rw-r--r--app/views/merge_requests/_show.html.haml55
-rw-r--r--app/views/merge_requests/automerge.js.haml2
-rw-r--r--app/views/merge_requests/commits.js.haml2
-rw-r--r--app/views/merge_requests/diffs.js.haml3
-rw-r--r--app/views/merge_requests/index.html.haml65
-rw-r--r--app/views/merge_requests/show.js.haml2
-rw-r--r--app/views/merge_requests/show/_commits.html.haml10
-rw-r--r--app/views/merge_requests/show/_mr_accept.html.haml19
-rw-r--r--app/views/merge_requests/show/_mr_box.html.haml8
-rw-r--r--app/views/milestones/show.html.haml53
-rw-r--r--app/views/notes/_note.html.haml2
-rw-r--r--app/views/notify/issue_status_changed_email.html.haml4
-rw-r--r--app/views/notify/new_issue_email.html.haml8
-rw-r--r--app/views/notify/new_merge_request_email.html.haml2
-rw-r--r--app/views/notify/note_merge_request_email.html.haml28
-rw-r--r--app/views/notify/reassigned_issue_email.html.haml2
-rw-r--r--app/views/profiles/account.html.haml2
-rw-r--r--app/views/profiles/show.html.haml2
-rw-r--r--app/views/projects/_form.html.haml6
-rw-r--r--app/views/projects/_new_form.html.haml2
-rw-r--r--app/views/protected_branches/index.html.haml99
-rw-r--r--app/views/repositories/_branch.html.haml4
-rw-r--r--app/views/repositories/_feed.html.haml2
-rw-r--r--app/views/repositories/_filter.html.haml (renamed from app/views/repositories/_branches_head.html.haml)7
-rw-r--r--app/views/repositories/branches.html.haml27
-rw-r--r--app/views/repositories/show.html.haml23
-rw-r--r--app/views/repositories/stats.html.haml2
-rw-r--r--app/views/repositories/tags.html.haml10
-rw-r--r--app/views/search/_result.html.haml84
-rw-r--r--app/views/search/show.html.haml85
-rw-r--r--app/views/team_members/_form.html.haml2
-rw-r--r--app/views/team_members/_team.html.haml2
-rw-r--r--app/views/team_members/import.html.haml2
-rw-r--r--app/views/team_members/show.html.haml3
-rw-r--r--app/views/tree/_tree.html.haml10
-rw-r--r--app/views/tree/blob/_download.html.haml6
-rw-r--r--app/views/wikis/_form.html.haml8
-rw-r--r--app/workers/post_receive.rb8
-rw-r--r--app/workers/system_hook_worker.rb6
-rw-r--r--config.ru5
-rw-r--r--config/application.rb2
-rw-r--r--config/gitlab.yml.example10
-rw-r--r--config/initializers/1_settings.rb327
-rw-r--r--config/initializers/4_resque.rb29
-rw-r--r--config/initializers/4_sidekiq.rb22
-rw-r--r--config/initializers/passenger_fix.rb16
-rw-r--r--config/routes.rb34
-rw-r--r--config/unicorn.rb.example4
-rw-r--r--db/fixtures/development/002_project.rb26
-rw-r--r--db/fixtures/development/003_users.rb26
-rw-r--r--db/fixtures/development/004_teams.rb40
-rw-r--r--db/fixtures/development/006_wall.rb8
-rw-r--r--db/fixtures/development/007_issues.rb8
-rw-r--r--db/fixtures/development/008_merge_requests.rb9
-rw-r--r--db/fixtures/development/009_source_code.rb12
-rw-r--r--db/fixtures/development/010_keys.rb14
-rw-r--r--db/migrate/20130102143055_rename_owner_to_creator_for_project.rb5
-rw-r--r--db/schema.rb6
-rw-r--r--doc/app/Ability.html570
-rw-r--r--doc/app/Account.html881
-rw-r--r--doc/app/ActivityObserver.html531
-rw-r--r--doc/app/Admin.html432
-rw-r--r--doc/app/Admin/DashboardController.html488
-rw-r--r--doc/app/Admin/GroupsController.html771
-rw-r--r--doc/app/Admin/HooksController.html603
-rw-r--r--doc/app/Admin/LogsController.html439
-rw-r--r--doc/app/Admin/ProjectsController.html733
-rw-r--r--doc/app/Admin/ResqueController.html484
-rw-r--r--doc/app/Admin/TeamMembersController.html558
-rw-r--r--doc/app/Admin/UsersController.html839
-rw-r--r--doc/app/AdminController.html490
-rw-r--r--doc/app/ApplicationController.html1015
-rw-r--r--doc/app/ApplicationDecorator.html439
-rw-r--r--doc/app/ApplicationHelper.html1018
-rw-r--r--doc/app/AttachmentUploader.html486
-rw-r--r--doc/app/Authority.html782
-rw-r--r--doc/app/BaseContext.html605
-rw-r--r--doc/app/BlameController.html500
-rw-r--r--doc/app/BlobController.html519
-rw-r--r--doc/app/Commit.html1191
-rw-r--r--doc/app/CommitController.html509
-rw-r--r--doc/app/CommitDecorator.html663
-rw-r--r--doc/app/CommitLoadContext.html513
-rw-r--r--doc/app/CommitsController.html507
-rw-r--r--doc/app/CommitsHelper.html625
-rw-r--r--doc/app/CompareController.html556
-rw-r--r--doc/app/DashboardController.html569
-rw-r--r--doc/app/DeployKeysController.html626
-rw-r--r--doc/app/ErrorsController.html485
-rw-r--r--doc/app/Event.html1222
-rw-r--r--doc/app/EventDecorator.html578
-rw-r--r--doc/app/EventsHelper.html566
-rw-r--r--doc/app/ExtractsPath.html614
-rw-r--r--doc/app/ExtractsPath/InvalidPathError.html441
-rw-r--r--doc/app/FileSizeValidator.html652
-rw-r--r--doc/app/FileSizeValidator/Helper.html455
-rw-r--r--doc/app/GitHost.html479
-rw-r--r--doc/app/Gitlab.html454
-rw-r--r--doc/app/Gitlab/API.html452
-rw-r--r--doc/app/Gitlab/APIHelpers.html846
-rw-r--r--doc/app/Gitlab/AppLogger.html523
-rw-r--r--doc/app/Gitlab/Auth.html630
-rw-r--r--doc/app/Gitlab/Encode.html537
-rw-r--r--doc/app/Gitlab/Entities.html433
-rw-r--r--doc/app/Gitlab/Entities/Hook.html439
-rw-r--r--doc/app/Gitlab/Entities/Issue.html439
-rw-r--r--doc/app/Gitlab/Entities/Milestone.html439
-rw-r--r--doc/app/Gitlab/Entities/Project.html439
-rw-r--r--doc/app/Gitlab/Entities/ProjectMember.html439
-rw-r--r--doc/app/Gitlab/Entities/ProjectSnippet.html439
-rw-r--r--doc/app/Gitlab/Entities/RepoCommit.html439
-rw-r--r--doc/app/Gitlab/Entities/RepoObject.html439
-rw-r--r--doc/app/Gitlab/Entities/SSHKey.html439
-rw-r--r--doc/app/Gitlab/Entities/User.html439
-rw-r--r--doc/app/Gitlab/Entities/UserBasic.html439
-rw-r--r--doc/app/Gitlab/Entities/UserLogin.html439
-rw-r--r--doc/app/Gitlab/FileEditor.html647
-rw-r--r--doc/app/Gitlab/GitLogger.html523
-rw-r--r--doc/app/Gitlab/Gitolite.html716
-rw-r--r--doc/app/Gitlab/Gitolite/AccessDenied.html439
-rw-r--r--doc/app/Gitlab/GitoliteConfig.html994
-rw-r--r--doc/app/Gitlab/GitoliteConfig/PullError.html439
-rw-r--r--doc/app/Gitlab/GitoliteConfig/PushError.html439
-rw-r--r--doc/app/Gitlab/GraphCommit.html967
-rw-r--r--doc/app/Gitlab/InlineDiff.html611
-rw-r--r--doc/app/Gitlab/Issues.html441
-rw-r--r--doc/app/Gitlab/Logger.html583
-rw-r--r--doc/app/Gitlab/Markdown.html580
-rw-r--r--doc/app/Gitlab/Merge.html628
-rw-r--r--doc/app/Gitlab/Milestones.html441
-rw-r--r--doc/app/Gitlab/Projects.html441
-rw-r--r--doc/app/Gitlab/Satellite.html664
-rw-r--r--doc/app/Gitlab/Session.html441
-rw-r--r--doc/app/Gitlab/Theme.html493
-rw-r--r--doc/app/Gitlab/Users.html441
-rw-r--r--doc/app/GitlabMarkdownHelper.html559
-rw-r--r--doc/app/Grack.html433
-rw-r--r--doc/app/Grack/Auth.html734
-rw-r--r--doc/app/Group.html555
-rw-r--r--doc/app/GroupsController.html735
-rw-r--r--doc/app/HelpController.html484
-rw-r--r--doc/app/HooksController.html595
-rw-r--r--doc/app/Issue.html501
-rw-r--r--doc/app/IssueCommonality.html641
-rw-r--r--doc/app/IssueCommonality/ClassMethods.html479
-rw-r--r--doc/app/IssueObserver.html571
-rw-r--r--doc/app/IssuesBulkUpdateContext.html503
-rw-r--r--doc/app/IssuesController.html996
-rw-r--r--doc/app/IssuesHelper.html698
-rw-r--r--doc/app/IssuesListContext.html537
-rw-r--r--doc/app/Key.html700
-rw-r--r--doc/app/KeyObserver.html530
-rw-r--r--doc/app/KeysController.html624
-rw-r--r--doc/app/LabelsController.html523
-rw-r--r--doc/app/MergeRequest.html1478
-rw-r--r--doc/app/MergeRequestObserver.html569
-rw-r--r--doc/app/MergeRequestsController.html1114
-rw-r--r--doc/app/MergeRequestsHelper.html599
-rw-r--r--doc/app/MergeRequestsLoadContext.html496
-rw-r--r--doc/app/Milestone.html589
-rw-r--r--doc/app/MilestonesController.html816
-rw-r--r--doc/app/Note.html777
-rw-r--r--doc/app/NoteObserver.html603
-rw-r--r--doc/app/Notes.html434
-rw-r--r--doc/app/Notes/CreateContext.html490
-rw-r--r--doc/app/Notes/LoadContext.html513
-rw-r--r--doc/app/NotesController.html636
-rw-r--r--doc/app/NotesHelper.html581
-rw-r--r--doc/app/Notify.html883
-rw-r--r--doc/app/OmniauthCallbacksController.html527
-rw-r--r--doc/app/PostReceive.html495
-rw-r--r--doc/app/ProfileController.html683
-rw-r--r--doc/app/ProfileHelper.html481
-rw-r--r--doc/app/Project.html1202
-rw-r--r--doc/app/ProjectHook.html439
-rw-r--r--doc/app/ProjectObserver.html589
-rw-r--r--doc/app/ProjectResourceController.html439
-rw-r--r--doc/app/ProjectsController.html785
-rw-r--r--doc/app/ProjectsHelper.html543
-rw-r--r--doc/app/ProtectedBranch.html529
-rw-r--r--doc/app/ProtectedBranchesController.html556
-rw-r--r--doc/app/PushEvent.html1105
-rw-r--r--doc/app/PushObserver.html699
-rw-r--r--doc/app/Redcarpet.html432
-rw-r--r--doc/app/Redcarpet/Render.html432
-rw-r--r--doc/app/Redcarpet/Render/GitlabHTML.html594
-rw-r--r--doc/app/RefsController.html638
-rw-r--r--doc/app/RepositoriesController.html593
-rw-r--r--doc/app/Repository.html1566
-rw-r--r--doc/app/SearchContext.html599
-rw-r--r--doc/app/SearchController.html489
-rw-r--r--doc/app/Snippet.html667
-rw-r--r--doc/app/SnippetsController.html833
-rw-r--r--doc/app/SnippetsHelper.html485
-rw-r--r--doc/app/StaticModel.html648
-rw-r--r--doc/app/StaticModel/ClassMethods.html511
-rw-r--r--doc/app/SystemHook.html525
-rw-r--r--doc/app/SystemHookObserver.html573
-rw-r--r--doc/app/SystemHookWorker.html485
-rw-r--r--doc/app/TabHelper.html621
-rw-r--r--doc/app/TagsHelper.html516
-rw-r--r--doc/app/Team.html710
-rw-r--r--doc/app/TeamMembersController.html698
-rw-r--r--doc/app/TestHookContext.html488
-rw-r--r--doc/app/Tree.html663
-rw-r--r--doc/app/TreeController.html583
-rw-r--r--doc/app/TreeDecorator.html597
-rw-r--r--doc/app/TreeHelper.html736
-rw-r--r--doc/app/User.html755
-rw-r--r--doc/app/UserObserver.html557
-rw-r--r--doc/app/UsersProject.html904
-rw-r--r--doc/app/UsersProjectObserver.html558
-rw-r--r--doc/app/Votes.html615
-rw-r--r--doc/app/WebHook.html506
-rw-r--r--doc/app/Wiki.html567
-rw-r--r--doc/app/WikisController.html676
-rw-r--r--doc/app/created.rid135
-rw-r--r--doc/app/doc/README_FOR_APP.html399
-rwxr-xr-xdoc/app/images/add.pngbin733 -> 0 bytes
-rw-r--r--doc/app/images/brick.pngbin452 -> 0 bytes
-rw-r--r--doc/app/images/brick_link.pngbin764 -> 0 bytes
-rw-r--r--doc/app/images/bug.pngbin774 -> 0 bytes
-rw-r--r--doc/app/images/bullet_black.pngbin211 -> 0 bytes
-rw-r--r--doc/app/images/bullet_toggle_minus.pngbin207 -> 0 bytes
-rw-r--r--doc/app/images/bullet_toggle_plus.pngbin209 -> 0 bytes
-rw-r--r--doc/app/images/date.pngbin626 -> 0 bytes
-rwxr-xr-xdoc/app/images/delete.pngbin715 -> 0 bytes
-rw-r--r--doc/app/images/find.pngbin659 -> 0 bytes
-rw-r--r--doc/app/images/loadingAnimation.gifbin5886 -> 0 bytes
-rw-r--r--doc/app/images/macFFBgHack.pngbin207 -> 0 bytes
-rw-r--r--doc/app/images/package.pngbin853 -> 0 bytes
-rw-r--r--doc/app/images/page_green.pngbin621 -> 0 bytes
-rw-r--r--doc/app/images/page_white_text.pngbin342 -> 0 bytes
-rw-r--r--doc/app/images/page_white_width.pngbin309 -> 0 bytes
-rw-r--r--doc/app/images/plugin.pngbin591 -> 0 bytes
-rw-r--r--doc/app/images/ruby.pngbin592 -> 0 bytes
-rwxr-xr-xdoc/app/images/tag_blue.pngbin1880 -> 0 bytes
-rw-r--r--doc/app/images/tag_green.pngbin613 -> 0 bytes
-rw-r--r--doc/app/images/transparent.pngbin97 -> 0 bytes
-rw-r--r--doc/app/images/wrench.pngbin610 -> 0 bytes
-rw-r--r--doc/app/images/wrench_orange.pngbin584 -> 0 bytes
-rw-r--r--doc/app/images/zoom.pngbin692 -> 0 bytes
-rw-r--r--doc/app/index.html392
-rw-r--r--doc/app/js/darkfish.js153
-rw-r--r--doc/app/js/jquery.js18
-rw-r--r--doc/app/js/search.js94
-rw-r--r--doc/app/js/search_index.js1
-rw-r--r--doc/app/rdoc.css543
-rw-r--r--doc/app/table_of_contents.html1858
-rw-r--r--doc/code/apple-touch-icon.pngbin0 -> 86447 bytes
-rw-r--r--doc/code/classes/Ability.html507
-rw-r--r--doc/code/classes/Account.html1032
-rw-r--r--doc/code/classes/ActiveRecord.html79
-rw-r--r--doc/code/classes/ActiveRecord/ConnectionAdapters.html86
-rw-r--r--doc/code/classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html167
-rw-r--r--doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html191
-rw-r--r--doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html135
-rw-r--r--doc/code/classes/ActivityObserver.html194
-rw-r--r--doc/code/classes/Admin.html114
-rw-r--r--doc/code/classes/Admin/DashboardController.html139
-rw-r--r--doc/code/classes/Admin/GroupsController.html586
-rw-r--r--doc/code/classes/Admin/HooksController.html294
-rw-r--r--doc/code/classes/Admin/LogsController.html76
-rw-r--r--doc/code/classes/Admin/ProjectsController.html436
-rw-r--r--doc/code/classes/Admin/ResqueController.html130
-rw-r--r--doc/code/classes/Admin/TeamMembersController.html234
-rw-r--r--doc/code/classes/Admin/UsersController.html616
-rw-r--r--doc/code/classes/AdminController.html140
-rw-r--r--doc/code/classes/ApplicationController.html942
-rw-r--r--doc/code/classes/ApplicationDecorator.html76
-rw-r--r--doc/code/classes/ApplicationHelper.html890
-rw-r--r--doc/code/classes/AttachmentUploader.html132
-rw-r--r--doc/code/classes/Authority.html528
-rw-r--r--doc/code/classes/BaseContext.html261
-rw-r--r--doc/code/classes/BlameController.html152
-rw-r--r--doc/code/classes/BlobController.html160
-rw-r--r--doc/code/classes/Commit.html1077
-rw-r--r--doc/code/classes/CommitController.html160
-rw-r--r--doc/code/classes/CommitDecorator.html472
-rw-r--r--doc/code/classes/CommitLoadContext.html159
-rw-r--r--doc/code/classes/CommitsController.html155
-rw-r--r--doc/code/classes/CommitsHelper.html409
-rw-r--r--doc/code/classes/CompareController.html232
-rw-r--r--doc/code/classes/DashboardController.html411
-rw-r--r--doc/code/classes/DashboardHelper.html195
-rw-r--r--doc/code/classes/DeployKeysController.html332
-rw-r--r--doc/code/classes/ErrorsController.html131
-rw-r--r--doc/code/classes/Event.html1266
-rw-r--r--doc/code/classes/EventDecorator.html240
-rw-r--r--doc/code/classes/EventFilter.html543
-rw-r--r--doc/code/classes/EventsHelper.html289
-rw-r--r--doc/code/classes/ExtractsPath.html300
-rw-r--r--doc/code/classes/ExtractsPath/InvalidPathError.html82
-rw-r--r--doc/code/classes/FileSizeValidator.html376
-rw-r--r--doc/code/classes/FileSizeValidator/Helper.html94
-rw-r--r--doc/code/classes/GitHost.html125
-rw-r--r--doc/code/classes/Gitlab.html265
-rw-r--r--doc/code/classes/Gitlab/API.html76
-rw-r--r--doc/code/classes/Gitlab/APIHelpers.html703
-rw-r--r--doc/code/classes/Gitlab/AppLogger.html173
-rw-r--r--doc/code/classes/Gitlab/Application.html76
-rw-r--r--doc/code/classes/Gitlab/Auth.html315
-rw-r--r--doc/code/classes/Gitlab/Entities.html151
-rw-r--r--doc/code/classes/Gitlab/Entities/Hook.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/Issue.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/MRNote.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/MergeRequest.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/Milestone.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/Note.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/Project.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/ProjectMember.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/ProjectSnippet.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/RepoCommit.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/RepoObject.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/SSHKey.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/User.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/UserBasic.html76
-rw-r--r--doc/code/classes/Gitlab/Entities/UserLogin.html76
-rw-r--r--doc/code/classes/Gitlab/GitLogger.html173
-rw-r--r--doc/code/classes/Gitlab/GitStats.html506
-rw-r--r--doc/code/classes/Gitlab/Gitolite.html536
-rw-r--r--doc/code/classes/Gitlab/Gitolite/AccessDenied.html76
-rw-r--r--doc/code/classes/Gitlab/GitoliteConfig.html810
-rw-r--r--doc/code/classes/Gitlab/GitoliteConfig/PullError.html76
-rw-r--r--doc/code/classes/Gitlab/GitoliteConfig/PushError.html76
-rw-r--r--doc/code/classes/Gitlab/Graph.html88
-rw-r--r--doc/code/classes/Gitlab/Graph/Commit.html337
-rw-r--r--doc/code/classes/Gitlab/Graph/JsonBuilder.html707
-rw-r--r--doc/code/classes/Gitlab/InlineDiff.html299
-rw-r--r--doc/code/classes/Gitlab/Issues.html82
-rw-r--r--doc/code/classes/Gitlab/Logger.html315
-rw-r--r--doc/code/classes/Gitlab/Markdown.html258
-rw-r--r--doc/code/classes/Gitlab/MergeRequests.html82
-rw-r--r--doc/code/classes/Gitlab/Milestones.html82
-rw-r--r--doc/code/classes/Gitlab/Notes.html100
-rw-r--r--doc/code/classes/Gitlab/ProjectMover.html290
-rw-r--r--doc/code/classes/Gitlab/ProjectMover/ProjectMoveError.html76
-rw-r--r--doc/code/classes/Gitlab/Projects.html82
-rw-r--r--doc/code/classes/Gitlab/Regex.html261
-rw-r--r--doc/code/classes/Gitlab/Satellite.html102
-rw-r--r--doc/code/classes/Gitlab/Satellite/Action.html305
-rw-r--r--doc/code/classes/Gitlab/Satellite/EditFileAction.html284
-rw-r--r--doc/code/classes/Gitlab/Satellite/MergeAction.html274
-rw-r--r--doc/code/classes/Gitlab/Satellite/Satellite.html506
-rw-r--r--doc/code/classes/Gitlab/Seeder.html134
-rw-r--r--doc/code/classes/Gitlab/Session.html82
-rw-r--r--doc/code/classes/Gitlab/Theme.html141
-rw-r--r--doc/code/classes/Gitlab/Users.html82
-rw-r--r--doc/code/classes/GitlabCiService.html371
-rw-r--r--doc/code/classes/GitlabMarkdownHelper.html222
-rw-r--r--doc/code/classes/Grack.html81
-rw-r--r--doc/code/classes/Grack/Auth.html419
-rw-r--r--doc/code/classes/Group.html294
-rw-r--r--doc/code/classes/GroupsController.html566
-rw-r--r--doc/code/classes/HelpController.html130
-rw-r--r--doc/code/classes/HooksController.html286
-rw-r--r--doc/code/classes/Issue.html174
-rw-r--r--doc/code/classes/IssueCommonality.html356
-rw-r--r--doc/code/classes/IssueCommonality/ClassMethods.html125
-rw-r--r--doc/code/classes/IssueObserver.html236
-rw-r--r--doc/code/classes/IssuesBulkUpdateContext.html149
-rw-r--r--doc/code/classes/IssuesController.html761
-rw-r--r--doc/code/classes/IssuesHelper.html401
-rw-r--r--doc/code/classes/IssuesListContext.html179
-rw-r--r--doc/code/classes/Key.html429
-rw-r--r--doc/code/classes/KeyObserver.html186
-rw-r--r--doc/code/classes/KeysController.html330
-rw-r--r--doc/code/classes/LabelsController.html180
-rw-r--r--doc/code/classes/MergeRequest.html1569
-rw-r--r--doc/code/classes/MergeRequestObserver.html234
-rw-r--r--doc/code/classes/MergeRequestsController.html932
-rw-r--r--doc/code/classes/MergeRequestsHelper.html229
-rw-r--r--doc/code/classes/MergeRequestsLoadContext.html162
-rw-r--r--doc/code/classes/Milestone.html616
-rw-r--r--doc/code/classes/MilestonesController.html589
-rw-r--r--doc/code/classes/Namespace.html629
-rw-r--r--doc/code/classes/NamespacedProject.html344
-rw-r--r--doc/code/classes/NamespacesHelper.html146
-rw-r--r--doc/code/classes/Note.html536
-rw-r--r--doc/code/classes/NoteEvent.html380
-rw-r--r--doc/code/classes/NoteObserver.html290
-rw-r--r--doc/code/classes/Notes.html88
-rw-r--r--doc/code/classes/Notes/CreateContext.html136
-rw-r--r--doc/code/classes/Notes/LoadContext.html157
-rw-r--r--doc/code/classes/NotesController.html338
-rw-r--r--doc/code/classes/NotesHelper.html258
-rw-r--r--doc/code/classes/Notify.html639
-rw-r--r--doc/code/classes/Object.html88
-rw-r--r--doc/code/classes/OmniauthCallbacksController.html188
-rw-r--r--doc/code/classes/PostReceive.html149
-rw-r--r--doc/code/classes/ProfileHelper.html127
-rw-r--r--doc/code/classes/ProfilesController.html513
-rw-r--r--doc/code/classes/Project.html1392
-rw-r--r--doc/code/classes/Project/TransferError.html76
-rw-r--r--doc/code/classes/ProjectHook.html92
-rw-r--r--doc/code/classes/ProjectObserver.html262
-rw-r--r--doc/code/classes/ProjectResourceController.html76
-rw-r--r--doc/code/classes/ProjectUpdateContext.html148
-rw-r--r--doc/code/classes/ProjectsController.html566
-rw-r--r--doc/code/classes/ProjectsHelper.html384
-rw-r--r--doc/code/classes/ProtectedBranch.html206
-rw-r--r--doc/code/classes/ProtectedBranchesController.html232
-rw-r--r--doc/code/classes/PushEvent.html959
-rw-r--r--doc/code/classes/PushObserver.html512
-rw-r--r--doc/code/classes/Redcarpet.html79
-rw-r--r--doc/code/classes/Redcarpet/Render.html79
-rw-r--r--doc/code/classes/Redcarpet/Render/GitlabHTML.html264
-rw-r--r--doc/code/classes/RefsController.html313
-rw-r--r--doc/code/classes/RepositoriesController.html325
-rw-r--r--doc/code/classes/Repository.html1737
-rw-r--r--doc/code/classes/ResqueAuthentication.html182
-rw-r--r--doc/code/classes/SearchContext.html262
-rw-r--r--doc/code/classes/SearchController.html136
-rw-r--r--doc/code/classes/Service.html94
-rw-r--r--doc/code/classes/ServiceHook.html92
-rw-r--r--doc/code/classes/ServicesController.html287
-rw-r--r--doc/code/classes/Settings.html131
-rw-r--r--doc/code/classes/Snippet.html402
-rw-r--r--doc/code/classes/SnippetsController.html611
-rw-r--r--doc/code/classes/SnippetsHelper.html131
-rw-r--r--doc/code/classes/StaticModel.html377
-rw-r--r--doc/code/classes/StaticModel/ClassMethods.html172
-rw-r--r--doc/code/classes/SystemHook.html191
-rw-r--r--doc/code/classes/SystemHookObserver.html227
-rw-r--r--doc/code/classes/SystemHookWorker.html131
-rw-r--r--doc/code/classes/TabHelper.html346
-rw-r--r--doc/code/classes/TagsHelper.html170
-rw-r--r--doc/code/classes/Team.html470
-rw-r--r--doc/code/classes/TeamMembersController.html438
-rw-r--r--doc/code/classes/TestHookContext.html134
-rw-r--r--doc/code/classes/Tree.html322
-rw-r--r--doc/code/classes/TreeController.html264
-rw-r--r--doc/code/classes/TreeDecorator.html281
-rw-r--r--doc/code/classes/TreeHelper.html541
-rw-r--r--doc/code/classes/User.html566
-rw-r--r--doc/code/classes/UserDecorator.html178
-rw-r--r--doc/code/classes/UserObserver.html268
-rw-r--r--doc/code/classes/UsersProject.html871
-rw-r--r--doc/code/classes/UsersProjectObserver.html220
-rw-r--r--doc/code/classes/Votes.html307
-rw-r--r--doc/code/classes/WebHook.html168
-rw-r--r--doc/code/classes/Wiki.html294
-rw-r--r--doc/code/classes/WikisController.html397
-rw-r--r--doc/code/created.rid155
-rw-r--r--doc/code/css/github.css129
-rwxr-xr-xdoc/code/css/main.css333
-rwxr-xr-xdoc/code/css/panel.css384
-rwxr-xr-xdoc/code/css/reset.css48
-rw-r--r--doc/code/favicon.icobin0 -> 1150 bytes
-rw-r--r--doc/code/files/app/assets/fonts/OFL_txt.html158
-rw-r--r--doc/code/files/app/contexts/base_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/commit_load_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/issues_bulk_update_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/issues_list_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/merge_requests_load_context_rb.html86
-rw-r--r--doc/code/files/app/contexts/notes/create_context_rb.html84
-rw-r--r--doc/code/files/app/contexts/notes/load_context_rb.html84
-rw-r--r--doc/code/files/app/contexts/project_update_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/search_context_rb.html79
-rw-r--r--doc/code/files/app/contexts/test_hook_context_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/dashboard_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/groups_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/hooks_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/logs_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/projects_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/resque_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/team_members_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin/users_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/admin_controller_rb.html88
-rw-r--r--doc/code/files/app/controllers/application_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/blame_controller_rb.html85
-rw-r--r--doc/code/files/app/controllers/blob_controller_rb.html85
-rw-r--r--doc/code/files/app/controllers/commit_controller_rb.html89
-rw-r--r--doc/code/files/app/controllers/commits_controller_rb.html87
-rw-r--r--doc/code/files/app/controllers/compare_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/dashboard_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/deploy_keys_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/errors_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/groups_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/help_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/hooks_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/issues_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/keys_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/labels_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/merge_requests_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/milestones_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/notes_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/omniauth_callbacks_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/profiles_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/project_resource_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/projects_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/protected_branches_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/refs_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/repositories_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/search_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/services_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/snippets_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/team_members_controller_rb.html79
-rw-r--r--doc/code/files/app/controllers/tree_controller_rb.html85
-rw-r--r--doc/code/files/app/controllers/wikis_controller_rb.html79
-rw-r--r--doc/code/files/app/decorators/application_decorator_rb.html79
-rw-r--r--doc/code/files/app/decorators/commit_decorator_rb.html79
-rw-r--r--doc/code/files/app/decorators/event_decorator_rb.html79
-rw-r--r--doc/code/files/app/decorators/tree_decorator_rb.html79
-rw-r--r--doc/code/files/app/decorators/user_decorator_rb.html79
-rw-r--r--doc/code/files/app/helpers/application_helper_rb.html89
-rw-r--r--doc/code/files/app/helpers/commits_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/dashboard_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/events_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/gitlab_markdown_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/issues_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/merge_requests_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/namespaces_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/notes_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/profile_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/projects_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/snippets_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/tab_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/tags_helper_rb.html79
-rw-r--r--doc/code/files/app/helpers/tree_helper_rb.html79
-rw-r--r--doc/code/files/app/mailers/notify_rb.html79
-rw-r--r--doc/code/files/app/models/ability_rb.html79
-rw-r--r--doc/code/files/app/models/commit_rb.html79
-rw-r--r--doc/code/files/app/models/event_rb.html98
-rw-r--r--doc/code/files/app/models/gitlab_ci_service_rb.html97
-rw-r--r--doc/code/files/app/models/group_rb.html95
-rw-r--r--doc/code/files/app/models/issue_rb.html100
-rw-r--r--doc/code/files/app/models/key_rb.html104
-rw-r--r--doc/code/files/app/models/merge_request_rb.html103
-rw-r--r--doc/code/files/app/models/milestone_rb.html96
-rw-r--r--doc/code/files/app/models/namespace_rb.html95
-rw-r--r--doc/code/files/app/models/note_rb.html108
-rw-r--r--doc/code/files/app/models/project_hook_rb.html95
-rw-r--r--doc/code/files/app/models/project_rb.html115
-rw-r--r--doc/code/files/app/models/protected_branch_rb.html93
-rw-r--r--doc/code/files/app/models/service_hook_rb.html95
-rw-r--r--doc/code/files/app/models/service_rb.html97
-rw-r--r--doc/code/files/app/models/snippet_rb.html97
-rw-r--r--doc/code/files/app/models/system_hook_rb.html95
-rw-r--r--doc/code/files/app/models/tree_rb.html79
-rw-r--r--doc/code/files/app/models/user_rb.html117
-rw-r--r--doc/code/files/app/models/users_project_rb.html94
-rw-r--r--doc/code/files/app/models/web_hook_rb.html95
-rw-r--r--doc/code/files/app/models/wiki_rb.html96
-rw-r--r--doc/code/files/app/observers/activity_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/issue_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/key_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/merge_request_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/note_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/project_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/system_hook_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/user_observer_rb.html79
-rw-r--r--doc/code/files/app/observers/users_project_observer_rb.html79
-rw-r--r--doc/code/files/app/roles/account_rb.html79
-rw-r--r--doc/code/files/app/roles/authority_rb.html79
-rw-r--r--doc/code/files/app/roles/git_host_rb.html79
-rw-r--r--doc/code/files/app/roles/issue_commonality_rb.html90
-rw-r--r--doc/code/files/app/roles/namespaced_project_rb.html79
-rw-r--r--doc/code/files/app/roles/note_event_rb.html79
-rw-r--r--doc/code/files/app/roles/push_event_rb.html79
-rw-r--r--doc/code/files/app/roles/push_observer_rb.html88
-rw-r--r--doc/code/files/app/roles/repository_rb.html79
-rw-r--r--doc/code/files/app/roles/static_model_rb.html91
-rw-r--r--doc/code/files/app/roles/team_rb.html79
-rw-r--r--doc/code/files/app/roles/votes_rb.html79
-rw-r--r--doc/code/files/app/uploaders/attachment_uploader_rb.html79
-rw-r--r--doc/code/files/app/workers/post_receive_rb.html79
-rw-r--r--doc/code/files/app/workers/system_hook_worker_rb.html79
-rw-r--r--doc/code/files/config/application_rb.html92
-rw-r--r--doc/code/files/config/boot_rb.html78
-rw-r--r--doc/code/files/config/environment_rb.html74
-rw-r--r--doc/code/files/config/environments/development_rb.html68
-rw-r--r--doc/code/files/config/environments/production_rb.html68
-rw-r--r--doc/code/files/config/environments/test_rb.html68
-rw-r--r--doc/code/files/config/initializers/1_settings_rb.html79
-rw-r--r--doc/code/files/config/initializers/2_app_rb.html79
-rw-r--r--doc/code/files/config/initializers/3_grit_ext_rb.html78
-rw-r--r--doc/code/files/config/initializers/4_resque_rb.html93
-rw-r--r--doc/code/files/config/initializers/5_backend_rb.html74
-rw-r--r--doc/code/files/config/initializers/backtrace_silencers_rb.html74
-rw-r--r--doc/code/files/config/initializers/carrierwave_rb.html68
-rw-r--r--doc/code/files/config/initializers/connection_fix_rb.html103
-rw-r--r--doc/code/files/config/initializers/devise_rb.html83
-rw-r--r--doc/code/files/config/initializers/gemoji_rb.html75
-rw-r--r--doc/code/files/config/initializers/inflections_rb.html74
-rw-r--r--doc/code/files/config/initializers/kaminari_config_rb.html68
-rw-r--r--doc/code/files/config/initializers/mime_types_rb.html74
-rw-r--r--doc/code/files/config/initializers/passenger_fix_rb.html68
-rw-r--r--doc/code/files/config/initializers/postgresql_limit_fix_rb.html84
-rw-r--r--doc/code/files/config/initializers/secret_token_rb.html74
-rw-r--r--doc/code/files/config/initializers/session_store_rb.html74
-rw-r--r--doc/code/files/config/initializers/wrap_parameters_rb.html77
-rw-r--r--doc/code/files/config/routes_rb.html78
-rw-r--r--doc/code/files/config/unicorn_rb.html68
-rw-r--r--doc/code/files/lib/api/entities_rb.html159
-rw-r--r--doc/code/files/lib/api/helpers_rb.html84
-rw-r--r--doc/code/files/lib/api/issues_rb.html84
-rw-r--r--doc/code/files/lib/api/merge_requests_rb.html84
-rw-r--r--doc/code/files/lib/api/milestones_rb.html84
-rw-r--r--doc/code/files/lib/api/notes_rb.html84
-rw-r--r--doc/code/files/lib/api/projects_rb.html84
-rw-r--r--doc/code/files/lib/api/session_rb.html84
-rw-r--r--doc/code/files/lib/api/users_rb.html84
-rw-r--r--doc/code/files/lib/api_rb.html84
-rw-r--r--doc/code/files/lib/event_filter_rb.html79
-rw-r--r--doc/code/files/lib/extracts_path_rb.html91
-rw-r--r--doc/code/files/lib/file_size_validator_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/app_logger_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/auth_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/backend/gitolite_config_rb.html106
-rw-r--r--doc/code/files/lib/gitlab/backend/gitolite_rb.html89
-rw-r--r--doc/code/files/lib/gitlab/backend/grack_auth_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/git_logger_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/git_stats_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/graph/commit_rb.html97
-rw-r--r--doc/code/files/lib/gitlab/graph/json_builder_rb.html97
-rw-r--r--doc/code/files/lib/gitlab/inline_diff_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/logger_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/markdown_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/project_mover_rb.html97
-rw-r--r--doc/code/files/lib/gitlab/regex_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/satellite/action_rb.html89
-rw-r--r--doc/code/files/lib/gitlab/satellite/edit_file_action_rb.html89
-rw-r--r--doc/code/files/lib/gitlab/satellite/merge_action_rb.html89
-rw-r--r--doc/code/files/lib/gitlab/satellite/satellite_rb.html89
-rw-r--r--doc/code/files/lib/gitlab/seeder_rb.html84
-rw-r--r--doc/code/files/lib/gitlab/theme_rb.html84
-rw-r--r--doc/code/files/lib/hooks/post-receive.html86
-rw-r--r--doc/code/files/lib/redcarpet/render/gitlab_html_rb.html79
-rwxr-xr-xdoc/code/i/arrows.pngbin0 -> 477 bytes
-rwxr-xr-xdoc/code/i/results_bg.pngbin0 -> 696 bytes
-rwxr-xr-xdoc/code/i/tree_bg.pngbin0 -> 207 bytes
-rw-r--r--doc/code/index.html13
-rwxr-xr-xdoc/code/js/highlight.pack.js1
-rwxr-xr-xdoc/code/js/jquery-1.3.2.min.js19
-rwxr-xr-xdoc/code/js/jquery-effect.js593
-rwxr-xr-xdoc/code/js/main.js24
-rw-r--r--doc/code/js/navigation.js (renamed from doc/app/js/navigation.js)0
-rw-r--r--doc/code/js/search_index.js1
-rwxr-xr-xdoc/code/js/searchdoc.js449
-rw-r--r--doc/code/js/searcher.js (renamed from doc/app/js/searcher.js)0
-rwxr-xr-xdoc/code/panel/index.html73
-rw-r--r--doc/code/panel/links.html314
-rw-r--r--doc/code/panel/tree.js1
-rw-r--r--doc/install/installation.md31
-rw-r--r--doc/raketasks/backup_restore.md4
-rw-r--r--doc/raketasks/cleanup.md20
-rw-r--r--doc/raketasks/features.md4
-rw-r--r--doc/raketasks/maintenance.md12
-rw-r--r--features/admin/groups.feature7
-rw-r--r--features/admin/logs.feature7
-rw-r--r--features/admin/projects.feature13
-rw-r--r--features/admin/users.feature8
-rw-r--r--features/dashboard/dashboard.feature3
-rw-r--r--features/dashboard/event_filters.feature51
-rw-r--r--features/group/group.feature7
-rw-r--r--features/project/project.feature19
-rw-r--r--features/project/service.feature14
-rw-r--r--features/steps/admin/admin_active_tab.rb2
-rw-r--r--features/steps/admin/admin_groups.rb38
-rw-r--r--features/steps/admin/admin_logs.rb11
-rw-r--r--features/steps/admin/admin_projects.rb24
-rw-r--r--features/steps/admin/admin_users.rb11
-rw-r--r--features/steps/dashboard/dashboard.rb40
-rw-r--r--features/steps/dashboard/dashboard_event_filters.rb87
-rw-r--r--features/steps/dashboard/dashboard_issues.rb2
-rw-r--r--features/steps/dashboard/dashboard_merge_requests.rb4
-rw-r--r--features/steps/dashboard/dashboard_search.rb6
-rw-r--r--features/steps/group/group.rb24
-rw-r--r--features/steps/project/create_project.rb4
-rw-r--r--features/steps/project/project.rb13
-rw-r--r--features/steps/project/project_browse_commits.rb6
-rw-r--r--features/steps/project/project_merge_requests.rb8
-rw-r--r--features/steps/project/project_milestones.rb8
-rw-r--r--features/steps/project/project_network_graph.rb1
-rw-r--r--features/steps/project/project_services.rb30
-rw-r--r--features/steps/project/project_team_management.rb6
-rw-r--r--features/steps/shared/admin.rb12
-rw-r--r--features/steps/shared/paths.rb23
-rw-r--r--features/steps/shared/project.rb44
-rw-r--r--features/support/env.rb4
-rw-r--r--lib/api/issues.rb1
-rw-r--r--lib/api/notes.rb4
-rw-r--r--lib/api/projects.rb8
-rw-r--r--lib/extracts_path.rb20
-rw-r--r--lib/gitlab/backend/gitolite_config.rb8
-rw-r--r--lib/gitlab/backend/grack_auth.rb4
-rw-r--r--lib/gitlab/graph/commit.rb6
-rw-r--r--lib/gitlab/graph/json_builder.rb33
-rw-r--r--lib/gitlab/markdown.rb2
-rw-r--r--lib/gitlab/project_mover.rb11
-rw-r--r--lib/gitlab/regex.rb4
-rw-r--r--lib/gitlab/satellite/merge_action.rb2
-rw-r--r--lib/gitlab/satellite/satellite.rb20
-rw-r--r--lib/gitolited.rb11
-rwxr-xr-xlib/hooks/post-receive1
-rw-r--r--lib/static_model.rb (renamed from app/roles/static_model.rb)2
-rwxr-xr-xlib/support/rewrite-hooks.sh19
-rwxr-xr-xlib/support/truncate_repositories.sh11
-rw-r--r--lib/tasks/gitlab/backup.rake106
-rw-r--r--lib/tasks/gitlab/check.rake161
-rw-r--r--lib/tasks/gitlab/cleanup.rake128
-rw-r--r--lib/tasks/gitlab/enable_automerge.rake36
-rw-r--r--lib/tasks/gitlab/enable_namespaces.rake95
-rw-r--r--lib/tasks/gitlab/generate_docs.rake7
-rw-r--r--lib/tasks/gitlab/gitolite_rebuild.rake21
-rw-r--r--lib/tasks/gitlab/import.rake12
-rw-r--r--lib/tasks/gitlab/info.rake31
-rw-r--r--lib/tasks/gitlab/task_helpers.rake39
-rw-r--r--lib/tasks/resque.rake10
-rw-r--r--lib/tasks/sidekiq.rake23
-rw-r--r--lib/tasks/travis.rake12
-rwxr-xr-xresque.sh2
-rwxr-xr-xresque_dev.sh2
-rwxr-xr-xscript/check2
-rw-r--r--spec/controllers/commit_controller_spec.rb4
-rw-r--r--spec/controllers/commits_controller_spec.rb2
-rw-r--r--spec/controllers/merge_requests_controller_spec.rb2
-rw-r--r--spec/controllers/tree_controller_spec.rb2
-rw-r--r--spec/factories.rb6
-rw-r--r--spec/helpers/gitlab_markdown_helper_spec.rb6
-rw-r--r--spec/lib/extracts_path_spec.rb22
-rw-r--r--spec/lib/project_mover_spec.rb1
-rw-r--r--spec/lib/votes_spec.rb (renamed from spec/roles/votes_spec.rb)0
-rw-r--r--spec/mailers/notify_spec.rb2
-rw-r--r--spec/models/commit_spec.rb63
-rw-r--r--spec/models/concerns/issuable_spec.rb (renamed from spec/roles/issue_commonality_spec.rb)2
-rw-r--r--spec/models/gitlab_ci_service_spec.rb46
-rw-r--r--spec/models/issue_spec.rb3
-rw-r--r--spec/models/merge_request_spec.rb5
-rw-r--r--spec/models/milestone_spec.rb51
-rw-r--r--spec/models/note_spec.rb12
-rw-r--r--spec/models/project_hooks_spec.rb8
-rw-r--r--spec/models/project_security_spec.rb2
-rw-r--r--spec/models/project_spec.rb154
-rw-r--r--spec/models/protected_branch_spec.rb9
-rw-r--r--spec/models/repository_spec.rb105
-rw-r--r--spec/models/system_hook_spec.rb27
-rw-r--r--spec/models/team_spec.rb18
-rw-r--r--spec/models/user_spec.rb84
-rw-r--r--spec/models/users_project_spec.rb47
-rw-r--r--spec/observers/issue_observer_spec.rb16
-rw-r--r--spec/observers/key_observer_spec.rb6
-rw-r--r--spec/observers/merge_request_observer_spec.rb7
-rw-r--r--spec/observers/note_observer_spec.rb23
-rw-r--r--spec/observers/user_observer_spec.rb21
-rw-r--r--spec/observers/users_project_observer_spec.rb58
-rw-r--r--spec/requests/admin/admin_users_spec.rb6
-rw-r--r--spec/requests/api/issues_spec.rb14
-rw-r--r--spec/requests/api/merge_requests_spec.rb16
-rw-r--r--spec/requests/api/milestones_spec.rb12
-rw-r--r--spec/requests/api/notes_spec.rb4
-rw-r--r--spec/requests/api/projects_spec.rb61
-rw-r--r--spec/requests/atom/issues_spec.rb4
-rw-r--r--spec/requests/gitlab_flavored_markdown_spec.rb6
-rw-r--r--spec/requests/issues_spec.rb3
-rw-r--r--spec/requests/projects_deploy_keys_spec.rb2
-rw-r--r--spec/requests/projects_spec.rb57
-rw-r--r--spec/requests/search_spec.rb2
-rw-r--r--spec/requests/security/project_access_spec.rb12
-rw-r--r--spec/requests/snippets_spec.rb4
-rw-r--r--spec/roles/account_role_spec.rb44
-rw-r--r--spec/roles/repository_spec.rb159
-rw-r--r--spec/routing/project_routing_spec.rb12
-rw-r--r--spec/spec_helper.rb18
-rw-r--r--spec/support/stubbed_repository.rb23
-rw-r--r--spec/tasks/gitlab/backup_rake_spec.rb1
-rw-r--r--spec/workers/post_receive_spec.rb8
-rw-r--r--vendor/assets/javascripts/branch-graph.js197
-rw-r--r--vendor/assets/javascripts/g.bar-min.js3
-rw-r--r--vendor/assets/javascripts/g.raphael-min.js23
930 files changed, 80367 insertions, 103675 deletions
diff --git a/.gitignore b/.gitignore
index 94a210b9461..b1f4229925a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,8 +19,10 @@ config/gitlab.yml
config/database.yml
config/initializers/omniauth.rb
config/unicorn.rb
+config/resque.yml
db/data.yml
.idea
.DS_Store
.chef
vendor/bundle/*
+rails_best_practices_output.html
diff --git a/.simplecov b/.simplecov
new file mode 100644
index 00000000000..d979288df44
--- /dev/null
+++ b/.simplecov
@@ -0,0 +1,4 @@
+# .simplecov
+SimpleCov.start 'rails' do
+ merge_timeout 3600
+end
diff --git a/.travis.yml b/.travis.yml
index ad00ded07cb..e8bd744267f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,16 +3,12 @@ env:
- DB=mysql
before_install:
- sudo apt-get install libicu-dev -y
- - 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'
rvm:
- - 1.9.3
+ - 1.9.2
services:
- mysql
- postgresql
diff --git a/CHANGELOG b/CHANGELOG
index 95ed6e8db1c..dda12bd11de 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,7 @@
v 4.0.0
+ - Remove project code and path from API. Use id instead
+ - Return valid clonable url to repo for web hook
+ - Fixed backup issue
- Reorganized settings
- Fixed commits compare
- Refactored scss
diff --git a/Gemfile b/Gemfile
index 49fbcad04fc..77b054465d0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -8,7 +8,7 @@ def linux_only(require_as)
RUBY_PLATFORM.include?('linux') && require_as
end
-gem "rails", "3.2.9"
+gem "rails", "3.2.11"
# Supported DBs
gem "mysql2", group: :mysql
@@ -23,11 +23,15 @@ 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", 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: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
+# LDAP Auth
+gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
+
+# Dump db to yml file. Mostly used to migrate from sqlite to mysql
+gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
+
# Gitolite client (for work with gitolite-admin repo)
gem "gitolite", '1.1.0'
@@ -77,8 +81,9 @@ gem "acts-as-taggable-on", "2.3.3"
gem "draper", "~> 0.18.0"
# Background jobs
-gem "resque", "~> 1.23.0"
-gem 'resque_mailer'
+gem 'slim'
+gem 'sinatra', :require => nil
+gem 'sidekiq', '2.6.4'
# HTTP requests
gem "httparty"
@@ -104,7 +109,7 @@ group :assets do
gem "jquery-rails", "2.1.3"
gem "jquery-ui-rails", "2.0.2"
gem "modernizr", "2.6.2"
- gem "raphael-rails", "1.5.2"
+ gem "raphael-rails", git: "https://github.com/gitlabhq/raphael-rails.git"
gem 'bootstrap-sass', "2.2.1.1"
gem "font-awesome-sass-rails", "~> 2.0.0"
gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
@@ -115,6 +120,14 @@ group :development do
gem "letter_opener"
gem 'quiet_assets', '~> 1.0.1'
gem 'rack-mini-profiler'
+ # Better errors handler
+ gem 'better_errors'
+ gem 'binding_of_caller'
+
+ gem 'rails_best_practices'
+
+ # Docs generator
+ gem "sdoc"
end
group :development, :test do
@@ -145,7 +158,6 @@ group :test do
gem "simplecov", require: false
gem "shoulda-matchers", "1.3.0"
gem 'email_spec'
- gem 'resque_spec'
gem "webmock"
gem 'test_after_commit'
end
diff --git a/Gemfile.lock b/Gemfile.lock
index d8be14ba80a..8fba310d4eb 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -40,17 +40,6 @@ GIT
charlock_holmes (~> 0.6.9)
GIT
- remote: https://github.com/gitlabhq/omniauth-ldap.git
- revision: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e
- ref: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e
- specs:
- omniauth-ldap (1.0.2)
- net-ldap (~> 0.2.2)
- omniauth (~> 1.0)
- pyu-ruby-sasl (~> 0.0.3.1)
- rubyntlm (~> 0.1.1)
-
-GIT
remote: https://github.com/gitlabhq/pygments.rb.git
revision: db1da0343adf86b49bdc3add04d02d2e80438d38
branch: master
@@ -60,11 +49,10 @@ GIT
yajl-ruby (~> 1.1.0)
GIT
- remote: https://github.com/gitlabhq/yaml_db.git
- revision: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
- ref: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
+ remote: https://github.com/gitlabhq/raphael-rails.git
+ revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58
specs:
- yaml_db (0.2.2)
+ raphael-rails (2.1.0)
GIT
remote: https://github.com/jonleighton/poltergeist.git
@@ -81,12 +69,12 @@ GIT
GEM
remote: http://rubygems.org/
specs:
- actionmailer (3.2.9)
- actionpack (= 3.2.9)
+ actionmailer (3.2.11)
+ actionpack (= 3.2.11)
mail (~> 2.4.4)
- actionpack (3.2.9)
- activemodel (= 3.2.9)
- activesupport (= 3.2.9)
+ actionpack (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
@@ -94,18 +82,18 @@ GEM
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
- activemodel (3.2.9)
- activesupport (= 3.2.9)
+ activemodel (3.2.11)
+ activesupport (= 3.2.11)
builder (~> 3.0.0)
- activerecord (3.2.9)
- activemodel (= 3.2.9)
- activesupport (= 3.2.9)
+ activerecord (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
- activeresource (3.2.9)
- activemodel (= 3.2.9)
- activesupport (= 3.2.9)
- activesupport (3.2.9)
+ activeresource (3.2.11)
+ activemodel (= 3.2.11)
+ activesupport (= 3.2.11)
+ activesupport (3.2.11)
i18n (~> 0.6)
multi_json (~> 1.0)
acts-as-taggable-on (2.3.3)
@@ -115,6 +103,10 @@ GEM
awesome_print (1.1.0)
backports (2.6.5)
bcrypt-ruby (3.0.1)
+ better_errors (0.3.2)
+ coderay (>= 1.0.0)
+ erubis (>= 2.7.0)
+ binding_of_caller (0.6.8)
blankslate (3.1.2)
bootstrap-sass (2.2.1.1)
sass (~> 3.2)
@@ -129,12 +121,17 @@ GEM
carrierwave (0.7.1)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
+ celluloid (0.12.4)
+ facter (>= 1.6.12)
+ timers (>= 1.0.0)
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)
+ code_analyzer (0.3.1)
+ sexp_processor
coderay (1.0.8)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
@@ -145,6 +142,7 @@ GEM
coffee-script-source (1.4.0)
colored (1.2)
colorize (0.5.8)
+ connection_pool (1.0.0)
crack (0.3.1)
daemons (1.1.9)
devise (2.1.2)
@@ -164,6 +162,7 @@ GEM
eventmachine (1.0.0)
execjs (1.4.0)
multi_json (~> 1.0)
+ facter (1.6.17)
factory_girl (4.1.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.1.0)
@@ -190,6 +189,12 @@ GEM
pygments.rb (>= 0.2.13)
github-markup (0.7.4)
gitlab_meta (4.0)
+ gitlab_omniauth-ldap (1.0.2)
+ net-ldap (~> 0.2.2)
+ omniauth (~> 1.0)
+ pyu-ruby-sasl (~> 0.0.3.1)
+ rubyntlm (~> 0.1.1)
+ gitlab_yaml_db (1.0.0)
gitolite (1.1.0)
gratr19 (~> 0.4.4.1)
grit (~> 2.5.0)
@@ -240,7 +245,7 @@ GEM
jquery-ui-rails (2.0.2)
jquery-rails
railties (>= 3.1.0)
- json (1.7.5)
+ json (1.7.6)
jwt (0.1.5)
multi_json (>= 1.0)
kaminari (0.14.1)
@@ -264,7 +269,7 @@ GEM
mime-types (1.19)
modernizr (2.6.2)
sprockets (~> 2.0)
- multi_json (1.3.7)
+ multi_json (1.5.0)
multi_xml (0.5.1)
multipart-post (1.1.5)
mysql2 (0.3.11)
@@ -299,6 +304,7 @@ GEM
pg (0.14.1)
polyglot (0.3.3)
posix-spawn (0.3.6)
+ progressbar (0.12.0)
pry (0.9.10)
coderay (~> 1.0.5)
method_source (~> 0.8)
@@ -306,7 +312,7 @@ GEM
pyu-ruby-sasl (0.0.3.3)
quiet_assets (1.0.1)
railties (~> 3.1)
- rack (1.4.1)
+ rack (1.4.3)
rack-accept (0.4.5)
rack (>= 0.4)
rack-cache (1.2)
@@ -315,33 +321,40 @@ GEM
rack (>= 1.1.3)
rack-mount (0.8.3)
rack (>= 1.0.0)
- rack-protection (1.2.0)
+ rack-protection (1.3.2)
rack
rack-ssl (1.3.2)
rack
rack-test (0.6.2)
rack (>= 1.0)
- rails (3.2.9)
- actionmailer (= 3.2.9)
- actionpack (= 3.2.9)
- activerecord (= 3.2.9)
- activeresource (= 3.2.9)
- activesupport (= 3.2.9)
+ rails (3.2.11)
+ actionmailer (= 3.2.11)
+ actionpack (= 3.2.11)
+ activerecord (= 3.2.11)
+ activeresource (= 3.2.11)
+ activesupport (= 3.2.11)
bundler (~> 1.0)
- railties (= 3.2.9)
+ railties (= 3.2.11)
rails-dev-tweaks (0.6.1)
actionpack (~> 3.1)
railties (~> 3.1)
- railties (3.2.9)
- actionpack (= 3.2.9)
- activesupport (= 3.2.9)
+ rails_best_practices (1.13.2)
+ activesupport
+ awesome_print
+ code_analyzer
+ colored
+ erubis
+ i18n
+ progressbar
+ railties (3.2.11)
+ actionpack (= 3.2.11)
+ activesupport (= 3.2.11)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
raindrops (0.10.0)
- rake (10.0.1)
- raphael-rails (1.5.2)
+ rake (10.0.3)
rb-fsevent (0.9.2)
rb-inotify (0.8.8)
ffi (>= 0.5.0)
@@ -351,16 +364,6 @@ GEM
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)
- sinatra (>= 0.9.2)
- vegas (~> 0.1.2)
- resque_mailer (2.1.0)
- actionmailer (~> 3.0)
- resque_spec (0.12.5)
- resque (>= 1.19.0)
- rspec (>= 2.5.0)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
@@ -383,6 +386,9 @@ GEM
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
+ sdoc (0.3.20)
+ json (>= 1.1.3)
+ rdoc (~> 3.10)
seed-fu (2.2.0)
activerecord (~> 3.1)
activesupport (~> 3.1)
@@ -392,8 +398,15 @@ GEM
multi_json (~> 1.0)
rubyzip
settingslogic (2.0.8)
+ sexp_processor (4.1.3)
shoulda-matchers (1.3.0)
activesupport (>= 3.0.0)
+ sidekiq (2.6.4)
+ celluloid (~> 0.12.0)
+ connection_pool (~> 1.0)
+ multi_json (~> 1)
+ redis (~> 3)
+ redis-namespace
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
@@ -403,6 +416,9 @@ GEM
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
six (0.2.0)
+ slim (1.3.6)
+ temple (~> 0.5.5)
+ tilt (~> 1.3.3)
slop (3.3.3)
spinach (0.5.2)
colorize
@@ -411,12 +427,13 @@ GEM
capybara (~> 1)
railties (>= 3)
spinach (>= 0.4)
- sprockets (2.2.1)
+ sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
stamp (0.3.0)
+ temple (0.5.5)
test_after_commit (0.0.1)
therubyracer (0.10.2)
libv8 (~> 3.3.10)
@@ -426,6 +443,7 @@ GEM
rack (>= 1.0.0)
thor (0.16.0)
tilt (1.3.3)
+ timers (1.0.2)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
@@ -437,8 +455,6 @@ GEM
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)
@@ -458,6 +474,8 @@ DEPENDENCIES
acts-as-taggable-on (= 2.3.3)
annotate!
awesome_print
+ better_errors
+ binding_of_caller
bootstrap-sass (= 2.2.1.1)
capybara
carrierwave (~> 0.7.1)
@@ -477,6 +495,8 @@ DEPENDENCIES
github-linguist (~> 2.3.4)
github-markup (~> 0.7.4)
gitlab_meta (= 4.0)
+ gitlab_omniauth-ldap (= 1.0.2)
+ gitlab_yaml_db (= 1.0.0)
gitolite (= 1.1.0)
grack!
grape (~> 0.2.1)
@@ -498,7 +518,6 @@ DEPENDENCIES
omniauth (~> 1.1.1)
omniauth-github
omniauth-google-oauth2
- omniauth-ldap!
omniauth-twitter
pg
poltergeist!
@@ -506,22 +525,24 @@ DEPENDENCIES
pygments.rb!
quiet_assets (~> 1.0.1)
rack-mini-profiler
- rails (= 3.2.9)
+ rails (= 3.2.11)
rails-dev-tweaks
- raphael-rails (= 1.5.2)
+ rails_best_practices
+ raphael-rails!
rb-fsevent
rb-inotify
redcarpet (~> 2.2.2)
- resque (~> 1.23.0)
- resque_mailer
- resque_spec
rspec-rails
sass-rails (~> 3.2.5)
+ sdoc
seed-fu
settingslogic
shoulda-matchers (= 1.3.0)
+ sidekiq (= 2.6.4)
simplecov
+ sinatra
six
+ slim
spinach-rails
stamp
test_after_commit
@@ -530,4 +551,3 @@ DEPENDENCIES
uglifier (~> 1.3.0)
unicorn (~> 4.4.0)
webmock
- yaml_db!
diff --git a/Procfile b/Procfile
index 09ec8cc2745..d3b3e051e88 100644
--- a/Procfile
+++ b/Procfile
@@ -1,2 +1,2 @@
web: bundle exec rails s -p $PORT
-worker: bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
+worker: bundle exec sidekiq -q post_receive,mailer,system_hook,common,default
diff --git a/README.md b/README.md
index 629fcefcb32..1a43be134da 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,7 @@
GitLab is a free project and repository management application
+![CI](http://ci.gitlab.org/projects/1/status?ref=master)
## Application details
@@ -39,6 +40,6 @@ Email
## Contribute
-[Development Tips](https://github.com/gitlabhq/gitlabhq/blob/master/doc/development.md)
+[Developer Guide](https://github.com/gitlabhq/gitlabhq/wiki/Developer-Guide)
Want to help - send a pull request.
We'll accept good pull requests.
diff --git a/VERSION b/VERSION
index 3cdeb6b85ee..a1ecd089ec3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.0.0rc1
+4.1.0pre
diff --git a/app/assets/fonts/OFL.txt b/app/assets/fonts/OFL.txt
new file mode 100644
index 00000000000..3ce219f0126
--- /dev/null
+++ b/app/assets/fonts/OFL.txt
@@ -0,0 +1,92 @@
+Copyright (c) 2010, Jan Gerner (post@yanone.de)
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/app/assets/fonts/YanoneKaffeesatz-Light.ttf b/app/assets/fonts/YanoneKaffeesatz-Light.ttf
new file mode 100644
index 00000000000..5026d3bdbe2
--- /dev/null
+++ b/app/assets/fonts/YanoneKaffeesatz-Light.ttf
Binary files differ
diff --git a/app/assets/fonts/korolev-medium-compressed.otf b/app/assets/fonts/korolev-medium-compressed.otf
deleted file mode 100644
index a9cd3cbffff..00000000000
--- a/app/assets/fonts/korolev-medium-compressed.otf
+++ /dev/null
Binary files differ
diff --git a/app/assets/images/download.png b/app/assets/images/download.png
deleted file mode 100644
index 5791e723de9..00000000000
--- a/app/assets/images/download.png
+++ /dev/null
Binary files differ
diff --git a/app/assets/javascripts/dashboard.js.coffee b/app/assets/javascripts/dashboard.js.coffee
new file mode 100644
index 00000000000..b0ae6bf8a02
--- /dev/null
+++ b/app/assets/javascripts/dashboard.js.coffee
@@ -0,0 +1,30 @@
+$ ->
+ dashboardPage()
+
+dashboardPage = ->
+ Pager.init 20, true
+ $(".event_filter_link").bind "click", (event) ->
+ event.preventDefault()
+ toggleFilter $(this)
+ reloadActivities()
+
+reloadActivities = ->
+ $(".content_list").html ''
+ Pager.init 20, true
+
+toggleFilter = (sender) ->
+ sender.parent().toggleClass "inactive"
+ event_filters = $.cookie("event_filter")
+ filter = sender.attr("id").split("_")[0]
+ if event_filters
+ event_filters = event_filters.split(",")
+ else
+ event_filters = new Array()
+
+ index = event_filters.indexOf(filter)
+ if index is -1
+ event_filters.push filter
+ else
+ event_filters.splice index, 1
+
+ $.cookie "event_filter", event_filters.join(",")
diff --git a/app/assets/javascripts/issues.js b/app/assets/javascripts/issues.js
index 719d2c176c1..9ba1a3f1bba 100644
--- a/app/assets/javascripts/issues.js
+++ b/app/assets/javascripts/issues.js
@@ -11,7 +11,7 @@ function initIssuesSearch() {
last_terms = terms;
if (terms.length >= 2 || terms.length == 0) {
- $.get(href, { 'f': status, 'terms': terms, 'milestone_id': milestone_id }, function(response) {
+ $.get(href, { 'status': status, 'terms': terms, 'milestone_id': milestone_id }, function(response) {
$('#issues-table').html(response);
});
}
diff --git a/app/assets/javascripts/merge_requests.js b/app/assets/javascripts/merge_requests.js
deleted file mode 100644
index ee714f9cabb..00000000000
--- a/app/assets/javascripts/merge_requests.js
+++ /dev/null
@@ -1,132 +0,0 @@
-var MergeRequest = {
- diffs_loaded: false,
- commits_loaded: false,
- opts: false,
-
- init:
- function(opts) {
- var self = this;
- self.opts = opts;
-
- self.initTabs();
- self.initMergeWidget();
-
- $(".mr_show_all_commits").bind("click", function() {
- self.showAllCommits();
- });
- },
-
- initMergeWidget:
- function() {
- var self = this;
- self.showState(self.opts.current_state);
-
- if($(".automerge_widget").length && self.opts.check_enable){
- $.get(self.opts.url_to_automerge_check, function(data){
- self.showState(data.state);
- }, "json");
- }
-
- if(self.opts.ci_enable){
- $.get(self.opts.url_to_ci_check, function(data){
- self.showCiState(data.status);
- }, "json");
- }
- },
-
- initTabs:
- function() {
- $(".mr_nav_tabs a").live("click", function() {
- $(".mr_nav_tabs a").parent().removeClass("active");
- $(this).parent().addClass("active");
- });
-
- var current_tab;
- if(this.opts.action == "diffs") {
- current_tab = $(".mr_nav_tabs .merge-diffs-tab");
- } else {
- current_tab = $(".mr_nav_tabs .merge-notes-tab");
- }
- current_tab.parent().addClass("active");
-
- this.initNotesTab();
- this.initDiffTab();
- },
-
- initNotesTab:
- function() {
- $(".mr_nav_tabs a.merge-notes-tab").live("click", function(e) {
- $(".merge-request-diffs").hide();
- $(".merge_request_notes").show();
- var mr_path = $(".merge-notes-tab").attr("data-url");
- history.pushState({ path: mr_path }, '', mr_path);
- e.preventDefault();
- });
- },
-
- initDiffTab:
- function() {
- $(".mr_nav_tabs a.merge-diffs-tab").live("click", function(e) {
- if(!MergeRequest.diffs_loaded) {
- MergeRequest.loadDiff();
- }
- $(".merge_request_notes").hide();
- $(".merge-request-diffs").show();
- var mr_diff_path = $(".merge-diffs-tab").attr("data-url");
- history.pushState({ path: mr_diff_path }, '', mr_diff_path);
- e.preventDefault();
- });
-
- },
-
- showState:
- function(state){
- $(".automerge_widget").hide();
- $(".automerge_widget." + state).show();
- },
-
- showCiState:
- function(state){
- $(".ci_widget").hide();
- $(".ci_widget.ci-" + state).show();
- },
-
- loadDiff:
- function() {
- $(".dashboard-loader").show();
- $.ajax({
- type: "GET",
- url: $(".merge-diffs-tab").attr("data-url"),
- beforeSend: function(){ $('.status').addClass("loading")},
- complete: function(){
- MergeRequest.diffs_loaded = true;
- $(".merge_request_notes").hide();
- $('.status').removeClass("loading");
- },
- dataType: "script"});
- },
-
- showAllCommits:
- function() {
- $(".first_mr_commits").remove();
- $(".all_mr_commits").removeClass("hide");
- },
-
- already_cannot_be_merged:
- function(){
- $(".automerge_widget").hide();
- $(".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/merge_requests.js.coffee b/app/assets/javascripts/merge_requests.js.coffee
new file mode 100644
index 00000000000..cdc685f2c09
--- /dev/null
+++ b/app/assets/javascripts/merge_requests.js.coffee
@@ -0,0 +1,97 @@
+#
+# * Filter merge requests
+#
+@merge_requestsPage = ->
+ $('#assignee_id').chosen()
+ $('#milestone_id').chosen()
+ $('#milestone_id, #assignee_id').on 'change', ->
+ $(this).closest('form').submit()
+
+class MergeRequest
+
+ constructor: (@opts) ->
+ this.$el = $('.merge-request')
+ @diffs_loaded = false
+ @commits_loaded = false
+
+ this.activateTab(@opts.action)
+
+ this.bindEvents()
+
+ this.initMergeWidget()
+ this.$('.show-all-commits').on 'click', =>
+ this.showAllCommits()
+
+ # Local jQuery finder
+ $: (selector) ->
+ this.$el.find(selector)
+
+ initMergeWidget: ->
+ this.showState( @opts.current_state )
+
+ if this.$('.automerge_widget').length and @opts.check_enable
+ $.get @opts.url_to_automerge_check, (data) =>
+ this.showState( data.state )
+ , 'json'
+
+ if @opts.ci_enable
+ $.get @opts.url_to_ci_check, (data) =>
+ this.showCiState data.status
+ , 'json'
+
+ bindEvents: ->
+ this.$('.nav-tabs').on 'click', 'a', (event) =>
+ a = $(event.currentTarget)
+
+ href = a.attr('href')
+ History.replaceState {path: href}, document.title, href
+
+ event.preventDefault()
+
+ this.$('.nav-tabs').on 'click', 'li', (event) =>
+ this.activateTab($(event.currentTarget).data('action'))
+
+ activateTab: (action) ->
+ this.$('.nav-tabs li').removeClass 'active'
+ this.$('.tab-content').hide()
+ switch action
+ when 'diffs'
+ this.$('.nav-tabs .diffs-tab').addClass 'active'
+ this.loadDiff() unless @diffs_loaded
+ this.$('.diffs').show()
+ else
+ this.$('.nav-tabs .notes-tab').addClass 'active'
+ this.$('.notes').show()
+
+ showState: (state) ->
+ $('.automerge_widget').hide()
+ $('.automerge_widget.' + state).show()
+
+ showCiState: (state) ->
+ $('.ci_widget').hide()
+ $('.ci_widget.ci-' + state).show()
+
+ loadDiff: (event) ->
+ $('.dashboard-loader').show()
+ $.ajax
+ type: 'GET'
+ url: this.$('.nav-tabs .diffs-tab a').attr('href')
+ beforeSend: =>
+ this.$('.status').addClass 'loading'
+
+ complete: =>
+ @diffs_loaded = true
+ this.$('.status').removeClass 'loading'
+
+ dataType: 'script'
+
+ showAllCommits: ->
+ this.$('.first-commits').remove()
+ this.$('.all-commits').removeClass 'hide'
+
+ alreadyOrCannotBeMerged: ->
+ this.$('.automerge_widget').hide()
+ this.$('.merge-in-progress').hide()
+ this.$('.automerge_widget.already_cannot_be_merged').show()
+
+this.MergeRequest = MergeRequest
diff --git a/app/assets/javascripts/milestones.js.coffee b/app/assets/javascripts/milestones.js.coffee
index e40a69ebaa5..99a52bf4d3f 100644
--- a/app/assets/javascripts/milestones.js.coffee
+++ b/app/assets/javascripts/milestones.js.coffee
@@ -1,14 +1,14 @@
$ ->
- $('.milestone-issue-filter tr[data-closed]').addClass('hide')
+ $('.milestone-issue-filter li[data-closed]').addClass('hide')
$('.milestone-issue-filter ul.nav li a').click ->
$('.milestone-issue-filter li').toggleClass('active')
- $('.milestone-issue-filter tr[data-closed]').toggleClass('hide')
+ $('.milestone-issue-filter li[data-closed]').toggleClass('hide')
false
- $('.milestone-merge-requests-filter tr[data-closed]').addClass('hide')
+ $('.milestone-merge-requests-filter li[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')
+ $('.milestone-merge-requests-filter li[data-closed]').toggleClass('hide')
false
diff --git a/app/assets/javascripts/pager.js b/app/assets/javascripts/pager.js
index 769e8a62343..7edd6bd6186 100644
--- a/app/assets/javascripts/pager.js
+++ b/app/assets/javascripts/pager.js
@@ -4,9 +4,16 @@ var Pager = {
disable:false,
init:
- function(limit) {
+ function(limit, preload) {
this.limit=limit;
- this.offset=limit;
+
+ if(preload) {
+ this.offset = 0;
+ this.getOld();
+ } else {
+ this.offset = limit;
+ }
+
this.initLoadMore();
},
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index 6d4c815106b..e192bb426a1 100644
--- a/app/assets/stylesheets/common.scss
+++ b/app/assets/stylesheets/common.scss
@@ -117,34 +117,10 @@ span.update-author {
}
.label {
- background-color: #474D57;
-
- &.label-tag {
- background: none;
- border: none;
- padding: 4px 6px;
- color: #444;
- text-shadow: 0 0 1px #fff;
-
- &.grouped {
- float: left;
- margin-right: 6px;
- padding: 6px;
- }
- }
- &.label-issue {
- background-color: #eee;
- border: 1px solid #ccc;
- padding: 4px 6px;
- color: #444;
- text-shadow: 0 0 1px #fff;
-
- &.grouped {
- float: left;
- margin-right: 6px;
- padding: 6px;
- }
- }
+ padding: 0px 4px;
+ font-size: 10px;
+ font-style: normal;
+ background-color: $link_color;
&.label-success {
background-color: #8D8;
@@ -425,7 +401,7 @@ li.note {
.supp_diff_link,
-.mr_show_all_commits {
+.show-all-commits {
cursor: pointer;
}
diff --git a/app/assets/stylesheets/gitlab_bootstrap/blocks.scss b/app/assets/stylesheets/gitlab_bootstrap/blocks.scss
index f9c8b7b05ea..8cb1c045778 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/blocks.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/blocks.scss
@@ -1,23 +1,24 @@
/**
* ===================================
- * Contain 3 main UI block elements:
- * .main_box - for show pages
- * .ui-box - for simple block & widgets
+ * Contain UI block elements:
+ * .ui-box - for any block & widgets
* ===================================
*/
/**
- * UI box element
- * contains top, middle, bottom blocks
+ * UI Block
*
*/
-.main_box {
- @extend .borders;
- @extend .prepend-top-20;
- @extend .append-bottom-20;
- border-width: 1px;
+.ui-box {
+ background: #F9F9F9;
+ margin-bottom: 25px;
+ border: 1px solid #CCC;
@include solid-shade;
+ &.ui-box-show {
+ margin:20px 0;
+ background: #FFF;
+ }
img { max-width: 100%; }
@@ -27,9 +28,9 @@
}
}
- .top_box_content,
- .middle_box_content,
- .bottom_box_content {
+ .ui-box-head,
+ .ui-box-body,
+ .ui-box-bottom {
padding: 15px;
word-wrap: break-word;
@@ -39,19 +40,25 @@
border: none;
padding: 0;
}
+
+ .clearfix {
+ margin: 0;
+ }
}
- .top_box_content {
+ .ui-box-head {
.box-title {
color: $style_color;
font-size: 18px;
font-weight: normal;
line-height: 28px;
}
+ h3 {
+ margin: 0;
+ }
}
- .middle_box_content {
- @include border-radius(0);
+ .ui-box-body {
border: none;
font-size: 12px;
background-color: #f5f5f5;
@@ -59,24 +66,9 @@
border-top: 1px solid #eee;
}
- .bottom_box_content {
+ .ui-box-bottom {
border-top: 1px solid #eee;
}
-}
-
-/**
- * Big UI Block for show page content
- *
- */
-.ui-box {
- background: #F9F9F9;
- margin-bottom: 25px;
-
- border: 1px solid #eaeaea;
- @include border-radius(4px);
-
- border-color: #CCC;
- @include solid-shade;
&.white {
background: #fff;
@@ -86,47 +78,47 @@
margin: 0;
}
- h5, .title {
- padding: 0 10px;
- @include border-radius(4px 4px 0 0);
+ .title {
@include bg-gray-gradient;
- border-top: 1px solid #eaeaea;
- border-bottom: 1px solid #bbb;
+ border-bottom: 1px solid #CCC;
+ color: #456;
+ font-size: 16px;
+ text-shadow: 0 1px 1px #fff;
+ padding: 0px 10px;
+ line-height: 36px;
+ font-size: 14px;
+ font-weight: normal;
> a {
text-shadow: 0 1px 1px #fff;
}
- &.small {
- line-height: 28px;
- font-size: 14px;
- line-height: 28px;
- text-shadow: 0 1px 1px white;
- }
-
form {
- padding: 9px 0;
- margin: 0px;
+ margin-bottom: 0;
+ margin-top: 3px;
}
.nav-pills {
- li {
- padding: 3px 0;
- &.active a { background-color: $style_color; }
- a {
- @include border-radius(7px);
+ > li {
+ > a {
+ padding: 13px;
+ margin: 0;
+ font-size: 13px;
+ }
+ &.active {
+ > a {
+ background: #D5D5D5;
+ color: $style_color;
+ @include border-radius(0);
+ border-radius: 0;
+ border-left: 1px solid #CCC;
+ border-right: 1px solid #CCC;
+ }
}
}
}
}
- .bottom {
- @include bg-gray-gradient;
- @include border-radius(0 0 4px 4px);
- border-bottom: none;
- border-top: 1px solid #bbb;
- }
-
&.padded {
h5, .title {
margin: -20px;
@@ -143,6 +135,7 @@
color: #777;
}
}
+
.row_title {
font-weight: bold;
color: #444;
@@ -151,8 +144,4 @@
text-decoration: underline;
}
}
-
- .ui-box-body {
- padding: 10px;
- }
}
diff --git a/app/assets/stylesheets/gitlab_bootstrap/buttons.scss b/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
index 883a8773962..2b5ecce4246 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/buttons.scss
@@ -7,6 +7,10 @@
color: #333;
}
+ &.btn-white {
+ background: #FFF;
+ }
+
&.primary {
background: #2a79A3;
@include linear-gradient(#47A7b7, #2585b5);
diff --git a/app/assets/stylesheets/gitlab_bootstrap/common.scss b/app/assets/stylesheets/gitlab_bootstrap/common.scss
index 3bb7cdbf706..f088766afbd 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/common.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/common.scss
@@ -17,20 +17,43 @@
.padded { padding:20px }
.ipadded { padding:20px!important }
.lborder { border-left:1px solid #eee }
-.no-padding { padding:0 !important; }
-.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 }
.tiny { font-weight: normal }
/** PILLS & TABS**/
-.nav-pills a:hover { background-color: #888; }
-.nav-pills .active a { background-color: $style_color; }
+.nav-pills {
+ .active a {
+ background: $primary_color;
+ }
+
+ > li > a {
+ @include border-radius(0);
+ }
+ &.nav-stacked {
+ > li > a {
+ border-left: 4px solid #EEE;
+ padding: 12px;
+ }
+ > .active > a {
+ border-color: #29B;
+ border-radius: 0;
+ background: #F1F1F1;
+ color: $style_color;
+ font-weight: bold;
+ }
+ }
+}
+
.nav-pills > .active > a > i[class^="icon-"] { background: inherit; }
+
+
+
+/**
+ * nav-tabs
+ *
+ */
.nav-tabs > li > a, .nav-pills > li > a { color: $style_color; }
.nav.nav-tabs {
li {
diff --git a/app/assets/stylesheets/gitlab_bootstrap/fonts.scss b/app/assets/stylesheets/gitlab_bootstrap/fonts.scss
index 88c966d18f7..b4217fa9cfa 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/fonts.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/fonts.scss
@@ -1,7 +1,7 @@
-@font-face{
- font-family: Korolev;
- src: font-url('korolev-medium-compressed.otf');
+@font-face{
+ font-family: Yanone;
+ src: font-url('YanoneKaffeesatz-Light.ttf');
}
/** Typo **/
-$monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono', 'lucida console', monospace; \ No newline at end of file
+$monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono', 'lucida console', monospace;
diff --git a/app/assets/stylesheets/gitlab_bootstrap/lists.scss b/app/assets/stylesheets/gitlab_bootstrap/lists.scss
index edaf3cef2cf..0f893a553ee 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/lists.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/lists.scss
@@ -23,14 +23,12 @@
border-bottom: 1px solid #ADF;
}
- &:first-child {
- @include border-radius(4px 4px 0 0);
- border-top: none;
- }
-
&:last-child {
- @include border-radius(0 0 4px 4px);
- border: none;
+ border-bottom: none;
+
+ &.bottom {
+ background: #f5f5f5;
+ }
}
.author { color: #999; }
diff --git a/app/assets/stylesheets/gitlab_bootstrap/mixins.scss b/app/assets/stylesheets/gitlab_bootstrap/mixins.scss
index 81830368c4c..9b1e2f2c728 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/mixins.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/mixins.scss
@@ -62,8 +62,8 @@
@mixin header-font {
color: $style_color;
text-shadow: 0 1px 1px #FFF;
- font-family: 'Korolev', sans-serif;
- font-size: 28px;
- line-height: 48px;
+ font-family: 'Yanone', sans-serif;
+ font-size: 26px;
+ line-height: 42px;
font-weight: normal;
}
diff --git a/app/assets/stylesheets/gitlab_bootstrap/tables.scss b/app/assets/stylesheets/gitlab_bootstrap/tables.scss
index 5905efd3aae..7a9eac82566 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/tables.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/tables.scss
@@ -25,7 +25,7 @@ table {
}
th, td {
- padding: 8px;
+ padding: 10px;
line-height: 18px;
text-align: left;
}
diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss
index 1cae7b0c6b1..c60aae49eaa 100644
--- a/app/assets/stylesheets/sections/commits.scss
+++ b/app/assets/stylesheets/sections/commits.scss
@@ -1,74 +1,17 @@
-.commit-box {
- @extend .main_box;
-
- .commit-head {
- @extend .top_box_content;
-
- .commit-title {
- line-height: 26px;
- margin: 0;
- }
-
- .commit-description {
- font-size: 14px;
- border: none;
- background-color: white;
- padding-top: 10px;
- }
-
- .browse-button {
- @extend .btn;
- @extend .btn-small;
- float: right;
- }
- }
-
- .commit-info {
- @extend .middle_box_content;
- @extend .clearfix;
-
- .sha-block {
- text-align: right;
- &:first-child {
- padding-bottom: 6px;
- }
-
- a {
- border-bottom: 1px solid #aaa;
- margin-left: 9px;
- }
- }
-
- &.merge-commit .sha-block {
- clear: right;
- }
-
- .committer {
- padding-left: 32px;
- }
-
- .author a,
- .committer a {
- font-size: 14px;
- line-height: 22px;
- text-shadow: 0 1px 1px #fff;
- color: #777;
- &:hover {
- color: #999;
- }
- }
-
- .avatar {
- margin-right: 10px;
- }
- }
-}
-
/**
*
* COMMIT SHOw
*
*/
+.commit-committer-link,
+.commit-author-link {
+ font-size: 13px;
+ color: #555;
+ &:hover {
+ color: #999;
+ }
+}
+
.diff_file {
border: 1px solid #CCC;
margin-bottom: 1em;
@@ -258,13 +201,6 @@
min-width: 65px;
font-family: $monospace;
}
-
- .commit-author-name {
- color: #777;
- &:hover {
- color: #999;
- }
- }
}
.diff_file_header a,
diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss
index 071a9c35468..2d41de25103 100644
--- a/app/assets/stylesheets/sections/events.scss
+++ b/app/assets/stylesheets/sections/events.scss
@@ -47,6 +47,12 @@
.event-info {
color: #666;
}
+ .event-note {
+ padding-top: 5px;
+ padding-left: 5px;
+ display: inline-block;
+ color: #777;
+ }
}
.avatar {
position: relative;
diff --git a/app/assets/stylesheets/sections/header.scss b/app/assets/stylesheets/sections/header.scss
index c1b210be1ab..048a3ffcbb2 100644
--- a/app/assets/stylesheets/sections/header.scss
+++ b/app/assets/stylesheets/sections/header.scss
@@ -33,22 +33,29 @@ header {
*
*/
.app_logo {
- width: 170px;
float: left;
+ margin-right: 15px;
+ position: relative;
+ top: -5px;
+ padding-top: 5px;
+
a {
float: left;
padding: 0px;
+ margin: 0 10px;
h1 {
- width: 90px;
background: url('logo_dark.png') no-repeat 0px 2px;
float: left;
- margin-left: 2px;
- padding-left: 45px;
height: 40px;
+ width: 40px;
@include header-font;
+ text-indent: -9999px;
}
}
+ &:hover {
+ background-color: #EEE;
+ }
}
/**
@@ -60,7 +67,7 @@ header {
position: relative;
float: left;
margin: 0;
- margin-right: 30px;
+ margin-left: 15px;
@include header-font;
}
@@ -233,7 +240,7 @@ header {
.app_logo {
a {
h1 {
- background: url('logo_white.png') no-repeat 0px 2px;
+ background: url('logo_white.png') no-repeat center center;
color: #fff;
text-shadow: 0 1px 1px #111;
}
@@ -244,5 +251,23 @@ header {
text-shadow: 0 1px 1px #111;
}
}
+
+ .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/sections/issues.scss b/app/assets/stylesheets/sections/issues.scss
index fd995728978..351f2404492 100644
--- a/app/assets/stylesheets/sections/issues.scss
+++ b/app/assets/stylesheets/sections/issues.scss
@@ -1,34 +1,6 @@
-.issue_form_box {
- @extend .main_box;
- .issue_title {
- @extend .top_box_content;
- .clearfix {
- margin-bottom: 0px;
- input {
- @extend .span8;
- }
- }
- }
- .issue_middle_block {
- @extend .middle_box_content;
- height: 30px;
- .issue_assignee {
- @extend .span6;
- float: left;
- }
- .issue_milestone {
- @extend .span4;
- float: left;
- }
- }
- .issue_description {
- @extend .bottom_box_content;
- }
-}
-
.issues_table {
.issue {
- padding: 7px 10px;
+ padding: 10px;
.issue_check {
float: left;
@@ -82,38 +54,34 @@ input.check_all_issues {
}
}
-@media (min-width: 800px) { .issues_filters select { width: 160px; } }
-@media (min-width: 1000px) { .issues_filters select { width: 200px; } }
+@media (min-width: 800px) { .issues_filters select { width: 160px; } }
@media (min-width: 1200px) { .issues_filters select { width: 220px; } }
+@media (min-width: 800px) { .issues_bulk_update select { width: 120px; } }
+@media (min-width: 1200px) { .issues_bulk_update select { width: 160px; } }
#issues-table-holder {
.issues_filters {
- form {
- padding: 0;
- margin: 0;
- margin-top:7px
- }
}
.issues_bulk_update {
margin: 0;
form {
- padding: 0;
- margin: 0;
- margin-top:7px
+ float:left;
}
+
.update_selected_issues {
position: relative;
- top:-2px;
+ top:5px;
margin-left: 4px;
float: left;
}
.update_issues_text {
padding: 3px;
- line-height: 18px;
+ line-height: 28px;
float: left;
+ color: #479;
}
}
}
diff --git a/app/assets/stylesheets/sections/merge_requests.scss b/app/assets/stylesheets/sections/merge_requests.scss
index 4808117d02a..5225a242726 100644
--- a/app/assets/stylesheets/sections/merge_requests.scss
+++ b/app/assets/stylesheets/sections/merge_requests.scss
@@ -1,17 +1,3 @@
-/**
- * MR form
- *
- */
-
-.mr_branch_box {
- @extend .ui-box;
- margin-bottom: 20px;
-
- .body {
- background: #f1f1f1;
- }
-
-}
/**
* MR -> show: Automerge widget
@@ -47,6 +33,7 @@
}
label {
color: #444;
+ text-align: left
}
}
@@ -56,7 +43,7 @@
}
}
-.mr_nav_tabs {
+.merge-request .nav-tabs{
li {
a {
font-weight: bold;
@@ -67,7 +54,7 @@
}
li.merge_request {
- padding: 7px 10px;
+ padding: 10px;
img.avatar {
width: 32px;
margin-top: 1px;
@@ -78,7 +65,7 @@ li.merge_request {
}
}
-.merge_in_progress {
+.merge-in-progress {
@extend .padded;
@extend .append-bottom-10;
}
@@ -120,19 +107,3 @@ 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;
- }
- }
-}
diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss
index 465d578f3b7..93ad0d45037 100644
--- a/app/assets/stylesheets/sections/notes.scss
+++ b/app/assets/stylesheets/sections/notes.scss
@@ -294,6 +294,8 @@ ul.notes {
padding: 4px 6px;
}
.note_text {
+ border: 1px solid #DDD;
+ box-shadow: none;
font-size: 14px;
height: 80px;
width: 98.6%;
diff --git a/app/assets/stylesheets/sections/projects.scss b/app/assets/stylesheets/sections/projects.scss
index 717f85024cc..072ade80ad3 100644
--- a/app/assets/stylesheets/sections/projects.scss
+++ b/app/assets/stylesheets/sections/projects.scss
@@ -8,16 +8,12 @@
.groups_box,
.projects_box {
- > h5 {
- color: $style_color;
- font-size: 16px;
- text-shadow: 0 1px 1px #fff;
- padding: 2px 10px;
- line-height: 32px;
- font-size: 14px;
+ > .title {
+ padding: 2px 15px;
}
.nav-projects-tabs li { padding: 0; }
.well-list {
+ li { padding: 15px; }
.arrow {
float: right;
padding: 10px;
@@ -109,7 +105,7 @@ ul.nav.nav-projects-tabs {
li {
a {
- padding: 4px 20px;
+ padding: 6px 25px;
margin-top: 2px;
border-color: #DDD;
background-color: #EEE;
diff --git a/app/assets/stylesheets/themes/ui_basic.scss b/app/assets/stylesheets/themes/ui_basic.scss
index b377727779a..4e34e8b1b6b 100644
--- a/app/assets/stylesheets/themes/ui_basic.scss
+++ b/app/assets/stylesheets/themes/ui_basic.scss
@@ -4,21 +4,8 @@
*
*/
.ui_basic {
- .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
index 8c60fabb3a7..d7a554ff9e5 100644
--- a/app/assets/stylesheets/themes/ui_color.scss
+++ b/app/assets/stylesheets/themes/ui_color.scss
@@ -17,6 +17,15 @@
&.navbar-gitlab {
.navbar-inner {
background: #657;
+ .app_logo {
+ &:hover {
+ background-color: #6A5A7A;
+ }
+ }
+ .separator {
+ background: #546;
+ border-left: 1px solid #706080;
+ }
}
}
}
diff --git a/app/assets/stylesheets/themes/ui_gray.scss b/app/assets/stylesheets/themes/ui_gray.scss
index e80137a69c8..f0547c72157 100644
--- a/app/assets/stylesheets/themes/ui_gray.scss
+++ b/app/assets/stylesheets/themes/ui_gray.scss
@@ -17,6 +17,15 @@
&.navbar-gitlab {
.navbar-inner {
background: #708090;
+ .app_logo {
+ &:hover {
+ background-color: #6A7A8A;
+ }
+ }
+ .separator {
+ background: #607080;
+ border-left: 1px solid #8090A0;
+ }
}
}
}
diff --git a/app/assets/stylesheets/themes/ui_mars.scss b/app/assets/stylesheets/themes/ui_mars.scss
index 9e6433c5f9e..0a78c5c09f5 100644
--- a/app/assets/stylesheets/themes/ui_mars.scss
+++ b/app/assets/stylesheets/themes/ui_mars.scss
@@ -46,21 +46,26 @@
.app_logo {
a {
h1 {
- background: url('logo_white.png') no-repeat 0px 2px;
+ background: url('logo_white.png') no-repeat center center;
color: #eee;
text-shadow: 0 1px 1px #111;
}
}
- .separator {
- display: none;
+ &:hover {
+ background-color: #41464e;
}
-
}
.project_name {
color: #eee;
text-shadow: 0 1px 1px #111;
}
}
+
+ .separator {
+ background: #31363E;
+ border-left: 1px solid #666;
+ }
+
/*
* End of Application Header
*
diff --git a/app/assets/stylesheets/themes/ui_modern.scss b/app/assets/stylesheets/themes/ui_modern.scss
index 32b5ad7d968..a5bf414c443 100644
--- a/app/assets/stylesheets/themes/ui_modern.scss
+++ b/app/assets/stylesheets/themes/ui_modern.scss
@@ -17,6 +17,15 @@
&.navbar-gitlab {
.navbar-inner {
background: #567;
+ .app_logo {
+ &:hover {
+ background-color: #516171;
+ }
+ }
+ .separator {
+ background: #456;
+ border-left: 1px solid #678;
+ }
}
}
}
diff --git a/app/contexts/commit_load_context.rb b/app/contexts/commit_load_context.rb
index e43e5a07805..1f23f633af3 100644
--- a/app/contexts/commit_load_context.rb
+++ b/app/contexts/commit_load_context.rb
@@ -9,16 +9,16 @@ class CommitLoadContext < BaseContext
status: :ok
}
- commit = project.commit(params[:id])
+ commit = project.repository.commit(params[:id])
if commit
commit = CommitDecorator.decorate(commit)
- line_notes = project.commit_line_notes(commit)
+ line_notes = project.notes.for_commit_id(commit.id).inline
result[:commit] = commit
result[:note] = project.build_commit_note(commit)
result[:line_notes] = line_notes
- result[:notes_count] = line_notes.count + project.commit_notes(commit).count
+ result[:notes_count] = project.notes.for_commit_id(commit.id).count
begin
result[:suppress_diff] = true if commit.diffs.size > Commit::DIFF_SAFE_SIZE && !params[:force_show_diff]
diff --git a/app/contexts/filter_context.rb b/app/contexts/filter_context.rb
new file mode 100644
index 00000000000..401d19b31c8
--- /dev/null
+++ b/app/contexts/filter_context.rb
@@ -0,0 +1,31 @@
+class FilterContext
+ attr_accessor :items, :params
+
+ def initialize(items, params)
+ @items = items
+ @params = params
+ end
+
+ def execute
+ apply_filter(items)
+ end
+
+ def apply_filter items
+ if params[:project_id]
+ items = items.where(project_id: params[:project_id])
+ end
+
+ if params[:search].present?
+ items = items.search(params[:search])
+ end
+
+ case params[:status]
+ when 'closed'
+ items.closed
+ when 'all'
+ items
+ else
+ items.opened
+ end
+ end
+end
diff --git a/app/contexts/issues_list_context.rb b/app/contexts/issues_list_context.rb
index 9bbdfe1db39..0cc73f99535 100644
--- a/app/contexts/issues_list_context.rb
+++ b/app/contexts/issues_list_context.rb
@@ -4,7 +4,7 @@ class IssuesListContext < BaseContext
attr_accessor :issues
def execute
- @issues = case params[:f]
+ @issues = case params[:status]
when issues_filter[:all] then @project.issues
when issues_filter[:closed] then @project.issues.closed
when issues_filter[:to_me] then @project.issues.opened.assigned(current_user)
diff --git a/app/contexts/notes/load_context.rb b/app/contexts/notes/load_context.rb
index 4e2f35040fd..e3875e1d4e2 100644
--- a/app/contexts/notes/load_context.rb
+++ b/app/contexts/notes/load_context.rb
@@ -9,7 +9,7 @@ module Notes
@notes = case target_type
when "commit"
- project.commit_notes(project.commit(target_id)).fresh
+ project.notes.for_commit_id(target_id).not_inline.fresh
when "issue"
project.issues.find(target_id).notes.inc_author.fresh
when "merge_request"
@@ -18,7 +18,7 @@ module Notes
project.snippets.find(target_id).notes.fresh
when "wall"
# this is the only case, where the order is DESC
- project.common_notes.order("created_at DESC, id DESC").limit(50)
+ project.notes.common.inc_author_project.order("created_at DESC, id DESC").limit(50)
end
@notes = if after_id
diff --git a/app/contexts/test_hook_context.rb b/app/contexts/test_hook_context.rb
index cba5d1f87c2..d2d82a52cf5 100644
--- a/app/contexts/test_hook_context.rb
+++ b/app/contexts/test_hook_context.rb
@@ -1,7 +1,7 @@
class TestHookContext < BaseContext
def execute
hook = project.hooks.find(params[:id])
- commits = project.commits(project.default_branch, nil, 3)
+ commits = project.repository.commits(project.default_branch, nil, 3)
data = project.post_receive_data(commits.last.id, commits.first.id, "refs/heads/#{project.default_branch}", current_user)
hook.execute(data)
end
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index 827dd0cf7cd..f97c56b0b31 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -3,10 +3,6 @@ class Admin::DashboardController < AdminController
@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
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb
index a492e66611f..90dbda3eeea 100644
--- a/app/controllers/admin/groups_controller.rb
+++ b/app/controllers/admin/groups_controller.rb
@@ -1,5 +1,5 @@
class Admin::GroupsController < AdminController
- before_filter :group, only: [:edit, :show, :update, :destroy, :project_update]
+ before_filter :group, only: [:edit, :show, :update, :destroy, :project_update, :project_teams_update]
def index
@groups = Group.order('name ASC')
@@ -12,6 +12,8 @@ class Admin::GroupsController < AdminController
@projects = @projects.not_in_group(@group) if @group.projects.present?
@projects = @projects.all
@projects.reject!(&:empty_repo?)
+
+ @users = User.active
end
def new
@@ -65,7 +67,14 @@ class Admin::GroupsController < AdminController
redirect_to :back, notice: 'Group was successfully updated.'
end
+ def project_teams_update
+ @group.add_users_to_project_teams(params[:user_ids], params[:project_access])
+ redirect_to [:admin, @group], notice: 'Users was successfully added.'
+ end
+
def destroy
+ @group.truncate_teams
+
@group.destroy
redirect_to admin_groups_path, notice: 'Group was successfully deleted.'
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb
index 4fea8709b70..d5e6f3cdc0e 100644
--- a/app/controllers/admin/projects_controller.rb
+++ b/app/controllers/admin/projects_controller.rb
@@ -10,6 +10,7 @@ class Admin::ProjectsController < AdminController
end
def show
+ @repository = @project.repository
@users = User.active
@users = @users.not_in_project(@project) if @project.users.present?
@users = @users.all
@@ -19,7 +20,7 @@ class Admin::ProjectsController < AdminController
end
def team_update
- @project.add_users_ids_to_team(params[:user_ids], params[:project_access])
+ @project.team.add_users_ids(params[:user_ids], params[:project_access])
redirect_to [:admin, @project], notice: 'Project was successfully updated.'
end
@@ -35,6 +36,9 @@ class Admin::ProjectsController < AdminController
end
def destroy
+ # Delete team first in order to prevent multiple gitolite calls
+ @project.team.truncate
+
@project.destroy
redirect_to admin_projects_path, notice: 'Project was successfully deleted.'
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb
index 5f259bd7e27..8669f5d1d38 100644
--- a/app/controllers/admin/users_controller.rb
+++ b/app/controllers/admin/users_controller.rb
@@ -3,13 +3,13 @@ class Admin::UsersController < AdminController
@admin_users = User.scoped
@admin_users = @admin_users.filter(params[:filter])
@admin_users = @admin_users.search(params[:name]) if params[:name].present?
- @admin_users = @admin_users.order("name ASC").page(params[:page])
+ @admin_users = @admin_users.alphabetically.page(params[:page])
end
def show
@admin_user = User.find(params[:id])
- @projects = if @admin_user.projects.empty?
+ @projects = if @admin_user.authorized_projects.empty?
Project
else
Project.without_user(@admin_user)
@@ -19,9 +19,9 @@ class Admin::UsersController < AdminController
def team_update
@admin_user = User.find(params[:id])
- UsersProject.user_bulk_import(
- @admin_user,
+ UsersProject.add_users_into_projects(
params[:project_ids],
+ [@admin_user.id],
params[:project_access]
)
@@ -98,7 +98,7 @@ class Admin::UsersController < AdminController
def destroy
@admin_user = User.find(params[:id])
- if @admin_user.my_own_projects.count > 0
+ if @admin_user.personal_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
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 75cd8f15605..3457a1ab1b4 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -76,6 +76,12 @@ class ApplicationController < ActionController::Base
end
end
+ def repository
+ @repository ||= project.repository
+ rescue Grit::NoSuchPathError
+ nil
+ end
+
def add_abilities
abilities << Ability
end
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index 3b8ebdb5ddc..534ae1edd31 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -9,10 +9,10 @@ class CommitsController < ProjectResourceController
before_filter :require_non_empty_project
def show
- @repo = @project.repo
+ @repo = @project.repository
@limit, @offset = (params[:limit] || 40), (params[:offset] || 0)
- @commits = @project.commits(@ref, @path, @limit, @offset)
+ @commits = @repo.commits(@ref, @path, @limit, @offset)
@commits = CommitDecorator.decorate(@commits)
respond_to do |format|
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 1fcadbfefba..c0ec4708e0a 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -20,7 +20,7 @@ class DashboardController < ApplicationController
@projects = @projects.page(params[:page]).per(30)
- @events = Event.in_projects(current_user.project_ids)
+ @events = Event.in_projects(current_user.authorized_projects.pluck(:id))
@events = @event_filter.apply_filter(@events)
@events = @events.limit(20).offset(params[:offset] || 0)
@@ -36,14 +36,14 @@ class DashboardController < ApplicationController
# Get authored or assigned open merge requests
def merge_requests
@merge_requests = current_user.cared_merge_requests
- @merge_requests = dashboard_filter(@merge_requests)
+ @merge_requests = FilterContext.new(@merge_requests, params).execute
@merge_requests = @merge_requests.recent.page(params[:page]).per(20)
end
# Get only assigned issues
def issues
@issues = current_user.assigned_issues
- @issues = dashboard_filter(@issues)
+ @issues = FilterContext.new(@issues, params).execute
@issues = @issues.recent.page(params[:page]).per(20)
@issues = @issues.includes(:author, :project)
@@ -60,25 +60,7 @@ class DashboardController < ApplicationController
end
def event_filter
- @event_filter ||= EventFilter.new(params[:event_filter])
- end
-
- def dashboard_filter items
- if params[:project_id]
- items = items.where(project_id: params[:project_id])
- end
-
- if params[:search].present?
- items = items.search(params[:search])
- end
-
- case params[:status]
- when 'closed'
- items.closed
- when 'all'
- items
- else
- items.opened
- end
+ filters = cookies['event_filter'].split(',') if cookies['event_filter']
+ @event_filter ||= EventFilter.new(filters)
end
end
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index c82edb4c168..c25fc32a62c 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -21,15 +21,16 @@ class GroupsController < ApplicationController
# Get authored or assigned open merge requests
def merge_requests
- @merge_requests = current_user.cared_merge_requests.opened
- @merge_requests = @merge_requests.of_group(@group).recent.page(params[:page]).per(20)
+ @merge_requests = current_user.cared_merge_requests.of_group(@group)
+ @merge_requests = FilterContext.new(@merge_requests, params).execute
+ @merge_requests = @merge_requests.recent.page(params[:page]).per(20)
end
# Get only assigned issues
def issues
- @user = current_user
- @issues = current_user.assigned_issues.opened
- @issues = @issues.of_group(@group).recent.page(params[:page]).per(20)
+ @issues = current_user.assigned_issues.of_group(@group)
+ @issues = FilterContext.new(@issues, params).execute
+ @issues = @issues.recent.page(params[:page]).per(20)
@issues = @issues.includes(:author, :project)
respond_to do |format|
@@ -44,6 +45,7 @@ class GroupsController < ApplicationController
@projects = result[:projects]
@merge_requests = result[:merge_requests]
@issues = result[:issues]
+ @wiki_pages = result[:wiki_pages]
end
def people
@@ -53,9 +55,16 @@ class GroupsController < ApplicationController
if @project
@team_member = @project.users_projects.new
+ else
+ @team_member = UsersProject.new
end
end
+ def team_members
+ @group.add_users_to_project_teams(params[:user_ids], params[:project_access])
+ redirect_to people_group_path(@group), notice: 'Users was successfully added.'
+ end
+
protected
def group
@@ -63,7 +72,7 @@ class GroupsController < ApplicationController
end
def projects
- @projects ||= group.projects.authorized_for(current_user).sorted_by_activity
+ @projects ||= current_user.authorized_projects.where(namespace_id: group.id).sorted_by_activity
end
def project_ids
diff --git a/app/controllers/merge_requests_controller.rb b/app/controllers/merge_requests_controller.rb
index 355f4d79d67..ab6bf595982 100644
--- a/app/controllers/merge_requests_controller.rb
+++ b/app/controllers/merge_requests_controller.rb
@@ -74,6 +74,8 @@ class MergeRequestsController < ProjectResourceController
@merge_request.check_if_can_be_merged
end
render json: {state: @merge_request.human_state}
+ rescue Gitlab::SatelliteNotExistError
+ render json: {state: :no_satellite}
end
def automerge
@@ -88,12 +90,12 @@ class MergeRequestsController < ProjectResourceController
end
def branch_from
- @commit = project.commit(params[:ref])
+ @commit = @repository.commit(params[:ref])
@commit = CommitDecorator.decorate(@commit)
end
def branch_to
- @commit = project.commit(params[:ref])
+ @commit = @repository.commit(params[:ref])
@commit = CommitDecorator.decorate(@commit)
end
diff --git a/app/controllers/project_resource_controller.rb b/app/controllers/project_resource_controller.rb
index 81bc3a91bd1..ea78b3ff7c4 100644
--- a/app/controllers/project_resource_controller.rb
+++ b/app/controllers/project_resource_controller.rb
@@ -1,3 +1,4 @@
class ProjectResourceController < ApplicationController
before_filter :project
+ before_filter :repository
end
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 17b0921ba6c..6f1180eaa6b 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -2,6 +2,7 @@ require Rails.root.join('lib', 'gitlab', 'graph', 'json_builder')
class ProjectsController < ProjectResourceController
skip_before_filter :project, only: [:new, :create]
+ skip_before_filter :repository, only: [:new, :create]
# Authorize
before_filter :authorize_read_project!, except: [:index, :new, :create]
@@ -58,7 +59,7 @@ class ProjectsController < ProjectResourceController
respond_to do |format|
format.html do
- unless @project.empty_repo?
+ if @project.repository && !@project.repository.empty?
@last_push = current_user.recent_push(@project.id)
render :show
else
@@ -102,11 +103,10 @@ class ProjectsController < ProjectResourceController
def destroy
return access_denied! unless can?(current_user, :remove_project, project)
- # Disable the UsersProject update_repository call, otherwise it will be
- # called once for every person removed from the project
- UsersProject.skip_callback(:destroy, :after, :update_repository)
+ # Delete team first in order to prevent multiple gitolite calls
+ project.team.truncate
+
project.destroy
- UsersProject.set_callback(:destroy, :after, :update_repository)
respond_to do |format|
format.html { redirect_to root_path }
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb
index b48d5ec7027..09d9eb51b82 100644
--- a/app/controllers/refs_controller.rb
+++ b/app/controllers/refs_controller.rb
@@ -12,7 +12,7 @@ class RefsController < ProjectResourceController
respond_to do |format|
format.html do
new_path = if params[:destination] == "tree"
- project_tree_path(@project, @ref)
+ project_tree_path(@project, (@ref + "/" + params[:path]))
else
project_commits_path(@project, @ref)
end
@@ -31,7 +31,7 @@ class RefsController < ProjectResourceController
contents = @tree.contents
@logs = contents.map do |content|
file = params[:path] ? File.join(params[:path], content.name) : content.name
- last_commit = @project.commits(@commit.id, file, 1).last
+ last_commit = @repo.commits(@commit.id, file, 1).last
last_commit = CommitDecorator.decorate(last_commit)
{
file_name: content.name,
@@ -45,10 +45,10 @@ class RefsController < ProjectResourceController
def define_tree_vars
params[:path] = nil if params[:path].blank?
- @repo = project.repo
- @commit = project.commit(@ref)
+ @repo = project.repository
+ @commit = @repo.commit(@ref)
@commit = CommitDecorator.decorate(@commit)
- @tree = Tree.new(@commit.tree, project, @ref, params[:path])
+ @tree = Tree.new(@commit.tree, @ref, params[:path])
@tree = TreeDecorator.new(@tree)
@hex_path = Digest::SHA1.hexdigest(params[:path] || "")
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 7678fbff3f1..229cb36949b 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -5,19 +5,19 @@ class RepositoriesController < ProjectResourceController
before_filter :require_non_empty_project
def show
- @activities = @project.commits_with_refs(20)
+ @activities = @repository.commits_with_refs(20)
end
def branches
- @branches = @project.branches
+ @branches = @repository.branches
end
def tags
- @tags = @project.tags
+ @tags = @repository.tags
end
def stats
- @stats = Gitlab::GitStats.new(@project.repo, @project.root_ref)
+ @stats = Gitlab::GitStats.new(@repository.raw, @repository.root_ref)
@graph = @stats.graph
end
@@ -27,7 +27,7 @@ class RepositoriesController < ProjectResourceController
end
- file_path = @project.archive_repo(params[:ref])
+ file_path = @repository.archive_repo(params[:ref])
if file_path
# Send file to user
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 4f45f9ddccb..a23292396a0 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -1,6 +1,6 @@
class SearchController < ApplicationController
def show
- result = SearchContext.new(current_user.project_ids, params).execute
+ result = SearchContext.new(current_user.authorized_projects.map(&:id), params).execute
@projects = result[:projects]
@merge_requests = result[:merge_requests]
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
index 50f7e97af9f..d0df469b967 100644
--- a/app/controllers/services_controller.rb
+++ b/app/controllers/services_controller.rb
@@ -26,7 +26,7 @@ class ServicesController < ProjectResourceController
end
def test
- commits = project.commits(project.default_branch, nil, 3)
+ commits = project.repository.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
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb
index 977524a4db8..26898abfa82 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -16,7 +16,7 @@ class SnippetsController < ProjectResourceController
respond_to :html
def index
- @snippets = @project.snippets.fresh
+ @snippets = @project.snippets.fresh.non_expired
end
def new
diff --git a/app/controllers/team_members_controller.rb b/app/controllers/team_members_controller.rb
index 311af62b8db..8378a8458ff 100644
--- a/app/controllers/team_members_controller.rb
+++ b/app/controllers/team_members_controller.rb
@@ -16,10 +16,9 @@ class TeamMembersController < ProjectResourceController
end
def create
- @project.add_users_ids_to_team(
- params[:user_ids],
- params[:project_access]
- )
+ users = User.where(id: params[:user_ids])
+
+ @project.team << [users, params[:project_access]]
if params[:redirect_to]
redirect_to params[:redirect_to]
@@ -50,7 +49,7 @@ class TeamMembersController < ProjectResourceController
def apply_import
giver = Project.find(params[:source_project_id])
- status = UsersProject.import_team(giver, project)
+ status = @project.team.import(giver)
notice = status ? "Succesfully imported" : "Import failed"
redirect_to project_team_members_path(project), notice: notice
diff --git a/app/controllers/tree_controller.rb b/app/controllers/tree_controller.rb
index 725f48fa014..2151bd7cbbd 100644
--- a/app/controllers/tree_controller.rb
+++ b/app/controllers/tree_controller.rb
@@ -22,7 +22,7 @@ class TreeController < ProjectResourceController
end
def edit
- @last_commit = @project.last_commit_for(@ref, @path).sha
+ @last_commit = @project.repository.last_commit_for(@ref, @path).sha
end
def update
diff --git a/app/decorators/tree_decorator.rb b/app/decorators/tree_decorator.rb
index c12227afb5d..0e760f97dee 100644
--- a/app/decorators/tree_decorator.rb
+++ b/app/decorators/tree_decorator.rb
@@ -6,16 +6,14 @@ class TreeDecorator < ApplicationDecorator
part_path = ""
parts = path.split("\/")
- #parts = parts[0...-1] if is_blob?
-
- yield(h.link_to("..", "#")) if parts.count > max_links
+ yield('..', nil) 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))))
+ yield(part, h.tree_join(ref, part_path))
end
end
end
@@ -26,7 +24,7 @@ class TreeDecorator < ApplicationDecorator
def up_dir_path
file = File.join(path, "..")
- h.project_tree_path(project, h.tree_join(ref, file))
+ h.tree_join(ref, file)
end
def readme
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 52715a265bd..a1eea96be43 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -53,7 +53,7 @@ module ApplicationHelper
def last_commit(project)
if project.repo_exists?
- time_ago_in_words(project.commit.committed_date) + " ago"
+ time_ago_in_words(project.repository.commit.committed_date) + " ago"
else
"Never"
end
@@ -62,9 +62,11 @@ module ApplicationHelper
end
def grouped_options_refs(destination = :tree)
+ repository = @project.repository
+
options = [
- ["Branch", @project.branch_names ],
- [ "Tag", @project.tag_names ]
+ ["Branch", repository.branch_names ],
+ [ "Tag", repository.tag_names ]
]
# If reference is commit id -
@@ -78,7 +80,8 @@ module ApplicationHelper
end
def search_autocomplete_source
- projects = current_user.projects.map{ |p| { label: p.name_with_namespace, url: project_path(p) } }
+ projects = current_user.authorized_projects.map { |p| { label: p.name_with_namespace, url: project_path(p) } }
+ groups = current_user.authorized_groups.map { |group| { label: "<group> #{group.name}", url: group_path(group) } }
default_nav = [
{ label: "My Profile", url: profile_path },
@@ -99,21 +102,21 @@ module ApplicationHelper
]
project_nav = []
- if @project && !@project.new_record?
+ if @project && @project.repository && @project.repository.root_ref
project_nav = [
{ label: "#{@project.name} Issues", url: project_issues_path(@project) },
- { label: "#{@project.name} Commits", url: project_commits_path(@project, @ref || @project.root_ref) },
+ { label: "#{@project.name} Commits", url: project_commits_path(@project, @ref || @project.repository.root_ref) },
{ label: "#{@project.name} Merge Requests", url: project_merge_requests_path(@project) },
{ label: "#{@project.name} Milestones", url: project_milestones_path(@project) },
{ label: "#{@project.name} Snippets", url: project_snippets_path(@project) },
{ label: "#{@project.name} Team", url: project_team_index_path(@project) },
- { label: "#{@project.name} Tree", url: project_tree_path(@project, @ref || @project.root_ref) },
+ { label: "#{@project.name} Tree", url: project_tree_path(@project, @ref || @project.repository.root_ref) },
{ label: "#{@project.name} Wall", url: wall_project_path(@project) },
{ label: "#{@project.name} Wiki", url: project_wikis_path(@project) },
]
end
- [projects, default_nav, project_nav, help_nav].flatten.to_json
+ [groups, projects, default_nav, project_nav, help_nav].flatten.to_json
end
def emoji_autocomplete_source
@@ -139,6 +142,7 @@ module ApplicationHelper
event.last_push_to_non_root? &&
!event.rm_ref? &&
event.project &&
+ event.project.repository &&
event.project.merge_requests_enabled
end
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 2349888ed7a..8fc637a2bf6 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -70,4 +70,12 @@ module CommitsHelper
escape_javascript(render 'commits/commit', commit: commit)
end
end
+
+ def diff_line_content(line)
+ if line.blank?
+ " &nbsp;"
+ else
+ line
+ end
+ end
end
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb
index a2548a23e5e..9b9d2a913e9 100644
--- a/app/helpers/events_helper.rb
+++ b/app/helpers/events_helper.rb
@@ -20,25 +20,8 @@ module EventsHelper
[event.action_name, target].join(" ")
end
- def event_image event
- event_image_path = if event.push?
- "event_push.png"
- elsif event.merged?
- "event_mr_merged.png"
- end
-
- return nil unless event_image_path
-
- content_tag :div, class: 'event_icon' do
- 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
@@ -46,7 +29,7 @@ module EventsHelper
end
content_tag :div, class: "filter_icon #{inactive}" do
- link_to dashboard_path(event_filter: filter), class: 'has_tooltip', 'data-original-title' => tooltip do
+ link_to dashboard_path, class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do
image_tag "event_filter_#{key}.png"
end
end
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
new file mode 100644
index 00000000000..283119bc24c
--- /dev/null
+++ b/app/helpers/groups_helper.rb
@@ -0,0 +1,17 @@
+module GroupsHelper
+ def group_filter_path(entity, options={})
+ exist_opts = {
+ status: params[:status],
+ project_id: params[:project_id],
+ }
+
+ options = exist_opts.merge(options)
+
+ case entity
+ when 'issue' then
+ issues_group_path(@group, options)
+ when 'merge_request'
+ merge_requests_group_path(@group, options)
+ end
+ end
+end
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb
index f48425bd6de..ca0a89c3749 100644
--- a/app/helpers/merge_requests_helper.rb
+++ b/app/helpers/merge_requests_helper.rb
@@ -4,7 +4,7 @@ module MergeRequestsHelper
event.project,
merge_request: {
source_branch: event.branch_name,
- target_branch: event.project.root_ref,
+ target_branch: event.project.repository.root_ref,
title: event.branch_name.titleize
}
)
diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb
index fdf6725cc13..2d25c8f854d 100644
--- a/app/helpers/namespaces_helper.rb
+++ b/app/helpers/namespaces_helper.rb
@@ -1,6 +1,6 @@
module NamespacesHelper
def namespaces_options(selected = :current_user, scope = :default)
- groups = current_user.namespaces.select {|n| n.type == 'Group'}
+ groups = current_user.owned_groups.select {|n| n.type == 'Group'}
users = if scope == :all
Namespace.root
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index 7d68e50b382..706d7a8e4ed 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -1,11 +1,12 @@
class Notify < ActionMailer::Base
- include Resque::Mailer
+
add_template_helper ApplicationHelper
add_template_helper GitlabMarkdownHelper
default_url_options[:host] = Gitlab.config.gitlab.host
default_url_options[:protocol] = Gitlab.config.gitlab.protocol
default_url_options[:port] = Gitlab.config.gitlab.port if Gitlab.config.gitlab_on_non_standard_port?
+ default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root
default from: Gitlab.config.gitlab.email_from
@@ -87,7 +88,7 @@ class Notify < ActionMailer::Base
def note_wall_email(recipient_id, note_id)
@note = Note.find(note_id)
@project = @note.project
- mail(to: recipient(recipient_id), subject: subject)
+ mail(to: recipient(recipient_id), subject: subject("note on wall"))
end
@@ -147,12 +148,15 @@ class Notify < ActionMailer::Base
# >> @project = Project.last
# => #<Project id: 1, name: "Ruby on Rails", path: "ruby_on_rails", ...>
# >> subject('Lorem ipsum')
- # => "GitLab | Lorem ipsum | Ruby on Rails"
+ # => "GitLab | Ruby on Rails | Lorem ipsum "
#
# # Accepts multiple arguments
# >> subject('Lorem ipsum', 'Dolor sit amet')
# => "GitLab | Lorem ipsum | Dolor sit amet"
def subject(*extra)
- "GitLab | " << extra.join(' | ') << (@project ? " | #{@project.name}" : "")
+ subject = "GitLab"
+ subject << (@project ? " | #{@project.name_with_namespace}" : "")
+ subject << " | " + extra.join(' | ') if extra.present?
+ subject
end
end
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 2d80c6720b7..256af1e800b 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -15,35 +15,26 @@ class Ability
def project_abilities(user, project)
rules = []
+ team = project.team
+
# Rules based on role in project
- if project.master_access_for?(user)
+ if team.masters.include?(user)
rules << project_master_rules
- elsif project.dev_access_for?(user)
+ elsif team.developers.include?(user)
rules << project_dev_rules
- elsif project.report_access_for?(user)
+ elsif team.reporters.include?(user)
rules << project_report_rules
- elsif project.guest_access_for?(user)
+ elsif team.guests.include?(user)
rules << project_guest_rules
end
- if project.namespace
- # If user own project namespace
- # (Ex. group owner or account owner)
- if project.namespace.owner == user
- rules << project_admin_rules
- end
- else
- # For compatibility with global projects
- # use projects.owner_id
- if project.owner == user
- rules << project_admin_rules
- end
+ if project.owner == user
+ rules << project_admin_rules
end
-
rules.flatten
end
@@ -107,9 +98,12 @@ class Ability
def group_abilities user, group
rules = []
- rules << [
- :manage_group
- ] if group.owner == user
+ # Only group owner and administrators can manage group
+ if group.owner == user || user.admin?
+ rules << [
+ :manage_group
+ ]
+ end
rules.flatten
end
diff --git a/app/models/commit.rb b/app/models/commit.rb
index f11b7fe0202..17d41f27f34 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -11,7 +11,7 @@ class Commit
attr_accessor :commit, :head, :refs
delegate :message, :authored_date, :committed_date, :parents, :sha,
- :date, :committer, :author, :message, :diffs, :tree, :id,
+ :date, :committer, :author, :diffs, :tree, :id, :stats,
:to_patch, to: :commit
class << self
@@ -83,8 +83,8 @@ class Commit
return result unless from && to
- first = project.commit(to.try(:strip))
- last = project.commit(from.try(:strip))
+ first = project.repository.commit(to.try(:strip))
+ last = project.repository.commit(from.try(:strip))
if first && last
result[:same] = (first.id == last.id)
@@ -98,6 +98,8 @@ class Commit
end
def initialize(raw_commit, head = nil)
+ raise "Nil as raw commit passed" unless raw_commit
+
@commit = raw_commit
@head = head
end
@@ -136,17 +138,17 @@ class Commit
end
def prev_commit
- parents.try :first
+ @prev_commit ||= if parents.present?
+ Commit.new(parents.first)
+ else
+ nil
+ end
end
def prev_commit_id
prev_commit.try :id
end
- def parents_count
- parents && parents.count || 0
- end
-
# Shows the diff between the commit's parent and the commit.
#
# Cuts out the header and stats from #to_patch and returns only the diff.
diff --git a/app/roles/issue_commonality.rb b/app/models/concerns/issuable.rb
index 79831cdca67..d1717d3bbee 100644
--- a/app/roles/issue_commonality.rb
+++ b/app/models/concerns/issuable.rb
@@ -1,5 +1,10 @@
+# == Issuable concern
+#
# Contains common functionality shared between Issues and MergeRequests
-module IssueCommonality
+#
+# Used by Issue, MergeRequest
+#
+module Issuable
extend ActiveSupport::Concern
included do
@@ -64,4 +69,38 @@ module IssueCommonality
closed_changed? && !closed
end
+ #
+ # Votes
+ #
+
+ # Return the number of -1 comments (downvotes)
+ def downvotes
+ notes.select(&:downvote?).size
+ end
+
+ def downvotes_in_percent
+ if votes_count.zero?
+ 0
+ else
+ 100.0 - upvotes_in_percent
+ end
+ end
+
+ # Return the number of +1 comments (upvotes)
+ def upvotes
+ notes.select(&:upvote?).size
+ end
+
+ def upvotes_in_percent
+ if votes_count.zero?
+ 0
+ else
+ 100.0 / votes_count * upvotes
+ end
+ end
+
+ # Return the total number of votes
+ def votes_count
+ upvotes + downvotes
+ end
end
diff --git a/app/models/event.rb b/app/models/event.rb
index 90376e73753..d0ba61544d1 100644
--- a/app/models/event.rb
+++ b/app/models/event.rb
@@ -15,9 +15,6 @@
#
class Event < ActiveRecord::Base
- include NoteEvent
- include PushEvent
-
attr_accessible :project, :action, :data, :author_id, :project_id,
:target_id, :target_type
@@ -113,26 +110,6 @@ class Event < ActiveRecord::Base
target_type == "MergeRequest"
end
- def new_issue?
- target_type == "Issue" &&
- action == Created
- end
-
- def new_merge_request?
- target_type == "MergeRequest" &&
- action == Created
- end
-
- def changed_merge_request?
- target_type == "MergeRequest" &&
- [Closed, Reopened].include?(action)
- end
-
- def changed_issue?
- target_type == "Issue" &&
- [Closed, Reopened].include?(action)
- end
-
def joined?
action == Joined
end
@@ -170,4 +147,143 @@ class Event < ActiveRecord::Base
"opened"
end
end
+
+ def valid_push?
+ data[:ref]
+ rescue => ex
+ false
+ end
+
+ def tag?
+ data[:ref]["refs/tags"]
+ end
+
+ def branch?
+ data[:ref]["refs/heads"]
+ end
+
+ def new_branch?
+ commit_from =~ /^00000/
+ end
+
+ def new_ref?
+ commit_from =~ /^00000/
+ end
+
+ def rm_ref?
+ commit_to =~ /^00000/
+ end
+
+ def md_ref?
+ !(rm_ref? || new_ref?)
+ end
+
+ def commit_from
+ data[:before]
+ end
+
+ def commit_to
+ data[:after]
+ end
+
+ def ref_name
+ if tag?
+ tag_name
+ else
+ branch_name
+ end
+ end
+
+ def branch_name
+ @branch_name ||= data[:ref].gsub("refs/heads/", "")
+ end
+
+ def tag_name
+ @tag_name ||= data[:ref].gsub("refs/tags/", "")
+ end
+
+ # Max 20 commits from push DESC
+ def commits
+ @commits ||= data[:commits].map { |commit| repository.commit(commit[:id]) }.reverse
+ end
+
+ def commits_count
+ data[:total_commits_count] || commits.count || 0
+ end
+
+ def ref_type
+ tag? ? "tag" : "branch"
+ end
+
+ def push_action_name
+ if new_ref?
+ "pushed new"
+ elsif rm_ref?
+ "deleted"
+ else
+ "pushed to"
+ end
+ end
+
+ def repository
+ project.repository
+ end
+
+ def parent_commit
+ repository.commit(commit_from)
+ rescue => ex
+ nil
+ end
+
+ def last_commit
+ repository.commit(commit_to)
+ rescue => ex
+ nil
+ end
+
+ def push_with_commits?
+ md_ref? && commits.any? && parent_commit && last_commit
+ rescue Grit::NoSuchPathError
+ false
+ end
+
+ def last_push_to_non_root?
+ branch? && project.default_branch != branch_name
+ end
+
+ def note_commit_id
+ target.commit_id
+ end
+
+ def note_short_commit_id
+ note_commit_id[0..8]
+ end
+
+ def note_commit?
+ target.noteable_type == "Commit"
+ end
+
+ def note_target
+ target.noteable
+ end
+
+ def note_target_id
+ if note_commit?
+ target.commit_id
+ else
+ target.noteable_id.to_s
+ end
+ end
+
+ def wall_note?
+ target.noteable_type.blank?
+ end
+
+ def note_target_type
+ if target.noteable_type.present?
+ target.noteable_type.titleize
+ else
+ "Wall"
+ end.downcase
+ end
end
diff --git a/app/models/gitlab_ci_service.rb b/app/models/gitlab_ci_service.rb
index a2f5634a86f..4eb39c7ef4d 100644
--- a/app/models/gitlab_ci_service.rb
+++ b/app/models/gitlab_ci_service.rb
@@ -23,20 +23,12 @@ class GitlabCiService < Service
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
-
def commit_status_path sha
project_url + "/builds/#{sha}/status.json?token=#{token}"
end
diff --git a/app/models/group.rb b/app/models/group.rb
index b668f5560ab..8ba92980a9b 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -12,6 +12,14 @@
#
class Group < Namespace
+ def add_users_to_project_teams(user_ids, project_access)
+ UsersProject.add_users_into_projects(
+ projects.map(&:id),
+ user_ids,
+ project_access
+ )
+ end
+
def users
users = User.joins(:users_projects).where(users_projects: {project_id: project_ids})
users = users << owner
@@ -21,4 +29,8 @@ class Group < Namespace
def human_name
name
end
+
+ def truncate_teams
+ UsersProject.truncate_teams(project_ids)
+ end
end
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 1de9d0f9ebc..7381136c979 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -17,8 +17,7 @@
#
class Issue < ActiveRecord::Base
- include IssueCommonality
- include Votes
+ include Issuable
attr_accessible :title, :assignee_id, :closed, :position, :description,
:milestone_id, :label_list, :author_id_of_changes
diff --git a/app/models/key.rb b/app/models/key.rb
index 5dac1c1c9fd..2bf50f56565 100644
--- a/app/models/key.rb
+++ b/app/models/key.rb
@@ -73,7 +73,7 @@ class Key < ActiveRecord::Base
if is_deploy_key
[project]
else
- user.projects
+ user.authorized_projects
end
end
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb
index 052e0850d96..b6ea85f6507 100644
--- a/app/models/merge_request.rb
+++ b/app/models/merge_request.rb
@@ -20,11 +20,10 @@
#
require Rails.root.join("app/models/commit")
-require Rails.root.join("app/roles/static_model")
+require Rails.root.join("lib/static_model")
class MergeRequest < ActiveRecord::Base
- include IssueCommonality
- include Votes
+ include Issuable
attr_accessible :title, :assignee_id, :closed, :target_branch, :source_branch, :milestone_id,
:author_id_of_changes
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index 4fac9bec259..8b4c895dc17 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -29,7 +29,7 @@ class Milestone < ActiveRecord::Base
def expired?
if due_date
- due_date < Date.today
+ due_date.past?
else
false
end
@@ -58,7 +58,13 @@ class Milestone < ActiveRecord::Base
end
def expires_at
- "expires at #{due_date.stamp("Aug 21, 2011")}" if due_date
+ if due_date
+ if due_date.past?
+ "expired at #{due_date.stamp("Aug 21, 2011")}"
+ else
+ "expires at #{due_date.stamp("Aug 21, 2011")}"
+ end
+ end
end
def can_be_closed?
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index 8c90f5aee26..89c1f9adb5a 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -27,10 +27,13 @@ class Namespace < ActiveRecord::Base
after_create :ensure_dir_exist
after_update :move_dir
+ after_commit :update_gitolite, on: :update, if: :require_update_gitolite
after_destroy :rm_dir
scope :root, where('type IS NULL')
+ attr_accessor :require_update_gitolite
+
def self.search query
where("name LIKE :query OR path LIKE :query", query: "%#{query}%")
end
@@ -48,8 +51,17 @@ class Namespace < ActiveRecord::Base
end
def ensure_dir_exist
- namespace_dir_path = File.join(Gitlab.config.gitolite.repos_path, path)
- system("mkdir -m 770 #{namespace_dir_path}") unless File.exists?(namespace_dir_path)
+ unless dir_exists?
+ FileUtils.mkdir( namespace_full_path, mode: 0770 )
+ end
+ end
+
+ def dir_exists?
+ File.exists?(namespace_full_path)
+ end
+
+ def namespace_full_path
+ @namespace_full_path ||= File.join(Gitlab.config.gitolite.repos_path, path)
end
def move_dir
@@ -59,16 +71,25 @@ class Namespace < ActiveRecord::Base
if File.exists?(new_path)
raise "Already exists"
end
-
- if system("mv #{old_path} #{new_path}")
+
+ begin
+ FileUtils.mv( old_path, new_path )
send_update_instructions
+ @require_update_gitolite = true
+ rescue Exception => e
+ raise "Namespace move error #{old_path} #{new_path}"
end
end
end
+ def update_gitolite
+ @require_update_gitolite = false
+ projects.each(&:update_repository)
+ end
+
def rm_dir
dir_path = File.join(Gitlab.config.gitolite.repos_path, path)
- system("rm -rf #{dir_path}")
+ FileUtils.rm_r( dir_path, force: true )
end
def send_update_instructions
diff --git a/app/models/note.rb b/app/models/note.rb
index b62b3fe61d5..3ad03cc601b 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -4,7 +4,6 @@
#
# id :integer not null, primary key
# note :text
-# noteable_id :string(255)
# noteable_type :string(255)
# author_id :integer
# created_at :datetime not null
@@ -12,6 +11,8 @@
# project_id :integer
# attachment :string(255)
# line_code :string(255)
+# commit_id :string(255)
+# noteable_id :integer
#
require 'carrierwave/orm/activerecord'
@@ -41,11 +42,11 @@ class Note < ActiveRecord::Base
mount_uploader :attachment, AttachmentUploader
# Scopes
- scope :for_commits, ->{ where(noteable_type: "Commit") }
- scope :common, ->{ where(noteable_id: nil, commit_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 :for_commit_id, ->(commit_id) { where(noteable_type: "Commit", commit_id: commit_id) }
+ scope :inline, where("line_code IS NOT NULL")
+ scope :not_inline, where("line_code IS NULL")
+
+ scope :common, ->{ where(noteable_type: ["", nil]) }
scope :fresh, ->{ order("created_at ASC, id ASC") }
scope :inc_author_project, ->{ includes(:project, :author) }
scope :inc_author, ->{ includes(:author) }
@@ -126,7 +127,7 @@ class Note < ActiveRecord::Base
# override to return commits, which are not active record
def noteable
if for_commit?
- project.commit(commit_id)
+ project.repository.commit(commit_id)
else
super
end
diff --git a/app/models/project.rb b/app/models/project.rb
index 251f497548e..32b951349a9 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -9,7 +9,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# private_flag :boolean default(TRUE), not null
-# owner_id :integer
+# creator_id :integer
# default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
@@ -21,18 +21,14 @@
require "grit"
class Project < ActiveRecord::Base
- include Repository
- include PushObserver
- include Authority
- include Team
- include NamespacedProject
+ include Gitolited
class TransferError < StandardError; end
attr_accessible :name, :path, :description, :default_branch, :issues_enabled,
:wall_enabled, :merge_requests_enabled, :wiki_enabled, as: [:default, :admin]
- attr_accessible :namespace_id, :owner_id, as: :admin
+ attr_accessible :namespace_id, :creator_id, as: :admin
attr_accessor :error_code
@@ -40,10 +36,10 @@ class Project < ActiveRecord::Base
belongs_to :group, foreign_key: "namespace_id", conditions: "type = 'Group'"
belongs_to :namespace
- # TODO: replace owner with creator.
- # With namespaces a project owner will be a namespace owner
- # so this field makes sense only for global projects
- belongs_to :owner, class_name: "User"
+ belongs_to :creator,
+ class_name: "User",
+ foreign_key: "creator_id"
+
has_many :users, through: :users_projects
has_many :events, dependent: :destroy
has_many :merge_requests, dependent: :destroy
@@ -62,9 +58,11 @@ class Project < ActiveRecord::Base
delegate :name, to: :owner, allow_nil: true, prefix: true
# Validations
- validates :owner, presence: true
+ validates :creator, presence: true
validates :description, length: { within: 0..2000 }
- validates :name, presence: true, length: { within: 0..255 }
+ validates :name, presence: true, length: { within: 0..255 },
+ format: { with: Gitlab::Regex.project_name_regex,
+ message: "only letters, digits, spaces & '_' '-' '.' allowed. Letter should be first" }
validates :path, presence: true, length: { within: 0..255 },
format: { with: Gitlab::Regex.path_regex,
message: "only letters, digits & '_' '-' '.' allowed. Letter should be first" }
@@ -77,19 +75,14 @@ class Project < ActiveRecord::Base
validate :check_limit, :repo_name
# Scopes
- scope :public_only, where(private_flag: false)
- scope :without_user, ->(user) { where("id NOT IN (:ids)", ids: user.projects.map(&:id) ) }
+ scope :without_user, ->(user) { where("id NOT IN (:ids)", ids: user.authorized_projects.map(&:id) ) }
scope :not_in_group, ->(group) { where("id NOT IN (:ids)", ids: group.project_ids ) }
+ scope :in_namespace, ->(namespace) { where(namespace_id: namespace.id) }
scope :sorted_by_activity, ->() { order("(SELECT max(events.created_at) FROM events WHERE events.project_id = projects.id) DESC") }
scope :personal, ->(user) { where(namespace_id: user.namespace_id) }
scope :joined, ->(user) { where("namespace_id != ?", user.namespace_id) }
class << self
- def authorized_for user
- projects = includes(:users_projects, :namespace)
- projects = projects.where("users_projects.user_id = :user_id or projects.owner_id = :user_id or namespaces.owner_id = :user_id", user_id: user.id)
- end
-
def active
joins(:issues, :notes, :merge_requests).order("issues.created_at, notes.created_at, merge_requests.created_at DESC")
end
@@ -101,8 +94,10 @@ class Project < ActiveRecord::Base
def find_with_namespace(id)
if id.include?("/")
id = id.split("/")
- namespace_id = Namespace.find_by_path(id.first).id
- where(namespace_id: namespace_id).find_by_path(id.last)
+ namespace = Namespace.find_by_path(id.first)
+ return nil unless namespace
+
+ where(namespace_id: namespace.id).find_by_path(id.second)
else
where(path: id, namespace_id: nil).last
end
@@ -122,7 +117,7 @@ class Project < ActiveRecord::Base
#
project.path = project.name.dup.parameterize
- project.owner = user
+ project.creator = user
# Apply namespace if user has access to it
# else fallback to user namespace
@@ -162,6 +157,20 @@ class Project < ActiveRecord::Base
end
end
+ def team
+ @team ||= Team.new(self)
+ end
+
+ def repository
+ if path
+ @repository ||= Repository.new(path_with_namespace, default_branch)
+ else
+ nil
+ end
+ rescue Grit::NoSuchPathError
+ nil
+ end
+
def git_error?
error_code == :gitolite
end
@@ -171,8 +180,8 @@ class Project < ActiveRecord::Base
end
def check_limit
- unless owner.can_create_project?
- errors[:base] << ("Your own projects limit is #{owner.projects_limit}! Please contact administrator to increase it")
+ unless creator.can_create_project?
+ errors[:base] << ("Your own projects limit is #{creator.projects_limit}! Please contact administrator to increase it")
end
rescue
errors[:base] << ("Can't check your ability to create project")
@@ -198,30 +207,10 @@ class Project < ActiveRecord::Base
[Gitlab.config.gitlab.url, path_with_namespace].join("/")
end
- def common_notes
- notes.where(noteable_type: ["", nil]).inc_author_project
- end
-
def build_commit_note(commit)
notes.new(commit_id: commit.id, noteable_type: "Commit")
end
- def commit_notes(commit)
- notes.where(commit_id: commit.id, noteable_type: "Commit").where('line_code IS NULL OR line_code = ""')
- end
-
- def commit_line_notes(commit)
- notes.where(commit_id: commit.id, noteable_type: "Commit").where("line_code IS NOT NULL")
- end
-
- def public?
- !private_flag
- end
-
- def private?
- private_flag
- end
-
def last_activity
last_event
end
@@ -262,7 +251,282 @@ class Project < ActiveRecord::Base
def send_move_instructions
self.users_projects.each do |member|
- Notify.project_was_moved_email(member.id).deliver
+ Notify.delay.project_was_moved_email(member.id)
+ end
+ end
+
+ def owner
+ if namespace
+ namespace_owner
+ else
+ creator
+ end
+ end
+
+ def team_member_by_name_or_email(name = nil, email = nil)
+ user = users.where("name like ? or email like ?", name, email).first
+ users_projects.where(user: user) if user
+ end
+
+ # Get Team Member record by user id
+ def team_member_by_id(user_id)
+ users_projects.find_by_user_id(user_id)
+ end
+
+ def transfer(new_namespace)
+ Project.transaction do
+ old_namespace = namespace
+ self.namespace = new_namespace
+
+ old_dir = old_namespace.try(:path) || ''
+ new_dir = new_namespace.try(:path) || ''
+
+ old_repo = if old_dir.present?
+ File.join(old_dir, self.path)
+ else
+ self.path
+ end
+
+ if Project.where(path: self.path, namespace_id: new_namespace.try(:id)).present?
+ raise TransferError.new("Project with same path in target namespace already exists")
+ end
+
+ Gitlab::ProjectMover.new(self, old_dir, new_dir).execute
+
+ gitolite.move_repository(old_repo, self)
+
+ save!
+ end
+ rescue Gitlab::ProjectMover::ProjectMoveError => ex
+ raise Project::TransferError.new(ex.message)
+ end
+
+ def name_with_namespace
+ @name_with_namespace ||= begin
+ if namespace
+ namespace.human_name + " / " + name
+ else
+ name
+ end
+ end
+ end
+
+ def namespace_owner
+ namespace.try(:owner)
+ end
+
+ def path_with_namespace
+ if namespace
+ namespace.path + '/' + path
+ else
+ path
+ end
+ 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)
+ data = post_receive_data(oldrev, newrev, ref, user)
+
+ # Create push event
+ self.observe_push(data)
+
+ if push_to_branch? ref, oldrev
+ # Close merged MR
+ self.update_merge_requests(oldrev, newrev, ref, user)
+
+ # Execute web hooks
+ self.execute_hooks(data.dup)
+
+ # Execute project services
+ self.execute_services(data.dup)
+ end
+
+ # 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 repository && default_branch.nil?
+ update_attributes(default_branch: self.repository.discover_default_branch)
+ end
+ end
+
+ def push_to_branch? ref, oldrev
+ ref_parts = ref.split('/')
+
+ # Return if this is not a push to a branch (e.g. new commits)
+ !(ref_parts[1] !~ /heads/ || oldrev == "00000000000000000000000000000000")
+ end
+
+ 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 = repository.commits_between(oldrev, newrev)
+
+ # Total commits count
+ push_commits_count = push_commits.size
+
+ # Get latest 20 commits ASC
+ push_commits_limited = push_commits.last(20)
+
+ # Hash to be passed as post_receive_data
+ data = {
+ before: oldrev,
+ after: newrev,
+ ref: ref,
+ user_id: user.id,
+ user_name: user.name,
+ repository: {
+ name: name,
+ url: url_to_repo,
+ description: description,
+ homepage: web_url,
+ },
+ commits: [],
+ total_commits_count: push_commits_count
+ }
+
+ # For perfomance purposes maximum 20 latest commits
+ # will be passed as post receive hook data.
+ #
+ push_commits_limited.each do |commit|
+ data[:commits] << {
+ id: commit.id,
+ message: commit.safe_message,
+ timestamp: commit.date.xmlschema,
+ url: "#{Gitlab.config.gitlab.url}/#{path_with_namespace}/commit/#{commit.id}",
+ author: {
+ name: commit.author_name,
+ email: commit.author_email
+ }
+ }
end
+
+ data
+ end
+
+ def update_merge_requests(oldrev, newrev, ref, user)
+ return true unless ref =~ /heads/
+ branch_name = ref.gsub("refs/heads/", "")
+ c_ids = self.repository.commits_between(oldrev, newrev).map(&:id)
+
+ # 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 }
+
+ # 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) }
+
+ true
+ end
+
+ def valid_repo?
+ repo
+ rescue
+ errors.add(:path, "Invalid repository path")
+ false
+ end
+
+ def empty_repo?
+ !repository || repository.empty?
+ end
+
+ def satellite
+ @satellite ||= Gitlab::Satellite::Satellite.new(self)
+ end
+
+ def repo
+ repository.raw
+ end
+
+ def url_to_repo
+ gitolite.url_to_repo(path_with_namespace)
+ end
+
+ def namespace_dir
+ namespace.try(:path) || ''
+ end
+
+ def update_repository
+ gitolite.update_repository(self)
+ end
+
+ def destroy_repository
+ gitolite.remove_repository(self)
+ end
+
+ def repo_exists?
+ @repo_exists ||= (repository && repository.branches.present?)
+ rescue
+ @repo_exists = false
+ end
+
+ def open_branches
+ if protected_branches.empty?
+ self.repo.heads
+ else
+ pnames = protected_branches.map(&:name)
+ self.repo.heads.reject { |h| pnames.include?(h.name) }
+ end.sort_by(&:name)
+ end
+
+ def root_ref?(branch)
+ repository.root_ref == branch
+ end
+
+ def ssh_url_to_repo
+ url_to_repo
+ end
+
+ def http_url_to_repo
+ http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
+ end
+
+ # Check if current branch name is marked as protected in the system
+ def protected_branch? branch_name
+ protected_branches.map(&:name).include?(branch_name)
end
end
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index c54aa3ce9a2..3308caf360a 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -10,7 +10,7 @@
#
class ProtectedBranch < ActiveRecord::Base
- include GitHost
+ include Gitolited
attr_accessible :name
@@ -22,10 +22,10 @@ class ProtectedBranch < ActiveRecord::Base
after_destroy :update_repository
def update_repository
- git_host.update_repository(project)
+ gitolite.update_repository(project)
end
def commit
- project.commit(self.name)
+ project.repository.commit(self.name)
end
end
diff --git a/app/roles/repository.rb b/app/models/repository.rb
index 78190ca96d0..cf8ba4530a1 100644
--- a/app/roles/repository.rb
+++ b/app/models/repository.rb
@@ -1,15 +1,35 @@
-module Repository
- include GitHost
+class Repository
+ # Repository directory name with namespace direcotry
+ # Examples:
+ # gitlab/gitolite
+ # diaspora
+ #
+ attr_accessor :path_with_namespace
+
+ # Grit repo object
+ attr_accessor :repo
+
+ # Default branch in the repository
+ attr_accessor :root_ref
+
+ def initialize(path_with_namespace, root_ref = 'master')
+ @root_ref = root_ref || "master"
+ @path_with_namespace = path_with_namespace
- def valid_repo?
+ # Init grit repo object
+ repo
+ end
+
+ def raw
repo
- rescue
- errors.add(:path, "Invalid repository path")
- false
end
- def empty_repo?
- !repo_exists? || !has_commits?
+ def path_to_repo
+ @path_to_repo ||= File.join(Gitlab.config.gitolite.repos_path, "#{path_with_namespace}.git")
+ end
+
+ def repo
+ @repo ||= Grit::Repo.new(path_to_repo)
end
def commit(commit_id = nil)
@@ -40,10 +60,6 @@ module Repository
Commit.commits_between(repo, from, to)
end
- def satellite
- @satellite ||= Gitlab::Satellite::Satellite.new(self)
- end
-
def has_post_receive_file?
!!hook_file
end
@@ -88,36 +104,6 @@ module Repository
[branch_names + tag_names].flatten
end
- def repo
- @repo ||= Grit::Repo.new(path_to_repo)
- end
-
- def url_to_repo
- git_host.url_to_repo(path_with_namespace)
- end
-
- def path_to_repo
- File.join(Gitlab.config.gitolite.repos_path, "#{path_with_namespace}.git")
- end
-
- def namespace_dir
- namespace.try(:path) || ''
- end
-
- def update_repository
- git_host.update_repository(self)
- end
-
- def destroy_repository
- git_host.remove_repository(self)
- end
-
- def repo_exists?
- @repo_exists ||= (repo && !repo.branches.empty?)
- rescue
- @repo_exists = false
- end
-
def heads
@heads ||= repo.heads
end
@@ -128,13 +114,14 @@ module Repository
path ? (tree / path) : tree
end
- def open_branches
- if protected_branches.empty?
- self.repo.heads
- else
- pnames = protected_branches.map(&:name)
- self.repo.heads.reject { |h| pnames.include?(h.name) }
- end.sort_by(&:name)
+ def has_commits?
+ !!commit
+ rescue Grit::NoSuchPathError
+ false
+ end
+
+ def empty?
+ !has_commits?
end
# Discovers the default branch based on the repository's available branches
@@ -153,20 +140,6 @@ module Repository
end
end
- def has_commits?
- !!commit
- rescue Grit::NoSuchPathError
- false
- end
-
- def root_ref
- default_branch || "master"
- end
-
- def root_ref?(branch)
- root_ref == branch
- end
-
# Archive Project to .tar.gz
#
# Already packed repo archives stored at
@@ -193,17 +166,4 @@ module Repository
file_path
end
-
- def ssh_url_to_repo
- url_to_repo
- end
-
- def http_url_to_repo
- http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
- end
-
- # Check if current branch name is marked as protected in the system
- def protected_branch? branch_name
- protected_branches.map(&:name).include?(branch_name)
- end
end
diff --git a/app/models/service.rb b/app/models/service.rb
index 17a7a656de5..d3486d29200 100644
--- a/app/models/service.rb
+++ b/app/models/service.rb
@@ -20,4 +20,8 @@ class Service < ActiveRecord::Base
has_one :service_hook
validates :project_id, presence: true
+
+ def activated?
+ active
+ end
end
diff --git a/app/models/system_hook.rb b/app/models/system_hook.rb
index 2ae5b1314e9..5f1bd6477c4 100644
--- a/app/models/system_hook.rb
+++ b/app/models/system_hook.rb
@@ -19,6 +19,6 @@ class SystemHook < WebHook
end
def async_execute(data)
- Resque.enqueue(SystemHookWorker, id, data)
+ Sidekiq::Client.enqueue(SystemHookWorker, id, data)
end
end
diff --git a/app/models/team.rb b/app/models/team.rb
new file mode 100644
index 00000000000..f235d20ebdb
--- /dev/null
+++ b/app/models/team.rb
@@ -0,0 +1,118 @@
+class Team
+ attr_accessor :project
+
+ def initialize(project)
+ @project = project
+ end
+
+ # Shortcut to add users
+ #
+ # Use:
+ # @team << [@user, :master]
+ # @team << [@users, :master]
+ #
+ def << args
+ users = args.first
+
+ if users.respond_to?(:each)
+ add_users(users, args.second)
+ else
+ add_user(users, args.second)
+ end
+ end
+
+ def add_user(user, access)
+ add_users_ids([user.id], access)
+ end
+
+ def add_users(users, access)
+ add_users_ids(users.map(&:id), access)
+ end
+
+ def add_users_ids(user_ids, access)
+ UsersProject.add_users_into_projects(
+ [project.id],
+ user_ids,
+ access
+ )
+ end
+
+ # Remove all users from project team
+ def truncate
+ UsersProject.truncate_team(project)
+ end
+
+ def members
+ project.users_projects
+ end
+
+ def guests
+ members.guests.map(&:user)
+ end
+
+ def reporters
+ members.reporters.map(&:user)
+ end
+
+ def developers
+ members.developers.map(&:user)
+ end
+
+ def masters
+ members.masters.map(&:user)
+ end
+
+ def repository_readers
+ repository_members[UsersProject::REPORTER]
+ end
+
+ def repository_writers
+ repository_members[UsersProject::DEVELOPER]
+ end
+
+ def repository_masters
+ repository_members[UsersProject::MASTER]
+ end
+
+ def repository_members
+ keys = Hash.new {|h,k| h[k] = [] }
+ UsersProject.select("keys.identifier, project_access").
+ joins(user: :keys).where(project_id: project.id).
+ each {|row| keys[row.project_access] << [row.identifier] }
+
+ keys[UsersProject::REPORTER] += project.deploy_keys.pluck(:identifier)
+ keys
+ end
+
+ def import(source_project)
+ target_project = project
+
+ source_team = source_project.users_projects.all
+ target_team = target_project.users_projects.all
+ target_user_ids = target_team.map(&:user_id)
+
+ source_team.reject! do |tm|
+ # Skip if user already present in team
+ target_user_ids.include?(tm.user_id)
+ end
+
+ source_team.map! do |tm|
+ new_tm = tm.dup
+ new_tm.id = nil
+ new_tm.project_id = target_project.id
+ new_tm.skip_git = true
+ new_tm
+ end
+
+ UsersProject.transaction do
+ source_team.each do |tm|
+ tm.save
+ end
+ target_project.update_repository
+ end
+
+ true
+ rescue
+ false
+ end
+end
diff --git a/app/models/tree.rb b/app/models/tree.rb
index c3dfd4c718c..96395a42394 100644
--- a/app/models/tree.rb
+++ b/app/models/tree.rb
@@ -1,12 +1,13 @@
class Tree
include Linguist::BlobHelper
- attr_accessor :path, :tree, :project, :ref
+
+ attr_accessor :path, :tree, :ref
delegate :contents, :basename, :name, :data, :mime_type,
:mode, :size, :text?, :colorize, to: :tree
- def initialize(raw_tree, project, ref = nil, path = nil)
- @project, @ref, @path = project, ref, path
+ def initialize(raw_tree, ref = nil, path = nil)
+ @ref, @path = ref, path
@tree = if path.present?
raw_tree / path
else
diff --git a/app/models/user.rb b/app/models/user.rb
index 1bc070f040d..55d75892fc4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -34,8 +34,6 @@
#
class User < ActiveRecord::Base
- include Account
-
devise :database_authenticatable, :token_authenticatable, :lockable,
:recoverable, :rememberable, :trackable, :validatable, :omniauthable
@@ -51,7 +49,6 @@ class User < ActiveRecord::Base
has_many :groups, class_name: "Group", foreign_key: :owner_id
has_many :keys, dependent: :destroy
- has_many :projects, through: :users_projects
has_many :users_projects, dependent: :destroy
has_many :issues, foreign_key: :author_id, dependent: :destroy
has_many :notes, foreign_key: :author_id, dependent: :destroy
@@ -70,6 +67,8 @@ class User < ActiveRecord::Base
message: "only letters, digits & '_' '-' '.' allowed. Letter should be first" }
+ validate :namespace_uniq, if: ->(user) { user.username_changed? }
+
before_validation :generate_password, on: :create
before_save :ensure_authentication_token
alias_attribute :private_token, :authentication_token
@@ -77,11 +76,14 @@ class User < ActiveRecord::Base
delegate :path, to: :namespace, allow_nil: true, prefix: true
# Scopes
- scope :not_in_project, ->(project) { where("id not in (:ids)", ids: project.users.map(&:id) ) }
scope :admins, where(admin: true)
scope :blocked, where(blocked: true)
scope :active, where(blocked: false)
+ scope :alphabetically, order('name ASC')
+ #
+ # Class methods
+ #
class << self
def filter filter_name
case filter_name
@@ -93,6 +95,14 @@ class User < ActiveRecord::Base
end
end
+ def not_in_project(project)
+ if project.users.present?
+ where("id not in (:ids)", ids: project.users.map(&:id) )
+ else
+ scoped
+ end
+ end
+
def without_projects
where('id NOT IN (SELECT DISTINCT(user_id) FROM users_projects)')
end
@@ -118,9 +128,158 @@ class User < ActiveRecord::Base
end
end
+ #
+ # Instance methods
+ #
def generate_password
if self.force_random_password
self.password = self.password_confirmation = Devise.friendly_token.first(8)
end
end
+
+ def namespace_uniq
+ namespace_name = self.username
+ if Namespace.find_by_path(namespace_name)
+ self.errors.add :username, "already exist"
+ end
+ end
+
+ # Namespaces user has access to
+ def namespaces
+ namespaces = []
+
+ # Add user account namespace
+ namespaces << self.namespace if self.namespace
+
+ # Add groups you can manage
+ namespaces += if admin
+ Group.all
+ else
+ groups.all
+ end
+ namespaces
+ end
+
+ # Groups where user is an owner
+ def owned_groups
+ groups
+ end
+
+ # Groups user has access to
+ def authorized_groups
+ @authorized_groups ||= begin
+ groups = Group.where(id: self.authorized_projects.pluck(:namespace_id)).all
+ groups = groups + self.groups
+ groups.uniq
+ end
+ end
+
+
+ # Projects user has access to
+ def authorized_projects
+ project_ids = users_projects.pluck(:project_id)
+ project_ids = project_ids | owned_projects.pluck(:id)
+ Project.where(id: project_ids)
+ end
+
+ # Projects in user namespace
+ def personal_projects
+ Project.personal(self)
+ end
+
+ # Projects where user is an owner
+ def owned_projects
+ Project.where("(projects.namespace_id IN (:namespaces)) OR
+ (projects.namespace_id IS NULL AND projects.creator_id = :user_id)",
+ namespaces: namespaces.map(&:id), user_id: self.id)
+ end
+
+ # Team membership in personal projects
+ def tm_in_personal_projects
+ UsersProject.where(project_id: personal_projects.map(&:id), user_id: self.id)
+ end
+
+ # Returns a string for use as a Gitolite user identifier
+ #
+ # Note that Gitolite 2.x requires the following pattern for users:
+ #
+ # ^@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$
+ def identifier
+ # Replace non-word chars with underscores, then make sure it starts with
+ # valid chars
+ email.gsub(/\W/, '_').gsub(/\A([\W\_])+/, '')
+ end
+
+ def is_admin?
+ admin
+ end
+
+ def require_ssh_key?
+ keys.count == 0
+ end
+
+ def can_create_project?
+ projects_limit > personal_projects.count
+ end
+
+ def can_create_group?
+ is_admin?
+ end
+
+ def abilities
+ @abilities ||= begin
+ abilities = Six.new
+ abilities << Ability
+ abilities
+ end
+ end
+
+ def can? action, subject
+ abilities.allowed?(self, action, subject)
+ end
+
+ def first_name
+ name.split.first unless name.blank?
+ end
+
+ def cared_merge_requests
+ MergeRequest.where("author_id = :id or assignee_id = :id", id: self.id)
+ end
+
+ # Remove user from all projects and
+ # set blocked attribute to true
+ def block
+ users_projects.find_each do |membership|
+ return false unless membership.destroy
+ end
+
+ self.blocked = true
+ save
+ end
+
+ def projects_limit_percent
+ return 100 if projects_limit.zero?
+ (personal_projects.count.to_f / projects_limit) * 100
+ end
+
+ def recent_push project_id = nil
+ # Get push events not earlier than 2 hours ago
+ events = recent_events.code_push.where("created_at > ?", Time.now - 2.hours)
+ events = events.where(project_id: project_id) if project_id
+
+ # Take only latest one
+ events = events.recent.limit(1).first
+ end
+
+ def projects_sorted_by_activity
+ authorized_projects.sorted_by_activity
+ end
+
+ def several_namespaces?
+ namespaces.size > 1
+ end
+
+ def namespace_id
+ namespace.try :id
+ end
end
diff --git a/app/models/users_project.rb b/app/models/users_project.rb
index 3d76a4df037..79146289836 100644
--- a/app/models/users_project.rb
+++ b/app/models/users_project.rb
@@ -11,7 +11,7 @@
#
class UsersProject < ActiveRecord::Base
- include GitHost
+ include Gitolited
GUEST = 10
REPORTER = 20
@@ -23,87 +23,96 @@ class UsersProject < ActiveRecord::Base
belongs_to :user
belongs_to :project
- after_save :update_repository
- after_destroy :update_repository
+ attr_accessor :skip_git
+
+ after_save :update_repository, unless: :skip_git?
+ after_destroy :update_repository, unless: :skip_git?
validates :user, presence: true
- validates :user_id, uniqueness: { :scope => [:project_id], message: "already exists in project" }
+ validates :user_id, uniqueness: { scope: [:project_id], message: "already exists in project" }
validates :project_access, inclusion: { in: [GUEST, REPORTER, DEVELOPER, MASTER] }, presence: true
validates :project, presence: true
delegate :name, :email, to: :user, prefix: true
+ scope :guests, where(project_access: GUEST)
+ scope :reporters, where(project_access: REPORTER)
+ scope :developers, where(project_access: DEVELOPER)
+ scope :masters, where(project_access: MASTER)
+ scope :in_project, ->(project) { where(project_id: project.id) }
+
class << self
- def import_team(source_project, target_project)
- UsersProject.without_repository_callback do
- UsersProject.transaction do
- team = source_project.users_projects.all
-
- team.each do |tm|
- # Skip if user already present in team
- next if target_project.users.include?(tm.user)
-
- new_tm = tm.dup
- new_tm.id = nil
- new_tm.project_id = target_project.id
- new_tm.save
+
+ # Add users to project teams with passed access option
+ #
+ # access can be an integer representing a access code
+ # or symbol like :master representing role
+ #
+ # Ex.
+ # add_users_into_projects(
+ # project_ids,
+ # user_ids,
+ # UsersProject::MASTER
+ # )
+ #
+ # add_users_into_projects(
+ # project_ids,
+ # user_ids,
+ # :master
+ # )
+ #
+ def add_users_into_projects(project_ids, user_ids, access)
+ project_access = if roles_hash.has_key?(access)
+ roles_hash[access]
+ elsif roles_hash.values.include?(access.to_i)
+ access
+ else
+ raise "Non valid access"
+ end
+
+ UsersProject.transaction do
+ project_ids.each do |project_id|
+ user_ids.each do |user_id|
+ users_project = UsersProject.new(project_access: project_access, user_id: user_id)
+ users_project.project_id = project_id
+ users_project.skip_git = true
+ users_project.save
end
end
+ Gitlab::Gitolite.new.update_repositories(Project.where(id: project_ids))
end
- target_project.update_repository
true
rescue
false
end
- def without_repository_callback
- UsersProject.skip_callback(:destroy, :after, :update_repository)
- yield
- UsersProject.set_callback(:destroy, :after, :update_repository)
- end
-
- def bulk_delete(project, user_ids)
+ def truncate_teams(project_ids)
UsersProject.transaction do
- UsersProject.where(:user_id => user_ids, :project_id => project.id).each do |users_project|
+ users_projects = UsersProject.where(project_id: project_ids)
+ users_projects.each do |users_project|
+ users_project.skip_git = true
users_project.destroy
end
+ Gitlab::Gitolite.new.update_repositories(Project.where(id: project_ids))
end
- end
- def bulk_update(project, user_ids, project_access)
- UsersProject.transaction do
- UsersProject.where(:user_id => user_ids, :project_id => project.id).each do |users_project|
- users_project.project_access = project_access
- users_project.save
- end
- end
+ true
+ rescue
+ false
end
- def bulk_import(project, user_ids, project_access)
- UsersProject.transaction do
- user_ids.each do |user_id|
- users_project = UsersProject.new(
- project_access: project_access,
- user_id: user_id
- )
- users_project.project = project
- users_project.save
- end
- end
+ def truncate_team project
+ truncate_teams [project.id]
end
- def user_bulk_import(user, project_ids, project_access)
- UsersProject.transaction do
- project_ids.each do |project_id|
- users_project = UsersProject.new(
- project_access: project_access,
- )
- users_project.project_id = project_id
- users_project.user_id = user.id
- users_project.save
- end
- end
+ def roles_hash
+ {
+ guest: GUEST,
+ reporter: REPORTER,
+ developer: DEVELOPER,
+ master: MASTER
+ }
end
def access_roles
@@ -116,12 +125,8 @@ class UsersProject < ActiveRecord::Base
end
end
- def role_access
- project_access
- end
-
def update_repository
- git_host.update_repository(project)
+ gitolite.update_repository(project)
end
def project_access_human
@@ -131,4 +136,8 @@ class UsersProject < ActiveRecord::Base
def repo_access_human
self.class.access_roles.invert[self.project_access]
end
+
+ def skip_git?
+ !!@skip_git
+ end
end
diff --git a/app/models/wiki.rb b/app/models/wiki.rb
index 252a97e8cca..4f113957f99 100644
--- a/app/models/wiki.rb
+++ b/app/models/wiki.rb
@@ -50,5 +50,4 @@ class Wiki < ActiveRecord::Base
def set_slug
self.slug = self.title.parameterize
end
-
end
diff --git a/app/observers/issue_observer.rb b/app/observers/issue_observer.rb
index 131336be8b6..262d0f892c4 100644
--- a/app/observers/issue_observer.rb
+++ b/app/observers/issue_observer.rb
@@ -3,7 +3,7 @@ class IssueObserver < ActiveRecord::Observer
def after_create(issue)
if issue.assignee && issue.assignee != current_user
- Notify.new_issue_email(issue.id).deliver
+ Notify.delay.new_issue_email(issue.id)
end
end
@@ -16,7 +16,7 @@ class IssueObserver < ActiveRecord::Observer
if status
Note.create_status_change_note(issue, current_user, status)
[issue.author, issue.assignee].compact.each do |recipient|
- Notify.issue_status_changed_email(recipient.id, issue.id, status, current_user.id).deliver
+ Notify.delay.issue_status_changed_email(recipient.id, issue.id, status, current_user.id)
end
end
end
@@ -27,7 +27,7 @@ class IssueObserver < ActiveRecord::Observer
recipient_ids = [issue.assignee_id, issue.assignee_id_was].keep_if {|id| id && id != current_user.id }
recipient_ids.each do |recipient_id|
- Notify.reassigned_issue_email(recipient_id, issue.id, issue.assignee_id_was).deliver
+ Notify.delay.reassigned_issue_email(recipient_id, issue.id, issue.assignee_id_was)
end
end
end
diff --git a/app/observers/key_observer.rb b/app/observers/key_observer.rb
index a3f17bdec92..bf5fa647647 100644
--- a/app/observers/key_observer.rb
+++ b/app/observers/key_observer.rb
@@ -1,12 +1,12 @@
class KeyObserver < ActiveRecord::Observer
- include GitHost
+ include Gitolited
def after_save(key)
- git_host.set_key(key.identifier, key.key, key.projects)
+ gitolite.set_key(key.identifier, key.key, key.projects)
end
def after_destroy(key)
return if key.is_deploy_key && !key.last_deploy?
- git_host.remove_key(key.identifier, key.projects)
+ gitolite.remove_key(key.identifier, key.projects)
end
end
diff --git a/app/observers/merge_request_observer.rb b/app/observers/merge_request_observer.rb
index c4040f1542d..6d3c2bdd186 100644
--- a/app/observers/merge_request_observer.rb
+++ b/app/observers/merge_request_observer.rb
@@ -3,7 +3,7 @@ class MergeRequestObserver < ActiveRecord::Observer
def after_create(merge_request)
if merge_request.assignee && merge_request.assignee != current_user
- Notify.new_merge_request_email(merge_request.id).deliver
+ Notify.delay.new_merge_request_email(merge_request.id)
end
end
@@ -25,7 +25,7 @@ class MergeRequestObserver < ActiveRecord::Observer
recipients_ids.delete current_user.id
recipients_ids.each do |recipient_id|
- Notify.reassigned_merge_request_email(recipient_id, merge_request.id, merge_request.assignee_id_was).deliver
+ Notify.delay.reassigned_merge_request_email(recipient_id, merge_request.id, merge_request.assignee_id_was)
end
end
end
diff --git a/app/observers/note_observer.rb b/app/observers/note_observer.rb
index 0a353cf1092..2ec644ef7c1 100644
--- a/app/observers/note_observer.rb
+++ b/app/observers/note_observer.rb
@@ -11,7 +11,7 @@ class NoteObserver < ActiveRecord::Observer
notify_team(note)
elsif note.notify_author
# Notify only author of resource
- Notify.note_commit_email(note.noteable.author_email, note.id).deliver
+ Notify.delay.note_commit_email(note.noteable.author_email, note.id)
else
# Otherwise ignore it
nil
@@ -26,7 +26,7 @@ class NoteObserver < ActiveRecord::Observer
if Notify.respond_to? notify_method
team_without_note_author(note).map do |u|
- Notify.send(notify_method, u.id, note.id).deliver
+ Notify.delay.send(notify_method, u.id, note.id)
end
end
end
diff --git a/app/observers/user_observer.rb b/app/observers/user_observer.rb
index 09b3c1d622f..c1179ed7881 100644
--- a/app/observers/user_observer.rb
+++ b/app/observers/user_observer.rb
@@ -2,7 +2,7 @@ class UserObserver < ActiveRecord::Observer
def after_create(user)
log_info("User \"#{user.name}\" (#{user.email}) was created")
- Notify.new_user_email(user.id, user.password).deliver
+ Notify.delay.new_user_email(user.id, user.password)
end
def after_destroy user
@@ -14,7 +14,7 @@ class UserObserver < ActiveRecord::Observer
if user.namespace
user.namespace.update_attributes(path: user.username)
else
- user.create_namespace!(path: user.username, name: user.name)
+ user.create_namespace!(path: user.username, name: user.username)
end
end
end
diff --git a/app/observers/users_project_observer.rb b/app/observers/users_project_observer.rb
index 0c9c2b2614a..b969d6a13ef 100644
--- a/app/observers/users_project_observer.rb
+++ b/app/observers/users_project_observer.rb
@@ -1,7 +1,7 @@
class UsersProjectObserver < ActiveRecord::Observer
def after_commit(users_project)
return if users_project.destroyed?
- Notify.project_access_granted_email(users_project.id).deliver
+ Notify.delay.project_access_granted_email(users_project.id)
end
def after_create(users_project)
diff --git a/app/roles/account.rb b/app/roles/account.rb
deleted file mode 100644
index ede12b6056d..00000000000
--- a/app/roles/account.rb
+++ /dev/null
@@ -1,124 +0,0 @@
-module Account
- # Returns a string for use as a Gitolite user identifier
- #
- # Note that Gitolite 2.x requires the following pattern for users:
- #
- # ^@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$
- def identifier
- # Replace non-word chars with underscores, then make sure it starts with
- # valid chars
- email.gsub(/\W/, '_').gsub(/\A([\W\_])+/, '')
- end
-
- def is_admin?
- admin
- end
-
- def require_ssh_key?
- keys.count == 0
- end
-
- def can_create_project?
- projects_limit > my_own_projects.count
- end
-
- def can_create_group?
- is_admin?
- end
-
- def abilities
- @abilities ||= begin
- abilities = Six.new
- abilities << Ability
- abilities
- end
- end
-
- def can? action, subject
- abilities.allowed?(self, action, subject)
- end
-
- def last_activity_project
- projects.first
- end
-
- def first_name
- name.split.first unless name.blank?
- end
-
- def cared_merge_requests
- MergeRequest.where("author_id = :id or assignee_id = :id", id: self.id)
- end
-
- def project_ids
- projects.map(&:id)
- end
-
- # Remove user from all projects and
- # set blocked attribute to true
- def block
- users_projects.find_each do |membership|
- return false unless membership.destroy
- end
-
- self.blocked = true
- save
- end
-
- def projects_limit_percent
- return 100 if projects_limit.zero?
- (my_own_projects.count.to_f / projects_limit) * 100
- end
-
- def recent_push project_id = nil
- # Get push events not earlier than 2 hours ago
- events = recent_events.code_push.where("created_at > ?", Time.now - 2.hours)
- events = events.where(project_id: project_id) if project_id
-
- # Take only latest one
- events = events.recent.limit(1).first
- end
-
- def projects_sorted_by_activity
- projects.sorted_by_activity
- end
-
- def namespaces
- namespaces = []
-
- # Add user account namespace
- namespaces << self.namespace if self.namespace
-
- # Add groups you can manage
- namespaces += if admin
- Group.all
- else
- groups.all
- end
- namespaces
- end
-
- def several_namespaces?
- namespaces.size > 1
- end
-
- def namespace_id
- namespace.try :id
- end
-
- def authorized_groups
- @authorized_groups ||= begin
- groups = Group.where(id: self.projects.pluck(:namespace_id)).all
- groups = groups + self.groups
- groups.uniq
- end
- end
-
- def authorized_projects
- Project.authorized_for(self)
- end
-
- def my_own_projects
- Project.personal(self)
- end
-end
diff --git a/app/roles/authority.rb b/app/roles/authority.rb
deleted file mode 100644
index e0796d5f120..00000000000
--- a/app/roles/authority.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-module Authority
- # Compatible with all access rights
- # Should be rewrited for new access rights
- def add_access(user, *access)
- access = if access.include?(:admin)
- { project_access: UsersProject::MASTER }
- elsif access.include?(:write)
- { project_access: UsersProject::DEVELOPER }
- else
- { project_access: UsersProject::REPORTER }
- end
- opts = { user: user }
- opts.merge!(access)
- users_projects.create(opts)
- end
-
- def reset_access(user)
- users_projects.where(project_id: self.id, user_id: user.id).destroy if self.id
- end
-
- def repository_readers
- keys = Key.joins({user: :users_projects}).
- where("users_projects.project_id = ? AND users_projects.project_access = ?", id, UsersProject::REPORTER)
- keys.map(&:identifier) + deploy_keys.map(&:identifier)
- end
-
- def repository_writers
- keys = Key.joins({user: :users_projects}).
- where("users_projects.project_id = ? AND users_projects.project_access = ?", id, UsersProject::DEVELOPER)
- keys.map(&:identifier)
- end
-
- def repository_masters
- keys = Key.joins({user: :users_projects}).
- where("users_projects.project_id = ? AND users_projects.project_access = ?", id, UsersProject::MASTER)
- keys.map(&:identifier)
- end
-
- def allow_read_for?(user)
- !users_projects.where(user_id: user.id).empty?
- end
-
- def guest_access_for?(user)
- !users_projects.where(user_id: user.id).empty?
- end
-
- def report_access_for?(user)
- !users_projects.where(user_id: user.id, project_access: [UsersProject::REPORTER, UsersProject::DEVELOPER, UsersProject::MASTER]).empty?
- end
-
- def dev_access_for?(user)
- !users_projects.where(user_id: user.id, project_access: [UsersProject::DEVELOPER, UsersProject::MASTER]).empty?
- end
-
- def master_access_for?(user)
- !users_projects.where(user_id: user.id, project_access: [UsersProject::MASTER]).empty?
- end
-end
diff --git a/app/roles/git_host.rb b/app/roles/git_host.rb
deleted file mode 100644
index aa620f77ea4..00000000000
--- a/app/roles/git_host.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-module GitHost
- def git_host
- Gitlab::Gitolite.new
- end
-end
diff --git a/app/roles/namespaced_project.rb b/app/roles/namespaced_project.rb
deleted file mode 100644
index 8656890a456..00000000000
--- a/app/roles/namespaced_project.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-module NamespacedProject
- def transfer(new_namespace)
- Project.transaction do
- old_namespace = namespace
- self.namespace = new_namespace
-
- old_dir = old_namespace.try(:path) || ''
- new_dir = new_namespace.try(:path) || ''
-
- old_repo = if old_dir.present?
- File.join(old_dir, self.path)
- else
- self.path
- end
-
- if Project.where(path: self.path, namespace_id: new_namespace.try(:id)).present?
- raise TransferError.new("Project with same path in target namespace already exists")
- end
-
- Gitlab::ProjectMover.new(self, old_dir, new_dir).execute
-
- git_host.move_repository(old_repo, self)
-
- save!
- end
- rescue Gitlab::ProjectMover::ProjectMoveError => ex
- raise TransferError.new(ex.message)
- end
-
- def name_with_namespace
- @name_with_namespace ||= begin
- if namespace
- namespace.human_name + " / " + name
- else
- name
- end
- end
- end
-
- def namespace_owner
- namespace.try(:owner)
- end
-
- def chief
- if namespace
- namespace_owner
- else
- owner
- end
- end
-
- def path_with_namespace
- if namespace
- namespace.path + '/' + path
- else
- path
- end
- end
-end
diff --git a/app/roles/note_event.rb b/app/roles/note_event.rb
deleted file mode 100644
index db4ced0c095..00000000000
--- a/app/roles/note_event.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-module NoteEvent
- def note_commit_id
- target.commit_id
- end
-
- def note_short_commit_id
- note_commit_id[0..8]
- end
-
- def note_commit?
- target.noteable_type == "Commit"
- end
-
- def note_target
- target.noteable
- end
-
- def note_target_id
- if note_commit?
- target.commit_id
- else
- target.noteable_id.to_s
- end
- end
-
- def wall_note?
- target.noteable_type.blank?
- end
-
- def note_target_type
- if target.noteable_type.present?
- target.noteable_type.titleize
- else
- "Wall"
- end.downcase
- end
-end
diff --git a/app/roles/push_event.rb b/app/roles/push_event.rb
deleted file mode 100644
index 8ce71b54045..00000000000
--- a/app/roles/push_event.rb
+++ /dev/null
@@ -1,100 +0,0 @@
-module PushEvent
- def valid_push?
- data[:ref]
- rescue => ex
- false
- end
-
- def tag?
- data[:ref]["refs/tags"]
- end
-
- def branch?
- data[:ref]["refs/heads"]
- end
-
- def new_branch?
- commit_from =~ /^00000/
- end
-
- def new_ref?
- commit_from =~ /^00000/
- end
-
- def rm_ref?
- commit_to =~ /^00000/
- end
-
- def md_ref?
- !(rm_ref? || new_ref?)
- end
-
- def commit_from
- data[:before]
- end
-
- def commit_to
- data[:after]
- end
-
- def ref_name
- if tag?
- tag_name
- else
- branch_name
- end
- end
-
- def branch_name
- @branch_name ||= data[:ref].gsub("refs/heads/", "")
- end
-
- def tag_name
- @tag_name ||= data[:ref].gsub("refs/tags/", "")
- end
-
- # Max 20 commits from push DESC
- def commits
- @commits ||= data[:commits].map { |commit| project.commit(commit[:id]) }.reverse
- end
-
- def commits_count
- data[:total_commits_count] || commits.count || 0
- end
-
- def ref_type
- tag? ? "tag" : "branch"
- end
-
- def push_action_name
- if new_ref?
- "pushed new"
- elsif rm_ref?
- "deleted"
- else
- "pushed to"
- end
- end
-
- def parent_commit
- project.commit(commit_from)
- rescue => ex
- nil
- end
-
- def last_commit
- project.commit(commit_to)
- rescue => ex
- nil
- end
-
- def push_with_commits?
- md_ref? && commits.any? && parent_commit && last_commit
- rescue Grit::NoSuchPathError
- false
- end
-
- def last_push_to_non_root?
- branch? && project.default_branch != branch_name
- end
-end
diff --git a/app/roles/push_observer.rb b/app/roles/push_observer.rb
deleted file mode 100644
index dda18267207..00000000000
--- a/app/roles/push_observer.rb
+++ /dev/null
@@ -1,144 +0,0 @@
-# Includes methods for handling Git Push events
-#
-# Triggered by PostReceive job
-module PushObserver
- # 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)
-
- # Create push event
- self.observe_push(data)
-
- if push_to_branch? ref, oldrev
- # Close merged MR
- self.update_merge_requests(oldrev, newrev, ref, user)
-
- # Execute web hooks
- self.execute_hooks(data.dup)
-
- # Execute project services
- self.execute_services(data.dup)
- end
-
- # 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 push_to_branch? ref, oldrev
- ref_parts = ref.split('/')
-
- # Return if this is not a push to a branch (e.g. new commits)
- !(ref_parts[1] !~ /heads/ || oldrev == "00000000000000000000000000000000")
- end
-
- 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)
-
- # Total commits count
- push_commits_count = push_commits.size
-
- # Get latest 20 commits ASC
- push_commits_limited = push_commits.last(20)
-
- # Hash to be passed as post_receive_data
- data = {
- before: oldrev,
- after: newrev,
- ref: ref,
- user_id: user.id,
- user_name: user.name,
- repository: {
- name: name,
- url: web_url,
- description: description,
- homepage: web_url,
- },
- commits: [],
- total_commits_count: push_commits_count
- }
-
- # For perfomance purposes maximum 20 latest commits
- # will be passed as post receive hook data.
- #
- push_commits_limited.each do |commit|
- data[:commits] << {
- id: commit.id,
- message: commit.safe_message,
- timestamp: commit.date.xmlschema,
- url: "#{Gitlab.config.gitlab.url}/#{path_with_namespace}/commit/#{commit.id}",
- author: {
- name: commit.author_name,
- email: commit.author_email
- }
- }
- end
-
- data
- end
-
- 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)
-
- # 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 }
-
- # 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) }
-
- true
- end
-end
diff --git a/app/roles/team.rb b/app/roles/team.rb
deleted file mode 100644
index a7ba0588cf5..00000000000
--- a/app/roles/team.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-module Team
- def team_member_by_name_or_email(name = nil, email = nil)
- user = users.where("name like ? or email like ?", name, email).first
- users_projects.where(user: user) if user
- end
-
- # Get Team Member record by user id
- def team_member_by_id(user_id)
- users_projects.find_by_user_id(user_id)
- end
-
- # Add user to project
- # with passed access role
- def add_user_to_team(user, access_role)
- add_user_id_to_team(user.id, access_role)
- end
-
- # Add multiple users to project
- # with same access role
- def add_users_to_team(users, access_role)
- add_users_ids_to_team(users.map(&:id), access_role)
- end
-
- # Add user to project
- # with passed access role by user id
- def add_user_id_to_team(user_id, access_role)
- users_projects.create(
- user_id: user_id,
- project_access: access_role
- )
- end
-
- # Add multiple users to project
- # with same access role by user ids
- def add_users_ids_to_team(users_ids, access_role)
- UsersProject.bulk_import(self, users_ids, access_role)
- self.update_repository
- end
-
- # Update multiple project users
- # to same access role by user ids
- def update_users_ids_to_role(users_ids, access_role)
- UsersProject.bulk_update(self, users_ids, access_role)
- self.update_repository
- end
-
- # Delete multiple users from project by user ids
- def delete_users_ids_from_team(users_ids)
- UsersProject.bulk_delete(self, users_ids)
- self.update_repository
- end
-end
diff --git a/app/roles/votes.rb b/app/roles/votes.rb
deleted file mode 100644
index 10fa120c6e9..00000000000
--- a/app/roles/votes.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-module Votes
-
- # Return the number of -1 comments (downvotes)
- def downvotes
- notes.select(&:downvote?).size
- end
-
- def downvotes_in_percent
- if votes_count.zero?
- 0
- else
- 100.0 - upvotes_in_percent
- end
- end
-
- # Return the number of +1 comments (upvotes)
- def upvotes
- notes.select(&:upvote?).size
- end
-
- def upvotes_in_percent
- if votes_count.zero?
- 0
- else
- 100.0 / votes_count * upvotes
- end
- end
-
- # Return the total number of votes
- def votes_count
- upvotes + downvotes
- end
-end
diff --git a/app/uploaders/attachment_uploader.rb b/app/uploaders/attachment_uploader.rb
index bb7dc0dab10..391731d9470 100644
--- a/app/uploaders/attachment_uploader.rb
+++ b/app/uploaders/attachment_uploader.rb
@@ -1,49 +1,13 @@
# encoding: utf-8
class AttachmentUploader < CarrierWave::Uploader::Base
-
- # Include RMagick or ImageScience support:
- # include CarrierWave::RMagick
- # include CarrierWave::MiniMagick
- # include CarrierWave::ImageScience
-
- # Choose what kind of storage to use for this uploader:
storage :file
- # storage :fog
- # Override the directory where uploaded files will be stored.
- # This is a sensible default for uploaders that are meant to be mounted:
def store_dir
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
- # Provide a default URL as a default if there hasn't been a file uploaded:
- # def default_url
- # "/images/fallback/" + [version_name, "default.png"].compact.join('_')
- # end
-
- # Process files as they are uploaded:
- # process scale: [200, 300]
- #
- # def scale(width, height)
- # # do something
- # end
-
- # Create different versions of your uploaded files:
- # version :thumb do
- # process scale: [50, 50]
- # end
-
- # Add a white list of extensions which are allowed to be uploaded.
- # For images you might use something like this:
- # def extension_white_list
- # %w(jpg jpeg gif png)
- # end
-
- # Override the filename of the uploaded files:
- # Avoid using model.id or version_name here, see uploader/store.rb for details.
- # def filename
- # "something.jpg" if original_filename
- # end
-
+ def image?
+ %w(png jpg jpeg).include?(file.extension)
+ end
end
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 4320bda4999..2e572aaba79 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -1,47 +1,28 @@
.admin_dash.row
- .span3
+ .span4
.ui-box
- %h5 Projects
+ %h5.title Projects
.data.padded
= link_to admin_projects_path do
%h1= Project.count
%hr
= link_to 'New Project', new_project_path, class: "btn small"
- .span3
+ .span4
.ui-box
- %h5 Groups
+ %h5.title Groups
.data.padded
= link_to admin_groups_path do
%h1= Group.count
%hr
= link_to 'New Group', new_admin_group_path, class: "btn small"
- .span3
+ .span4
.ui-box
- %h5 Users
+ %h5.title Users
.data.padded
= link_to admin_users_path do
%h1= User.count
%hr
= link_to 'New User', new_admin_user_path, class: "btn small"
- .span3
- .ui-box
- %h5
- Resque Workers
- .data.padded
- - 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
.row
.span6
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index 41f6d9b3516..0a25b125905 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -44,25 +44,57 @@
%div
= f.submit 'Change Owner', class: "btn danger"
= link_to "Cancel", "#", class: "btn change-owner-cancel-link"
-%fieldset
- %legend Projects (#{@group.projects.count})
- %table
- %thead
+
+- if @group.projects.any?
+ %fieldset
+ %legend Projects (#{@group.projects.count})
+ %table
+ %thead
+ %tr
+ %th Project name
+ %th Path
+ %th Users
+ %th.cred Danger Zone!
+ - @group.projects.each do |project|
+ %tr
+ %td
+ = link_to project.name_with_namespace, [:admin, project]
+ %td
+ %span.monospace= project.path_with_namespace + ".git"
+ %td= project.users.count
+ %td.bgred
+ = link_to 'Transfer project to global namespace', remove_project_admin_group_path(@group, project_id: project.id), confirm: 'Remove project from group and move to global namespace. Are you sure?', method: :delete, class: "btn danger small"
+
+ = form_tag project_teams_update_admin_group_path(@group), id: "new_team_member", class: "bulk_import", method: :put do
+ %table.zebra-striped
+ %thead
+ %tr
+ %th Users
+ %th Project Access:
+
+ - @group.users.each do |u|
+ %tr{class: "user_#{u.id}"}
+ %td.name= link_to u.name, admin_user_path(u)
+ %td.projects_access
+ - u.authorized_projects.in_namespace(@group).each do |project|
+ - u_p = u.users_projects.in_project(project).first
+ - next unless u_p
+ %span
+ = project.name
+ = link_to "(#{ u_p.project_access_human })", edit_admin_team_member_path(u_p)
%tr
- %th Project name
- %th Path
- %th Users
- %th.cred Danger Zone!
- - @group.projects.each do |project|
+ %td.input= select_tag :user_ids, options_from_collection_for_select(@users , :id, :name), multiple: true, data: {placeholder: 'Select users'}, class: 'chosen span5'
+ %td= select_tag :project_access, options_for_select(Project.access_options), {class: "project-access-select chosen span3"}
+
%tr
+ %td= submit_tag 'Add user to projects in group', class: "btn primary"
%td
- = link_to project.name_with_namespace, [:admin, project]
- %td
- %span.monospace= project.path_with_namespace + ".git"
- %td= project.users.count
- %td.bgred
- = link_to 'Transfer project to global namespace', remove_project_admin_group_path(@group, project_id: project.id), confirm: 'Remove project from group and move to global namespace. Are you sure?', method: :delete, class: "btn danger small"
+ Read more about project permissions
+ %strong= link_to "here", help_permissions_path, class: "vlink"
+- else
+ %fieldset
+ %legend Group is empty
= form_tag project_update_admin_group_path(@group), class: "bulk_import", method: :put do
%fieldset
diff --git a/app/views/admin/projects/_form.html.haml b/app/views/admin/projects/_form.html.haml
index 27c22872d50..36c0c655cae 100644
--- a/app/views/admin/projects/_form.html.haml
+++ b/app/views/admin/projects/_form.html.haml
@@ -11,18 +11,18 @@
.input
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
- %fieldset.adv_settings
- %legend Advanced settings:
- .clearfix
- = f.label :path do
- Path
- .input
- = text_field_tag :ppath, @project.path_to_repo, class: "xlarge", disabled: true
+ - if project.repo_exists?
+ %fieldset.adv_settings
+ %legend Advanced settings:
+ .clearfix
+ = f.label :path do
+ Path
+ .input
+ = text_field_tag :ppath, @project.repository.path_to_repo, class: "xlarge", disabled: true
- - if project.repo_exists?
.clearfix
= f.label :default_branch, "Default Branch"
- .input= f.select(:default_branch, project.heads.map(&:name), {}, style: "width:210px;")
+ .input= f.select(:default_branch, @project.repository.heads.map(&:name), {}, style: "width:210px;")
%fieldset.adv_settings
%legend Features:
diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml
index 310cfa53890..1f5b31eca5f 100644
--- a/app/views/admin/projects/index.html.haml
+++ b/app/views/admin/projects/index.html.haml
@@ -1,5 +1,5 @@
%h3.page_title
- Projects (#{@projects.count})
+ Projects (#{Project.count})
= link_to 'New Project', new_project_path, class: "btn small right"
%br
= form_tag admin_projects_path, method: :get, class: 'form-inline' do
@@ -15,6 +15,7 @@
%i.icon-sort-down
%th Path
%th Team Members
+ %th Owner
%th Last Commit
%th Edit
%th.cred Danger Zone!
@@ -26,6 +27,11 @@
%td
%span.monospace= project.path_with_namespace + ".git"
%td= project.users_projects.count
+ %td
+ - if project.owner
+ = link_to project.owner.name, [:admin, project.owner]
+ - else
+ (deleted)
%td= last_commit(project)
%td= link_to 'Edit', edit_admin_project_path(project), id: "edit_#{dom_id(project)}", class: "btn small"
%td.bgred= link_to 'Destroy', [:admin, project], confirm: "REMOVE #{project.name}? Are you sure?", method: :delete, class: "btn small danger"
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 634b1836754..5a745f58fe3 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -4,15 +4,15 @@
%i.icon-edit
Edit
-- if @project.has_commits?
- - if !@project.has_post_receive_file?
+- if @repository && @repository.has_commits?
+ - if !@repository.has_post_receive_file?
%br
.alert.alert-error
%span
%strong Project has commits but missing post-receive file.
%br
If you exported project manually - make a link of post-receive hook file from gitolite to project repository
- - elsif !@project.valid_post_receive_file?
+ - elsif !@repository.valid_post_receive_file?
%br
.alert.alert-error
%span
@@ -49,8 +49,8 @@
%b
Owned by:
%td
- - if @project.chief
- = link_to @project.chief.name, admin_user_path(@project.chief)
+ - if @project.owner
+ = link_to @project.owner_name, admin_user_path(@project.owner)
- else
(deleted)
%tr
@@ -58,49 +58,50 @@
%b
Created by:
%td
- = @project.owner_name || '(deleted)'
+ = @project.creator.try(:name) || '(deleted)'
%tr
%td
%b
Created at:
%td
= @project.created_at.stamp("March 1, 1999")
+ %tr
+ %td
+ %b
+ Smart HTTP:
+ %td
+ = link_to @project.http_url_to_repo
+ %tr
+ %td
+ %b
+ SSH:
+ %td
+ = link_to @project.ssh_url_to_repo
-%table.zebra-striped
- %thead
+- if @repository
+ %table.zebra-striped
+ %thead
+ %tr
+ %th Repository
+ %th
%tr
- %th Repository
- %th
- %tr
- %td
- %b
- FS Path:
- %td
- %code= @project.path_to_repo
- %tr
- %td
- %b
- Smart HTTP:
- %td
- = link_to @project.http_url_to_repo
- %tr
- %td
- %b
- SSH:
- %td
- = link_to @project.ssh_url_to_repo
- %tr
- %td
- %b
- Last commit at:
- %td
- = last_commit(@project)
- %tr
- %td
- %b
- Post Receive File:
- %td
- = check_box_tag :post_receive_file, 1, @project.has_post_receive_file?, disabled: true
+ %td
+ %b
+ FS Path:
+ %td
+ %code= @repository.path_to_repo
+ %tr
+ %td
+ %b
+ Last commit at:
+ %td
+ = last_commit(@project)
+ %tr
+ %td
+ %b
+ Post Receive File:
+ %td
+ = check_box_tag :post_receive_file, 1, @repository.has_post_receive_file?, disabled: true
%br
%h5
diff --git a/app/views/admin/resque/show.html.haml b/app/views/admin/resque/show.html.haml
index 41254a6b6c2..499738f9a06 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
+%h3.page_title Background Jobs
%br
.ui-box
- %iframe{src: resque_path, width: '100%', height: 600, style: "border: none"}
+ %iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml
index 1df4f590bcb..87290abe7a6 100644
--- a/app/views/admin/users/index.html.haml
+++ b/app/views/admin/users/index.html.haml
@@ -1,5 +1,5 @@
%h3.page_title
- Users (#{@admin_users.count})
+ Users
= link_to 'New User', new_admin_user_path, class: "btn small right"
%br
@@ -8,16 +8,21 @@
= submit_tag "Search", class: "btn submit primary"
%ul.nav.nav-tabs
%li{class: "#{'active' unless params[:filter]}"}
- = link_to "Active", admin_users_path
+ = link_to admin_users_path do
+ Active
+ %span.badge= User.active.count
%li{class: "#{'active' if params[:filter] == "admins"}"}
= link_to admin_users_path(filter: "admins") do
Admins
+ %span.badge= User.admins.count
%li{class: "#{'active' if params[:filter] == "blocked"}"}
= link_to admin_users_path(filter: "blocked") do
Blocked
+ %span.badge= User.blocked.count
%li{class: "#{'active' if params[:filter] == "wop"}"}
= link_to admin_users_path(filter: "wop") do
Without projects
+ %span.badge= User.without_projects.count
%table
%thead
diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml
index 852aead79e2..db132359c7f 100644
--- a/app/views/admin/users/show.html.haml
+++ b/app/views/admin/users/show.html.haml
@@ -106,8 +106,8 @@
%td= link_to group.name, admin_group_path(group)
-- if @admin_user.projects.present?
- %h5 Projects:
+- if @admin_user.personal_projects.present?
+ %h5 Personal Projects:
%br
%table.zebra-striped
@@ -118,7 +118,7 @@
%th
%th
- - @admin_user.users_projects.each do |tm|
+ - @admin_user.tm_in_personal_projects.each do |tm|
- project = tm.project
%tr
%td= link_to project.name_with_namespace, admin_project_path(project)
diff --git a/app/views/commit/show.html.haml b/app/views/commit/show.html.haml
index 5ba43f951dc..f920534e03a 100644
--- a/app/views/commit/show.html.haml
+++ b/app/views/commit/show.html.haml
@@ -1,4 +1,11 @@
= render "commits/commit_box"
+
+%p.right.cgray
+ This commit has
+ %span.cgreen #{@commit.stats.additions} additions
+ and
+ %span.cred #{@commit.stats.deletions} deletions
+
= render "commits/diffs", diffs: @commit.diffs
= render "notes/notes_with_form"
@@ -16,5 +23,7 @@
, 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 156ff1e9d85..eb0312d01e1 100644
--- a/app/views/commits/_commit.html.haml
+++ b/app/views/commits/_commit.html.haml
@@ -14,8 +14,8 @@
&nbsp;
%span.notes_count
- - notes = @project.commit_notes(commit) + @project.commit_line_notes(commit)
+ - notes = @project.notes.for_commit_id(commit.id)
- if notes.any?
- %span.btn.small.disabled.grouped
+ %span.btn.disabled.grouped
%i.icon-comment
= notes.count
diff --git a/app/views/commits/_commit_box.html.haml b/app/views/commits/_commit_box.html.haml
index 8f7826e0c8d..0544a1d10fe 100644
--- a/app/views/commits/_commit_box.html.haml
+++ b/app/views/commits/_commit_box.html.haml
@@ -1,47 +1,50 @@
-.commit-box{class: @commit.parents_count > 1 ? "merge-commit" : ""}
- .commit-head
+.ui-box.ui-box-show
+ .ui-box-head
.right
- if @notes_count > 0
%span.btn.disabled.grouped
%i.icon-comment
= @notes_count
.left.btn-group
- %a.btn.small.grouped.dropdown-toggle{ data: {toggle: :dropdown} }
+ %a.btn.grouped.dropdown-toggle{ data: {toggle: :dropdown} }
%i.icon-download-alt
Download as
%span.caret
%ul.dropdown-menu
%li= link_to "Email Patches", project_commit_path(@project, @commit, format: :patch)
%li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff)
- = link_to project_tree_path(@project, @commit), class: "browse-button primary grouped" do
- %strong Browse Code »
+ = link_to project_tree_path(@project, @commit), class: "btn primary grouped" do
+ %span Browse Code »
%h3.commit-title.page_title
= gfm escape_once(@commit.title)
- if @commit.description.present?
%pre.commit-description
= gfm escape_once(@commit.description)
- .commit-info
+ .ui-box-body
.row
.span5
.author
- %strong= @commit.author_link avatar: true, size: 40
+ = @commit.author_link avatar: true, size: 32
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_link
+ = @commit.committer_link
committed
%time{title: @commit.committed_date.stamp("Aug 21, 2011 9:23pm")}
#{time_ago_in_words(@commit.committed_date)} ago
- .span6.right
- .sha-block
- %span.cgray commit
- %code.label_commit= @commit.id
- .sha-block
- %span.cgray= pluralize(@commit.parents.count, "parent")
- - @commit.parents.each do |parent|
- = link_to parent.id[0...10], project_commit_path(@project, parent)
+ .span6.pull-right
+ .pull-right
+ .sha-block
+ %span.cgray commit
+ %span.label_commit= @commit.id
+ .clearfix
+ .pull-right
+ .sha-block
+ %span.cgray= pluralize(@commit.parents.count, "parent")
+ - @commit.parents.each do |parent|
+ = link_to parent.id[0...10], project_commit_path(@project, parent)
diff --git a/app/views/commits/_commits.html.haml b/app/views/commits/_commits.html.haml
index c9217989884..0dc6664c1d6 100644
--- a/app/views/commits/_commits.html.haml
+++ b/app/views/commits/_commits.html.haml
@@ -1,6 +1,6 @@
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
%div.ui-box
- %h5.small
+ %h5.title
%i.icon-calendar
= day.stamp("28 Aug, 2010")
%ul.well-list= render commits
diff --git a/app/views/commits/_head.html.haml b/app/views/commits/_head.html.haml
index 2ec1d24bbef..a5f3fdf5c5e 100644
--- a/app/views/commits/_head.html.haml
+++ b/app/views/commits/_head.html.haml
@@ -2,19 +2,19 @@
%li= render partial: 'shared/ref_switcher', locals: {destination: 'commits'}
= nav_link(controller: [:commit, :commits]) do
- = link_to 'Commits', project_commits_path(@project, @project.root_ref)
+ = link_to 'Commits', project_commits_path(@project, @repository.root_ref)
= nav_link(controller: :compare) do
= link_to 'Compare', project_compare_index_path(@project)
= nav_link(html_options: {class: branches_tab_class}) do
= link_to project_repository_path(@project) do
Branches
- %span.badge= @project.branches.length
+ %span.badge= @repository.branches.length
= nav_link(controller: :repositories, action: :tags) do
= link_to tags_project_repository_path(@project) do
Tags
- %span.badge= @project.tags.length
+ %span.badge= @repository.tags.length
= nav_link(controller: :repositories, action: :stats) do
= link_to stats_project_repository_path(@project) do
diff --git a/app/views/commits/_text_diff.html.haml b/app/views/commits/_text_diff.html.haml
index f5784dea511..ce07b87d548 100644
--- a/app/views/commits/_text_diff.html.haml
+++ b/app/views/commits/_text_diff.html.haml
@@ -15,7 +15,7 @@
- if @comments_allowed
= render "notes/diff_note_link", line_code: line_code
%td.new_line= link_to raw(type == "old" ? "&nbsp;" : line_new) , "##{line_code}", id: line_code
- %td.line_content{class: "noteable_line #{type} #{line_code}", "line_code" => line_code}= raw "#{line} &nbsp;"
+ %td.line_content{class: "noteable_line #{type} #{line_code}", "line_code" => line_code}= raw diff_line_content(line)
- if @reply_allowed
- comments = @line_notes.select { |n| n.line_code == line_code }.sort_by(&:created_at)
diff --git a/app/views/compare/_form.html.haml b/app/views/compare/_form.html.haml
index 7e3a2a0e1f5..0915782dddc 100644
--- a/app/views/compare/_form.html.haml
+++ b/app/views/compare/_form.html.haml
@@ -28,7 +28,7 @@
:javascript
$(function() {
- var availableTags = #{@project.ref_names.to_json};
+ var availableTags = #{@project.repository.ref_names.to_json};
$("#from, #to").autocomplete({
source: availableTags,
diff --git a/app/views/compare/show.html.haml b/app/views/compare/show.html.haml
index 2abbd3fc0ee..d8ea3727d57 100644
--- a/app/views/compare/show.html.haml
+++ b/app/views/compare/show.html.haml
@@ -8,7 +8,8 @@
- if @commits.present?
%div.ui-box
- %h5.small Commits (#{@commits.count})
+ %h5.title
+ Commits (#{@commits.count})
%ul.well-list= render @commits
- unless @diffs.empty?
diff --git a/app/views/dashboard/_activities.html.haml b/app/views/dashboard/_activities.html.haml
index c63ef24fca5..2b7d23c225d 100644
--- a/app/views/dashboard/_activities.html.haml
+++ b/app/views/dashboard/_activities.html.haml
@@ -7,7 +7,7 @@
= event_filter_link EventFilter.team, 'Team'
- if @events.any?
- .content_list= render @events
+ .content_list
- else
%p.nothing_here_message Projects activity will be displayed here
.loading.hide
diff --git a/app/views/dashboard/_groups.html.haml b/app/views/dashboard/_groups.html.haml
index 9e3401e51b8..7f544406761 100644
--- a/app/views/dashboard/_groups.html.haml
+++ b/app/views/dashboard/_groups.html.haml
@@ -1,5 +1,5 @@
.groups_box
- %h5
+ %h5.title
Groups
%small
(#{groups.count})
@@ -17,4 +17,4 @@
&rarr;
%span.last_activity
%strong Projects:
- %span= group.projects.authorized_for(current_user).count
+ %span= current_user.authorized_projects.where(namespace_id: group.id).count
diff --git a/app/views/dashboard/_projects.html.haml b/app/views/dashboard/_projects.html.haml
index cffafb5445c..6c1304ee4a8 100644
--- a/app/views/dashboard/_projects.html.haml
+++ b/app/views/dashboard/_projects.html.haml
@@ -1,5 +1,5 @@
.projects_box
- %h5
+ %h5.title
Projects
%small
(#{projects.total_count})
diff --git a/app/views/dashboard/index.html.haml b/app/views/dashboard/index.html.haml
index b64aa86cf73..abbe3101fc3 100644
--- a/app/views/dashboard/index.html.haml
+++ b/app/views/dashboard/index.html.haml
@@ -7,5 +7,3 @@
- else
= render "zero_authorized_projects"
-:javascript
- $(function(){ Pager.init(20); });
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml
index 52863229644..68e3b3dcaf5 100644
--- a/app/views/dashboard/issues.html.haml
+++ b/app/views/dashboard/issues.html.haml
@@ -13,7 +13,8 @@
- @issues.group_by(&:project).each do |group|
%div.ui-box
- @project = group[0]
- %h5= link_to_project @project
+ %h5.title
+ = link_to_project @project
%ul.well-list.issues_table
- group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue})
diff --git a/app/views/dashboard/merge_requests.html.haml b/app/views/dashboard/merge_requests.html.haml
index ea7c8c9a3d5..c5245da731a 100644
--- a/app/views/dashboard/merge_requests.html.haml
+++ b/app/views/dashboard/merge_requests.html.haml
@@ -12,7 +12,8 @@
- @merge_requests.group_by(&:project).each do |group|
.ui-box
- @project = group[0]
- %h5= link_to_project @project
+ %h5.title
+ = link_to_project @project
%ul.well-list
- group[1].each do |merge_request|
= render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml
index 8c12969345f..7b57f424d61 100644
--- a/app/views/events/event/_note.html.haml
+++ b/app/views/events/event/_note.html.haml
@@ -19,7 +19,6 @@
= event.project_name
.event-body
- %span.hint
- &nbsp;
- %i.icon-comment
+ %span.event-note
+ %i.icon-comment-alt
= truncate event.target.note, length: 70
diff --git a/app/views/groups/_filter.html.haml b/app/views/groups/_filter.html.haml
new file mode 100644
index 00000000000..c8b0ad0f433
--- /dev/null
+++ b/app/views/groups/_filter.html.haml
@@ -0,0 +1,33 @@
+= form_tag group_filter_path(entity), method: 'get' do
+ %fieldset.dashboard-search-filter
+ = search_field_tag "search", params[:search], { placeholder: 'Search', class: 'search-text-input' }
+ = button_tag type: 'submit', class: 'btn' do
+ %i.icon-search
+
+ %fieldset
+ %legend Status:
+ %ul.nav.nav-pills.nav-stacked
+ %li{class: ("active" if !params[:status])}
+ = link_to group_filter_path(entity, status: nil) do
+ Open
+ %li{class: ("active" if params[:status] == 'closed')}
+ = link_to group_filter_path(entity, status: 'closed') do
+ Closed
+ %li{class: ("active" if params[:status] == 'all')}
+ = link_to group_filter_path(entity, status: 'all') do
+ All
+
+ %fieldset
+ %legend Projects:
+ %ul.nav.nav-pills.nav-stacked
+ - @projects.each do |project|
+ - unless entities_per_project(project, entity).zero?
+ %li{class: ("active" if params[:project_id] == project.id.to_s)}
+ = link_to group_filter_path(entity, project_id: project.id) do
+ = project.name_with_namespace
+ %small.right= entities_per_project(project, entity)
+
+ %fieldset
+ %hr
+ = link_to "Reset", group_filter_path(entity), class: 'btn right'
+
diff --git a/app/views/groups/_new_group_member.html.haml b/app/views/groups/_new_group_member.html.haml
new file mode 100644
index 00000000000..2d599816e2a
--- /dev/null
+++ b/app/views/groups/_new_group_member.html.haml
@@ -0,0 +1,18 @@
+= form_for @team_member, as: :team_member, url: team_members_group_path(@group) do |f|
+ %fieldset
+ %legend= "New Team member(s) for projects in #{@group.name}"
+
+ %h6 1. Choose people you want in the team
+ .clearfix
+ = f.label :user_ids, "People"
+ .input= select_tag(:user_ids, options_from_collection_for_select(User.active.alphabetically, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
+
+ %h6 2. Set access level for them
+ .clearfix
+ = f.label :project_access, "Project Access"
+ .input= select_tag :project_access, options_for_select(Project.access_options, @team_member.project_access), class: "project-access-select chosen"
+
+ .form-actions
+ = hidden_field_tag :redirect_to, people_group_path(@group)
+ = f.submit 'Add', class: "btn save-btn"
+
diff --git a/app/views/groups/_new_member.html.haml b/app/views/groups/_new_member.html.haml
index f48c2c23d83..89ac05e774e 100644
--- a/app/views/groups/_new_member.html.haml
+++ b/app/views/groups/_new_member.html.haml
@@ -5,7 +5,7 @@
%h6 1. Choose people you want in the team
.clearfix
= f.label :user_ids, "People"
- .input= select_tag(:user_ids, options_from_collection_for_select(User.not_in_project(@project).all, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
+ .input= select_tag(:user_ids, options_from_collection_for_select(User.not_in_project(@project).alphabetically, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
%h6 2. Set access level for them
.clearfix
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index 0b491879fe0..040d1ae94aa 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -1,5 +1,5 @@
.projects_box
- %h5
+ %h5.title
Projects
%small
(#{projects.count})
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 0daf4d752a8..ffca2dc75ea 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -3,17 +3,21 @@
%small (assigned to you)
%small.right #{@issues.total_count} issues
-%br
-.clearfix
-- if @issues.any?
- - @issues.group_by(&:project).each do |group|
- %div.ui-box
- - @project = group[0]
- %h5= @project.name
- %ul.well-list.issues_table
- - group[1].each do |issue|
- = render(partial: 'issues/show', locals: {issue: issue})
- %hr
- = paginate @issues, theme: "gitlab"
-- else
- %h3.nothing_here_message Nothing to show here
+%hr
+.row
+ .span3
+ = render 'filter', entity: 'issue'
+ .span9
+ - if @issues.any?
+ - @issues.group_by(&:project).each do |group|
+ %div.ui-box
+ - @project = group[0]
+ %h5.title
+ = link_to_project @project
+ %ul.well-list.issues_table
+ - group[1].each do |issue|
+ = render(partial: 'issues/show', locals: {issue: issue})
+ %hr
+ = paginate @issues, theme: "gitlab"
+ - else
+ %p.nothing_here_message Nothing to show here
diff --git a/app/views/groups/merge_requests.html.haml b/app/views/groups/merge_requests.html.haml
index 72aa4ad11e1..c5245da731a 100644
--- a/app/views/groups/merge_requests.html.haml
+++ b/app/views/groups/merge_requests.html.haml
@@ -3,16 +3,22 @@
%small (authored by or assigned to you)
%small.right #{@merge_requests.total_count} merge requests
-%br
-- if @merge_requests.any?
- - @merge_requests.group_by(&:project).each do |group|
- %ul.well-list.ui-box
- - @project = group[0]
- %h5= @project.name
- - group[1].each do |merge_request|
- = render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
- %hr
- = paginate @merge_requests, theme: "gitlab"
+%hr
+.row
+ .span3
+ = render 'filter', entity: 'merge_request'
+ .span9
+ - if @merge_requests.any?
+ - @merge_requests.group_by(&:project).each do |group|
+ .ui-box
+ - @project = group[0]
+ %h5.title
+ = link_to_project @project
+ %ul.well-list
+ - group[1].each do |merge_request|
+ = render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
+ %hr
+ = paginate @merge_requests, theme: "gitlab"
-- else
- %h3.nothing_here_message Nothing to show here
+ - else
+ %h3.nothing_here_message Nothing to show here
diff --git a/app/views/groups/people.html.haml b/app/views/groups/people.html.haml
index be3dd7a4d78..0bceeaa3ceb 100644
--- a/app/views/groups/people.html.haml
+++ b/app/views/groups/people.html.haml
@@ -2,10 +2,10 @@
.span3
= render 'people_filter'
.span9
- - if @project && can?(current_user, :manage_group, @group)
- = render "new_member"
+ - if can?(current_user, :manage_group, @group)
+ = render (@project ? "new_member" : "new_group_member")
.ui-box
- %h5
+ %h5.title
Team
%small
(#{@users.size})
diff --git a/app/views/groups/search.html.haml b/app/views/groups/search.html.haml
index 6ca5630f43d..1ba4707aa52 100644
--- a/app/views/groups/search.html.haml
+++ b/app/views/groups/search.html.haml
@@ -6,70 +6,4 @@
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
= submit_tag 'Search', class: "btn primary wide"
- if params[:search].present?
- %br
- %h3
- Search results
- %small (#{@projects.count + @merge_requests.count + @issues.count})
- %hr
- .search_results
- .row
- .span6
- %table
- %thead
- %tr
- %th Projects
- %tbody
- - @projects.each do |project|
- %tr
- %td
- = link_to project do
- %strong.term= project.name
- %small.cgray
- last activity at
- = project.last_activity_date.stamp("Aug 25, 2011")
- - if @projects.blank?
- %tr
- %td
- %h4.nothing_here_message No Projects
- %br
- %table
- %thead
- %tr
- %th Merge Requests
- %tbody
- - @merge_requests.each do |merge_request|
- %tr
- %td
- = link_to [merge_request.project, merge_request] do
- %span.badge.badge-info ##{merge_request.id}
- &ndash;
- %strong.term= truncate merge_request.title, length: 50
- %strong.right
- %span.label= merge_request.project.name
- - if @merge_requests.blank?
- %tr
- %td
- %h4.nothing_here_message No Merge Requests
- .span6
- %table
- %thead
- %tr
- %th Issues
- %tbody
- - @issues.each do |issue|
- %tr
- %td
- = link_to [issue.project, issue] do
- %span.badge.badge-info ##{issue.id}
- &ndash;
- %strong.term= truncate issue.title, length: 40
- %strong.right
- %span.label= issue.project.name
- - if @issues.blank?
- %tr
- %td
- %h4.nothing_here_message No Issues
- :javascript
- $(function() {
- $(".search_results .term").highlight("#{params[:search]}");
- })
+ = render 'search/result'
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index 76bc2639d61..d7d3f869895 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -7,7 +7,7 @@
%span.cgray Events and projects are filtered in scope of group
%hr
- if @events.any?
- .content_list= render @events
+ .content_list
- else
%p.nothing_here_message Projects activity will be displayed here
.loading.hide
@@ -26,4 +26,4 @@
= link_to "@gitlabhq", "https://twitter.com/gitlabhq"
:javascript
- $(function(){ Pager.init(20); });
+ $(function(){ Pager.init(20, true); });
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml
index ebd499c05e0..dc22b672cb7 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -9,31 +9,41 @@
%br
Fast, secure and stable solution based on Ruby on Rails & Gitolite.
-%hr
+%br
+
+.row
+ .span6
+ .ui-box
+ .title
+ %h5 Help
+ %ul.well-list
+ %li
+ %span= link_to "Workflow", help_workflow_path
-%h3 Help
+ %li
+ %span= link_to "Permissions", help_permissions_path
-%ol
- %li
- %h5= link_to "Workflow", help_workflow_path
+ %li
+ %span= link_to "Web Hooks", help_web_hooks_path
- %li
- %h5= link_to "Permissions", help_permissions_path
+ %li
+ %span= link_to "API", help_api_path
- %li
- %h5= link_to "Web Hooks", help_web_hooks_path
+ %li
+ %span= link_to "GitLab Markdown", help_markdown_path
- %li
- %h5= link_to "System Hooks", help_system_hooks_path
+ %li
+ %span= link_to "SSH keys", help_ssh_path
- %li
- %h5= link_to "API", help_api_path
+ .span6
+ .ui-box
+ .title
+ %h5 Admin Guide
+ %ul.well-list
- %li
- %h5= link_to "GitLab Markdown", help_markdown_path
+ %li
+ %span= link_to "GitLab Rake Tasks", help_raketasks_path
- %li
- %h5= link_to "SSH keys", help_ssh_path
+ %li
+ %span= link_to "System Hooks", help_system_hooks_path
- %li
- %h5= link_to "GitLab Rake Tasks", help_raketasks_path
diff --git a/app/views/help/markdown.html.haml b/app/views/help/markdown.html.haml
index aa608ed6d9a..0419f7c131a 100644
--- a/app/views/help/markdown.html.haml
+++ b/app/views/help/markdown.html.haml
@@ -1,6 +1,6 @@
%h3.page_title GitLab Flavored Markdown
.back_link
- = link_to help_path do
+ = link_to help_path do
&larr; to index
%hr
@@ -120,7 +120,7 @@
for commits
-# this example will only be shown if the user has a project with at least one issue
- - if @project = current_user.projects.first
+ - if @project = current_user.authorized_projects.first
- if issue = @project.issues.first
%p For example in your #{link_to @project.name, project_path(@project)} project, writing:
%pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it."
diff --git a/app/views/help/raketasks.html.haml b/app/views/help/raketasks.html.haml
index 62cfa1521a7..f015451a673 100644
--- a/app/views/help/raketasks.html.haml
+++ b/app/views/help/raketasks.html.haml
@@ -16,6 +16,8 @@
= link_to "User Management", "#user_management", 'data-toggle' => 'tab'
%li
= link_to "Backup & Restore", "#backup_restore", 'data-toggle' => 'tab'
+ %li
+ = link_to "Cleanup", "#cleanup", 'data-toggle' => 'tab'
.tab-content
.tab-pane.active#features
@@ -45,6 +47,15 @@
= preserve do
= markdown File.read(Rails.root.join("doc", "raketasks", "user_management.md"))
+ .tab-pane#cleanup
+ .file_holder
+ .file_title
+ %i.icon-file
+ Cleanup
+ .file_content.wiki
+ = preserve do
+ = markdown File.read(Rails.root.join("doc", "raketasks", "cleanup.md"))
+
.tab-pane#backup_restore
.file_holder
.file_title
diff --git a/app/views/hooks/_data_ex.html.erb b/app/views/hooks/_data_ex.html.erb
index 7dd6b9e0750..b4281fa18c7 100644
--- a/app/views/hooks/_data_ex.html.erb
+++ b/app/views/hooks/_data_ex.html.erb
@@ -1,45 +1,43 @@
<% data_ex_str = <<eos
{
- :before => "95790bf891e76fee5e1747ab589903a6a1f80f22",
- :after => "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
- :ref => "refs/heads/master",
- :user_id => 4,
- :user_name => "John Smith",
- :repository => {
- :name => "Diaspora",
- :url => "localhost/diaspora",
- :description => "",
- :homepage => "localhost/diaspora",
- :private => true
+ "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
+ "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
+ "ref": "refs/heads/master",
+ "user_id": 4,
+ "user_name": "John Smith",
+ "repository": {
+ "name": "Diaspora",
+ "url": "git@localhost:diaspora.git",
+ "description": "",
+ "homepage": "http://localhost/diaspora",
+ },
+ "commits": [
+ {
+ "id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
+ "message": "Update Catalan translation to e38cb41.",
+ "timestamp": "2011-12-12T14:27:31+02:00",
+ "url": "http://localhost/diaspora/commits/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
+ "author": {
+ "name": "Jordi Mallach",
+ "email": "jordi@softcatala.org",
+ }
},
- :commits => [
- [0] {
- :id => "450d0de7532f8b663b9c5cce183b...",
- :message => "Update Catalan translation to e38cb41.",
- :timestamp => "2011-12-12T14:27:31+02:00",
- :url => "http://localhost/diaspora/commits/450d0de7532f...",
- :author => {
- :name => "Jordi Mallach",
- :email => "jordi@softcatala.org"
- }
- },
-
- ....
-
- [3] {
- :id => "da1560886d4f094c3e6c9ef40349...",
- :message => "fixed readme",
- :timestamp => "2012-01-03T23:36:29+02:00",
- :url => "http://localhost/diaspora/commits/da1560886d...",
- :author => {
- :name => "GitLab dev user",
- :email => "gitlabdev@dv6700.(none)"
- }
- }
- ],
- total_commits_count => 4
-}
+ // ...
+ {
+ "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
+ "message": "fixed readme",
+ "timestamp": "2012-01-03T23:36:29+02:00",
+ "url": "http://localhost/diaspora/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
+ "author": {
+ "name": "GitLab dev user",
+ "email": "gitlabdev@dv6700.(none)",
+ },
+ },
+ ],
+ "total_commits_count": 4,
+};
eos
%>
-<% js_lexer = Pygments::Lexer[:js] %>
-<%= raw js_lexer.highlight(data_ex_str) %>
+<div class="<%= user_color_scheme_class%>">
+ <%= raw Pygments::Lexer[:js].highlight(data_ex_str) %>
+</div>
diff --git a/app/views/issues/_filter.html.haml b/app/views/issues/_filter.html.haml
new file mode 100644
index 00000000000..9b710a71772
--- /dev/null
+++ b/app/views/issues/_filter.html.haml
@@ -0,0 +1,20 @@
+= form_tag project_issues_path(@project), method: 'get' do
+ %fieldset
+ %ul.nav.nav-pills.nav-stacked
+ %li{class: ("active" if !params[:status])}
+ = link_to project_issues_path(@project, status: nil) do
+ Open
+ %li{class: ("active" if params[:status] == 'to_me')}
+ = link_to project_issues_path(@project, status: 'to_me') do
+ Assigned To Me
+ %li{class: ("active" if params[:status] == 'closed')}
+ = link_to project_issues_path(@project, status: 'closed') do
+ Closed
+ %li{class: ("active" if params[:status] == 'all')}
+ = link_to project_issues_path(@project, status: 'all') do
+ All
+
+ %fieldset
+ %hr
+ = link_to "Reset", project_issues_path(@project), class: 'btn right'
+
diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml
index 030f797c088..bef235f2dea 100644
--- a/app/views/issues/_form.html.haml
+++ b/app/views/issues/_form.html.haml
@@ -6,26 +6,27 @@
- @issue.errors.full_messages.each do |msg|
%span= msg
%br
- .issue_form_box
- .issue_title
+ .ui-box.ui-box-show
+ .ui-box-head
.clearfix
= f.label :title do
%strong= "Subject *"
.input
= f.text_field :title, maxlength: 255, class: "xxlarge js-gfm-input", autofocus: true, required: true
- .issue_middle_block
- .issue_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 a user" }, {class: 'chosen'})
- .issue_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'})
+ .ui-box-body
+ .clearfix
+ .issue_assignee.pull-left
+ = 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 a user" }, {class: 'chosen'})
+ .issue_milestone.pull-left
+ = 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'})
- .issue_description
+ .ui-box-bottom
.clearfix
= f.label :label_list do
%i.icon-tag
@@ -43,7 +44,7 @@
.actions
- if @issue.new_record?
- = f.submit 'Submit new issue', class: "btn save-btn"
+ = f.submit 'Submit new issue', class: "btn success"
-else
= f.submit 'Save changes', class: "save-btn btn"
diff --git a/app/views/issues/_issues.html.haml b/app/views/issues/_issues.html.haml
index d7ba4300ce7..8821dbb8d98 100644
--- a/app/views/issues/_issues.html.haml
+++ b/app/views/issues/_issues.html.haml
@@ -3,12 +3,10 @@
- if @issues.present?
%li.bottom
- .row
- .span7= paginate @issues, remote: true, theme: "gitlab"
- .span3.right
- %span.cgray.right
- %span.issue_counter #{@issues.total_count}
- issues for this filter
+ .left= paginate @issues, remote: true, theme: "gitlab"
+ .right
+ %span.issue_counter #{@issues.total_count}
+ issues for this filter
- else
%li
%h4.nothing_here_message Nothing to show here
diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml
index 4641e8bdc63..dcef901c15f 100644
--- a/app/views/issues/_show.html.haml
+++ b/app/views/issues/_show.html.haml
@@ -3,10 +3,6 @@
.issue_check
= check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue", disabled: !can?(current_user, :modify_issue, issue)
.right
- - issue.labels.each do |label|
- %span.label.label-tag.grouped
- %i.icon-tag
- = label.name
- if issue.notes.any?
%span.btn.small.disabled.grouped
%i.icon-comment
@@ -36,3 +32,8 @@
- if issue.votes_count > 0
= render 'votes/votes_inline', votable: issue
+ %span
+ - issue.labels.each do |label|
+ %span.label
+ %i.icon-tag
+ = label.name
diff --git a/app/views/issues/index.html.haml b/app/views/issues/index.html.haml
index 08d4393b201..d5c29c780ce 100644
--- a/app/views/issues/index.html.haml
+++ b/app/views/issues/index.html.haml
@@ -2,61 +2,47 @@
.issues_content
%h3.page_title
Issues
- %small (<span class=issue_counter>#{@issues.total_count}</span>)
+ %span (<span class=issue_counter>#{@issues.total_count}</span>)
.right
.span5
- if can? current_user, :write_issue, @project
- = link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "right btn", title: "New Issue", id: "new_issue_link" do
+ = link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "right btn primary", title: "New Issue", id: "new_issue_link" do
%i.icon-plus
New Issue
= form_tag search_project_issues_path(@project), method: :get, remote: true, id: "issue_search_form", class: :right do
= hidden_field_tag :project_id, @project.id, { id: 'project_id' }
- = hidden_field_tag :status, params[:f]
+ = hidden_field_tag :status, params[:status]
= search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search span3 right neib search-text-input' }
.clearfix
- %div#issues-table-holder.ui-box
- .title
- = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left"
-
-
- .issues_bulk_update.hide
- = form_tag bulk_update_project_issues_path(@project), method: :post do
- %span.update_issues_text Update selected issues with &nbsp;
- .left
- = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
- = select_tag('update[assignee_id]', options_from_collection_for_select(@project.users.all, "id", "name", params[:assignee_id]), prompt: "Assignee")
- = select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
- = hidden_field_tag 'update[issues_ids]', []
- = hidden_field_tag :f, params[:f]
- = button_tag "Save", class: "btn update_selected_issues"
- .issues_filters
- .left
- %ul.nav.nav-pills.left
- %li{class: ("active" if (params[:f] == issues_filter[:open] || !params[:f]))}
- = link_to project_issues_path(@project, f: issues_filter[:open], milestone_id: params[:milestone_id]) do
- Open
- %li{class: ("active" if params[:f] == issues_filter[:closed])}
- = link_to project_issues_path(@project, f: issues_filter[:closed], milestone_id: params[:milestone_id]) do
- Closed
- %li{class: ("active" if params[:f] == issues_filter[:to_me])}
- = link_to project_issues_path(@project, f: issues_filter[:to_me], milestone_id: params[:milestone_id]) do
- To Me
- %li{class: ("active" if params[:f] == issues_filter[:all])}
- = link_to project_issues_path(@project, f: issues_filter[:all], milestone_id: params[:milestone_id]) do
- All
-
- .right
- = form_tag project_issues_path(@project), method: :get, class: :right do
- = select_tag(:label_name, options_for_select(issue_tags, params[:label_name]), prompt: "Labels")
- = 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] + issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
- = hidden_field_tag :f, params[:f]
+.row
+ .span3
+ = render 'filter', entity: 'issue'
+ .span9
+ %div#issues-table-holder.ui-box
+ .title
+ = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left"
.clearfix
+ .issues_bulk_update.hide
+ = form_tag bulk_update_project_issues_path(@project), method: :post do
+ %span.update_issues_text Update selected issues with &nbsp;
+ .left
+ = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
+ = select_tag('update[assignee_id]', options_from_collection_for_select(@project.users.all, "id", "name", params[:assignee_id]), prompt: "Assignee")
+ = select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
+ = hidden_field_tag 'update[issues_ids]', []
+ = hidden_field_tag :status, params[:status]
+ = button_tag "Save", class: "btn update_selected_issues btn-small save-btn"
+ .issues_filters
+ = form_tag project_issues_path(@project), method: :get do
+ = select_tag(:label_name, options_for_select(issue_tags, params[:label_name]), prompt: "Labels")
+ = 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] + issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
+ = hidden_field_tag :status, params[:status]
- %ul#issues-table.well-list.issues_table
- = render "issues"
+ %ul#issues-table.well-list.issues_table
+ = render "issues"
:javascript
$(function(){
diff --git a/app/views/issues/show.html.haml b/app/views/issues/show.html.haml
index b1014edc6c5..55fc0aee0df 100644
--- a/app/views/issues/show.html.haml
+++ b/app/views/issues/show.html.haml
@@ -24,14 +24,14 @@
&larr; To issues list
-.main_box
- .top_box_content
+.ui-box.ui-box-show
+ .ui-box-head
%h4.box-title
- if @issue.closed
.error.status_info Closed
= gfm escape_once(@issue.title)
- .middle_box_content
+ .ui-box-body
%cite.cgray
Created by #{link_to_member(@project, @issue.author)}
- if @issue.assignee
@@ -44,13 +44,13 @@
.right
- @issue.labels.each do |label|
- %span.label.label-issue
+ %span.label
%i.icon-tag
= label.name
&nbsp;
- if @issue.description.present?
- .bottom_box_content
+ .ui-box-bottom
= preserve do
= markdown @issue.description
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 4a0f60d36c2..9d035f0e012 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -1,8 +1,8 @@
%head
%meta{charset: "utf-8"}
%title
+ = "#{title} | " if defined?(title)
GitLab
- = " > #{title}" if defined?(title)
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml
index 8fbec43f4a1..f4b2228a41b 100644
--- a/app/views/layouts/_head_panel.html.haml
+++ b/app/views/layouts/_head_panel.html.haml
@@ -2,7 +2,8 @@
.navbar-inner
.container
%div.app_logo
- = link_to root_path, class: "home", title: "Home" do
+ %span.separator
+ = link_to root_path, class: "home has_bottom_tooltip", title: "Dashboard" do
%h1 GITLAB
%span.separator
%h1.project_name= title
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index 6b643ec8ccb..a60e7febe76 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -19,6 +19,6 @@
= nav_link(controller: :hooks) do
= link_to "Hooks", admin_hooks_path
= nav_link(controller: :resque) do
- = link_to "Resque", admin_resque_path
+ = link_to "Background Jobs", admin_resque_path
.content= yield
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index a41de538436..a197de38749 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -15,7 +15,7 @@
= nav_link(path: 'dashboard#merge_requests') do
= link_to dashboard_merge_requests_path do
Merge Requests
- %span.count= current_user.cared_merge_requests.count
+ %span.count= current_user.cared_merge_requests.opened.count
= nav_link(path: 'search#show') do
= link_to "Search", search_path
= nav_link(path: 'help#index') do
diff --git a/app/views/layouts/group.html.haml b/app/views/layouts/group.html.haml
index d40d9525bb8..f47e8b3e9ff 100644
--- a/app/views/layouts/group.html.haml
+++ b/app/views/layouts/group.html.haml
@@ -15,7 +15,7 @@
= nav_link(path: 'groups#merge_requests') do
= link_to merge_requests_group_path(@group) do
Merge Requests
- %span.count= current_user.cared_merge_requests.of_group(@group).count
+ %span.count= current_user.cared_merge_requests.opened.of_group(@group).count
= nav_link(path: 'groups#search') do
= link_to "Search", search_group_path(@group)
= nav_link(path: 'groups#people') do
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index c418e1dbc68..3db1f59b54d 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -13,10 +13,10 @@
%td{style: "font-size: 0px;", width: "20"}
%td{align: "left", style: "padding: 10px 0", width: "580"}
- %h1{style: "font-size: 24px; color: #BBBBBB; font: normal 22px Helvetica, Arial, sans-serif; margin: 0; padding: 0; line-height: 32px;"}
+ %h1{style: "color: #BBBBBB; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 0; line-height: 32px;"}
GITLAB
- if @project
- &rarr; #{@project.name_with_namespace}
+ \/ #{@project.name_with_namespace}
%table{align: "center", bgcolor: "#fff", border: "0", cellpadding: "0", cellspacing: "0", style: "font-family: Helvetica, Arial, sans-serif; background: #fff;", width: "600"}
%tr= yield
%tr
diff --git a/app/views/layouts/project_resource.html.haml b/app/views/layouts/project_resource.html.haml
index 709807456c8..e00f96a7723 100644
--- a/app/views/layouts/project_resource.html.haml
+++ b/app/views/layouts/project_resource.html.haml
@@ -14,9 +14,9 @@
- if @project.repo_exists?
- if can? current_user, :download_code, @project
= nav_link(controller: %w(tree blob blame)) do
- = link_to 'Files', project_tree_path(@project, @ref || @project.root_ref)
+ = link_to 'Files', project_tree_path(@project, @ref || @repository.root_ref)
= nav_link(controller: %w(commit commits compare repositories protected_branches)) do
- = link_to "Commits", project_commits_path(@project, @ref || @project.root_ref)
+ = link_to "Commits", project_commits_path(@project, @ref || @repository.root_ref)
= nav_link(path: 'projects#graph') do
= link_to "Network", graph_project_path(@project)
diff --git a/app/views/merge_requests/_filter.html.haml b/app/views/merge_requests/_filter.html.haml
new file mode 100644
index 00000000000..86148fbcfee
--- /dev/null
+++ b/app/views/merge_requests/_filter.html.haml
@@ -0,0 +1,20 @@
+= form_tag project_issues_path(@project), method: 'get' do
+ %fieldset
+ %ul.nav.nav-pills.nav-stacked
+ %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
+ Assigned 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
+
+ %fieldset
+ %hr
+ = link_to "Reset", project_merge_requests_path(@project), class: 'btn right'
+
diff --git a/app/views/merge_requests/_form.html.haml b/app/views/merge_requests/_form.html.haml
index 9606e2e53b3..9a4f0617a3a 100644
--- a/app/views/merge_requests/_form.html.haml
+++ b/app/views/merge_requests/_form.html.haml
@@ -1,54 +1,59 @@
-= form_for [@project, @merge_request], html: { class: "new_merge_request form-horizontal" } do |f|
+= form_for [@project, @merge_request], html: { class: "#{controller.action_name}-merge-request form-horizontal" } do |f|
-if @merge_request.errors.any?
.alert-message.block-message.error
%ul
- @merge_request.errors.full_messages.each do |msg|
%li= msg
- %h4.cdark 1. Select Branches
- %br
+ %fieldset
+ %legend 1. Select Branches
- .row
- .span5
- .mr_branch_box
- %h5 From (Head Branch)
- .body
- .padded= f.select(:source_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'})
- .mr_source_commit
+ .row
+ .span5
+ .mr_branch_box
+ %h5.cgray From (Head Branch)
+ .body
+ .padded= f.select(:source_branch, @repository.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'})
+ .mr_source_commit
- .span2
- %center= image_tag "merge.png", class: 'mr_direction_tip'
- .span5
- .mr_branch_box
- %h5 To (Base Branch)
- .body
- .padded= f.select(:target_branch, @project.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'})
- .mr_target_commit
+ .span2
+ %center= image_tag "merge.png", class: 'mr_direction_tip'
+ .span5
+ .mr_branch_box
+ %h5.cgray To (Base Branch)
+ .body
+ .padded= f.select(:target_branch, @repository.heads.map(&:name), { include_blank: "Select branch" }, {class: 'chosen span4'})
+ .mr_target_commit
- %h4.cdark 2. Fill info
+ %fieldset
+ %legend 2. Fill info
- .clearfix
- .merge_requests_form_box
- .top_box_content
- = f.label :title do
- %strong= "Title *"
- .input= f.text_field :title, class: "input-xxlarge pad js-gfm-input", maxlength: 255, rows: 5, required: true
- .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'})
+ .ui-box.ui-box-show
+ .ui-box-head
+ .clearfix
+ = f.label :title do
+ %strong= "Title *"
+ .input= f.text_field :title, class: "input-xxlarge pad js-gfm-input", maxlength: 255, rows: 5, required: true
+ .ui-box-body
+ .clearfix
+ .left
+ = 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'})
+ .left
+ = 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
.form-actions
- = f.submit 'Save', class: "btn save-btn"
+ - if @merge_request.new_record?
+ = f.submit 'Submit merge request', class: "btn success"
+ -else
+ = f.submit 'Save changes', class: "save-btn btn"
- if @merge_request.new_record?
= link_to project_merge_requests_path(@project), class: "btn cancel-btn" do
Cancel
@@ -59,8 +64,9 @@
:javascript
$(function(){
disableButtonIfEmptyField("#merge_request_title", ".save-btn");
- var source_branch = $("#merge_request_source_branch");
- var target_branch = $("#merge_request_target_branch");
+
+ var source_branch = $("#merge_request_source_branch")
+ , target_branch = $("#merge_request_target_branch");
$.get("#{branch_from_project_merge_requests_path(@project)}", {ref: source_branch.val() });
$.get("#{branch_to_project_merge_requests_path(@project)}", {ref: target_branch.val() });
diff --git a/app/views/merge_requests/_show.html.haml b/app/views/merge_requests/_show.html.haml
index 8285a56d184..cefd33c0cdf 100644
--- a/app/views/merge_requests/_show.html.haml
+++ b/app/views/merge_requests/_show.html.haml
@@ -1,31 +1,33 @@
-= render "merge_requests/show/mr_title"
-= render "merge_requests/show/how_to_merge"
-= render "merge_requests/show/mr_box"
-= render "merge_requests/show/mr_accept"
-- if @project.gitlab_ci?
- = render "merge_requests/show/mr_ci"
-= render "merge_requests/show/commits"
+.merge-request
+ = render "merge_requests/show/mr_title"
+ = render "merge_requests/show/how_to_merge"
+ = render "merge_requests/show/mr_box"
+ = render "merge_requests/show/mr_accept"
+ - if @project.gitlab_ci?
+ = render "merge_requests/show/mr_ci"
+ = render "merge_requests/show/commits"
-- if @commits.present?
- %ul.nav.nav-tabs.mr_nav_tabs
- %li
- = link_to "#notes", title: "Discussion", "data-url" => project_merge_request_path(@project, @merge_request), class: "merge-notes-tab tab" do
- %i.icon-comments
- Discussion
- %li
- = link_to "#diffs", title: "Diff", "data-url" => diffs_project_merge_request_path(@project, @merge_request), class: "merge-diffs-tab tab" do
- %i.icon-list-alt
- Diff
+ - if @commits.present?
+ %ul.nav.nav-tabs
+ %li.notes-tab{data: {action: 'notes'}}
+ = link_to project_merge_request_path(@project, @merge_request) do
+ %i.icon-comment
+ Discussion
+ %li.diffs-tab{data: {action: 'diffs'}}
+ = link_to diffs_project_merge_request_path(@project, @merge_request) do
+ %i.icon-list-alt
+ Diff
-.merge_request_notes.voting_notes#notes{ class: (controller.action_name == 'show') ? "" : "hide" }
- = render "notes/notes_with_form"
-.merge-request-diffs
- = render "merge_requests/show/diffs" if @diffs
-.status
+ .notes.tab-content.voting_notes#notes{ class: (controller.action_name == 'show') ? "" : "hide" }
+ = render "notes/notes_with_form"
+ .diffs.tab-content
+ = render "merge_requests/show/diffs" if @diffs
+ .status
:javascript
+ var merge_request;
$(function(){
- MergeRequest.init({
+ merge_request = new MergeRequest({
url_to_automerge_check: "#{automerge_check_project_merge_request_path(@project, @merge_request)}",
check_enable: #{@merge_request.state == MergeRequest::UNCHECKED ? "true" : "false"},
url_to_ci_check: "#{ci_status_project_merge_request_path(@project, @merge_request)}",
@@ -33,10 +35,5 @@
current_state: "#{@merge_request.human_state}",
action: "#{controller.action_name}"
});
-
- $(".edit_merge_request").live("ajax:beforeSend", function() {
- $('.can_be_merged').hide();
- $('.merge_in_progress').show();
- })
- })
+ });
diff --git a/app/views/merge_requests/automerge.js.haml b/app/views/merge_requests/automerge.js.haml
index 93e184455af..e01ff662e7d 100644
--- a/app/views/merge_requests/automerge.js.haml
+++ b/app/views/merge_requests/automerge.js.haml
@@ -3,5 +3,5 @@
location.reload();
-else
:plain
- MergeRequest.already_cannot_be_merged()
+ merge_request.alreadyOrCannotBeMerged()
diff --git a/app/views/merge_requests/commits.js.haml b/app/views/merge_requests/commits.js.haml
index 76322bdb210..923b1ea032f 100644
--- a/app/views/merge_requests/commits.js.haml
+++ b/app/views/merge_requests/commits.js.haml
@@ -1,4 +1,4 @@
:plain
- $(".merge-request-commits").html("#{escape_javascript(render(partial: "commits"))}");
+ merge_request.$(".commits").html("#{escape_javascript(render(partial: "commits"))}");
diff --git a/app/views/merge_requests/diffs.js.haml b/app/views/merge_requests/diffs.js.haml
index c758cf69015..266892c01ef 100644
--- a/app/views/merge_requests/diffs.js.haml
+++ b/app/views/merge_requests/diffs.js.haml
@@ -1,3 +1,2 @@
:plain
- $(".merge-request-diffs").html("#{escape_javascript(render(partial: "merge_requests/show/diffs"))}");
-
+ merge_request.$(".diffs").html("#{escape_javascript(render(partial: "merge_requests/show/diffs"))}");
diff --git a/app/views/merge_requests/index.html.haml b/app/views/merge_requests/index.html.haml
index 5b234bfbe02..43651a5ca15 100644
--- a/app/views/merge_requests/index.html.haml
+++ b/app/views/merge_requests/index.html.haml
@@ -1,48 +1,35 @@
+- if can? current_user, :write_issue, @project
+ = link_to new_project_merge_request_path(@project), class: "right btn primary", title: "New Merge Request" do
+ %i.icon-plus
+ New Merge Request
%h3.page_title
Merge Requests
- - if can? current_user, :write_issue, @project
- = link_to new_project_merge_request_path(@project), class: "right btn", title: "New Merge Request" do
- New Merge Request
%br
-.ui-box
- .title
- .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
+.row
+ .span3
+ = render 'filter', entity: 'issue'
+ .span9
+ .ui-box
+ .title
+ = form_tag project_merge_requests_path(@project), id: "merge_requests_search_form", method: :get, class: :left 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.well-list
- = render @merge_requests
- - if @merge_requests.blank?
- %li
- %h4.nothing_here_message Nothing to show here
- - if @merge_requests.present?
- %li.bottom
- .row
- .span7= paginate @merge_requests, theme: "gitlab"
- .span4.right
- %span.cgray.right #{@merge_requests.total_count} merge requests for this filter
+ %ul.well-list
+ = render @merge_requests
+ - if @merge_requests.blank?
+ %li
+ %h4.nothing_here_message Nothing to show here
+ - if @merge_requests.present?
+ %li.bottom
+ .left= paginate @merge_requests, theme: "gitlab"
+ .right
+ %span.cgray.right #{@merge_requests.total_count} merge requests for this filter
:javascript
- $(function() {
- merge_requestsPage();
- })
+ $(merge_requestsPage);
diff --git a/app/views/merge_requests/show.js.haml b/app/views/merge_requests/show.js.haml
index 7f423c786de..2ce6eb63290 100644
--- a/app/views/merge_requests/show.js.haml
+++ b/app/views/merge_requests/show.js.haml
@@ -1,2 +1,2 @@
:plain
- $(".merge-request-notes").html("#{escape_javascript(render notes/notes_with_form")}");
+ merge_request.$(".notes").html("#{escape_javascript(render "notes/notes_with_form")}");
diff --git a/app/views/merge_requests/show/_commits.html.haml b/app/views/merge_requests/show/_commits.html.haml
index 796922776d9..5e27b6dc25a 100644
--- a/app/views/merge_requests/show/_commits.html.haml
+++ b/app/views/merge_requests/show/_commits.html.haml
@@ -1,18 +1,18 @@
- if @commits.present?
.ui-box
- %h5
+ %h5.title
%i.icon-list
Commits (#{@commits.count})
- .merge-request-commits
+ .commits
- if @commits.count > 8
- %ul.first_mr_commits.well-list
+ %ul.first-commits.well-list
- @commits.first(8).each do |commit|
= render "commits/commit", commit: commit
%li.bottom
8 of #{@commits.count} commits displayed.
%strong
- %a.mr_show_all_commits Click here to show all
- %ul.all_mr_commits.hide.well-list
+ %a.show-all-commits Click here to show all
+ %ul.all-commits.hide.well-list
- @commits.each do |commit|
= render "commits/commit", commit: commit
diff --git a/app/views/merge_requests/show/_mr_accept.html.haml b/app/views/merge_requests/show/_mr_accept.html.haml
index f24228856ff..128ffe76782 100644
--- a/app/views/merge_requests/show/_mr_accept.html.haml
+++ b/app/views/merge_requests/show/_mr_accept.html.haml
@@ -9,19 +9,24 @@
%span
= form_for [:automerge, @project, @merge_request], remote: true, method: :get do |f|
%p
- You can accept this request automatically.
- If you still want to do it manually -
+ You can accept this request automatically.
+ If you still want to do it manually -
%strong= link_to "click here", "#", class: "how_to_merge_link vlink", title: "How To Merge"
for instructions
.accept_group
- = f.submit "Accept Merge Request", class: "btn small success accept_merge_request"
- - unless @project.root_ref? @merge_request.source_branch
+ = f.submit "Accept Merge Request", class: "btn success accept_merge_request"
+ - unless @project.root_ref? @merge_request.source_branch
.remove_branch_holder
- = label_tag :should_remove_source_branch, class: "checkbox" do
+ = label_tag :should_remove_source_branch, class: "checkbox" do
= check_box_tag :should_remove_source_branch
Remove source-branch
.clearfix
-
+
+
+ .automerge_widget.no_satellite{style: "display:none"}
+ .alert.alert-error
+ %span
+ %strong This repository does not have satellite. Ask administrator to fix this issue
.automerge_widget.cannot_be_merged{style: "display:none"}
.alert.alert-info
@@ -40,6 +45,6 @@
.alert.alert-info
%strong This merge request already can not be merged. Try to reload page.
- .merge_in_progress.hide
+ .merge-in-progress.hide
%span.cgray Merge is in progress. Please wait. Page will be automatically reloaded. &nbsp;
= image_tag "ajax_loader.gif"
diff --git a/app/views/merge_requests/show/_mr_box.html.haml b/app/views/merge_requests/show/_mr_box.html.haml
index cd33732d191..644d7fcc58e 100644
--- a/app/views/merge_requests/show/_mr_box.html.haml
+++ b/app/views/merge_requests/show/_mr_box.html.haml
@@ -1,5 +1,5 @@
-.main_box
- .top_box_content
+.ui-box.ui-box-show
+ .ui-box-head
%h4.box-title
- if @merge_request.merged
.error.status_info
@@ -9,7 +9,7 @@
.error.status_info Closed
= gfm escape_once(@merge_request.title)
- .middle_box_content
+ .ui-box-body
%div
%cite.cgray
Created at #{@merge_request.created_at.stamp("Aug 21, 2011")} by #{link_to_member(@project, @merge_request.author)}
@@ -22,7 +22,7 @@
- if @merge_request.closed
- .bottom_box_content
+ .ui-box-bottom
- if @merge_request.merged?
%span
Merged by #{link_to_member(@project, @merge_request.merge_event.author)}
diff --git a/app/views/milestones/show.html.haml b/app/views/milestones/show.html.haml
index c4975c72ef2..fc7ae51f184 100644
--- a/app/views/milestones/show.html.haml
+++ b/app/views/milestones/show.html.haml
@@ -27,8 +27,8 @@
%span All issues for this milestone are closed. You may close milestone now.
= link_to 'Close Milestone', project_milestone_path(@project, @milestone, milestone: {closed: true }), method: :put, class: "btn small danger"
-.main_box
- .top_box_content
+.ui-box.ui-box-show
+ .ui-box-head
%h4.box-title
- if @milestone.closed
.error.status_info Closed
@@ -37,52 +37,47 @@
= gfm escape_once(@milestone.title)
- .middle_box_content
- %h5
+ .ui-box-body
+ %p
Progress:
- %small
- #{@milestone.closed_items_count} closed
- &ndash;
- #{@milestone.open_items_count} open
+ #{@milestone.closed_items_count} closed
+ &ndash;
+ #{@milestone.open_items_count} open
%span.right= @milestone.expires_at
.progress.progress-info
.bar{style: "width: #{@milestone.percent_complete}%;"}
- if @milestone.description.present?
- .bottom_box_content
+ .ui-box-bottom
= preserve do
= markdown @milestone.description
.row
.span6
- %table.milestone-issue-filter
- %thead
- %tr
- %th
- %ul.nav.nav-pills
- %li.active= link_to('Open Issues', '#')
- %li=link_to('All Issues', '#')
- - @issues.each do |issue|
- %tr{data: {closed: issue.closed}}
- %td
+ .ui-box.milestone-issue-filter
+ .title
+ %ul.nav.nav-pills
+ %li.active= link_to('Open Issues', '#')
+ %li=link_to('All Issues', '#')
+ %ul.well-list
+ - @issues.each do |issue|
+ %li{data: {closed: issue.closed}}
= link_to [@project, issue] do
%span.badge.badge-info ##{issue.id}
&ndash;
= link_to_gfm truncate(issue.title, length: 60), [@project, issue]
.span6
- %table.milestone-merge-requests-filter
- %thead
- %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
+ .ui-box.milestone-merge-requests-filter
+ .title
+ %ul.nav.nav-pills
+ %li.active= link_to('Open Merge Requests', '#')
+ %li=link_to('All Merge Requests', '#')
+ %ul.well-list
+ - @merge_requests.each do |merge_request|
+ %li{data: {closed: merge_request.closed}}
= link_to [@project, merge_request] do
%span.badge.badge-info ##{merge_request.id}
&ndash;
diff --git a/app/views/notes/_note.html.haml b/app/views/notes/_note.html.haml
index 8881cf5a847..6f7eea9827f 100644
--- a/app/views/notes/_note.html.haml
+++ b/app/views/notes/_note.html.haml
@@ -28,6 +28,8 @@
= preserve do
= markdown(note.note)
- if note.attachment.url
+ - if note.attachment.image?
+ = image_tag note.attachment.url, class: 'thumbnail span4'
.attachment.right
= link_to note.attachment.url, target: "_blank" do
%i.icon-attachment
diff --git a/app/views/notify/issue_status_changed_email.html.haml b/app/views/notify/issue_status_changed_email.html.haml
index c433e80c9e5..27168eef742 100644
--- a/app/views/notify/issue_status_changed_email.html.haml
+++ b/app/views/notify/issue_status_changed_email.html.haml
@@ -1,8 +1,8 @@
%td.content{align: "left", style: "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", valign: "top", width: "600"}
%table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
%tr
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %td{align: "left", style: "padding: 20px 0 0;"}
+ %td{width: "21"}
+ %td
%h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
= "Issue was #{@issue_status} by #{@updated_by.name}"
%td{style: "font-size: 1px; line-height: 1px;", width: "21"}
diff --git a/app/views/notify/new_issue_email.html.haml b/app/views/notify/new_issue_email.html.haml
index fba4b865487..3cb5351319e 100644
--- a/app/views/notify/new_issue_email.html.haml
+++ b/app/views/notify/new_issue_email.html.haml
@@ -1,13 +1,13 @@
%td.content{align: "left", style: "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", valign: "top", width: "600"}
%table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
%tr
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %td{align: "left", style: "padding: 20px 0 0;"}
+ %td{width: "21"}
+ %td
%h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
New Issue was created and assigned to you.
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+ %td{width: "21"}
%tr
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+ %td{width: "21"}
%td{align: "left", style: "padding: 20px 0 0;"}
%p{style: "color:#646464 !important; line-height: 26px; font-size: 16px; font-family: Helvetica, Arial, sans-serif; "}
= "Issue ##{@issue.id}"
diff --git a/app/views/notify/new_merge_request_email.html.haml b/app/views/notify/new_merge_request_email.html.haml
index 9819767011e..990d4d2aa87 100644
--- a/app/views/notify/new_merge_request_email.html.haml
+++ b/app/views/notify/new_merge_request_email.html.haml
@@ -14,6 +14,6 @@
%p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
Branches: #{@merge_request.source_branch} &rarr; #{@merge_request.target_branch}
%p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
- Asignee: #{@merge_request.author_name} &rarr; #{@merge_request.assignee_name}
+ Assignee: #{@merge_request.author_name} &rarr; #{@merge_request.assignee_name}
%td
diff --git a/app/views/notify/note_merge_request_email.html.haml b/app/views/notify/note_merge_request_email.html.haml
index 764cd094b76..3857f2f0318 100644
--- a/app/views/notify/note_merge_request_email.html.haml
+++ b/app/views/notify/note_merge_request_email.html.haml
@@ -1,23 +1,27 @@
%td.content{align: "left", style: "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", valign: "top", width: "600"}
%table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
%tr
- %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; "}
- = "New comment for Merge Request !#{@merge_request.id}"
- = link_to_gfm truncate(@merge_request.title, length: 16), project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+ %td{width: "21"}
+ %td
+ %h2{style: "color:#646464; font-weight: normal;"}
+ - if @note.for_diff_line?
+ = link_to "New comment on diff", diffs_project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")
+ - else
+ = link_to "New comment", project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")
+ for Merge Request ##{@merge_request.id}
+ %cite "#{truncate(@merge_request.title, length: 20)}"
+ %td{width: "21"}
%tr
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %td{style: "padding: 15px 0 15px;", valign: "top"}
- %p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
- %a{href: "#", style: "color: #0eb6ce; text-decoration: none;"} #{@note.author_name}
+ %td{width: "21"}
+ %td
+ %p
+ %strong #{@note.author_name}
left next message:
%br
%table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
%tr
%td{valign: "top"}
- %div{ style: "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
+ %div{ style: "background:#f5f5f5; padding:10px 20px;border:1px solid #ddd" }
= markdown(@note.note)
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+ %td{width: "21"}
diff --git a/app/views/notify/reassigned_issue_email.html.haml b/app/views/notify/reassigned_issue_email.html.haml
index 31a5d23242c..bc2d6f7078b 100644
--- a/app/views/notify/reassigned_issue_email.html.haml
+++ b/app/views/notify/reassigned_issue_email.html.haml
@@ -2,7 +2,7 @@
%table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
%tr
%td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %td{align: "left", style: "padding: 20px 0 0;"}
+ %td
%h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
= "Reassigned Issue ##{@issue.id}"
= link_to_gfm truncate(@issue.title, length: 30), project_issue_url(@issue.project, @issue)
diff --git a/app/views/profiles/account.html.haml b/app/views/profiles/account.html.haml
index 3c290948d6c..522e45e637a 100644
--- a/app/views/profiles/account.html.haml
+++ b/app/views/profiles/account.html.haml
@@ -69,7 +69,7 @@
%i.icon-ok
Saved
%span.update-failed.cred.hide
- %i.icon-ok
+ %i.icon-remove
Failed
%ul.cred
%li It will change web url for personal projects.
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml
index 934c1fdf7c4..64f931ca887 100644
--- a/app/views/profiles/show.html.haml
+++ b/app/views/profiles/show.html.haml
@@ -64,7 +64,7 @@
%legend
Personal projects:
%small.right
- %span= current_user.my_own_projects.count
+ %span= current_user.personal_projects.count
of
%span= current_user.projects_limit
.padded
diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml
index 7044d1f20be..c8eacdc2a46 100644
--- a/app/views/projects/_form.html.haml
+++ b/app/views/projects/_form.html.haml
@@ -15,13 +15,13 @@
= f.label :path do
Repository
.controls
- = text_field_tag :ppath, @project.path_to_repo, class: "xxlarge", readonly: true
+ = text_field_tag :ppath, @repository.path_to_repo, class: "xxlarge", readonly: true
- - unless @project.heads.empty?
+ - unless @repository.heads.empty?
.clearfix
= f.label :default_branch, "Default Branch"
- .input= f.select(:default_branch, @project.heads.map(&:name), {}, style: "width:210px;")
+ .input= f.select(:default_branch, @repository.heads.map(&:name), {}, style: "width:210px;")
%fieldset.features
%legend Features:
diff --git a/app/views/projects/_new_form.html.haml b/app/views/projects/_new_form.html.haml
index 2ef29cb0c65..2391c750bc8 100644
--- a/app/views/projects/_new_form.html.haml
+++ b/app/views/projects/_new_form.html.haml
@@ -7,7 +7,7 @@
Project name is
.input
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
- = f.submit 'Create project', class: "btn primary project-submit"
+ = f.submit 'Create project', class: "btn success project-submit"
- if current_user.several_namespaces?
.clearfix
diff --git a/app/views/protected_branches/index.html.haml b/app/views/protected_branches/index.html.haml
index f408fd16c2c..c1ecceda435 100644
--- a/app/views/protected_branches/index.html.haml
+++ b/app/views/protected_branches/index.html.haml
@@ -1,51 +1,54 @@
-= render "repositories/branches_head"
+= render "commits/head"
+.row
+ .span3
+ = render "repositories/filter"
+ .span9
+ .alert
+ %p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
+ %p This ability allows:
+ %ul
+ %li keep stable branches secured
+ %li forced code review before merge to protected branches
+ %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"}
-.alert
- %p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
- %p This ability allows:
- %ul
- %li keep stable branches secured
- %li forced code review before merge to protected branches
- %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"}
+ - if can? current_user, :admin_project, @project
+ = form_for [@project, @protected_branch] do |f|
+ -if @protected_branch.errors.any?
+ .alert-message.block-message.error
+ %ul
+ - @protected_branch.errors.full_messages.each do |msg|
+ %li= msg
-- if can? current_user, :admin_project, @project
- = form_for [@project, @protected_branch] do |f|
- -if @protected_branch.errors.any?
- .alert-message.block-message.error
- %ul
- - @protected_branch.errors.full_messages.each do |msg|
- %li= msg
+ .entry.clearfix
+ = f.label :name, "Branch"
+ .span3
+ = f.select(:name, @project.open_branches.map { |br| [br.name, br.name] } , {include_blank: "Select branch"}, {class: "chosen span3"})
+ &nbsp;
+ = f.submit 'Protect', class: "primary btn"
- .entry.clearfix
- = f.label :name, "Branch"
- .span3
- = f.select(:name, @project.open_branches.map { |br| [br.name, br.name] } , {include_blank: "Select branch"}, {class: "chosen span3"})
- &nbsp;
- = f.submit 'Protect', class: "primary btn"
-
-- unless @branches.empty?
- %table
- %thead
- %tr
- %th Name
- %th Last commit
- %th
- %tbody
- - @branches.each do |branch|
- %tr
- %td
- = link_to project_commits_path(@project, branch.name) do
- %strong= branch.name
- - if branch.name == @project.root_ref
- %span.label default
- %td
- - if branch.commit
- = link_to project_commit_path(@project, branch.commit.id) do
- = truncate branch.commit.id.to_s, length: 10
- = time_ago_in_words(branch.commit.committed_date)
- ago
- - else
- (branch was removed from repository)
- %td
- - if can? current_user, :admin_project, @project
- = link_to 'Unprotect', [@project, branch], confirm: 'Are you sure?', method: :delete, class: "danger btn small"
+ - unless @branches.empty?
+ %table
+ %thead
+ %tr
+ %th Name
+ %th Last commit
+ %th
+ %tbody
+ - @branches.each do |branch|
+ %tr
+ %td
+ = link_to project_commits_path(@project, branch.name) do
+ %strong= branch.name
+ - if @project.root_ref?(branch.name)
+ %span.label default
+ %td
+ - if branch.commit
+ = link_to project_commit_path(@project, branch.commit.id) do
+ = truncate branch.commit.id.to_s, length: 10
+ = time_ago_in_words(branch.commit.committed_date)
+ ago
+ - else
+ (branch was removed from repository)
+ %td
+ - if can? current_user, :admin_project, @project
+ = link_to 'Unprotect', [@project, branch], confirm: 'Are you sure?', method: :delete, class: "danger btn small"
diff --git a/app/views/repositories/_branch.html.haml b/app/views/repositories/_branch.html.haml
index 2728b100ff6..a6faa5fd633 100644
--- a/app/views/repositories/_branch.html.haml
+++ b/app/views/repositories/_branch.html.haml
@@ -8,7 +8,7 @@
- else
%i.icon-unlock
%strong= truncate(branch.name, length: 60)
- - if branch.name == @project.root_ref
+ - if branch.name == @repository.root_ref
%span.label default
%td
= link_to project_commit_path(@project, commit.id), class: 'commit_short_id' do
@@ -22,6 +22,6 @@
%td
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project, ref: branch.name) do
- %i.icon-download
+ %i.icon-download-alt
Download
diff --git a/app/views/repositories/_feed.html.haml b/app/views/repositories/_feed.html.haml
index 496328baca5..44380133718 100644
--- a/app/views/repositories/_feed.html.haml
+++ b/app/views/repositories/_feed.html.haml
@@ -5,7 +5,7 @@
= link_to project_commits_path(@project, commit.head.name) do
%strong
= commit.head.name
- - if commit.head.name == @project.root_ref
+ - if @project.root_ref?(commit.head.name)
%span.label default
%td
diff --git a/app/views/repositories/_branches_head.html.haml b/app/views/repositories/_filter.html.haml
index 8f3e1ba3f81..e718d48190a 100644
--- a/app/views/repositories/_branches_head.html.haml
+++ b/app/views/repositories/_filter.html.haml
@@ -1,10 +1,9 @@
-= render "commits/head"
-%ul.nav.nav-pills
+%ul.nav.nav-pills.nav-stacked
= nav_link(path: 'repositories#show') do
= link_to 'Recent', project_repository_path(@project)
= nav_link(path: 'protected_branches#index') do
= link_to project_protected_branches_path(@project) do
- %i.icon-lock
Protected
+ %i.icon-lock
= nav_link(path: 'repositories#branches') do
- = link_to 'All', branches_project_repository_path(@project)
+ = link_to 'All branches', branches_project_repository_path(@project)
diff --git a/app/views/repositories/branches.html.haml b/app/views/repositories/branches.html.haml
index 4c246c69d7c..14b5082e44e 100644
--- a/app/views/repositories/branches.html.haml
+++ b/app/views/repositories/branches.html.haml
@@ -1,12 +1,15 @@
-= render "repositories/branches_head"
-- unless @branches.empty?
- %table
- %thead
- %tr
- %th Name
- %th Last commit
- %th
-
- %tbody
- - @branches.each do |branch|
- = render "repositories/branch", branch: branch
+= render "commits/head"
+.row
+ .span3
+ = render "filter"
+ .span9
+ - unless @branches.empty?
+ %table
+ %thead
+ %tr
+ %th Name
+ %th Last commit
+ %th
+ %tbody
+ - @branches.each do |branch|
+ = render "repositories/branch", branch: branch
diff --git a/app/views/repositories/show.html.haml b/app/views/repositories/show.html.haml
index fd0abac8414..e58e16f8bf1 100644
--- a/app/views/repositories/show.html.haml
+++ b/app/views/repositories/show.html.haml
@@ -1,11 +1,14 @@
-= render "branches_head"
-
-%table
- %thead
- %tr
- %th Name
- %th Last commit
- %th
- - @activities.each do |update|
- = render "repositories/branch", branch: update.head
+= render "commits/head"
+.row
+ .span3
+ = render "filter"
+ .span9
+ %table
+ %thead
+ %tr
+ %th Name
+ %th Last commit
+ %th
+ - @activities.each do |update|
+ = render "repositories/branch", branch: update.head
diff --git a/app/views/repositories/stats.html.haml b/app/views/repositories/stats.html.haml
index a93814a4777..bdf047f1e98 100644
--- a/app/views/repositories/stats.html.haml
+++ b/app/views/repositories/stats.html.haml
@@ -7,7 +7,7 @@
%b Total commits:
%span= @stats.commits_count
%p
- %b Total files in #{@project.root_ref}:
+ %b Total files in #{@repository.root_ref}:
%span= @stats.files_count
%p
%b Authors:
diff --git a/app/views/repositories/tags.html.haml b/app/views/repositories/tags.html.haml
index 193cb2e30f2..d4b8bbe10d4 100644
--- a/app/views/repositories/tags.html.haml
+++ b/app/views/repositories/tags.html.haml
@@ -26,8 +26,14 @@
%td
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project, ref: tag.name) do
- %i.icon-download
+ %i.icon-download-alt
Download
- else
- %h3 No tags
+ %h3.nothing_here_message
+ Repository has no tags yet.
+ %br
+ %small
+ Use git tag command to add a new one:
+ %br
+ %span.monospace git tag -a v1.4 -m 'version 1.4'
diff --git a/app/views/search/_result.html.haml b/app/views/search/_result.html.haml
index 8b137891791..79bed4f737c 100644
--- a/app/views/search/_result.html.haml
+++ b/app/views/search/_result.html.haml
@@ -1 +1,85 @@
+%br
+%h3.page_title
+ Search results
+ %span.cgray (#{@projects.count + @merge_requests.count + @issues.count + @wiki_pages.count})
+%hr
+.search_results
+ .row
+ .span6
+ %table
+ %thead
+ %tr
+ %th Projects
+ %tbody
+ - @projects.each do |project|
+ %tr
+ %td
+ = link_to project do
+ %strong.term= project.name_with_namespace
+ %small.cgray
+ last activity at
+ = project.last_activity_date.stamp("Aug 25, 2011")
+ - if @projects.blank?
+ %tr
+ %td
+ %h4.nothing_here_message No Projects
+ %br
+ %table
+ %thead
+ %tr
+ %th Merge Requests
+ %tbody
+ - @merge_requests.each do |merge_request|
+ %tr
+ %td
+ = link_to [merge_request.project, merge_request] do
+ %span.badge.badge-info ##{merge_request.id}
+ &ndash;
+ %strong.term= truncate merge_request.title, length: 50
+ %strong.right
+ %span.label= merge_request.project.name
+ - if @merge_requests.blank?
+ %tr
+ %td
+ %h4.nothing_here_message No Merge Requests
+ .span6
+ %table
+ %thead
+ %tr
+ %th Issues
+ %tbody
+ - @issues.each do |issue|
+ %tr
+ %td
+ = link_to [issue.project, issue] do
+ %span.badge.badge-info ##{issue.id}
+ &ndash;
+ %strong.term= truncate issue.title, length: 40
+ %strong.right
+ %span.label= issue.project.name
+ - if @issues.blank?
+ %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("#{escape_javascript(params[:search])}");
+ })
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index 8448193deb9..aa0d6d700d9 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -6,87 +6,4 @@
= search_field_tag :search, params[:search], placeholder: "issue 143", class: "input-xxlarge search-text-input", id: "dashboard_search"
= submit_tag 'Search', class: "btn primary wide"
- if params[:search].present?
- %br
- %h3
- Search results
- %small (#{@projects.count + @merge_requests.count + @issues.count + @wiki_pages.count})
- %hr
- .search_results
- .row
- .span6
- %table
- %thead
- %tr
- %th Projects
- %tbody
- - @projects.each do |project|
- %tr
- %td
- = link_to project do
- %strong.term= project.name_with_namespace
- %small.cgray
- last activity at
- = project.last_activity_date.stamp("Aug 25, 2011")
- - if @projects.blank?
- %tr
- %td
- %h4.nothing_here_message No Projects
- %br
- %table
- %thead
- %tr
- %th Merge Requests
- %tbody
- - @merge_requests.each do |merge_request|
- %tr
- %td
- = link_to [merge_request.project, merge_request] do
- %span.badge.badge-info ##{merge_request.id}
- &ndash;
- %strong.term= truncate merge_request.title, length: 50
- %strong.right
- %span.label= merge_request.project.name
- - if @merge_requests.blank?
- %tr
- %td
- %h4.nothing_here_message No Merge Requests
- .span6
- %table
- %thead
- %tr
- %th Issues
- %tbody
- - @issues.each do |issue|
- %tr
- %td
- = link_to [issue.project, issue] do
- %span.badge.badge-info ##{issue.id}
- &ndash;
- %strong.term= truncate issue.title, length: 40
- %strong.right
- %span.label= issue.project.name
- - if @issues.blank?
- %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]}");
- })
+ = render 'search/result'
diff --git a/app/views/team_members/_form.html.haml b/app/views/team_members/_form.html.haml
index e5d9a4a4b5e..a963e462a78 100644
--- a/app/views/team_members/_form.html.haml
+++ b/app/views/team_members/_form.html.haml
@@ -11,7 +11,7 @@
%h6 1. Choose people you want in the team
.clearfix
= f.label :user_ids, "People"
- .input= select_tag(:user_ids, options_from_collection_for_select(User.active.not_in_project(@project).all, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
+ .input= select_tag(:user_ids, options_from_collection_for_select(User.active.not_in_project(@project).alphabetically, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
%h6 2. Set access level for them
.clearfix
diff --git a/app/views/team_members/_team.html.haml b/app/views/team_members/_team.html.haml
index 462e75af183..365d9b65942 100644
--- a/app/views/team_members/_team.html.haml
+++ b/app/views/team_members/_team.html.haml
@@ -1,6 +1,6 @@
- grouper_project_members(@project).each do |access, members|
.ui-box
- %h5
+ %h5.title
= Project.access_options.key(access).pluralize
%small= members.size
%ul.well-list
diff --git a/app/views/team_members/import.html.haml b/app/views/team_members/import.html.haml
index 34f7fb03288..de82f416248 100644
--- a/app/views/team_members/import.html.haml
+++ b/app/views/team_members/import.html.haml
@@ -9,7 +9,7 @@
%p.slead Choose project you want to use as team source:
.padded
= label_tag :source_project_id, "Project"
- .input= select_tag(:source_project_id, options_from_collection_for_select(current_user.projects, :id, :name), prompt: "Select project", class: "chosen xxlarge", required: true)
+ .input= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen xxlarge", required: true)
.actions
= submit_tag 'Import', class: "btn save-btn"
diff --git a/app/views/team_members/show.html.haml b/app/views/team_members/show.html.haml
index af9a6e6b92d..4008e8bd23e 100644
--- a/app/views/team_members/show.html.haml
+++ b/app/views/team_members/show.html.haml
@@ -8,8 +8,7 @@
= image_tag gravatar_icon(user.email, 60), class: "borders"
%h3.page_title
= user.name
- %small
- = user.email
+ %small (@#{user.username})
%hr
.back_link
diff --git a/app/views/tree/_tree.html.haml b/app/views/tree/_tree.html.haml
index a632bb3b0d7..c2842959510 100644
--- a/app/views/tree/_tree.html.haml
+++ b/app/views/tree/_tree.html.haml
@@ -3,9 +3,13 @@
%span.arrow
= link_to project_tree_path(@project, @ref) do
= @project.name
- - tree.breadcrumbs(6) do |link|
+ - tree.breadcrumbs(6) do |title, path|
\/
- %li= link
+ %li
+ - if path
+ = link_to truncate(title, length: 40), project_tree_path(@project, path)
+ - else
+ = link_to title, '#'
.clear
%div.tree_progress
@@ -26,7 +30,7 @@
%tr.tree-item
%td.tree-item-file-name
= image_tag "file_empty.png", size: '16x16'
- = link_to "..", tree.up_dir_path
+ = link_to "..", project_tree_path(@project, tree.up_dir_path)
%td
%td
%td
diff --git a/app/views/tree/blob/_download.html.haml b/app/views/tree/blob/_download.html.haml
index c307622995b..864c209db76 100644
--- a/app/views/tree/blob/_download.html.haml
+++ b/app/views/tree/blob/_download.html.haml
@@ -2,7 +2,7 @@
%center
= link_to project_blob_path(@project, @id) do
%div.padded
- %br
- = image_tag "download.png", width: 64
- %h3
+ %h4
+ %i.icon-download-alt
+ %br
Download (#{number_to_human_size blob.size})
diff --git a/app/views/wikis/_form.html.haml b/app/views/wikis/_form.html.haml
index 83b16b138d3..9eb2a571fe5 100644
--- a/app/views/wikis/_form.html.haml
+++ b/app/views/wikis/_form.html.haml
@@ -6,12 +6,12 @@
- @wiki.errors.full_messages.each do |msg|
%li= msg
- .main_box
- .top_box_content
+ .ui-box.ui-box-show
+ .ui-box-head
= f.label :title
.input= f.text_field :title, class: 'span8'
= f.hidden_field :slug
- .middle_box_content
+ .ui-box-body
.input
%span.cgray
Wiki content is parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
@@ -19,7 +19,7 @@
%code [Link Title](page-slug)
\.
- .bottom_box_content
+ .ui-box-bottom
= f.label :content
.input= f.text_area :content, class: 'span8 js-gfm-input'
.actions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb
index 1414ed490c9..e74379a65dd 100644
--- a/app/workers/post_receive.rb
+++ b/app/workers/post_receive.rb
@@ -1,7 +1,9 @@
class PostReceive
- @queue = :post_receive
+ include Sidekiq::Worker
- def self.perform(repo_path, oldrev, newrev, ref, identifier)
+ sidekiq_options queue: :post_receive
+
+ def perform(repo_path, oldrev, newrev, ref, identifier)
repo_path.gsub!(Gitlab.config.gitolite.repos_path.to_s, "")
repo_path.gsub!(/.git$/, "")
repo_path.gsub!(/^\//, "")
@@ -11,7 +13,7 @@ class PostReceive
# Ignore push from non-gitlab users
user = if identifier.eql? Gitlab.config.gitolite.admin_key
- email = project.commit(newrev).author.email rescue nil
+ email = project.repository.commit(newrev).author.email rescue nil
User.find_by_email(email) if email
elsif /^[A-Z0-9._%a-z\-]+@(?:[A-Z0-9a-z\-]+\.)+[A-Za-z]{2,4}$/.match(identifier)
User.find_by_email(identifier)
diff --git a/app/workers/system_hook_worker.rb b/app/workers/system_hook_worker.rb
index ca154136b97..3ebc62b7e7a 100644
--- a/app/workers/system_hook_worker.rb
+++ b/app/workers/system_hook_worker.rb
@@ -1,7 +1,9 @@
class SystemHookWorker
- @queue = :system_hook
+ include Sidekiq::Worker
- def self.perform(hook_id, data)
+ sidekiq_options queue: :system_hook
+
+ def perform(hook_id, data)
SystemHook.find(hook_id).execute data
end
end
diff --git a/config.ru b/config.ru
index 5ef2a0289fe..dfd2d862237 100644
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,7 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run Gitlab::Application
+
+map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do
+ run Gitlab::Application
+end
diff --git a/config/application.rb b/config/application.rb
index d6bb90a3052..d71de88ebe3 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -16,7 +16,7 @@ module Gitlab
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
- config.autoload_paths += %W(#{config.root}/lib)
+ config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/models/concerns)
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 067dbd9b72b..76dc6214088 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -1,6 +1,12 @@
# # # # # # # # # # # # # # # # # #
# Gitlab application config file #
# # # # # # # # # # # # # # # # # #
+#
+# How to use:
+# 1. copy file as gitlab.yml
+# 2. Replace gitlab -> host with your domain
+# 3. Replace gitolite -> ssh_host with your domain
+# 4. Replace gitlab -> email_from
#
# 1. GitLab app settings
@@ -12,6 +18,9 @@ gitlab:
host: localhost
port: 80
https: false
+ # uncomment and customize to run in non-root path
+ # note that ENV['RAILS_RELATIVE_URL_ROOT'] in config/unicorn.rb may need to be changed
+ # relative_url_root: /gitlab
## Email settings
# Email address used in the "From" field in mails sent by GitLab
@@ -83,6 +92,7 @@ backup:
## Gitolite settings
gitolite:
admin_uri: git@localhost:gitolite-admin
+ # repos_path must not be a symlink
repos_path: /home/git/repositories/
hooks_path: /home/git/.gitolite/hooks/
admin_key: gitlab
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index 4fe3ced4d8d..6b47a9cc948 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -2,272 +2,6 @@ class Settings < Settingslogic
source "#{Rails.root}/config/gitlab.yml"
class << self
- # FIXME: Deprecated: remove for 4.1
- def web_protocol
- ActiveSupport::Deprecation.warn("Settings.web_protocol is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.protocol
- rescue Settingslogic::MissingSetting
- self.web['protocol'] ||= web.https ? "https" : "http"
- end
-
- # FIXME: Deprecated: remove for 4.1
- def web_host
- ActiveSupport::Deprecation.warn("Settings.web_host is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.host
- rescue Settingslogic::MissingSetting
- self.web['host'] ||= 'localhost'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def email_from
- ActiveSupport::Deprecation.warn("Settings.email_from is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.email_from
- rescue Settingslogic::MissingSetting
- self.email['from'] ||= ("notify@" + web_host)
- end
-
- # FIXME: Deprecated: remove for 4.1
- def url
- ActiveSupport::Deprecation.warn("Settings.url is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.url
- rescue Settingslogic::MissingSetting
- self['url'] ||= build_url
- end
-
- # FIXME: Deprecated: remove for 4.1
- def web_port
- ActiveSupport::Deprecation.warn("Settings.web_port is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.port.to_i
- rescue Settingslogic::MissingSetting
- if web.https
- web['port'] = 443
- else
- web['port'] ||= 80
- end.to_i
- end
-
- # FIXME: Deprecated: remove for 4.1
- def web_custom_port?
- ActiveSupport::Deprecation.warn("Settings.web_custom_port? is deprecated and will be removed from GitLab 4.1", caller)
- gitlab_on_non_standard_port?
- rescue Settingslogic::MissingSetting
- ![443, 80].include?(web_port)
- end
-
- # FIXME: Deprecated: remove for 4.1
- def build_url
- ActiveSupport::Deprecation.warn("Settings.build_url is deprecated and will be removed from GitLab 4.1", caller)
- if web_custom_port?
- custom_port = ":#{web_port}"
- else
- custom_port = nil
- end
- [
- web_protocol,
- "://",
- web_host,
- custom_port
- ].join('')
- end
-
- # FIXME: Deprecated: remove for 4.1
- def ssh_port
- ActiveSupport::Deprecation.warn("Settings.ssh_port is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.ssh_port
- rescue Settingslogic::MissingSetting
- git_host['port'] || 22
- end
-
- # FIXME: Deprecated: remove for 4.1
- def ssh_user
- ActiveSupport::Deprecation.warn("Settings.ssh_user is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.ssh_user
- rescue Settingslogic::MissingSetting
- git_host['git_user'] || 'git'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def ssh_host
- ActiveSupport::Deprecation.warn("Settings.ssh_host is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.ssh_host
- rescue Settingslogic::MissingSetting
- git_host['host'] || web_host || 'localhost'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def ssh_path
- ActiveSupport::Deprecation.warn("Settings.ssh_path is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.ssh_path_prefix
- rescue Settingslogic::MissingSetting
- if ssh_port != 22
- "ssh://#{ssh_user}@#{ssh_host}:#{ssh_port}/"
- else
- "#{ssh_user}@#{ssh_host}:"
- end
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_base_path
- ActiveSupport::Deprecation.warn("Settings.git_base_path is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.repos_path
- rescue Settingslogic::MissingSetting
- git_host['base_path'] || '/home/git/repositories/'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_hooks_path
- ActiveSupport::Deprecation.warn("Settings.git_hooks_path is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.hooks_path
- rescue Settingslogic::MissingSetting
- git_host['hooks_path'] || '/home/git/share/gitolite/hooks/'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_upload_pack
- ActiveSupport::Deprecation.warn("Settings.git_upload_pack is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.upload_pack
- rescue Settingslogic::MissingSetting
- if git_host['upload_pack'] != false
- true
- else
- false
- end
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_receive_pack
- ActiveSupport::Deprecation.warn("Settings.git_receive_pack is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.receive_pack
- rescue Settingslogic::MissingSetting
- if git_host['receive_pack'] != false
- true
- else
- false
- end
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_bin_path
- ActiveSupport::Deprecation.warn("Settings.git_bin_path is deprecated and will be removed from GitLab 4.1", caller)
- git.bin_path
- rescue Settingslogic::MissingSetting
- git['path'] || '/usr/bin/git'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_max_size
- ActiveSupport::Deprecation.warn("Settings.git_max_size is deprecated and will be removed from GitLab 4.1", caller)
- git.max_size
- rescue Settingslogic::MissingSetting
- git['git_max_size'] || 5242880 # 5.megabytes
- end
-
- # FIXME: Deprecated: remove for 4.1
- def git_timeout
- ActiveSupport::Deprecation.warn("Settings.git_timeout is deprecated and will be removed from GitLab 4.1", caller)
- git.timeout
- rescue Settingslogic::MissingSetting
- git['git_timeout'] || 10
- end
-
- # FIXME: Deprecated: remove for 4.1
- def gitolite_admin_uri
- ActiveSupport::Deprecation.warn("Settings.gitolite_admin_uri is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.admin_uri
- rescue Settingslogic::MissingSetting
- git_host['admin_uri'] || 'git@localhost:gitolite-admin'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def gitolite_config_file
- ActiveSupport::Deprecation.warn("Settings.gitolite_config_file is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.config_file
- rescue Settingslogic::MissingSetting
- git_host['config_file'] || 'gitolite.conf'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def gitolite_admin_key
- ActiveSupport::Deprecation.warn("Settings.gitolite_admin_key is deprecated and will be removed from GitLab 4.1", caller)
- gitolite.admin_key
- rescue Settingslogic::MissingSetting
- git_host['gitolite_admin_key'] || 'gitlab'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def default_projects_limit
- ActiveSupport::Deprecation.warn("Settings.default_projects_limit is deprecated and will be removed from GitLab 4.1", caller)
- gitlab.default_projects_limit
- rescue Settingslogic::MissingSetting
- app['default_projects_limit'] || 10
- end
-
- # FIXME: Deprecated: remove for 4.1
- def backup_path
- ActiveSupport::Deprecation.warn("Settings.backup_path is deprecated and will be removed from GitLab 4.1", caller)
- backup.path
- rescue Settingslogic::MissingSetting
- File.expand_path(app['backup_path'] || "backups/", Rails.root)
- end
-
- # FIXME: Deprecated: remove for 4.1
- def backup_keep_time
- ActiveSupport::Deprecation.warn("Settings.backup_keep_time is deprecated and will be removed from GitLab 4.1", caller)
- backup.keep_time
- rescue Settingslogic::MissingSetting
- app['backup_keep_time'] || 0
- end
-
- # FIXME: Deprecated: remove for 4.1
- def ldap_enabled?
- ActiveSupport::Deprecation.warn("Settings.ldap_enabled? is deprecated and will be removed from GitLab 4.1", caller)
- ldap.enabled
- rescue Settingslogic::MissingSetting
- false
- end
-
- # FIXME: Deprecated: remove for 4.1
- def omniauth_enabled?
- ActiveSupport::Deprecation.warn("Settings.omniauth_enabled? is deprecated and will be removed from GitLab 4.1", caller)
- omniauth.enabled
- rescue Settingslogic::MissingSetting
- false
- end
-
- # FIXME: Deprecated: remove for 4.1
- def omniauth_providers
- ActiveSupport::Deprecation.warn("Settings.omniauth_providers is deprecated and will be removed from GitLab 4.1", caller)
- omniauth.providers
- rescue Settingslogic::MissingSetting
- []
- end
-
- # FIXME: Deprecated: remove for 4.1
- def disable_gravatar?
- ActiveSupport::Deprecation.warn("Settings.disable_gravatar? is deprecated and will be removed from GitLab 4.1", caller)
- !gravatar.enabled
- rescue Settingslogic::MissingSetting
- app['disable_gravatar'] || false
- end
-
- # FIXME: Deprecated: remove for 4.1
- def gravatar_url
- ActiveSupport::Deprecation.warn("Settings.gravatar_url is deprecated and will be removed from GitLab 4.1", caller)
- gravatar.plain_url
- rescue Settingslogic::MissingSetting
- app['gravatar_url'] || 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
- end
-
- # FIXME: Deprecated: remove for 4.1
- def gravatar_ssl_url
- ActiveSupport::Deprecation.warn("Settings.gravatar_ssl_url is deprecated and will be removed from GitLab 4.1", caller)
- gravatar.ssl_url
- rescue Settingslogic::MissingSetting
- app['gravatar_ssl_url'] || 'https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
- end
-
-
-
def gitlab_on_non_standard_port?
![443, 80].include?(gitlab.port.to_i)
end
@@ -291,7 +25,8 @@ class Settings < Settingslogic
[ gitlab.protocol,
"://",
gitlab.host,
- custom_port
+ custom_port,
+ gitlab.relative_url_root
].join('')
end
end
@@ -299,14 +34,6 @@ end
# Default settings
-
-# FIXME: Deprecated: remove for 4.1
-# all Settings.web ...
-# all Settings.app ...
-# all Settings.email ...
-# all Settings.git_host ...
-Settings['pre_40_config'] ||= Settings['web'].present?
-
Settings['ldap'] ||= Settingslogic.new({})
Settings.ldap['enabled'] ||= false
@@ -315,38 +42,38 @@ Settings.omniauth['enabled'] ||= false
Settings.omniauth['providers'] ||= []
Settings['gitlab'] ||= Settingslogic.new({})
-Settings.gitlab['default_projects_limit'] ||= Settings.pre_40_config ? Settings.default_projects_limit : 10
-Settings.gitlab['host'] ||= Settings.pre_40_config ? Settings.web_host : 'localhost'
-Settings.gitlab['https'] ||= Settings.pre_40_config ? Settings.web.https : false
+Settings.gitlab['default_projects_limit'] ||= 10
+Settings.gitlab['host'] ||= 'localhost'
+Settings.gitlab['https'] ||= false
Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80
+Settings.gitlab['relative_url_root'] ||= ''
Settings.gitlab['protocol'] ||= Settings.gitlab.https ? "https" : "http"
-Settings.gitlab['email_from'] ||= Settings.pre_40_config ? Settings.email_from : "gitlab@#{Settings.gitlab.host}"
-Settings.gitlab['url'] ||= Settings.pre_40_config ? Settings.url : Settings.send(:build_gitlab_url)
+Settings.gitlab['email_from'] ||= "gitlab@#{Settings.gitlab.host}"
+Settings.gitlab['url'] ||= Settings.send(:build_gitlab_url)
Settings['gravatar'] ||= Settingslogic.new({})
-Settings.gravatar['enabled'] ||= Settings.pre_40_config ? !Settings.disable_gravatar? : true
-Settings.gravatar['plain_url'] ||= Settings.pre_40_config ? Settings.gravatar_url : 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
-Settings.gravatar['ssl_url'] ||= Settings.pre_40_config ? Settings.gravatar_ssl_url : 'https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
+Settings.gravatar['enabled'] ||= true
+Settings.gravatar['plain_url'] ||= 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
+Settings.gravatar['ssl_url'] ||= 'https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm'
Settings['gitolite'] ||= Settingslogic.new({})
-Settings.gitolite['admin_key'] ||= Settings.pre_40_config ? Settings.gitolite_admin_key : 'gitlab'
-Settings.gitolite['admin_uri'] ||= Settings.pre_40_config ? Settings.gitolite_admin_uri : 'git@localhost:gitolite-admin'
-Settings.gitolite['config_file'] ||= Settings.pre_40_config ? Settings.gitolite_config_file : 'gitolite.conf'
-Settings.gitolite['hooks_path'] ||= Settings.pre_40_config ? Settings.git_hooks_path : '/home/git/share/gitolite/hooks/'
-Settings.gitolite['receive_pack'] ||= Settings.pre_40_config ? Settings.git_receive_pack : (Settings.gitolite['receive_pack'] != false)
-Settings.gitolite['repos_path'] ||= Settings.pre_40_config ? Settings.git_base_path : '/home/git/repositories/'
-Settings.gitolite['upload_pack'] ||= Settings.pre_40_config ? Settings.git_upload_pack : (Settings.gitolite['upload_pack'] != false)
-Settings.gitolite['ssh_host'] ||= Settings.pre_40_config ? Settings.ssh_host : (Settings.gitlab.host || 'localhost')
-Settings.gitolite['ssh_port'] ||= Settings.pre_40_config ? Settings.ssh_port : 22
-Settings.gitolite['ssh_user'] ||= Settings.pre_40_config ? Settings.ssh_user : 'git'
-Settings.gitolite['ssh_path_prefix'] ||= Settings.pre_40_config ? Settings.ssh_path : Settings.send(:build_gitolite_ssh_path_prefix)
+Settings.gitolite['admin_key'] ||= 'gitlab'
+Settings.gitolite['admin_uri'] ||= 'git@localhost:gitolite-admin'
+Settings.gitolite['config_file'] ||= 'gitolite.conf'
+Settings.gitolite['hooks_path'] ||= '/home/git/share/gitolite/hooks/'
+Settings.gitolite['receive_pack'] ||= (Settings.gitolite['receive_pack'] != false)
+Settings.gitolite['repos_path'] ||= '/home/git/repositories/'
+Settings.gitolite['upload_pack'] ||= (Settings.gitolite['upload_pack'] != false)
+Settings.gitolite['ssh_host'] ||= (Settings.gitlab.host || 'localhost')
+Settings.gitolite['ssh_port'] ||= 22
+Settings.gitolite['ssh_user'] ||= 'git'
+Settings.gitolite['ssh_path_prefix'] ||= Settings.send(:build_gitolite_ssh_path_prefix)
Settings['backup'] ||= Settingslogic.new({})
-Settings.backup['keep_time'] ||= Settings.pre_40_config ? Settings.backup_keep_time : 0
-Settings.backup['path'] = Settings.pre_40_config ? Settings.backup_path : File.expand_path(Settings.backup['path'] || "tmp/backups/", Rails.root)
+Settings.backup['keep_time'] ||= 0
+Settings.backup['path'] = File.expand_path(Settings.backup['path'] || "tmp/backups/", Rails.root)
Settings['git'] ||= Settingslogic.new({})
-Settings.git['max_size'] ||= Settings.pre_40_config ? Settings.git_max_size : 5242880 # 5.megabytes
-Settings.git['bin_path'] ||= Settings.pre_40_config ? Settings.git_bin_path : '/usr/bin/git'
-Settings.git['timeout'] ||= Settings.pre_40_config ? Settings.git_timeout : 10
-Settings.git['path'] ||= Settings.git.bin_path # FIXME: Deprecated: remove for 4.1
+Settings.git['max_size'] ||= 5242880 # 5.megabytes
+Settings.git['bin_path'] ||= '/usr/bin/git'
+Settings.git['timeout'] ||= 10
diff --git a/config/initializers/4_resque.rb b/config/initializers/4_resque.rb
deleted file mode 100644
index 419dbe06061..00000000000
--- a/config/initializers/4_resque.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# Custom Redis configuration
-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]
-end
-Resque.redis.namespace = 'resque:gitlab'
-# Queues
-Resque.watch_queue(PostReceive.instance_variable_get("@queue"))
-
-# Authentication
-require 'resque/server'
-class Authentication
- def initialize(app)
- @app = app
- end
-
- def call(env)
- account = env['warden'].authenticate!(:database_authenticatable, :rememberable, scope: :user)
- raise "Access denied" if !account.admin?
- @app.call(env)
- end
-end
-
-Resque::Server.use Authentication
-
-# Mailer
-Resque::Mailer.excluded_environments = []
diff --git a/config/initializers/4_sidekiq.rb b/config/initializers/4_sidekiq.rb
new file mode 100644
index 00000000000..6abe6e74fa0
--- /dev/null
+++ b/config/initializers/4_sidekiq.rb
@@ -0,0 +1,22 @@
+# Custom Redis configuration
+config_file = Rails.root.join('config', 'resque.yml')
+
+resque_url = if File.exists?(config_file)
+ YAML.load_file(config_file)[Rails.env]
+ else
+ "localhost:6379"
+ end
+
+Sidekiq.configure_server do |config|
+ config.redis = {
+ url: "redis://#{resque_url}",
+ namespace: 'resque:gitlab'
+ }
+end
+
+Sidekiq.configure_client do |config|
+ config.redis = {
+ url: "redis://#{resque_url}",
+ namespace: 'resque:gitlab'
+ }
+end
diff --git a/config/initializers/passenger_fix.rb b/config/initializers/passenger_fix.rb
new file mode 100644
index 00000000000..3a88eb10a36
--- /dev/null
+++ b/config/initializers/passenger_fix.rb
@@ -0,0 +1,16 @@
+if defined?(PhusionPassenger)
+
+ # When you're using Passenger with smart-lv2 (default) or smart spawn method,
+ # Resque doesn't recognize that it has been forked and should re-establish
+ # Redis connection. You can see this error message in log:
+ # Redis::InheritedError, Tried to use a connection from a child process
+ # without reconnecting. You need to reconnect to Redis after forking.
+ #
+ # This solution is based on
+ # https://github.com/redis/redis-rb/wiki/redis-rb-on-Phusion-Passenger
+ #
+ PhusionPassenger.on_event(:starting_worker_process) do |forked|
+ # if we're in smart spawning mode, reconnect to Redis
+ Resque.redis.client.reconnect if forked
+ end
+end
diff --git a/config/routes.rb b/config/routes.rb
index e08bfebc020..ffcfd1ee6f5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,5 @@
+require 'sidekiq/web'
+
Gitlab::Application.routes.draw do
#
# Search
@@ -8,9 +10,10 @@ Gitlab::Application.routes.draw do
require 'api'
mount Gitlab::API => '/api'
- # Optionally, enable Resque here
- require 'resque/server'
- mount Resque::Server => '/info/resque', as: 'resque'
+ constraint = lambda { |request| request.env["warden"].authenticate? and request.env['warden'].user.admin? }
+ constraints constraint do
+ mount Sidekiq::Web, at: "/admin/sidekiq", as: :sidekiq
+ end
# Enable Grack support
mount Grack::Bundle.new({
@@ -18,7 +21,7 @@ Gitlab::Application.routes.draw do
project_root: Gitlab.config.gitolite.repos_path,
upload_pack: Gitlab.config.gitolite.upload_pack,
receive_pack: Gitlab.config.gitolite.receive_pack
- }), at: '/:path', constraints: { path: /[-\/\w\.-]+\.git/ }
+ }), at: '/', constraints: lambda { |request| /[-\/\w\.-]+\.git\//.match(request.path_info) }
#
# Help
@@ -47,6 +50,7 @@ Gitlab::Application.routes.draw do
resources :groups, constraints: { id: /[^\/]+/ } do
member do
put :project_update
+ put :project_teams_update
delete :remove_project
end
end
@@ -102,6 +106,7 @@ Gitlab::Application.routes.draw do
get :merge_requests
get :search
get :people
+ post :team_members
end
end
@@ -112,13 +117,22 @@ Gitlab::Application.routes.draw do
#
# Project Area
#
- resources :projects, constraints: { id: /[a-zA-Z.\/0-9_\-]+/ }, except: [:new, :create, :index], path: "/" do
+ resources :projects, constraints: { id: /[a-zA-Z.0-9_\-\/]+/ }, except: [:new, :create, :index], path: "/" do
member do
get "wall"
get "graph"
get "files"
end
+ resources :tree, only: [:show, :edit, :update], constraints: {id: /.+/}
+ resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/}
+ resources :commits, only: [:show], constraints: {id: /.+/}
+ resources :compare, only: [:index, :create]
+ resources :blame, only: [:show], constraints: {id: /.+/}
+ resources :blob, only: [:show], constraints: {id: /.+/}
+ match "/compare/:from...:to" => "compare#show", as: "compare",
+ :via => [:get, :post], constraints: {from: /.+/, to: /.+/}
+
resources :wikis, only: [:show, :edit, :destroy, :create] do
collection do
get :pages
@@ -147,7 +161,7 @@ Gitlab::Application.routes.draw do
resources :deploy_keys
resources :protected_branches, only: [:index, :create, :destroy]
- resources :refs, only: [], path: "/" do
+ resources :refs, only: [] do
collection do
get "switch"
end
@@ -190,14 +204,6 @@ Gitlab::Application.routes.draw do
end
end
- resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/}
- resources :commits, only: [:show], constraints: {id: /.+/}
- resources :compare, only: [:index, :create]
- resources :blame, only: [:show], constraints: {id: /.+/}
- resources :blob, only: [:show], constraints: {id: /.+/}
- resources :tree, only: [:show, :edit, :update], constraints: {id: /.+/}
- match "/compare/:from...:to" => "compare#show", as: "compare",
- :via => [:get, :post], constraints: {from: /.+/, to: /.+/}
resources :team, controller: 'team_members', only: [:index]
resources :milestones, except: [:destroy]
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index 425dbf33f86..4852cd65daa 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -1,3 +1,7 @@
+# uncomment and customize to run in non-root path
+# note that config/gitlab.yml web path should also be changed
+# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
+
app_dir = "/home/gitlab/gitlab/"
worker_processes 2
working_directory app_dir
diff --git a/db/fixtures/development/002_project.rb b/db/fixtures/development/002_project.rb
index 4db11a878ec..e50ab5d9d52 100644
--- a/db/fixtures/development/002_project.rb
+++ b/db/fixtures/development/002_project.rb
@@ -1,14 +1,26 @@
Group.seed(:id, [
+ { id: 99, name: "GitLab", path: 'gitlab', owner_id: 1 },
{ id: 100, name: "Brightbox", path: 'brightbox', owner_id: 1 },
{ id: 101, name: "KDE", path: 'kde', owner_id: 1 },
])
Project.seed(:id, [
- { id: 1, name: "Underscore.js", path: "underscore", owner_id: 1 },
- { id: 2, name: "Diaspora", path: "diaspora", owner_id: 1 },
- { id: 3, namespace_id: 100, name: "Brightbox CLI", path: "brightbox-cli", owner_id: 1 },
- { id: 4, namespace_id: 100, name: "Puppet", path: "puppet", owner_id: 1 },
- { id: 5, namespace_id: 101, name: "kdebase", path: "kdebase", owner_id: 1},
- { id: 6, namespace_id: 101, name: "kdelibs", path: "kdelibs", owner_id: 1},
- { id: 7, namespace_id: 101, name: "amarok", path: "amarok", owner_id: 1},
+
+ # Global
+ { id: 1, name: "Underscore.js", path: "underscore", creator_id: 1 },
+ { id: 2, name: "Diaspora", path: "diaspora", creator_id: 1 },
+
+ # Brightbox
+ { id: 3, namespace_id: 100, name: "Brightbox CLI", path: "brightbox-cli", creator_id: 1 },
+ { id: 4, namespace_id: 100, name: "Puppet", path: "puppet", creator_id: 1 },
+
+ # KDE
+ { id: 5, namespace_id: 101, name: "kdebase", path: "kdebase", creator_id: 1},
+ { id: 6, namespace_id: 101, name: "kdelibs", path: "kdelibs", creator_id: 1},
+ { id: 7, namespace_id: 101, name: "amarok", path: "amarok", creator_id: 1},
+
+ # GitLab
+ { id: 8, namespace_id: 99, name: "gitlabhq", path: "gitlabhq", creator_id: 1},
+ { id: 9, namespace_id: 99, name: "gitlab-ci", path: "gitlab-ci", creator_id: 1},
+ { id: 10, namespace_id: 99, name: "gitlab-recipes", path: "gitlab-recipes", creator_id: 1},
])
diff --git a/db/fixtures/development/003_users.rb b/db/fixtures/development/003_users.rb
index 25705f1b726..abcb0259618 100644
--- a/db/fixtures/development/003_users.rb
+++ b/db/fixtures/development/003_users.rb
@@ -1,11 +1,15 @@
-User.seed(:id, [
- { id: 2, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 3, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 4, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 5, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 6, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 7, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 8, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email},
- { id: 9, username: Faker::Internet.user_name, name: Faker::Name.name, email: Faker::Internet.email}
-])
-
+Gitlab::Seeder.quiet do
+ (2..300).each do |i|
+ begin
+ User.seed(:id, [{
+ id: i,
+ username: Faker::Internet.user_name,
+ name: Faker::Name.name,
+ email: Faker::Internet.email,
+ }])
+ print '.'
+ rescue ActiveRecord::RecordNotSaved
+ print 'F'
+ end
+ end
+end
diff --git a/db/fixtures/development/004_teams.rb b/db/fixtures/development/004_teams.rb
index 2752cb44e1d..7a8f9139d3f 100644
--- a/db/fixtures/development/004_teams.rb
+++ b/db/fixtures/development/004_teams.rb
@@ -1,24 +1,26 @@
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},
- { :id => 3, :project_id => 1, :user_id => 3, :project_access => UsersProject::REPORTER},
- { :id => 4, :project_id => 1, :user_id => 4, :project_access => UsersProject::REPORTER},
- { :id => 5, :project_id => 1, :user_id => 5, :project_access => UsersProject::REPORTER},
-
- { :id => 6, :project_id => 2, :user_id => 1, :project_access => UsersProject::MASTER },
- { :id => 7, :project_id => 2, :user_id => 2, :project_access => UsersProject::REPORTER},
- { :id => 8, :project_id => 2, :user_id => 3, :project_access => UsersProject::REPORTER},
- { :id => 9, :project_id => 2, :user_id => 4, :project_access => UsersProject::MASTER},
- { :id => 11, :project_id => 2, :user_id => 5, :project_access => UsersProject::MASTER},
-
- { :id => 12, :project_id => 3, :user_id => 1, :project_access => UsersProject::MASTER },
- { :id => 13, :project_id => 3, :user_id => 2, :project_access => UsersProject::REPORTER},
- { :id => 14, :project_id => 3, :user_id => 3, :project_access => UsersProject::MASTER},
- { :id => 15, :project_id => 3, :user_id => 4, :project_access => UsersProject::REPORTER},
- { :id => 16, :project_id => 3, :user_id => 5, :project_access => UsersProject::MASTER}
-])
+Gitlab::Seeder.quiet do
+
+ (1..300).each do |i|
+ # Random Project
+ project = Project.scoped.sample
+
+ # Random user
+ user = User.not_in_project(project).sample
+
+ next unless user
+
+ UsersProject.seed(:id, [{
+ id: i,
+ project_id: project.id,
+ user_id: user.id,
+ project_access: UsersProject.access_roles.values.sample
+ }])
+
+ print('.')
+ end
+end
UsersProject.set_callback(:save, :after, :update_repository)
diff --git a/db/fixtures/development/006_wall.rb b/db/fixtures/development/006_wall.rb
index a9fb66dda6b..c4e304cc217 100644
--- a/db/fixtures/development/006_wall.rb
+++ b/db/fixtures/development/006_wall.rb
@@ -1,16 +1,18 @@
Gitlab::Seeder.quiet do
(1..300).each do |i|
# Random Project
- project_id = rand(2) + 1
- project = Project.find(project_id)
+ project = Project.all.sample
# Random user
user = project.users.sample
+
+ next unless user
+
user_id = user.id
Note.seed(:id, [{
id: i,
- project_id: project_id,
+ project_id: project.id,
author_id: user_id,
note: Faker::Lorem.sentence(6)
}])
diff --git a/db/fixtures/development/007_issues.rb b/db/fixtures/development/007_issues.rb
index 98e32fccc3d..8978db4742b 100644
--- a/db/fixtures/development/007_issues.rb
+++ b/db/fixtures/development/007_issues.rb
@@ -1,17 +1,19 @@
Gitlab::Seeder.quiet do
(1..300).each do |i|
# Random Project
- project_id = rand(2) + 1
- project = Project.find(project_id)
+ project = Project.all.sample
# Random user
user = project.users.sample
+
+ next unless user
+
user_id = user.id
IssueObserver.current_user = user
Issue.seed(:id, [{
id: i,
- project_id: project_id,
+ project_id: project.id,
author_id: user_id,
assignee_id: user_id,
closed: [true, false].sample,
diff --git a/db/fixtures/development/008_merge_requests.rb b/db/fixtures/development/008_merge_requests.rb
index 698c55ad95f..9904b4a1505 100644
--- a/db/fixtures/development/008_merge_requests.rb
+++ b/db/fixtures/development/008_merge_requests.rb
@@ -1,19 +1,20 @@
Gitlab::Seeder.quiet do
(1..300).each do |i|
# Random Project
- project_id = rand(2) + 1
- project = Project.find(project_id)
+ project = Project.all.sample
# Random user
user = project.users.sample
+
+ next unless user
+
user_id = user.id
MergeRequestObserver.current_user = user
-
MergeRequest.seed(:id, [{
id: i,
source_branch: 'master',
target_branch: 'feature',
- project_id: project_id,
+ project_id: project.id,
author_id: user_id,
assignee_id: user_id,
closed: [true, false].sample,
diff --git a/db/fixtures/development/009_source_code.rb b/db/fixtures/development/009_source_code.rb
index 6b9b6584a58..a64b905ee89 100644
--- a/db/fixtures/development/009_source_code.rb
+++ b/db/fixtures/development/009_source_code.rb
@@ -1,16 +1,18 @@
-root = Gitlab.config.git_base_path
+root = Gitlab.config.gitolite.repos_path
projects = [
- { path: 'underscore.git', git: 'https://github.com/documentcloud/underscore.git' },
- { path: 'diaspora.git', git: 'https://github.com/diaspora/diaspora.git' },
+ { path: 'underscore.git', git: 'https://github.com/documentcloud/underscore.git' },
+ { path: 'diaspora.git', git: 'https://github.com/diaspora/diaspora.git' },
{ path: 'brightbox/brightbox-cli.git', git: 'https://github.com/brightbox/brightbox-cli.git' },
- { path: 'brightbox/puppet.git', git: 'https://github.com/brightbox/puppet.git' },
+ { path: 'brightbox/puppet.git', git: 'https://github.com/brightbox/puppet.git' },
+ { path: 'gitlab/gitlabhq.git', git: 'https://github.com/gitlabhq/gitlabhq.git' },
+ { path: 'gitlab/gitlab-ci.git', git: 'https://github.com/gitlabhq/gitlab-ci.git' },
+ { path: 'gitlab/gitlab-recipes.git', git: 'https://github.com/gitlabhq/gitlab-recipes.git' },
]
projects.each do |project|
project_path = File.join(root, project[:path])
-
next if File.exists?(project_path)
cmds = [
diff --git a/db/fixtures/development/010_keys.rb b/db/fixtures/development/010_keys.rb
new file mode 100644
index 00000000000..8e4724c277c
--- /dev/null
+++ b/db/fixtures/development/010_keys.rb
@@ -0,0 +1,14 @@
+
+Gitlab::Seeder.quiet do
+ User.first(30).each_with_index do |user, i|
+ Key.seed(:id, [
+ {
+ id: i,
+ title: "Sample key #{i}",
+ key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt#{i + 100}6k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
+ user_id: user.id,
+ }
+ ])
+ puts "SSH KEY ##{i} added.".green
+ end
+end
diff --git a/db/migrate/20130102143055_rename_owner_to_creator_for_project.rb b/db/migrate/20130102143055_rename_owner_to_creator_for_project.rb
new file mode 100644
index 00000000000..d0fca269871
--- /dev/null
+++ b/db/migrate/20130102143055_rename_owner_to_creator_for_project.rb
@@ -0,0 +1,5 @@
+class RenameOwnerToCreatorForProject < ActiveRecord::Migration
+ def change
+ rename_column :projects, :owner_id, :creator_id
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 7de5593285a..b1cf0ccbdb2 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 => 20121219095402) do
+ActiveRecord::Schema.define(:version => 20130102143055) do
create_table "events", :force => true do |t|
t.string "target_type"
@@ -148,7 +148,7 @@ ActiveRecord::Schema.define(:version => 20121219095402) do
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.boolean "private_flag", :default => true, :null => false
- t.integer "owner_id"
+ t.integer "creator_id"
t.string "default_branch"
t.boolean "issues_enabled", :default => true, :null => false
t.boolean "wall_enabled", :default => true, :null => false
@@ -157,8 +157,8 @@ ActiveRecord::Schema.define(:version => 20121219095402) do
t.integer "namespace_id"
end
+ add_index "projects", ["creator_id"], :name => "index_projects_on_owner_id"
add_index "projects", ["namespace_id"], :name => "index_projects_on_namespace_id"
- add_index "projects", ["owner_id"], :name => "index_projects_on_owner_id"
create_table "protected_branches", :force => true do |t|
t.integer "project_id", :null => false
diff --git a/doc/app/Ability.html b/doc/app/Ability.html
deleted file mode 100644
index f780d067332..00000000000
--- a/doc/app/Ability.html
+++ /dev/null
@@ -1,570 +0,0 @@
-<!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
deleted file mode 100644
index 58f657586b2..00000000000
--- a/doc/app/Account.html
+++ /dev/null
@@ -1,881 +0,0 @@
-<!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
deleted file mode 100644
index 3b31271d5ca..00000000000
--- a/doc/app/ActivityObserver.html
+++ /dev/null
@@ -1,531 +0,0 @@
-<!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
deleted file mode 100644
index 94fb27efb98..00000000000
--- a/doc/app/Admin.html
+++ /dev/null
@@ -1,432 +0,0 @@
-<!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
deleted file mode 100644
index 00154b3dff3..00000000000
--- a/doc/app/Admin/DashboardController.html
+++ /dev/null
@@ -1,488 +0,0 @@
-<!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
deleted file mode 100644
index ef4dae9ecda..00000000000
--- a/doc/app/Admin/GroupsController.html
+++ /dev/null
@@ -1,771 +0,0 @@
-<!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
deleted file mode 100644
index 48cd5d00454..00000000000
--- a/doc/app/Admin/HooksController.html
+++ /dev/null
@@ -1,603 +0,0 @@
-<!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
deleted file mode 100644
index 8f70b1ade2c..00000000000
--- a/doc/app/Admin/LogsController.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 5744746b47c..00000000000
--- a/doc/app/Admin/ProjectsController.html
+++ /dev/null
@@ -1,733 +0,0 @@
-<!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
deleted file mode 100644
index db73599b4a7..00000000000
--- a/doc/app/Admin/ResqueController.html
+++ /dev/null
@@ -1,484 +0,0 @@
-<!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
deleted file mode 100644
index 907bf279f8e..00000000000
--- a/doc/app/Admin/TeamMembersController.html
+++ /dev/null
@@ -1,558 +0,0 @@
-<!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
deleted file mode 100644
index b300e4f7fc5..00000000000
--- a/doc/app/Admin/UsersController.html
+++ /dev/null
@@ -1,839 +0,0 @@
-<!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
deleted file mode 100644
index bdda7958da9..00000000000
--- a/doc/app/AdminController.html
+++ /dev/null
@@ -1,490 +0,0 @@
-<!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
deleted file mode 100644
index dafa341313a..00000000000
--- a/doc/app/ApplicationController.html
+++ /dev/null
@@ -1,1015 +0,0 @@
-<!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
deleted file mode 100644
index 72a459bb686..00000000000
--- a/doc/app/ApplicationDecorator.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 9bc4243e2d0..00000000000
--- a/doc/app/ApplicationHelper.html
+++ /dev/null
@@ -1,1018 +0,0 @@
-<!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
deleted file mode 100644
index b6e9d1bab37..00000000000
--- a/doc/app/AttachmentUploader.html
+++ /dev/null
@@ -1,486 +0,0 @@
-<!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
deleted file mode 100644
index 92f46c55b0a..00000000000
--- a/doc/app/Authority.html
+++ /dev/null
@@ -1,782 +0,0 @@
-<!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
deleted file mode 100644
index b9c46738bf8..00000000000
--- a/doc/app/BaseContext.html
+++ /dev/null
@@ -1,605 +0,0 @@
-<!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
deleted file mode 100644
index 4b23b227c49..00000000000
--- a/doc/app/BlameController.html
+++ /dev/null
@@ -1,500 +0,0 @@
-<!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
deleted file mode 100644
index e8f069c2f4a..00000000000
--- a/doc/app/BlobController.html
+++ /dev/null
@@ -1,519 +0,0 @@
-<!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
deleted file mode 100644
index 05a3f3ceff8..00000000000
--- a/doc/app/Commit.html
+++ /dev/null
@@ -1,1191 +0,0 @@
-<!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
deleted file mode 100644
index 564161e90e3..00000000000
--- a/doc/app/CommitController.html
+++ /dev/null
@@ -1,509 +0,0 @@
-<!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
deleted file mode 100644
index 3cca57a4c16..00000000000
--- a/doc/app/CommitDecorator.html
+++ /dev/null
@@ -1,663 +0,0 @@
-<!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
deleted file mode 100644
index feb6dbf4a42..00000000000
--- a/doc/app/CommitLoadContext.html
+++ /dev/null
@@ -1,513 +0,0 @@
-<!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
deleted file mode 100644
index 52eaad041da..00000000000
--- a/doc/app/CommitsController.html
+++ /dev/null
@@ -1,507 +0,0 @@
-<!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
deleted file mode 100644
index 58844bec1d3..00000000000
--- a/doc/app/CommitsHelper.html
+++ /dev/null
@@ -1,625 +0,0 @@
-<!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
deleted file mode 100644
index 177e22d2520..00000000000
--- a/doc/app/CompareController.html
+++ /dev/null
@@ -1,556 +0,0 @@
-<!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
deleted file mode 100644
index e3f4d1b49b2..00000000000
--- a/doc/app/DashboardController.html
+++ /dev/null
@@ -1,569 +0,0 @@
-<!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
deleted file mode 100644
index 318a1441a67..00000000000
--- a/doc/app/DeployKeysController.html
+++ /dev/null
@@ -1,626 +0,0 @@
-<!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
deleted file mode 100644
index e77a67d7880..00000000000
--- a/doc/app/ErrorsController.html
+++ /dev/null
@@ -1,485 +0,0 @@
-<!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
deleted file mode 100644
index 1347cda316d..00000000000
--- a/doc/app/Event.html
+++ /dev/null
@@ -1,1222 +0,0 @@
-<!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
deleted file mode 100644
index dddb98a6147..00000000000
--- a/doc/app/EventDecorator.html
+++ /dev/null
@@ -1,578 +0,0 @@
-<!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
deleted file mode 100644
index 4f7c0454901..00000000000
--- a/doc/app/EventsHelper.html
+++ /dev/null
@@ -1,566 +0,0 @@
-<!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
deleted file mode 100644
index e382530745c..00000000000
--- a/doc/app/ExtractsPath.html
+++ /dev/null
@@ -1,614 +0,0 @@
-<!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
deleted file mode 100644
index 3c8c60fc91e..00000000000
--- a/doc/app/ExtractsPath/InvalidPathError.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index 5acdf291b09..00000000000
--- a/doc/app/FileSizeValidator.html
+++ /dev/null
@@ -1,652 +0,0 @@
-<!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
deleted file mode 100644
index 4fd146c2887..00000000000
--- a/doc/app/FileSizeValidator/Helper.html
+++ /dev/null
@@ -1,455 +0,0 @@
-<!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
deleted file mode 100644
index 3197a73f3e5..00000000000
--- a/doc/app/GitHost.html
+++ /dev/null
@@ -1,479 +0,0 @@
-<!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
deleted file mode 100644
index 0e28a24bc3f..00000000000
--- a/doc/app/Gitlab.html
+++ /dev/null
@@ -1,454 +0,0 @@
-<!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
deleted file mode 100644
index 8fad1eecafc..00000000000
--- a/doc/app/Gitlab/API.html
+++ /dev/null
@@ -1,452 +0,0 @@
-<!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
deleted file mode 100644
index 47bf3fb193d..00000000000
--- a/doc/app/Gitlab/APIHelpers.html
+++ /dev/null
@@ -1,846 +0,0 @@
-<!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
deleted file mode 100644
index e3a352af70f..00000000000
--- a/doc/app/Gitlab/AppLogger.html
+++ /dev/null
@@ -1,523 +0,0 @@
-<!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
deleted file mode 100644
index ac4fd556a79..00000000000
--- a/doc/app/Gitlab/Auth.html
+++ /dev/null
@@ -1,630 +0,0 @@
-<!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
deleted file mode 100644
index 387e0db22e0..00000000000
--- a/doc/app/Gitlab/Encode.html
+++ /dev/null
@@ -1,537 +0,0 @@
-<!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
deleted file mode 100644
index 8cd0d837ed9..00000000000
--- a/doc/app/Gitlab/Entities.html
+++ /dev/null
@@ -1,433 +0,0 @@
-<!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
deleted file mode 100644
index c9eba832bc8..00000000000
--- a/doc/app/Gitlab/Entities/Hook.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index f713b7ab609..00000000000
--- a/doc/app/Gitlab/Entities/Issue.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index f762ad29227..00000000000
--- a/doc/app/Gitlab/Entities/Milestone.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 725e6b75d49..00000000000
--- a/doc/app/Gitlab/Entities/Project.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 468d3dc1ac9..00000000000
--- a/doc/app/Gitlab/Entities/ProjectMember.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index e19fad759ac..00000000000
--- a/doc/app/Gitlab/Entities/ProjectSnippet.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 04c118a3f9c..00000000000
--- a/doc/app/Gitlab/Entities/RepoCommit.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 27f928c1b8e..00000000000
--- a/doc/app/Gitlab/Entities/RepoObject.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 43ed0f01dcf..00000000000
--- a/doc/app/Gitlab/Entities/SSHKey.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index fb978194084..00000000000
--- a/doc/app/Gitlab/Entities/User.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index dcb1e78209d..00000000000
--- a/doc/app/Gitlab/Entities/UserBasic.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index fde77335268..00000000000
--- a/doc/app/Gitlab/Entities/UserLogin.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 0916d63cbe0..00000000000
--- a/doc/app/Gitlab/FileEditor.html
+++ /dev/null
@@ -1,647 +0,0 @@
-<!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
deleted file mode 100644
index c37bce98ca5..00000000000
--- a/doc/app/Gitlab/GitLogger.html
+++ /dev/null
@@ -1,523 +0,0 @@
-<!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
deleted file mode 100644
index 60ef3b136e5..00000000000
--- a/doc/app/Gitlab/Gitolite.html
+++ /dev/null
@@ -1,716 +0,0 @@
-<!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
deleted file mode 100644
index 64a3b17a30f..00000000000
--- a/doc/app/Gitlab/Gitolite/AccessDenied.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 19671089b15..00000000000
--- a/doc/app/Gitlab/GitoliteConfig.html
+++ /dev/null
@@ -1,994 +0,0 @@
-<!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
deleted file mode 100644
index 8e5a1510d45..00000000000
--- a/doc/app/Gitlab/GitoliteConfig/PullError.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index c1541f49d66..00000000000
--- a/doc/app/Gitlab/GitoliteConfig/PushError.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index b8ffa6f4161..00000000000
--- a/doc/app/Gitlab/GraphCommit.html
+++ /dev/null
@@ -1,967 +0,0 @@
-<!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
deleted file mode 100644
index 91eeae9c441..00000000000
--- a/doc/app/Gitlab/InlineDiff.html
+++ /dev/null
@@ -1,611 +0,0 @@
-<!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
deleted file mode 100644
index eda99ed10dc..00000000000
--- a/doc/app/Gitlab/Issues.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index 8cc6cdea81b..00000000000
--- a/doc/app/Gitlab/Logger.html
+++ /dev/null
@@ -1,583 +0,0 @@
-<!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
deleted file mode 100644
index 12691455600..00000000000
--- a/doc/app/Gitlab/Markdown.html
+++ /dev/null
@@ -1,580 +0,0 @@
-<!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
deleted file mode 100644
index 99a66cd53bb..00000000000
--- a/doc/app/Gitlab/Merge.html
+++ /dev/null
@@ -1,628 +0,0 @@
-<!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
deleted file mode 100644
index aac605b2896..00000000000
--- a/doc/app/Gitlab/Milestones.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index a44cba3c7c6..00000000000
--- a/doc/app/Gitlab/Projects.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index 4615d1c67c2..00000000000
--- a/doc/app/Gitlab/Satellite.html
+++ /dev/null
@@ -1,664 +0,0 @@
-<!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
deleted file mode 100644
index 12f3433ebfd..00000000000
--- a/doc/app/Gitlab/Session.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index 00b3e5f6b62..00000000000
--- a/doc/app/Gitlab/Theme.html
+++ /dev/null
@@ -1,493 +0,0 @@
-<!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
deleted file mode 100644
index c9712874c65..00000000000
--- a/doc/app/Gitlab/Users.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!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
deleted file mode 100644
index 6bf172ac8f8..00000000000
--- a/doc/app/GitlabMarkdownHelper.html
+++ /dev/null
@@ -1,559 +0,0 @@
-<!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
deleted file mode 100644
index e3c5bbd482e..00000000000
--- a/doc/app/Grack.html
+++ /dev/null
@@ -1,433 +0,0 @@
-<!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
deleted file mode 100644
index 5da483f791a..00000000000
--- a/doc/app/Grack/Auth.html
+++ /dev/null
@@ -1,734 +0,0 @@
-<!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
deleted file mode 100644
index a23e1da6788..00000000000
--- a/doc/app/Group.html
+++ /dev/null
@@ -1,555 +0,0 @@
-<!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
deleted file mode 100644
index 72e1022cc06..00000000000
--- a/doc/app/GroupsController.html
+++ /dev/null
@@ -1,735 +0,0 @@
-<!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
deleted file mode 100644
index afbbeb0bfc3..00000000000
--- a/doc/app/HelpController.html
+++ /dev/null
@@ -1,484 +0,0 @@
-<!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
deleted file mode 100644
index 70fd89c3317..00000000000
--- a/doc/app/HooksController.html
+++ /dev/null
@@ -1,595 +0,0 @@
-<!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
deleted file mode 100644
index e8a7881c484..00000000000
--- a/doc/app/Issue.html
+++ /dev/null
@@ -1,501 +0,0 @@
-<!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
deleted file mode 100644
index 336580d8f9b..00000000000
--- a/doc/app/IssueCommonality.html
+++ /dev/null
@@ -1,641 +0,0 @@
-<!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
deleted file mode 100644
index d4ab179d07c..00000000000
--- a/doc/app/IssueCommonality/ClassMethods.html
+++ /dev/null
@@ -1,479 +0,0 @@
-<!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
deleted file mode 100644
index 7f16a8653f5..00000000000
--- a/doc/app/IssueObserver.html
+++ /dev/null
@@ -1,571 +0,0 @@
-<!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
deleted file mode 100644
index 1d87a757917..00000000000
--- a/doc/app/IssuesBulkUpdateContext.html
+++ /dev/null
@@ -1,503 +0,0 @@
-<!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
deleted file mode 100644
index 6b3edbb6354..00000000000
--- a/doc/app/IssuesController.html
+++ /dev/null
@@ -1,996 +0,0 @@
-<!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
deleted file mode 100644
index d58a5f7f1a5..00000000000
--- a/doc/app/IssuesHelper.html
+++ /dev/null
@@ -1,698 +0,0 @@
-<!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
deleted file mode 100644
index 01acec4583e..00000000000
--- a/doc/app/IssuesListContext.html
+++ /dev/null
@@ -1,537 +0,0 @@
-<!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
deleted file mode 100644
index afbcea93b99..00000000000
--- a/doc/app/Key.html
+++ /dev/null
@@ -1,700 +0,0 @@
-<!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
deleted file mode 100644
index bdaf9f84b0f..00000000000
--- a/doc/app/KeyObserver.html
+++ /dev/null
@@ -1,530 +0,0 @@
-<!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
deleted file mode 100644
index 13fac402005..00000000000
--- a/doc/app/KeysController.html
+++ /dev/null
@@ -1,624 +0,0 @@
-<!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
deleted file mode 100644
index 7dece84091e..00000000000
--- a/doc/app/LabelsController.html
+++ /dev/null
@@ -1,523 +0,0 @@
-<!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
deleted file mode 100644
index 7dbe6f4f41c..00000000000
--- a/doc/app/MergeRequest.html
+++ /dev/null
@@ -1,1478 +0,0 @@
-<!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
deleted file mode 100644
index f2d0dbd7dd1..00000000000
--- a/doc/app/MergeRequestObserver.html
+++ /dev/null
@@ -1,569 +0,0 @@
-<!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
deleted file mode 100644
index ef257c6cad0..00000000000
--- a/doc/app/MergeRequestsController.html
+++ /dev/null
@@ -1,1114 +0,0 @@
-<!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
deleted file mode 100644
index fec9b0e01ab..00000000000
--- a/doc/app/MergeRequestsHelper.html
+++ /dev/null
@@ -1,599 +0,0 @@
-<!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
deleted file mode 100644
index 5c1b882939f..00000000000
--- a/doc/app/MergeRequestsLoadContext.html
+++ /dev/null
@@ -1,496 +0,0 @@
-<!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
deleted file mode 100644
index cc3bdc585b1..00000000000
--- a/doc/app/Milestone.html
+++ /dev/null
@@ -1,589 +0,0 @@
-<!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
deleted file mode 100644
index e15d6fef06f..00000000000
--- a/doc/app/MilestonesController.html
+++ /dev/null
@@ -1,816 +0,0 @@
-<!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
deleted file mode 100644
index 24a474b0296..00000000000
--- a/doc/app/Note.html
+++ /dev/null
@@ -1,777 +0,0 @@
-<!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
deleted file mode 100644
index d0528833815..00000000000
--- a/doc/app/NoteObserver.html
+++ /dev/null
@@ -1,603 +0,0 @@
-<!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
deleted file mode 100644
index d6bcc54011a..00000000000
--- a/doc/app/Notes.html
+++ /dev/null
@@ -1,434 +0,0 @@
-<!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
deleted file mode 100644
index 6d4c8449323..00000000000
--- a/doc/app/Notes/CreateContext.html
+++ /dev/null
@@ -1,490 +0,0 @@
-<!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
deleted file mode 100644
index 273fc0f0c8d..00000000000
--- a/doc/app/Notes/LoadContext.html
+++ /dev/null
@@ -1,513 +0,0 @@
-<!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
deleted file mode 100644
index 5623d4a2f5c..00000000000
--- a/doc/app/NotesController.html
+++ /dev/null
@@ -1,636 +0,0 @@
-<!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
deleted file mode 100644
index c2940f8dc95..00000000000
--- a/doc/app/NotesHelper.html
+++ /dev/null
@@ -1,581 +0,0 @@
-<!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
deleted file mode 100644
index 933e1cbc372..00000000000
--- a/doc/app/Notify.html
+++ /dev/null
@@ -1,883 +0,0 @@
-<!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
deleted file mode 100644
index d40a16a3eb9..00000000000
--- a/doc/app/OmniauthCallbacksController.html
+++ /dev/null
@@ -1,527 +0,0 @@
-<!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
deleted file mode 100644
index 11468fd9ca9..00000000000
--- a/doc/app/PostReceive.html
+++ /dev/null
@@ -1,495 +0,0 @@
-<!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
deleted file mode 100644
index deb4b0bcb67..00000000000
--- a/doc/app/ProfileController.html
+++ /dev/null
@@ -1,683 +0,0 @@
-<!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
deleted file mode 100644
index ab7773ba6be..00000000000
--- a/doc/app/ProfileHelper.html
+++ /dev/null
@@ -1,481 +0,0 @@
-<!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
deleted file mode 100644
index 55868ef1838..00000000000
--- a/doc/app/Project.html
+++ /dev/null
@@ -1,1202 +0,0 @@
-<!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
deleted file mode 100644
index e5d17ef0e0a..00000000000
--- a/doc/app/ProjectHook.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index d4ce78247d2..00000000000
--- a/doc/app/ProjectObserver.html
+++ /dev/null
@@ -1,589 +0,0 @@
-<!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
deleted file mode 100644
index aa972617cb5..00000000000
--- a/doc/app/ProjectResourceController.html
+++ /dev/null
@@ -1,439 +0,0 @@
-<!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
deleted file mode 100644
index 6982deabcf9..00000000000
--- a/doc/app/ProjectsController.html
+++ /dev/null
@@ -1,785 +0,0 @@
-<!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
deleted file mode 100644
index 5edd4592cc7..00000000000
--- a/doc/app/ProjectsHelper.html
+++ /dev/null
@@ -1,543 +0,0 @@
-<!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
deleted file mode 100644
index 900646dc53a..00000000000
--- a/doc/app/ProtectedBranch.html
+++ /dev/null
@@ -1,529 +0,0 @@
-<!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
deleted file mode 100644
index 7eb2b1fdae3..00000000000
--- a/doc/app/ProtectedBranchesController.html
+++ /dev/null
@@ -1,556 +0,0 @@
-<!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
deleted file mode 100644
index 002866a66fe..00000000000
--- a/doc/app/PushEvent.html
+++ /dev/null
@@ -1,1105 +0,0 @@
-<!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
deleted file mode 100644
index 804447a6917..00000000000
--- a/doc/app/PushObserver.html
+++ /dev/null
@@ -1,699 +0,0 @@
-<!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
deleted file mode 100644
index 238b7f2596c..00000000000
--- a/doc/app/Redcarpet.html
+++ /dev/null
@@ -1,432 +0,0 @@
-<!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
deleted file mode 100644
index acb7ba3cdf4..00000000000
--- a/doc/app/Redcarpet/Render.html
+++ /dev/null
@@ -1,432 +0,0 @@
-<!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
deleted file mode 100644
index 93212eaba21..00000000000
--- a/doc/app/Redcarpet/Render/GitlabHTML.html
+++ /dev/null
@@ -1,594 +0,0 @@
-<!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
deleted file mode 100644
index a8248da0ec0..00000000000
--- a/doc/app/RefsController.html
+++ /dev/null
@@ -1,638 +0,0 @@
-<!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
deleted file mode 100644
index 3a22f71e49a..00000000000
--- a/doc/app/RepositoriesController.html
+++ /dev/null
@@ -1,593 +0,0 @@
-<!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
deleted file mode 100644
index cb68146cfda..00000000000
--- a/doc/app/Repository.html
+++ /dev/null
@@ -1,1566 +0,0 @@
-<!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
deleted file mode 100644
index 6a3d2bd5047..00000000000
--- a/doc/app/SearchContext.html
+++ /dev/null
@@ -1,599 +0,0 @@
-<!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
deleted file mode 100644
index 0c14ea8f557..00000000000
--- a/doc/app/SearchController.html
+++ /dev/null
@@ -1,489 +0,0 @@
-<!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
deleted file mode 100644
index a24e4494f44..00000000000
--- a/doc/app/Snippet.html
+++ /dev/null
@@ -1,667 +0,0 @@
-<!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
deleted file mode 100644
index 7585a295f72..00000000000
--- a/doc/app/SnippetsController.html
+++ /dev/null
@@ -1,833 +0,0 @@
-<!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
deleted file mode 100644
index 99c08d51189..00000000000
--- a/doc/app/SnippetsHelper.html
+++ /dev/null
@@ -1,485 +0,0 @@
-<!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
deleted file mode 100644
index 9dd1617c6b5..00000000000
--- a/doc/app/StaticModel.html
+++ /dev/null
@@ -1,648 +0,0 @@
-<!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
deleted file mode 100644
index 27ee1373838..00000000000
--- a/doc/app/StaticModel/ClassMethods.html
+++ /dev/null
@@ -1,511 +0,0 @@
-<!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
deleted file mode 100644
index 8e35bf27294..00000000000
--- a/doc/app/SystemHook.html
+++ /dev/null
@@ -1,525 +0,0 @@
-<!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
deleted file mode 100644
index 20d819637d1..00000000000
--- a/doc/app/SystemHookObserver.html
+++ /dev/null
@@ -1,573 +0,0 @@
-<!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
deleted file mode 100644
index 153eb5776fe..00000000000
--- a/doc/app/SystemHookWorker.html
+++ /dev/null
@@ -1,485 +0,0 @@
-<!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
deleted file mode 100644
index 43cc08a4f53..00000000000
--- a/doc/app/TabHelper.html
+++ /dev/null
@@ -1,621 +0,0 @@
-<!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
deleted file mode 100644
index 3a98d61f38d..00000000000
--- a/doc/app/TagsHelper.html
+++ /dev/null
@@ -1,516 +0,0 @@
-<!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
deleted file mode 100644
index 3a583694799..00000000000
--- a/doc/app/Team.html
+++ /dev/null
@@ -1,710 +0,0 @@
-<!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
deleted file mode 100644
index 46af7c9fd57..00000000000
--- a/doc/app/TeamMembersController.html
+++ /dev/null
@@ -1,698 +0,0 @@
-<!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
deleted file mode 100644
index e18701cb035..00000000000
--- a/doc/app/TestHookContext.html
+++ /dev/null
@@ -1,488 +0,0 @@
-<!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
deleted file mode 100644
index f1f414a4f36..00000000000
--- a/doc/app/Tree.html
+++ /dev/null
@@ -1,663 +0,0 @@
-<!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
deleted file mode 100644
index 1adba0ec4b2..00000000000
--- a/doc/app/TreeController.html
+++ /dev/null
@@ -1,583 +0,0 @@
-<!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
deleted file mode 100644
index e6bdc0fa826..00000000000
--- a/doc/app/TreeDecorator.html
+++ /dev/null
@@ -1,597 +0,0 @@
-<!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
deleted file mode 100644
index e185ba728ae..00000000000
--- a/doc/app/TreeHelper.html
+++ /dev/null
@@ -1,736 +0,0 @@
-<!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
deleted file mode 100644
index 513f96444b5..00000000000
--- a/doc/app/User.html
+++ /dev/null
@@ -1,755 +0,0 @@
-<!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
deleted file mode 100644
index 95c7249d508..00000000000
--- a/doc/app/UserObserver.html
+++ /dev/null
@@ -1,557 +0,0 @@
-<!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
deleted file mode 100644
index f157832b492..00000000000
--- a/doc/app/UsersProject.html
+++ /dev/null
@@ -1,904 +0,0 @@
-<!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
deleted file mode 100644
index 7c7b90a09ca..00000000000
--- a/doc/app/UsersProjectObserver.html
+++ /dev/null
@@ -1,558 +0,0 @@
-<!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
deleted file mode 100644
index 9fa2a0b7f17..00000000000
--- a/doc/app/Votes.html
+++ /dev/null
@@ -1,615 +0,0 @@
-<!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
deleted file mode 100644
index 44a89adb8ad..00000000000
--- a/doc/app/WebHook.html
+++ /dev/null
@@ -1,506 +0,0 @@
-<!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
deleted file mode 100644
index c2bf5b615b7..00000000000
--- a/doc/app/Wiki.html
+++ /dev/null
@@ -1,567 +0,0 @@
-<!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
deleted file mode 100644
index 4a4e930cd5b..00000000000
--- a/doc/app/WikisController.html
+++ /dev/null
@@ -1,676 +0,0 @@
-<!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
deleted file mode 100644
index 972a7e6f5da..00000000000
--- a/doc/app/created.rid
+++ /dev/null
@@ -1,135 +0,0 @@
-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
deleted file mode 100644
index 9456512ebf3..00000000000
--- a/doc/app/doc/README_FOR_APP.html
+++ /dev/null
@@ -1,399 +0,0 @@
-<!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
deleted file mode 100755
index 6332fefea4b..00000000000
--- a/doc/app/images/add.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/brick.png b/doc/app/images/brick.png
deleted file mode 100644
index 7851cf34c94..00000000000
--- a/doc/app/images/brick.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/brick_link.png b/doc/app/images/brick_link.png
deleted file mode 100644
index 9ebf013a23a..00000000000
--- a/doc/app/images/brick_link.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/bug.png b/doc/app/images/bug.png
deleted file mode 100644
index 2d5fb90ec6e..00000000000
--- a/doc/app/images/bug.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/bullet_black.png b/doc/app/images/bullet_black.png
deleted file mode 100644
index 57619706d10..00000000000
--- a/doc/app/images/bullet_black.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/bullet_toggle_minus.png b/doc/app/images/bullet_toggle_minus.png
deleted file mode 100644
index b47ce55f685..00000000000
--- a/doc/app/images/bullet_toggle_minus.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/bullet_toggle_plus.png b/doc/app/images/bullet_toggle_plus.png
deleted file mode 100644
index 9ab4a89664e..00000000000
--- a/doc/app/images/bullet_toggle_plus.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/date.png b/doc/app/images/date.png
deleted file mode 100644
index 783c83357fd..00000000000
--- a/doc/app/images/date.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/delete.png b/doc/app/images/delete.png
deleted file mode 100755
index 08f249365af..00000000000
--- a/doc/app/images/delete.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/find.png b/doc/app/images/find.png
deleted file mode 100644
index 15474796467..00000000000
--- a/doc/app/images/find.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/loadingAnimation.gif b/doc/app/images/loadingAnimation.gif
deleted file mode 100644
index 82290f48334..00000000000
--- a/doc/app/images/loadingAnimation.gif
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/macFFBgHack.png b/doc/app/images/macFFBgHack.png
deleted file mode 100644
index c6473b324ee..00000000000
--- a/doc/app/images/macFFBgHack.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/package.png b/doc/app/images/package.png
deleted file mode 100644
index da3c2a2d74b..00000000000
--- a/doc/app/images/package.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/page_green.png b/doc/app/images/page_green.png
deleted file mode 100644
index de8e003f9fb..00000000000
--- a/doc/app/images/page_green.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/page_white_text.png b/doc/app/images/page_white_text.png
deleted file mode 100644
index 813f712f726..00000000000
--- a/doc/app/images/page_white_text.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/page_white_width.png b/doc/app/images/page_white_width.png
deleted file mode 100644
index 1eb880947dd..00000000000
--- a/doc/app/images/page_white_width.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/plugin.png b/doc/app/images/plugin.png
deleted file mode 100644
index 6187b15aec0..00000000000
--- a/doc/app/images/plugin.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/ruby.png b/doc/app/images/ruby.png
deleted file mode 100644
index f763a168807..00000000000
--- a/doc/app/images/ruby.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/tag_blue.png b/doc/app/images/tag_blue.png
deleted file mode 100755
index 3f02b5f8f8b..00000000000
--- a/doc/app/images/tag_blue.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/tag_green.png b/doc/app/images/tag_green.png
deleted file mode 100644
index 83ec984bd73..00000000000
--- a/doc/app/images/tag_green.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/transparent.png b/doc/app/images/transparent.png
deleted file mode 100644
index d665e179efd..00000000000
--- a/doc/app/images/transparent.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/wrench.png b/doc/app/images/wrench.png
deleted file mode 100644
index 5c8213fef5a..00000000000
--- a/doc/app/images/wrench.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/wrench_orange.png b/doc/app/images/wrench_orange.png
deleted file mode 100644
index 565a9330e0a..00000000000
--- a/doc/app/images/wrench_orange.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/images/zoom.png b/doc/app/images/zoom.png
deleted file mode 100644
index 908612e3945..00000000000
--- a/doc/app/images/zoom.png
+++ /dev/null
Binary files differ
diff --git a/doc/app/index.html b/doc/app/index.html
deleted file mode 100644
index a46b4fbc03d..00000000000
--- a/doc/app/index.html
+++ /dev/null
@@ -1,392 +0,0 @@
-<!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
deleted file mode 100644
index 4be722fac38..00000000000
--- a/doc/app/js/darkfish.js
+++ /dev/null
@@ -1,153 +0,0 @@
-/**
- *
- * 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
deleted file mode 100644
index 48590ecb96a..00000000000
--- a/doc/app/js/jquery.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * 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/search.js b/doc/app/js/search.js
deleted file mode 100644
index dbdfdcbc4cb..00000000000
--- a/doc/app/js/search.js
+++ /dev/null
@@ -1,94 +0,0 @@
-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
deleted file mode 100644
index ca255747c11..00000000000
--- a/doc/app/js/search_index.js
+++ /dev/null
@@ -1 +0,0 @@
-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/rdoc.css b/doc/app/rdoc.css
deleted file mode 100644
index 755b5464de5..00000000000
--- a/doc/app/rdoc.css
+++ /dev/null
@@ -1,543 +0,0 @@
-/*
- * "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
deleted file mode 100644
index 87a21cb4c97..00000000000
--- a/doc/app/table_of_contents.html
+++ /dev/null
@@ -1,1858 +0,0 @@
-<!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/code/apple-touch-icon.png b/doc/code/apple-touch-icon.png
new file mode 100644
index 00000000000..50f98b0ffa6
--- /dev/null
+++ b/doc/code/apple-touch-icon.png
Binary files differ
diff --git a/doc/code/classes/Ability.html b/doc/code/classes/Ability.html
new file mode 100644
index 00000000000..c50e5d3e708
--- /dev/null
+++ b/doc/code/classes/Ability.html
@@ -0,0 +1,507 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Ability</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Ability
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/ability_rb.html">app/models/ability.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-allowed">allowed</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-group_abilities">group_abilities</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-project_abilities">project_abilities</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-project_admin_rules">project_admin_rules</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-project_dev_rules">project_dev_rules</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-project_guest_rules">project_guest_rules</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-project_master_rules">project_master_rules</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-project_report_rules">project_report_rules</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-allowed">
+
+ <b>allowed</b>(object, subject)
+
+ <a href="../classes/Ability.html#method-c-allowed" name="method-c-allowed" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-allowed_source')" id="l_method-c-allowed_source">show</a>
+
+ </p>
+ <div id="method-c-allowed_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">when</span> <span class="ruby-string">&quot;Group&quot;</span> <span class="ruby-keyword">then</span> <span class="ruby-identifier">group_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-group_abilities">
+
+ <b>group_abilities</b>(user, group)
+
+ <a href="../classes/Ability.html#method-c-group_abilities" name="method-c-group_abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-group_abilities_source')" id="l_method-c-group_abilities_source">show</a>
+
+ </p>
+ <div id="method-c-group_abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">group_abilities</span> <span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>
+ <span class="ruby-identifier">rules</span> = []
+
+ <span class="ruby-identifier">rules</span> <span class="ruby-operator">&lt;&lt;</span> [
+ <span class="ruby-value">:manage_group</span>
+ ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">group</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_abilities">
+
+ <b>project_abilities</b>(user, project)
+
+ <a href="../classes/Ability.html#method-c-project_abilities" name="method-c-project_abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_abilities_source')" id="l_method-c-project_abilities_source">show</a>
+
+ </p>
+ <div id="method-c-project_abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_abilities</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>)
+ <span class="ruby-identifier">rules</span> = []
+
+ <span class="ruby-comment"># Rules based on role in project</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-identifier">project_master_rules</span>
+
+ <span class="ruby-keyword">elsif</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-identifier">project_dev_rules</span>
+
+ <span class="ruby-keyword">elsif</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-identifier">project_report_rules</span>
+
+ <span class="ruby-keyword">elsif</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-identifier">project_guest_rules</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace</span>
+ <span class="ruby-comment"># If user own project namespace</span>
+ <span class="ruby-comment"># (Ex. group owner or account owner)</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace</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-operator">&lt;&lt;</span> <span class="ruby-identifier">project_admin_rules</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-comment"># For compatibility with global projects</span>
+ <span class="ruby-comment"># use projects.owner_id</span>
+ <span class="ruby-keyword">if</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-operator">&lt;&lt;</span> <span class="ruby-identifier">project_admin_rules</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+
+
+ <span class="ruby-identifier">rules</span>.<span class="ruby-identifier">flatten</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_admin_rules">
+
+ <b>project_admin_rules</b>()
+
+ <a href="../classes/Ability.html#method-c-project_admin_rules" name="method-c-project_admin_rules" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_admin_rules_source')" id="l_method-c-project_admin_rules_source">show</a>
+
+ </p>
+ <div id="method-c-project_admin_rules_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_admin_rules</span>
+ <span class="ruby-identifier">project_master_rules</span> <span class="ruby-operator">+</span> [
+ <span class="ruby-value">:change_namespace</span>,
+ <span class="ruby-value">:rename_project</span>,
+ <span class="ruby-value">:remove_project</span>
+ ]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_dev_rules">
+
+ <b>project_dev_rules</b>()
+
+ <a href="../classes/Ability.html#method-c-project_dev_rules" name="method-c-project_dev_rules" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_dev_rules_source')" id="l_method-c-project_dev_rules_source">show</a>
+
+ </p>
+ <div id="method-c-project_dev_rules_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_dev_rules</span>
+ <span class="ruby-identifier">project_report_rules</span> <span class="ruby-operator">+</span> [
+ <span class="ruby-value">:write_wiki</span>,
+ <span class="ruby-value">:push_code</span>
+ ]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_guest_rules">
+
+ <b>project_guest_rules</b>()
+
+ <a href="../classes/Ability.html#method-c-project_guest_rules" name="method-c-project_guest_rules" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_guest_rules_source')" id="l_method-c-project_guest_rules_source">show</a>
+
+ </p>
+ <div id="method-c-project_guest_rules_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_guest_rules</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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_master_rules">
+
+ <b>project_master_rules</b>()
+
+ <a href="../classes/Ability.html#method-c-project_master_rules" name="method-c-project_master_rules" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_master_rules_source')" id="l_method-c-project_master_rules_source">show</a>
+
+ </p>
+ <div id="method-c-project_master_rules_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_master_rules</span>
+ <span class="ruby-identifier">project_dev_rules</span> <span class="ruby-operator">+</span> [
+ <span class="ruby-value">:push_code_to_protected_branches</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_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-value">:admin_project</span>
+ ]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-project_report_rules">
+
+ <b>project_report_rules</b>()
+
+ <a href="../classes/Ability.html#method-c-project_report_rules" name="method-c-project_report_rules" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-project_report_rules_source')" id="l_method-c-project_report_rules_source">show</a>
+
+ </p>
+ <div id="method-c-project_report_rules_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/ability.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_report_rules</span>
+ <span class="ruby-identifier">project_guest_rules</span> <span class="ruby-operator">+</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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Account.html b/doc/code/classes/Account.html
new file mode 100644
index 00000000000..21119cc8462
--- /dev/null
+++ b/doc/code/classes/Account.html
@@ -0,0 +1,1032 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Account</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Account
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/account_rb.html">app/roles/account.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-abilities">abilities</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorized_groups">authorized_groups</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorized_projects">authorized_projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-block">block</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can-3F">can?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-can_create_group-3F">can_create_group?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-can_create_project-3F">can_create_project?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-cared_merge_requests">cared_merge_requests</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-first_name">first_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-identifier">identifier</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-is_admin-3F">is_admin?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_activity_project">last_activity_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-my_own_projects">my_own_projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-namespace_id">namespace_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-namespaces">namespaces</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_ids">project_ids</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-projects_limit_percent">projects_limit_percent</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-projects_sorted_by_activity">projects_sorted_by_activity</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-recent_push">recent_push</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-require_ssh_key-3F">require_ssh_key?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-several_namespaces-3F">several_namespaces?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-abilities">
+
+ <b>abilities</b>()
+
+ <a href="../classes/Account.html#method-i-abilities" name="method-i-abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-abilities_source')" id="l_method-i-abilities_source">show</a>
+
+ </p>
+ <div id="method-i-abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorized_groups">
+
+ <b>authorized_groups</b>()
+
+ <a href="../classes/Account.html#method-i-authorized_groups" name="method-i-authorized_groups" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorized_groups_source')" id="l_method-i-authorized_groups_source">show</a>
+
+ </p>
+ <div id="method-i-authorized_groups_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 109</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authorized_groups</span>
+ <span class="ruby-ivar">@authorized_groups</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
+ <span class="ruby-identifier">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-keyword">self</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">pluck</span>(<span class="ruby-value">:namespace_id</span>)).<span class="ruby-identifier">all</span>
+ <span class="ruby-identifier">groups</span> = <span class="ruby-identifier">groups</span> <span class="ruby-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">groups</span>
+ <span class="ruby-identifier">groups</span>.<span class="ruby-identifier">uniq</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorized_projects">
+
+ <b>authorized_projects</b>()
+
+ <a href="../classes/Account.html#method-i-authorized_projects" name="method-i-authorized_projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorized_projects_source')" id="l_method-i-authorized_projects_source">show</a>
+
+ </p>
+ <div id="method-i-authorized_projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 117</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authorized_projects</span>
+ <span class="ruby-constant">Project</span>.<span class="ruby-identifier">authorized_for</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-block">
+
+ <b>block</b>()
+
+ <a href="../classes/Account.html#method-i-block" name="method-i-block" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Remove user from all projects and set blocked attribute to true</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-block_source')" id="l_method-i-block_source">show</a>
+
+ </p>
+ <div id="method-i-block_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can-3F">
+
+ <b>can?</b>(action, subject)
+
+ <a href="../classes/Account.html#method-i-can-3F" name="method-i-can-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can-3F_source')" id="l_method-i-can-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">can?</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-keyword">self</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">subject</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_create_group-3F">
+
+ <b>can_create_group?</b>()
+
+ <a href="../classes/Account.html#method-i-can_create_group-3F" name="method-i-can_create_group-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_create_group-3F_source')" id="l_method-i-can_create_group-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_create_group-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">can_create_group?</span>
+ <span class="ruby-identifier">is_admin?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_create_project-3F">
+
+ <b>can_create_project?</b>()
+
+ <a href="../classes/Account.html#method-i-can_create_project-3F" name="method-i-can_create_project-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_create_project-3F_source')" id="l_method-i-can_create_project-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_create_project-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-cared_merge_requests">
+
+ <b>cared_merge_requests</b>()
+
+ <a href="../classes/Account.html#method-i-cared_merge_requests" name="method-i-cared_merge_requests" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-cared_merge_requests_source')" id="l_method-i-cared_merge_requests_source">show</a>
+
+ </p>
+ <div id="method-i-cared_merge_requests_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-first_name">
+
+ <b>first_name</b>()
+
+ <a href="../classes/Account.html#method-i-first_name" name="method-i-first_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-first_name_source')" id="l_method-i-first_name_source">show</a>
+
+ </p>
+ <div id="method-i-first_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-identifier">
+
+ <b>identifier</b>()
+
+ <a href="../classes/Account.html#method-i-identifier" name="method-i-identifier" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-identifier_source')" id="l_method-i-identifier_source">show</a>
+
+ </p>
+ <div id="method-i-identifier_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_admin-3F">
+
+ <b>is_admin?</b>()
+
+ <a href="../classes/Account.html#method-i-is_admin-3F" name="method-i-is_admin-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_admin-3F_source')" id="l_method-i-is_admin-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_admin-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">is_admin?</span>
+ <span class="ruby-identifier">admin</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_activity_project">
+
+ <b>last_activity_project</b>()
+
+ <a href="../classes/Account.html#method-i-last_activity_project" name="method-i-last_activity_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_activity_project_source')" id="l_method-i-last_activity_project_source">show</a>
+
+ </p>
+ <div id="method-i-last_activity_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">last_activity_project</span>
+ <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-my_own_projects">
+
+ <b>my_own_projects</b>()
+
+ <a href="../classes/Account.html#method-i-my_own_projects" name="method-i-my_own_projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-my_own_projects_source')" id="l_method-i-my_own_projects_source">show</a>
+
+ </p>
+ <div id="method-i-my_own_projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">my_own_projects</span>
+ <span class="ruby-constant">Project</span>.<span class="ruby-identifier">personal</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespace_id">
+
+ <b>namespace_id</b>()
+
+ <a href="../classes/Account.html#method-i-namespace_id" name="method-i-namespace_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespace_id_source')" id="l_method-i-namespace_id_source">show</a>
+
+ </p>
+ <div id="method-i-namespace_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespace_id</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">try</span> <span class="ruby-value">:id</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespaces">
+
+ <b>namespaces</b>()
+
+ <a href="../classes/Account.html#method-i-namespaces" name="method-i-namespaces" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespaces_source')" id="l_method-i-namespaces_source">show</a>
+
+ </p>
+ <div id="method-i-namespaces_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespaces</span>
+ <span class="ruby-identifier">namespaces</span> = []
+
+ <span class="ruby-comment"># Add user account namespace</span>
+ <span class="ruby-identifier">namespaces</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">namespace</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">namespace</span>
+
+ <span class="ruby-comment"># Add groups you can manage</span>
+ <span class="ruby-identifier">namespaces</span> <span class="ruby-operator">+=</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">admin</span>
+ <span class="ruby-constant">Group</span>.<span class="ruby-identifier">all</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">groups</span>.<span class="ruby-identifier">all</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">namespaces</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_ids">
+
+ <b>project_ids</b>()
+
+ <a href="../classes/Account.html#method-i-project_ids" name="method-i-project_ids" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_ids_source')" id="l_method-i-project_ids_source">show</a>
+
+ </p>
+ <div id="method-i-project_ids_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-projects_limit_percent">
+
+ <b>projects_limit_percent</b>()
+
+ <a href="../classes/Account.html#method-i-projects_limit_percent" name="method-i-projects_limit_percent" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-projects_limit_percent_source')" id="l_method-i-projects_limit_percent_source">show</a>
+
+ </p>
+ <div id="method-i-projects_limit_percent_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 68</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">projects_limit_percent</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-number">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-number">100</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-projects_sorted_by_activity">
+
+ <b>projects_sorted_by_activity</b>()
+
+ <a href="../classes/Account.html#method-i-projects_sorted_by_activity" name="method-i-projects_sorted_by_activity" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-projects_sorted_by_activity_source')" id="l_method-i-projects_sorted_by_activity_source">show</a>
+
+ </p>
+ <div id="method-i-projects_sorted_by_activity_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">projects_sorted_by_activity</span>
+ <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">sorted_by_activity</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-recent_push">
+
+ <b>recent_push</b>(project_id = nil)
+
+ <a href="../classes/Account.html#method-i-recent_push" name="method-i-recent_push" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-recent_push_source')" id="l_method-i-recent_push_source">show</a>
+
+ </p>
+ <div id="method-i-recent_push_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">1</span>).<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-require_ssh_key-3F">
+
+ <b>require_ssh_key?</b>()
+
+ <a href="../classes/Account.html#method-i-require_ssh_key-3F" name="method-i-require_ssh_key-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-require_ssh_key-3F_source')" id="l_method-i-require_ssh_key-3F_source">show</a>
+
+ </p>
+ <div id="method-i-require_ssh_key-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">require_ssh_key?</span>
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-several_namespaces-3F">
+
+ <b>several_namespaces?</b>()
+
+ <a href="../classes/Account.html#method-i-several_namespaces-3F" name="method-i-several_namespaces-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-several_namespaces-3F_source')" id="l_method-i-several_namespaces-3F_source">show</a>
+
+ </p>
+ <div id="method-i-several_namespaces-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/account.rb, line 101</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">several_namespaces?</span>
+ <span class="ruby-identifier">namespaces</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-number">1</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActiveRecord.html b/doc/code/classes/ActiveRecord.html
new file mode 100644
index 00000000000..fdf88c1cf34
--- /dev/null
+++ b/doc/code/classes/ActiveRecord.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActiveRecord</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ActiveRecord
+
+ </h1>
+ <ul class="files">
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="ActiveRecord/ConnectionAdapters.html">ActiveRecord::ConnectionAdapters</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActiveRecord/ConnectionAdapters.html b/doc/code/classes/ActiveRecord/ConnectionAdapters.html
new file mode 100644
index 00000000000..ec3891660ab
--- /dev/null
+++ b/doc/code/classes/ActiveRecord/ConnectionAdapters.html
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActiveRecord::ConnectionAdapters</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ActiveRecord::ConnectionAdapters
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/config/initializers/connection_fix_rb.html">config/initializers/connection_fix.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="ConnectionAdapters/Mysql2Adapter.html">ActiveRecord::ConnectionAdapters::Mysql2Adapter</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="ConnectionAdapters/PostgreSQLAdapter.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html b/doc/code/classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html
new file mode 100644
index 00000000000..2c8d740a69a
--- /dev/null
+++ b/doc/code/classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActiveRecord::ConnectionAdapters::Mysql2Adapter</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ActiveRecord::ConnectionAdapters::Mysql2Adapter
+
+ <span class="parent">&lt;
+
+ <a href="../../Object.html">Object</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/config/initializers/connection_fix_rb.html">config/initializers/connection_fix.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-execute_without_retry">execute_without_retry</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>(*args)
+
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+ <div class="aka">
+ Also aliased as: <a href="Mysql2Adapter.html#method-i-execute_without_retry">execute_without_retry</a>
+ </div>
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/connection_fix.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">execute</span>(*<span class="ruby-identifier">args</span>)
+ <span class="ruby-identifier">execute_without_retry</span>(*<span class="ruby-identifier">args</span>)
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">StatementInvalid</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">message</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%rserver has gone away/</span>
+ <span class="ruby-identifier">warn</span> <span class="ruby-string">&quot;Server timed out, retrying&quot;</span>
+ <span class="ruby-identifier">reconnect!</span>
+ <span class="ruby-keyword">retry</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute_without_retry">
+
+ <b>execute_without_retry</b>(*args)
+
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html#method-i-execute_without_retry" name="method-i-execute_without_retry" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html b/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html
new file mode 100644
index 00000000000..0ee82105cd4
--- /dev/null
+++ b/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActiveRecord::ConnectionAdapters::PostgreSQLAdapter</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
+
+ <span class="parent">&lt;
+
+ <a href="../../Object.html">Object</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/config/initializers/postgresql_limit_fix_rb.html">config/initializers/postgresql_limit_fix.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="PostgreSQLAdapter/TableDefinition.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-add_column_with_limit_filter">add_column_with_limit_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-change_column_with_limit_filter">change_column_with_limit_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_column_with_limit_filter">
+
+ <b>add_column_with_limit_filter</b>(table_name, column_name, type, options = {})
+
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#method-i-add_column_with_limit_filter" name="method-i-add_column_with_limit_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_column_with_limit_filter_source')" id="l_method-i-add_column_with_limit_filter_source">show</a>
+
+ </p>
+ <div id="method-i-add_column_with_limit_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/postgresql_limit_fix.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">add_column_with_limit_filter</span>(<span class="ruby-identifier">table_name</span>, <span class="ruby-identifier">column_name</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span> = {})
+ <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:limit</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value">:text</span>
+ <span class="ruby-identifier">add_column_without_limit_filter</span>(<span class="ruby-identifier">table_name</span>, <span class="ruby-identifier">column_name</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-change_column_with_limit_filter">
+
+ <b>change_column_with_limit_filter</b>(table_name, column_name, type, options = {})
+
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#method-i-change_column_with_limit_filter" name="method-i-change_column_with_limit_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-change_column_with_limit_filter_source')" id="l_method-i-change_column_with_limit_filter_source">show</a>
+
+ </p>
+ <div id="method-i-change_column_with_limit_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/postgresql_limit_fix.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">change_column_with_limit_filter</span>(<span class="ruby-identifier">table_name</span>, <span class="ruby-identifier">column_name</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span> = {})
+ <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:limit</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value">:text</span>
+ <span class="ruby-identifier">change_column_without_limit_filter</span>(<span class="ruby-identifier">table_name</span>, <span class="ruby-identifier">column_name</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html b/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html
new file mode 100644
index 00000000000..f2ea0db417a
--- /dev/null
+++ b/doc/code/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition
+
+ <span class="parent">&lt;
+
+ <a href="../../../Object.html">Object</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../../files/config/initializers/postgresql_limit_fix_rb.html">config/initializers/postgresql_limit_fix.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-text">text</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-text">
+
+ <b>text</b>(*args)
+
+ <a href="../../../../classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html#method-i-text" name="method-i-text" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-text_source')" id="l_method-i-text_source">show</a>
+
+ </p>
+ <div id="method-i-text_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/postgresql_limit_fix.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">text</span>(*<span class="ruby-identifier">args</span>)
+ <span class="ruby-identifier">options</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">extract_options!</span>
+ <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:limit</span>)
+ <span class="ruby-identifier">column_names</span> = <span class="ruby-identifier">args</span>
+ <span class="ruby-identifier">type</span> = <span class="ruby-value">:text</span>
+ <span class="ruby-identifier">column_names</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span> <span class="ruby-identifier">column</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span>) }
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ActivityObserver.html b/doc/code/classes/ActivityObserver.html
new file mode 100644
index 00000000000..31f4982edd0
--- /dev/null
+++ b/doc/code/classes/ActivityObserver.html
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ActivityObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ActivityObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/activity_observer_rb.html">app/observers/activity_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_save">after_save</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(record)
+
+ <a href="../classes/ActivityObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/activity_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">after_create</span>(<span class="ruby-identifier">record</span>)
+ <span class="ruby-identifier">event_author_id</span> = <span class="ruby-identifier">record</span>.<span class="ruby-identifier">author_id</span>
+
+ <span class="ruby-comment"># Skip status notes</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Note</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">note</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;_Status changed to &quot;</span>)
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">event_author_id</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">event_author_id</span>
+ )
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_save">
+
+ <b>after_save</b>(record)
+
+ <a href="../classes/ActivityObserver.html#method-i-after_save" name="method-i-after_save" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_save_source')" id="l_method-i-after_save_source">show</a>
+
+ </p>
+ <div id="method-i-after_save_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/activity_observer.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-operator">&amp;&amp;</span> <span class="ruby-identifier">record</span>.<span class="ruby-identifier">author_id_of_changes</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin.html b/doc/code/classes/Admin.html
new file mode 100644
index 00000000000..ba82287d551
--- /dev/null
+++ b/doc/code/classes/Admin.html
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Admin
+
+ </h1>
+ <ul class="files">
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/DashboardController.html">Admin::DashboardController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/GroupsController.html">Admin::GroupsController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/HooksController.html">Admin::HooksController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/LogsController.html">Admin::LogsController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/ProjectsController.html">Admin::ProjectsController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/ResqueController.html">Admin::ResqueController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Admin/UsersController.html">Admin::UsersController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/DashboardController.html b/doc/code/classes/Admin/DashboardController.html
new file mode 100644
index 00000000000..02643b7fe39
--- /dev/null
+++ b/doc/code/classes/Admin/DashboardController.html
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::DashboardController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::DashboardController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/dashboard_controller_rb.html">app/controllers/admin/dashboard_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../../classes/Admin/DashboardController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">index</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-number">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-number">10</span>)
+
+ <span class="ruby-ivar">@resque_accessible</span> = <span class="ruby-keyword">true</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-keyword">rescue</span> <span class="ruby-constant">Redis</span><span class="ruby-operator">::</span><span class="ruby-constant">InheritedError</span>
+ <span class="ruby-ivar">@resque_accessible</span> = <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/GroupsController.html b/doc/code/classes/Admin/GroupsController.html
new file mode 100644
index 00000000000..b3651e8b98e
--- /dev/null
+++ b/doc/code/classes/Admin/GroupsController.html
@@ -0,0 +1,586 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::GroupsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::GroupsController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/groups_controller_rb.html">app/controllers/admin/groups_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_teams_update">project_teams_update</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-project_update">project_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-remove_project">remove_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">path</span> = <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">parameterize</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">name</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 75</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">destroy</span>
+ <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">truncate_teams</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-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-keyword ruby-title">edit</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">index</span>
+ <span class="ruby-ivar">@groups</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">'name ASC'</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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_teams_update">
+
+ <b>project_teams_update</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-project_teams_update" name="method-i-project_teams_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_teams_update_source')" id="l_method-i-project_teams_update_source">show</a>
+
+ </p>
+ <div id="method-i-project_teams_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_teams_update</span>
+ <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">add_users_to_project_teams</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">@group</span>], <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Users was successfully added.'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_update">
+
+ <b>project_update</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-project_update" name="method-i-project_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_update_source')" id="l_method-i-project_update_source">show</a>
+
+ </p>
+ <div id="method-i-project_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">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">project</span>.<span class="ruby-identifier">transfer</span>(<span class="ruby-ivar">@group</span>)
+ <span class="ruby-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-remove_project">
+
+ <b>remove_project</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-remove_project" name="method-i-remove_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-remove_project_source')" id="l_method-i-remove_project_source">show</a>
+
+ </p>
+ <div id="method-i-remove_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">transfer</span>(<span class="ruby-keyword">nil</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">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-ivar">@projects</span>.<span class="ruby-identifier">reject!</span>(&amp;<span class="ruby-value">:empty_repo?</span>)
+
+ <span class="ruby-ivar">@users</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">active</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../../classes/Admin/GroupsController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/groups_controller.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/HooksController.html b/doc/code/classes/Admin/HooksController.html
new file mode 100644
index 00000000000..1d56fbc7b98
--- /dev/null
+++ b/doc/code/classes/Admin/HooksController.html
@@ -0,0 +1,294 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::HooksController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::HooksController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/hooks_controller_rb.html">app/controllers/admin/hooks_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-test">test</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../../classes/Admin/HooksController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../../classes/Admin/HooksController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../../classes/Admin/HooksController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-test">
+
+ <b>test</b>()
+
+ <a href="../../classes/Admin/HooksController.html#method-i-test" name="method-i-test" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-test_source')" id="l_method-i-test_source">show</a>
+
+ </p>
+ <div id="method-i-test_source" class="dyn-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-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/LogsController.html b/doc/code/classes/Admin/LogsController.html
new file mode 100644
index 00000000000..8782d95f5ac
--- /dev/null
+++ b/doc/code/classes/Admin/LogsController.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::LogsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::LogsController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/logs_controller_rb.html">app/controllers/admin/logs_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/ProjectsController.html b/doc/code/classes/Admin/ProjectsController.html
new file mode 100644
index 00000000000..1a0bd492112
--- /dev/null
+++ b/doc/code/classes/Admin/ProjectsController.html
@@ -0,0 +1,436 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::ProjectsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::ProjectsController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/projects_controller_rb.html">app/controllers/admin/projects_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project">project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-team_update">team_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">destroy</span>
+ <span class="ruby-comment"># Delete team first in order to prevent multiple gitolite calls</span>
+ <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">truncate_team</span>
+
+ <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">destroy</span>
+
+ <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_projects_path</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">index</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">where</span>(<span class="ruby-identifier">namespace_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:namespace_id</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:namespace_id</span>].<span class="ruby-identifier">present?</span>
+ <span class="ruby-ivar">@projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">namespace_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:namespace_id</span>] <span class="ruby-operator">==</span> <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">global_id</span>
+ <span class="ruby-ivar">@projects</span> = <span class="ruby-ivar">@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">@projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">includes</span>(<span class="ruby-value">:namespace</span>).<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;namespaces.path, projects.name ASC&quot;</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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">show</span>
+ <span class="ruby-ivar">@users</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">active</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">@project</span>) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_update">
+
+ <b>team_update</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-team_update" name="method-i-team_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_update_source')" id="l_method-i-team_update_source">show</a>
+
+ </p>
+ <div id="method-i-team_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">team_update</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-value">:admin</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 updated.'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update</span>
+ <span class="ruby-identifier">status</span> = <span class="ruby-constant">ProjectUpdateContext</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-value">:admin</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">status</span>
+ <span class="ruby-identifier">redirect_to</span> [<span class="ruby-value">:admin</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 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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project">
+
+ <b>project</b>()
+
+ <a href="../../classes/Admin/ProjectsController.html#method-i-project" name="method-i-project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_source')" id="l_method-i-project_source">show</a>
+
+ </p>
+ <div id="method-i-project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin/projects_controller.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project</span>
+ <span class="ruby-identifier">id</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-constant">Project</span>.<span class="ruby-identifier">find_with_namespace</span>(<span class="ruby-identifier">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/ResqueController.html b/doc/code/classes/Admin/ResqueController.html
new file mode 100644
index 00000000000..52cb2f870e9
--- /dev/null
+++ b/doc/code/classes/Admin/ResqueController.html
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::ResqueController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::ResqueController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/resque_controller_rb.html">app/controllers/admin/resque_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../../classes/Admin/ResqueController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">show</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/TeamMembersController.html b/doc/code/classes/Admin/TeamMembersController.html
new file mode 100644
index 00000000000..b055f509137
--- /dev/null
+++ b/doc/code/classes/Admin/TeamMembersController.html
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::TeamMembersController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::TeamMembersController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/team_members_controller_rb.html">app/controllers/admin/team_members_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../../classes/Admin/TeamMembersController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../../classes/Admin/TeamMembersController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../../classes/Admin/TeamMembersController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Admin/UsersController.html b/doc/code/classes/Admin/UsersController.html
new file mode 100644
index 00000000000..cfe1e514ae8
--- /dev/null
+++ b/doc/code/classes/Admin/UsersController.html
@@ -0,0 +1,616 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Admin::UsersController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Admin::UsersController
+
+ <span class="parent">&lt;
+
+ <a href="../AdminController.html">AdminController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/controllers/admin/users_controller_rb.html">app/controllers/admin/users_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-block">block</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-team_update">team_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-unblock">unblock</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-block">
+
+ <b>block</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-block" name="method-i-block" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-block_source')" id="l_method-i-block_source">show</a>
+
+ </p>
+ <div id="method-i-block_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-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-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-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-keyword ruby-title">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-keyword">if</span> <span class="ruby-ivar">@admin_user</span>.<span class="ruby-identifier">my_own_projects</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-number">0</span>
+ <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">admin_users_path</span>, <span class="ruby-identifier">alert</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;User is a project owner and can't be removed.&quot;</span> <span class="ruby-keyword">and</span> <span class="ruby-keyword">return</span>
+ <span class="ruby-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">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">alphabetically</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-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-keyword ruby-title">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">gitlab</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_update">
+
+ <b>team_update</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-team_update" name="method-i-team_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_update_source')" id="l_method-i-team_update_source">show</a>
+
+ </p>
+ <div id="method-i-team_update_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unblock">
+
+ <b>unblock</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-unblock" name="method-i-unblock" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unblock_source')" id="l_method-i-unblock_source">show</a>
+
+ </p>
+ <div id="method-i-unblock_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../../classes/Admin/UsersController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-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-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/AdminController.html b/doc/code/classes/AdminController.html
new file mode 100644
index 00000000000..629a30fe62c
--- /dev/null
+++ b/doc/code/classes/AdminController.html
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>AdminController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ AdminController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/admin_controller_rb.html">app/controllers/admin_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div 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>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authenticate_admin-21">authenticate_admin!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authenticate_admin-21">
+
+ <b>authenticate_admin!</b>()
+
+ <a href="../classes/AdminController.html#method-i-authenticate_admin-21" name="method-i-authenticate_admin-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authenticate_admin-21_source')" id="l_method-i-authenticate_admin-21_source">show</a>
+
+ </p>
+ <div id="method-i-authenticate_admin-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/admin_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ApplicationController.html b/doc/code/classes/ApplicationController.html
new file mode 100644
index 00000000000..f1c3bed954e
--- /dev/null
+++ b/doc/code/classes/ApplicationController.html
@@ -0,0 +1,942 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ApplicationController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ApplicationController
+
+ <span class="parent">&lt;
+
+ ActionController::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/application_controller_rb.html">app/controllers/application_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-abilities">abilities</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-access_denied-21">access_denied!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-add_abilities">add_abilities</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_sign_in_path_for">after_sign_in_path_for</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize_code_access-21">authorize_code_access!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize_project-21">authorize_project!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can-3F">can?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-dev_tools">dev_tools</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-git_not_found-21">git_not_found!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log_exception">log_exception</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-method_missing">method_missing</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-no_cache_headers">no_cache_headers</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-not_found-21">not_found!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project">project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-reject_blocked-21">reject_blocked!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-render_403">render_403</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-render_404">render_404</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-require_non_empty_project">require_non_empty_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-set_current_user_for_observers">set_current_user_for_observers</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-abilities">
+
+ <b>abilities</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-abilities" name="method-i-abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-abilities_source')" id="l_method-i-abilities_source">show</a>
+
+ </p>
+ <div id="method-i-abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-access_denied-21">
+
+ <b>access_denied!</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-access_denied-21" name="method-i-access_denied-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-access_denied-21_source')" id="l_method-i-access_denied-21_source">show</a>
+
+ </p>
+ <div id="method-i-access_denied-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">404</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_abilities">
+
+ <b>add_abilities</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-add_abilities" name="method-i-add_abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_abilities_source')" id="l_method-i-add_abilities_source">show</a>
+
+ </p>
+ <div id="method-i-add_abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">add_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_sign_in_path_for">
+
+ <b>after_sign_in_path_for</b>(resource)
+
+ <a href="../classes/ApplicationController.html#method-i-after_sign_in_path_for" name="method-i-after_sign_in_path_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_sign_in_path_for_source')" id="l_method-i-after_sign_in_path_for_source">show</a>
+
+ </p>
+ <div id="method-i-after_sign_in_path_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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 is blocked. Retry when an admin unblock it.&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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_code_access-21">
+
+ <b>authorize_code_access!</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-authorize_code_access-21" name="method-i-authorize_code_access-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_code_access-21_source')" id="l_method-i-authorize_code_access-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_code_access-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 87</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_project-21">
+
+ <b>authorize_project!</b>(action)
+
+ <a href="../classes/ApplicationController.html#method-i-authorize_project-21" name="method-i-authorize_project-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_project-21_source')" id="l_method-i-authorize_project-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_project-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 83</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can-3F">
+
+ <b>can?</b>(object, action, subject)
+
+ <a href="../classes/ApplicationController.html#method-i-can-3F" name="method-i-can-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can-3F_source')" id="l_method-i-can-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-dev_tools">
+
+ <b>dev_tools</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-dev_tools" name="method-i-dev_tools" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-dev_tools_source')" id="l_method-i-dev_tools_source">show</a>
+
+ </p>
+ <div id="method-i-dev_tools_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-git_not_found-21">
+
+ <b>git_not_found!</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-git_not_found-21" name="method-i-git_not_found-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-git_not_found-21_source')" id="l_method-i-git_not_found-21_source">show</a>
+
+ </p>
+ <div id="method-i-git_not_found-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">404</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log_exception">
+
+ <b>log_exception</b>(exception)
+
+ <a href="../classes/ApplicationController.html#method-i-log_exception" name="method-i-log_exception" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_exception_source')" id="l_method-i-log_exception_source">show</a>
+
+ </p>
+ <div id="method-i-log_exception_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">log_exception</span>(<span class="ruby-identifier">exception</span>)
+ <span class="ruby-identifier">application_trace</span> = <span class="ruby-constant">ActionDispatch</span><span class="ruby-operator">::</span><span class="ruby-constant">ExceptionWrapper</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">env</span>, <span class="ruby-identifier">exception</span>).<span class="ruby-identifier">application_trace</span>
+ <span class="ruby-identifier">application_trace</span>.<span class="ruby-identifier">map!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-node">&quot; #{t}\n&quot;</span> }
+ <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">error</span> <span class="ruby-node">&quot;\n#{exception.class.name} (#{exception.message}):\n#{application_trace.join}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-method_missing">
+
+ <b>method_missing</b>(method_sym, *arguments, &amp;block)
+
+ <a href="../classes/ApplicationController.html#method-i-method_missing" name="method-i-method_missing" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-method_missing_source')" id="l_method-i-method_missing_source">show</a>
+
+ </p>
+ <div id="method-i-method_missing_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 103</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-no_cache_headers">
+
+ <b>no_cache_headers</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-no_cache_headers" name="method-i-no_cache_headers" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-no_cache_headers_source')" id="l_method-i-no_cache_headers_source">show</a>
+
+ </p>
+ <div id="method-i-no_cache_headers_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 123</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-not_found-21">
+
+ <b>not_found!</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-not_found-21" name="method-i-not_found-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-not_found-21_source')" id="l_method-i-not_found-21_source">show</a>
+
+ </p>
+ <div id="method-i-not_found-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 95</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">404</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project">
+
+ <b>project</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-project" name="method-i-project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_source')" id="l_method-i-project_source">show</a>
+
+ </p>
+ <div id="method-i-project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project</span>
+ <span class="ruby-identifier">id</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-constant">Project</span>.<span class="ruby-identifier">find_with_namespace</span>(<span class="ruby-identifier">id</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:read_project</span>, <span class="ruby-ivar">@project</span>)
+ <span class="ruby-ivar">@project</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-ivar">@project</span> = <span class="ruby-keyword">nil</span>
+ <span class="ruby-identifier">render_404</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reject_blocked-21">
+
+ <b>reject_blocked!</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-reject_blocked-21" name="method-i-reject_blocked-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reject_blocked-21_source')" id="l_method-i-reject_blocked-21_source">show</a>
+
+ </p>
+ <div id="method-i-reject_blocked-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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 is blocked. Retry when an admin unblock it.&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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-render_403">
+
+ <b>render_403</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-render_403" name="method-i-render_403" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-render_403_source')" id="l_method-i-render_403_source">show</a>
+
+ </p>
+ <div id="method-i-render_403_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 115</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">render_403</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;403&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;403&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-render_404">
+
+ <b>render_404</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-render_404" name="method-i-render_404" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-render_404_source')" id="l_method-i-render_404_source">show</a>
+
+ </p>
+ <div id="method-i-render_404_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 111</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-require_non_empty_project">
+
+ <b>require_non_empty_project</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-require_non_empty_project" name="method-i-require_non_empty_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-require_non_empty_project_source')" id="l_method-i-require_non_empty_project_source">show</a>
+
+ </p>
+ <div id="method-i-require_non_empty_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 119</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-set_current_user_for_observers">
+
+ <b>set_current_user_for_observers</b>()
+
+ <a href="../classes/ApplicationController.html#method-i-set_current_user_for_observers" name="method-i-set_current_user_for_observers" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-set_current_user_for_observers_source')" id="l_method-i-set_current_user_for_observers_source">show</a>
+
+ </p>
+ <div id="method-i-set_current_user_for_observers_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/application_controller.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ApplicationDecorator.html b/doc/code/classes/ApplicationDecorator.html
new file mode 100644
index 00000000000..348cf42a0c9
--- /dev/null
+++ b/doc/code/classes/ApplicationDecorator.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ApplicationDecorator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ApplicationDecorator
+
+ <span class="parent">&lt;
+
+ Draper::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/decorators/application_decorator_rb.html">app/decorators/application_decorator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ApplicationHelper.html b/doc/code/classes/ApplicationHelper.html
new file mode 100644
index 00000000000..2c3a82bb7b1
--- /dev/null
+++ b/doc/code/classes/ApplicationHelper.html
@@ -0,0 +1,890 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ApplicationHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ApplicationHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/application_helper_rb.html">app/helpers/application_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-app_theme">app_theme</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authbutton">authbutton</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-current_action-3F">current_action?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-current_controller-3F">current_controller?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-emoji_autocomplete_source">emoji_autocomplete_source</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-gravatar_icon">gravatar_icon</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-grouped_options_refs">grouped_options_refs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-hexdigest">hexdigest</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_commit">last_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-ldap_enable-3F">ldap_enable?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_last_activity">project_last_activity</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-request_protocol">request_protocol</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-search_autocomplete_source">search_autocomplete_source</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-show_last_push_widget-3F">show_last_push_widget?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-user_color_scheme_class">user_color_scheme_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-web_app_url">web_app_url</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-app_theme">
+
+ <b>app_theme</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-app_theme" name="method-i-app_theme" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-app_theme_source')" id="l_method-i-app_theme_source">show</a>
+
+ </p>
+ <div id="method-i-app_theme_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 130</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authbutton">
+
+ <b>authbutton</b>(provider, size = 64)
+
+ <a href="../classes/ApplicationHelper.html#method-i-authbutton" name="method-i-authbutton" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authbutton_source')" id="l_method-i-authbutton_source">show</a>
+
+ </p>
+ <div id="method-i-authbutton_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 159</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authbutton</span>(<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">size</span> = <span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-current_action-3F">
+
+ <b>current_action?</b>(*args)
+
+ <a href="../classes/ApplicationHelper.html#method-i-current_action-3F" name="method-i-current_action-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-current_action-3F_source')" id="l_method-i-current_action-3F_source">show</a>
+
+ </p>
+ <div id="method-i-current_action-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-current_controller-3F">
+
+ <b>current_controller?</b>(*args)
+
+ <a href="../classes/ApplicationHelper.html#method-i-current_controller-3F" name="method-i-current_controller-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-current_controller-3F_source')" id="l_method-i-current_controller-3F_source">show</a>
+
+ </p>
+ <div id="method-i-current_controller-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-emoji_autocomplete_source">
+
+ <b>emoji_autocomplete_source</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-emoji_autocomplete_source" name="method-i-emoji_autocomplete_source" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-emoji_autocomplete_source_source')" id="l_method-i-emoji_autocomplete_source_source">show</a>
+
+ </p>
+ <div id="method-i-emoji_autocomplete_source_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 120</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-gravatar_icon">
+
+ <b>gravatar_icon</b>(user_email = '', size = nil)
+
+ <a href="../classes/ApplicationHelper.html#method-i-gravatar_icon" name="method-i-gravatar_icon" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-gravatar_icon_source')" id="l_method-i-gravatar_icon_source">show</a>
+
+ </p>
+ <div id="method-i-gravatar_icon_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">gravatar_icon</span>(<span class="ruby-identifier">user_email</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">size</span> = <span class="ruby-keyword">nil</span>)
+ <span class="ruby-identifier">size</span> = <span class="ruby-number">40</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">size</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">&lt;=</span> <span class="ruby-number">0</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gravatar</span>.<span class="ruby-identifier">enabled</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_url</span> = <span class="ruby-identifier">request</span>.<span class="ruby-identifier">ssl?</span> <span class="ruby-operator">?</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gravatar</span>.<span class="ruby-identifier">ssl_url</span> <span class="ruby-operator">:</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gravatar</span>.<span class="ruby-identifier">plain_url</span>
+ <span class="ruby-identifier">user_email</span>.<span class="ruby-identifier">strip!</span>
+ <span class="ruby-identifier">sprintf</span>(<span class="ruby-identifier">gravatar_url</span>, {<span class="ruby-value">:hash</span> =<span class="ruby-operator">&gt;</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">user_email</span>.<span class="ruby-identifier">downcase</span>), <span class="ruby-value">:email</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">URI</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">user_email</span>), <span class="ruby-value">:size</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">size</span>})
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-grouped_options_refs">
+
+ <b>grouped_options_refs</b>(destination = :tree)
+
+ <a href="../classes/ApplicationHelper.html#method-i-grouped_options_refs" name="method-i-grouped_options_refs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-grouped_options_refs_source')" id="l_method-i-grouped_options_refs_source">show</a>
+
+ </p>
+ <div id="method-i-grouped_options_refs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-hexdigest">
+
+ <b>hexdigest</b>(string)
+
+ <a href="../classes/ApplicationHelper.html#method-i-hexdigest" name="method-i-hexdigest" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-hexdigest_source')" id="l_method-i-hexdigest_source">show</a>
+
+ </p>
+ <div id="method-i-hexdigest_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 146</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_commit">
+
+ <b>last_commit</b>(project)
+
+ <a href="../classes/ApplicationHelper.html#method-i-last_commit" name="method-i-last_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_commit_source')" id="l_method-i-last_commit_source">show</a>
+
+ </p>
+ <div id="method-i-last_commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ldap_enable-3F">
+
+ <b>ldap_enable?</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-ldap_enable-3F" name="method-i-ldap_enable-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ldap_enable-3F_source')" id="l_method-i-ldap_enable-3F_source">show</a>
+
+ </p>
+ <div id="method-i-ldap_enable-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_last_activity">
+
+ <b>project_last_activity</b>(project)
+
+ <a href="../classes/ApplicationHelper.html#method-i-project_last_activity" name="method-i-project_last_activity" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_last_activity_source')" id="l_method-i-project_last_activity_source">show</a>
+
+ </p>
+ <div id="method-i-project_last_activity_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 150</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-request_protocol">
+
+ <b>request_protocol</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-request_protocol" name="method-i-request_protocol" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-request_protocol_source')" id="l_method-i-request_protocol_source">show</a>
+
+ </p>
+ <div id="method-i-request_protocol_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-search_autocomplete_source">
+
+ <b>search_autocomplete_source</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-search_autocomplete_source" name="method-i-search_autocomplete_source" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-search_autocomplete_source_source')" id="l_method-i-search_autocomplete_source_source">show</a>
+
+ </p>
+ <div id="method-i-search_autocomplete_source_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">search_autocomplete_source</span>
+ <span class="ruby-identifier">projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">authorized_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_with_namespace</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">groups</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">authorized_groups</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">group</span><span class="ruby-operator">|</span> { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;&lt;group&gt; #{group.name}&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">group_path</span>(<span class="ruby-identifier">group</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">label</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;Gitlab Rake Tasks Help&quot;</span>, <span class="ruby-identifier">url</span><span class="ruby-operator">:</span> <span class="ruby-identifier">help_raketasks_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">groups</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show_last_push_widget-3F">
+
+ <b>show_last_push_widget?</b>(event)
+
+ <a href="../classes/ApplicationHelper.html#method-i-show_last_push_widget-3F" name="method-i-show_last_push_widget-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_last_push_widget-3F_source')" id="l_method-i-show_last_push_widget-3F_source">show</a>
+
+ </p>
+ <div id="method-i-show_last_push_widget-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 138</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-user_color_scheme_class">
+
+ <b>user_color_scheme_class</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-user_color_scheme_class" name="method-i-user_color_scheme_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-user_color_scheme_class_source')" id="l_method-i-user_color_scheme_class_source">show</a>
+
+ </p>
+ <div id="method-i-user_color_scheme_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 134</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">user_color_scheme_class</span>
+ <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">dark_scheme</span> <span class="ruby-operator">?</span> <span class="ruby-value">:black</span> <span class="ruby-operator">:</span> <span class="ruby-value">:white</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-web_app_url">
+
+ <b>web_app_url</b>()
+
+ <a href="../classes/ApplicationHelper.html#method-i-web_app_url" name="method-i-web_app_url" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-web_app_url_source')" id="l_method-i-web_app_url_source">show</a>
+
+ </p>
+ <div id="method-i-web_app_url_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/application_helper.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">web_app_url</span>
+ <span class="ruby-node">&quot;#{request_protocol}://#{Gitlab.config.gitlab.host}/&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/AttachmentUploader.html b/doc/code/classes/AttachmentUploader.html
new file mode 100644
index 00000000000..79bc7c989c5
--- /dev/null
+++ b/doc/code/classes/AttachmentUploader.html
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>AttachmentUploader</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ AttachmentUploader
+
+ <span class="parent">&lt;
+
+ CarrierWave::Uploader::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/uploaders/attachment_uploader_rb.html">app/uploaders/attachment_uploader.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-store_dir">store_dir</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-store_dir">
+
+ <b>store_dir</b>()
+
+ <a href="../classes/AttachmentUploader.html#method-i-store_dir" name="method-i-store_dir" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-store_dir_source')" id="l_method-i-store_dir_source">show</a>
+
+ </p>
+ <div id="method-i-store_dir_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/uploaders/attachment_uploader.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Authority.html b/doc/code/classes/Authority.html
new file mode 100644
index 00000000000..fc93f4bea1a
--- /dev/null
+++ b/doc/code/classes/Authority.html
@@ -0,0 +1,528 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Authority</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Authority
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/authority_rb.html">app/roles/authority.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-add_access">add_access</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-allow_read_for-3F">allow_read_for?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-dev_access_for-3F">dev_access_for?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-guest_access_for-3F">guest_access_for?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-master_access_for-3F">master_access_for?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-report_access_for-3F">report_access_for?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-repository_masters">repository_masters</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-repository_readers">repository_readers</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-repository_writers">repository_writers</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-reset_access">reset_access</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_access">
+
+ <b>add_access</b>(user, *access)
+
+ <a href="../classes/Authority.html#method-i-add_access" name="method-i-add_access" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Compatible with all access rights Should be rewrited for new access rights</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_access_source')" id="l_method-i-add_access_source">show</a>
+
+ </p>
+ <div id="method-i-add_access_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-allow_read_for-3F">
+
+ <b>allow_read_for?</b>(user)
+
+ <a href="../classes/Authority.html#method-i-allow_read_for-3F" name="method-i-allow_read_for-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-allow_read_for-3F_source')" id="l_method-i-allow_read_for-3F_source">show</a>
+
+ </p>
+ <div id="method-i-allow_read_for-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-dev_access_for-3F">
+
+ <b>dev_access_for?</b>(user)
+
+ <a href="../classes/Authority.html#method-i-dev_access_for-3F" name="method-i-dev_access_for-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-dev_access_for-3F_source')" id="l_method-i-dev_access_for-3F_source">show</a>
+
+ </p>
+ <div id="method-i-dev_access_for-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-guest_access_for-3F">
+
+ <b>guest_access_for?</b>(user)
+
+ <a href="../classes/Authority.html#method-i-guest_access_for-3F" name="method-i-guest_access_for-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-guest_access_for-3F_source')" id="l_method-i-guest_access_for-3F_source">show</a>
+
+ </p>
+ <div id="method-i-guest_access_for-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-master_access_for-3F">
+
+ <b>master_access_for?</b>(user)
+
+ <a href="../classes/Authority.html#method-i-master_access_for-3F" name="method-i-master_access_for-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-master_access_for-3F_source')" id="l_method-i-master_access_for-3F_source">show</a>
+
+ </p>
+ <div id="method-i-master_access_for-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-report_access_for-3F">
+
+ <b>report_access_for?</b>(user)
+
+ <a href="../classes/Authority.html#method-i-report_access_for-3F" name="method-i-report_access_for-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-report_access_for-3F_source')" id="l_method-i-report_access_for-3F_source">show</a>
+
+ </p>
+ <div id="method-i-report_access_for-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repository_masters">
+
+ <b>repository_masters</b>()
+
+ <a href="../classes/Authority.html#method-i-repository_masters" name="method-i-repository_masters" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repository_masters_source')" id="l_method-i-repository_masters_source">show</a>
+
+ </p>
+ <div id="method-i-repository_masters_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repository_readers">
+
+ <b>repository_readers</b>()
+
+ <a href="../classes/Authority.html#method-i-repository_readers" name="method-i-repository_readers" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repository_readers_source')" id="l_method-i-repository_readers_source">show</a>
+
+ </p>
+ <div id="method-i-repository_readers_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repository_writers">
+
+ <b>repository_writers</b>()
+
+ <a href="../classes/Authority.html#method-i-repository_writers" name="method-i-repository_writers" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repository_writers_source')" id="l_method-i-repository_writers_source">show</a>
+
+ </p>
+ <div id="method-i-repository_writers_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reset_access">
+
+ <b>reset_access</b>(user)
+
+ <a href="../classes/Authority.html#method-i-reset_access" name="method-i-reset_access" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reset_access_source')" id="l_method-i-reset_access_source">show</a>
+
+ </p>
+ <div id="method-i-reset_access_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/authority.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/BaseContext.html b/doc/code/classes/BaseContext.html
new file mode 100644
index 00000000000..3fbc76bf7e0
--- /dev/null
+++ b/doc/code/classes/BaseContext.html
@@ -0,0 +1,261 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>BaseContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ BaseContext
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/base_context_rb.html">app/contexts/base_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-abilities">abilities</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can-3F">can?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>current_user</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>params</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(project, user, params)
+
+ <a href="../classes/BaseContext.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-abilities">
+
+ <b>abilities</b>()
+
+ <a href="../classes/BaseContext.html#method-i-abilities" name="method-i-abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-abilities_source')" id="l_method-i-abilities_source">show</a>
+
+ </p>
+ <div id="method-i-abilities_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can-3F">
+
+ <b>can?</b>(object, action, subject)
+
+ <a href="../classes/BaseContext.html#method-i-can-3F" name="method-i-can-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can-3F_source')" id="l_method-i-can-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/base_context.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/BlameController.html b/doc/code/classes/BlameController.html
new file mode 100644
index 00000000000..2d641cb099b
--- /dev/null
+++ b/doc/code/classes/BlameController.html
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>BlameController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ BlameController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/blame_controller_rb.html">app/controllers/blame_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a file’s blame</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="ExtractsPath.html">
+ ExtractsPath
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/BlameController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/blame_controller.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/BlobController.html b/doc/code/classes/BlobController.html
new file mode 100644
index 00000000000..22df013f475
--- /dev/null
+++ b/doc/code/classes/BlobController.html
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>BlobController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ BlobController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/blob_controller_rb.html">app/controllers/blob_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a file’s blame</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="ExtractsPath.html">
+ ExtractsPath
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/BlobController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/blob_controller.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">show</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@tree</span>.<span class="ruby-identifier">is_blob?</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-ivar">@tree</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Commit.html b/doc/code/classes/Commit.html
new file mode 100644
index 00000000000..15369b8981a
--- /dev/null
+++ b/doc/code/classes/Commit.html
@@ -0,0 +1,1077 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Commit</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Commit
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/commit_rb.html">app/models/commit.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-author_email">author_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-author_name">author_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-commits">commits</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-commits_between">commits_between</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-commits_since">commits_since</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-commits_with_refs">commits_with_refs</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-committer_email">committer_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-committer_name">committer_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-compare">compare</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-created_at">created_at</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-different_committer-3F">different_committer?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-find_or_first">find_or_first</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-fresh_commits">fresh_commits</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-parents_count">parents_count</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-prev_commit">prev_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-prev_commit_id">prev_commit_id</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-safe_message">safe_message</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-short_id">short_id</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_diff">to_diff</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ ActiveModel::Conversion
+
+ </li>
+
+ <li>
+
+ <a href="StaticModel.html">
+ StaticModel
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">DIFF_SAFE_SIZE</td>
+ <td>=</td>
+ <td class="attr-value">100</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"><p>Safe amount of files with diffs in one commit to render Used to prevent 500
+error on huge commits by suppressing diff</p></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>commit</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>head</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>refs</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-commits">
+
+ <b>commits</b>(repo, ref, path = nil, limit = nil, offset = nil)
+
+ <a href="../classes/Commit.html#method-c-commits" name="method-c-commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-commits_source')" id="l_method-c-commits_source">show</a>
+
+ </p>
+ <div id="method-c-commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-commits_between">
+
+ <b>commits_between</b>(repo, from, to)
+
+ <a href="../classes/Commit.html#method-c-commits_between" name="method-c-commits_between" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-commits_between_source')" id="l_method-c-commits_between_source">show</a>
+
+ </p>
+ <div id="method-c-commits_between_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-commits_since">
+
+ <b>commits_since</b>(repo, date)
+
+ <a href="../classes/Commit.html#method-c-commits_since" name="method-c-commits_since" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-commits_since_source')" id="l_method-c-commits_since_source">show</a>
+
+ </p>
+ <div id="method-c-commits_since_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-commits_with_refs">
+
+ <b>commits_with_refs</b>(repo, n = 20)
+
+ <a href="../classes/Commit.html#method-c-commits_with_refs" name="method-c-commits_with_refs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-commits_with_refs_source')" id="l_method-c-commits_with_refs_source">show</a>
+
+ </p>
+ <div id="method-c-commits_with_refs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commits_with_refs</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span> = <span class="ruby-number">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-number">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">n</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-compare">
+
+ <b>compare</b>(project, from, to)
+
+ <a href="../classes/Commit.html#method-c-compare" name="method-c-compare" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-compare_source')" id="l_method-c-compare_source">show</a>
+
+ </p>
+ <div id="method-c-compare_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 76</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">result</span>[<span class="ruby-value">:same</span>] = (<span class="ruby-identifier">first</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">last</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">last</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">first</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">last</span>.<span class="ruby-identifier">id</span>, <span class="ruby-identifier">first</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">first</span>)
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">result</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_or_first">
+
+ <b>find_or_first</b>(repo, commit_id = nil, root_ref)
+
+ <a href="../classes/Commit.html#method-c-find_or_first" name="method-c-find_or_first" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_or_first_source')" id="l_method-c-find_or_first_source">show</a>
+
+ </p>
+ <div id="method-c-find_or_first_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-fresh_commits">
+
+ <b>fresh_commits</b>(repo, n = 10)
+
+ <a href="../classes/Commit.html#method-c-fresh_commits" name="method-c-fresh_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-fresh_commits_source')" id="l_method-c-fresh_commits_source">show</a>
+
+ </p>
+ <div id="method-c-fresh_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">fresh_commits</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">n</span> = <span class="ruby-number">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-number">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">n</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(raw_commit, head = nil)
+
+ <a href="../classes/Commit.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 100</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-author_email">
+
+ <b>author_email</b>()
+
+ <a href="../classes/Commit.html#method-i-author_email" name="method-i-author_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-author_email_source')" id="l_method-i-author_email_source">show</a>
+
+ </p>
+ <div id="method-i-author_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 117</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">author_email</span>
+ <span class="ruby-identifier">author</span>.<span class="ruby-identifier">email</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-author_name">
+
+ <b>author_name</b>()
+
+ <a href="../classes/Commit.html#method-i-author_name" name="method-i-author_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-author_name_source')" id="l_method-i-author_name_source">show</a>
+
+ </p>
+ <div id="method-i-author_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">author_name</span>
+ <span class="ruby-identifier">author</span>.<span class="ruby-identifier">name</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-committer_email">
+
+ <b>committer_email</b>()
+
+ <a href="../classes/Commit.html#method-i-committer_email" name="method-i-committer_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-committer_email_source')" id="l_method-i-committer_email_source">show</a>
+
+ </p>
+ <div id="method-i-committer_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 134</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">committer_email</span>
+ <span class="ruby-identifier">committer</span>.<span class="ruby-identifier">email</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-committer_name">
+
+ <b>committer_name</b>()
+
+ <a href="../classes/Commit.html#method-i-committer_name" name="method-i-committer_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-committer_name_source')" id="l_method-i-committer_name_source">show</a>
+
+ </p>
+ <div id="method-i-committer_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 130</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">committer_name</span>
+ <span class="ruby-identifier">committer</span>.<span class="ruby-identifier">name</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-created_at">
+
+ <b>created_at</b>()
+
+ <a href="../classes/Commit.html#method-i-created_at" name="method-i-created_at" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-created_at_source')" id="l_method-i-created_at_source">show</a>
+
+ </p>
+ <div id="method-i-created_at_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 113</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">created_at</span>
+ <span class="ruby-identifier">committed_date</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-different_committer-3F">
+
+ <b>different_committer?</b>()
+
+ <a href="../classes/Commit.html#method-i-different_committer-3F" name="method-i-different_committer-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Was this commit committed by a different person than the original author?</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-different_committer-3F_source')" id="l_method-i-different_committer-3F_source">show</a>
+
+ </p>
+ <div id="method-i-different_committer-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-parents_count">
+
+ <b>parents_count</b>()
+
+ <a href="../classes/Commit.html#method-i-parents_count" name="method-i-parents_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-parents_count_source')" id="l_method-i-parents_count_source">show</a>
+
+ </p>
+ <div id="method-i-parents_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 146</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-prev_commit">
+
+ <b>prev_commit</b>()
+
+ <a href="../classes/Commit.html#method-i-prev_commit" name="method-i-prev_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-prev_commit_source')" id="l_method-i-prev_commit_source">show</a>
+
+ </p>
+ <div id="method-i-prev_commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 138</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-prev_commit_id">
+
+ <b>prev_commit_id</b>()
+
+ <a href="../classes/Commit.html#method-i-prev_commit_id" name="method-i-prev_commit_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-prev_commit_id_source')" id="l_method-i-prev_commit_id_source">show</a>
+
+ </p>
+ <div id="method-i-prev_commit_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 142</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-safe_message">
+
+ <b>safe_message</b>()
+
+ <a href="../classes/Commit.html#method-i-safe_message" name="method-i-safe_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-safe_message_source')" id="l_method-i-safe_message_source">show</a>
+
+ </p>
+ <div id="method-i-safe_message_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 109</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">safe_message</span>
+ <span class="ruby-ivar">@safe_message</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">message</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-short_id">
+
+ <b>short_id</b>(length = 10)
+
+ <a href="../classes/Commit.html#method-i-short_id" name="method-i-short_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-short_id_source')" id="l_method-i-short_id_source">show</a>
+
+ </p>
+ <div id="method-i-short_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">short_id</span>(<span class="ruby-identifier">length</span> = <span class="ruby-number">10</span>)
+ <span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">length</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_diff">
+
+ <b>to_diff</b>()
+
+ <a href="../classes/Commit.html#method-i-to_diff" name="method-i-to_diff" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Shows the diff between the commit’s parent and the commit.</p>
+
+<p>Cuts out the header and stats from to_patch and returns only the diff.</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_diff_source')" id="l_method-i-to_diff_source">show</a>
+
+ </p>
+ <div id="method-i-to_diff_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/commit.rb, line 153</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_diff</span>
+ <span class="ruby-comment"># see Grit::Commit#show</span>
+ <span class="ruby-identifier">patch</span> = <span class="ruby-identifier">to_patch</span>
+
+ <span class="ruby-comment"># discard lines before the diff</span>
+ <span class="ruby-identifier">lines</span> = <span class="ruby-identifier">patch</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+ <span class="ruby-keyword">while</span> <span class="ruby-operator">!</span><span class="ruby-identifier">lines</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">start_with?</span>(<span class="ruby-string">&quot;diff --git&quot;</span>) <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">shift</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">pop</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">last</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r^[\d.]+$/</span> <span class="ruby-comment"># Git version</span>
+ <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">pop</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">last</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;-- &quot;</span> <span class="ruby-comment"># end of diff</span>
+ <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CommitController.html b/doc/code/classes/CommitController.html
new file mode 100644
index 00000000000..5f0bbe9e9f3
--- /dev/null
+++ b/doc/code/classes/CommitController.html
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CommitController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ CommitController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/commit_controller_rb.html">app/controllers/commit_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div 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>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/CommitController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/commit_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">diff</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">text</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">to_diff</span> }
+ <span class="ruby-identifier">format</span>.<span class="ruby-identifier">patch</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">text</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@commit</span>.<span class="ruby-identifier">to_patch</span> }
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CommitDecorator.html b/doc/code/classes/CommitDecorator.html
new file mode 100644
index 00000000000..9063057850c
--- /dev/null
+++ b/doc/code/classes/CommitDecorator.html
@@ -0,0 +1,472 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CommitDecorator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ CommitDecorator
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationDecorator.html">ApplicationDecorator</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/decorators/commit_decorator_rb.html">app/decorators/commit_decorator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-author_link">author_link</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-committer_link">committer_link</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-description">description</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-link_title">link_title</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-no_commit_message">no_commit_message</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-person_link">person_link</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-title">title</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-author_link">
+
+ <b>author_link</b>(options = {})
+
+ <a href="../classes/CommitDecorator.html#method-i-author_link" name="method-i-author_link" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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 the avatar image
+size: size of the avatar image in px</pre>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-author_link_source')" id="l_method-i-author_link_source">show</a>
+
+ </p>
+ <div id="method-i-author_link_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">author_link</span>(<span class="ruby-identifier">options</span> = {})
+ <span class="ruby-identifier">person_link</span>(<span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge</span> <span class="ruby-identifier">source</span><span class="ruby-operator">:</span> <span class="ruby-value">:author</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-committer_link">
+
+ <b>committer_link</b>(options = {})
+
+ <a href="../classes/CommitDecorator.html#method-i-committer_link" name="method-i-committer_link" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Just like <a
+href="CommitDecorator.html#method-i-author_link">author_link</a> but for
+the committer.</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-committer_link_source')" id="l_method-i-committer_link_source">show</a>
+
+ </p>
+ <div id="method-i-committer_link_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">committer_link</span>(<span class="ruby-identifier">options</span> = {})
+ <span class="ruby-identifier">person_link</span>(<span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge</span> <span class="ruby-identifier">source</span><span class="ruby-operator">:</span> <span class="ruby-value">:committer</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-description">
+
+ <b>description</b>()
+
+ <a href="../classes/CommitDecorator.html#method-i-description" name="method-i-description" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns the commits description</p>
+
+<p>cut off, ellipses (`&amp;hellp;`) are prepended to the commit message.</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-description_source')" id="l_method-i-description_source">show</a>
+
+ </p>
+ <div id="method-i-description_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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-number">70</span><span class="ruby-operator">..</span><span class="ruby-number">-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-number">2</span>)[<span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_title">
+
+ <b>link_title</b>()
+
+ <a href="../classes/CommitDecorator.html#method-i-link_title" name="method-i-link_title" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_title_source')" id="l_method-i-link_title_source">show</a>
+
+ </p>
+ <div id="method-i-link_title_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">link_title</span>
+ <span class="ruby-node">&quot;Commit: #{author_name} - #{title}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-title">
+
+ <b>title</b>()
+
+ <a href="../classes/CommitDecorator.html#method-i-title" name="method-i-title" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-title_source')" id="l_method-i-title_source">show</a>
+
+ </p>
+ <div id="method-i-title_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">80</span>)
+ <span class="ruby-identifier">title</span>[<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-number">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-number">2</span>).<span class="ruby-identifier">first</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-no_commit_message">
+
+ <b>no_commit_message</b>()
+
+ <a href="../classes/CommitDecorator.html#method-i-no_commit_message" name="method-i-no_commit_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-no_commit_message_source')" id="l_method-i-no_commit_message_source">show</a>
+
+ </p>
+ <div id="method-i-no_commit_message_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">no_commit_message</span>
+ <span class="ruby-string">&quot;--no commit message&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-person_link">
+
+ <b>person_link</b>(options = {})
+
+ <a href="../classes/CommitDecorator.html#method-i-person_link" name="method-i-person_link" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>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.</p>
+
+<p>options:</p>
+
+<pre>source: one of :author or :committer
+avatar: true will prepend the avatar image
+size: size of the avatar image in px</pre>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-person_link_source')" id="l_method-i-person_link_source">show</a>
+
+ </p>
+ <div id="method-i-person_link_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/commit_decorator.rb, line 75</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">person_link</span>(<span class="ruby-identifier">options</span> = {})
+ <span class="ruby-identifier">source_name</span> = <span class="ruby-identifier">send</span> <span class="ruby-node">&quot;#{options[:source]}_name&quot;</span>.<span class="ruby-identifier">to_sym</span>
+ <span class="ruby-identifier">source_email</span> = <span class="ruby-identifier">send</span> <span class="ruby-node">&quot;#{options[:source]}_email&quot;</span>.<span class="ruby-identifier">to_sym</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">source_email</span>, <span class="ruby-identifier">options</span>[<span class="ruby-value">:size</span>]), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;avatar #{&quot;s#{options[:size]}&quot; if options[:size]}&quot;</span>, <span class="ruby-keyword ruby-title">width</span><span class="ruby-operator">:</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:size</span>], <span class="ruby-identifier">alt</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;&quot;</span>
+ <span class="ruby-node">%Q{#{avatar} &lt;span class=&quot;commit-#{options[:source]}-name&quot;&gt;#{source_name}&lt;/span&gt;}</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">source_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">source_name</span>, <span class="ruby-identifier">source_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">source_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-node">&quot;commit-#{options[:source]}-link&quot;</span>
+ <span class="ruby-keyword ruby-title">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-node">&quot;commit-#{options[:source]}-link&quot;</span>
+ <span class="ruby-keyword ruby-title">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CommitLoadContext.html b/doc/code/classes/CommitLoadContext.html
new file mode 100644
index 00000000000..82c04febe6b
--- /dev/null
+++ b/doc/code/classes/CommitLoadContext.html
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CommitLoadContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ CommitLoadContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/commit_load_context_rb.html">app/contexts/commit_load_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/CommitLoadContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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-number">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-constant">Commit</span><span class="ruby-operator">::</span><span class="ruby-constant">DIFF_SAFE_SIZE</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CommitsController.html b/doc/code/classes/CommitsController.html
new file mode 100644
index 00000000000..53d329673f8
--- /dev/null
+++ b/doc/code/classes/CommitsController.html
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CommitsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ CommitsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/commits_controller_rb.html">app/controllers/commits_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="ExtractsPath.html">
+ ExtractsPath
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/CommitsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/commits_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">40</span>), (<span class="ruby-identifier">params</span>[<span class="ruby-value">:offset</span>] <span class="ruby-operator">||</span> <span class="ruby-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CommitsHelper.html b/doc/code/classes/CommitsHelper.html
new file mode 100644
index 00000000000..4e4addfb8ac
--- /dev/null
+++ b/doc/code/classes/CommitsHelper.html
@@ -0,0 +1,409 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CommitsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ CommitsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/commits_helper_rb.html">app/helpers/commits_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-build_line_anchor">build_line_anchor</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit_to_html">commit_to_html</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-diff_line_content">diff_line_content</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-each_diff_line">each_diff_line</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-identification_type">identification_type</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-image_diff_class">image_diff_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-build_line_anchor">
+
+ <b>build_line_anchor</b>(index, line_new, line_old)
+
+ <a href="../classes/CommitsHelper.html#method-i-build_line_anchor" name="method-i-build_line_anchor" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-build_line_anchor_source')" id="l_method-i-build_line_anchor_source">show</a>
+
+ </p>
+ <div id="method-i-build_line_anchor_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_to_html">
+
+ <b>commit_to_html</b>(commit)
+
+ <a href="../classes/CommitsHelper.html#method-i-commit_to_html" name="method-i-commit_to_html" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_to_html_source')" id="l_method-i-commit_to_html_source">show</a>
+
+ </p>
+ <div id="method-i-commit_to_html_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 68</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_to_html</span> <span class="ruby-identifier">commit</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">model</span>
+ <span class="ruby-identifier">escape_javascript</span>(<span class="ruby-identifier">render</span> <span class="ruby-string">'commits/commit'</span>, <span class="ruby-identifier">commit</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-diff_line_content">
+
+ <b>diff_line_content</b>(line)
+
+ <a href="../classes/CommitsHelper.html#method-i-diff_line_content" name="method-i-diff_line_content" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-diff_line_content_source')" id="l_method-i-diff_line_content_source">show</a>
+
+ </p>
+ <div id="method-i-diff_line_content_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">diff_line_content</span>(<span class="ruby-identifier">line</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">blank?</span>
+ <span class="ruby-string">&quot; &amp;nbsp;&quot;</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">line</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-each_diff_line">
+
+ <b>each_diff_line</b>(diff_arr, index)
+
+ <a href="../classes/CommitsHelper.html#method-i-each_diff_line" name="method-i-each_diff_line" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-each_diff_line_source')" id="l_method-i-each_diff_line_source">show</a>
+
+ </p>
+ <div id="method-i-each_diff_line_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">1</span>
+ <span class="ruby-identifier">line_new</span> = <span class="ruby-number">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-number">0</span>].<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">abs</span> <span class="ruby-keyword">rescue</span> <span class="ruby-number">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-number">0</span>].<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">abs</span> <span class="ruby-keyword">rescue</span> <span class="ruby-number">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-number">1</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">line_new</span> <span class="ruby-operator">==</span> <span class="ruby-number">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-number">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-number">1</span>
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">line</span>[<span class="ruby-number">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-number">1</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">line_new</span> <span class="ruby-operator">+=</span> <span class="ruby-number">1</span>
+ <span class="ruby-identifier">line_old</span> <span class="ruby-operator">+=</span> <span class="ruby-number">1</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-identification_type">
+
+ <b>identification_type</b>(line)
+
+ <a href="../classes/CommitsHelper.html#method-i-identification_type" name="method-i-identification_type" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-identification_type_source')" id="l_method-i-identification_type_source">show</a>
+
+ </p>
+ <div id="method-i-identification_type_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">identification_type</span>(<span class="ruby-identifier">line</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">line</span>[<span class="ruby-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-image_diff_class">
+
+ <b>image_diff_class</b>(diff)
+
+ <a href="../classes/CommitsHelper.html#method-i-image_diff_class" name="method-i-image_diff_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-image_diff_class_source')" id="l_method-i-image_diff_class_source">show</a>
+
+ </p>
+ <div id="method-i-image_diff_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/commits_helper.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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_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_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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/CompareController.html b/doc/code/classes/CompareController.html
new file mode 100644
index 00000000000..3db60f969f4
--- /dev/null
+++ b/doc/code/classes/CompareController.html
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>CompareController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ CompareController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/compare_controller_rb.html">app/controllers/compare_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/CompareController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/CompareController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/CompareController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/compare_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/DashboardController.html b/doc/code/classes/DashboardController.html
new file mode 100644
index 00000000000..ae8b126da1c
--- /dev/null
+++ b/doc/code/classes/DashboardController.html
@@ -0,0 +1,411 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>DashboardController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ DashboardController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/dashboard_controller_rb.html">app/controllers/dashboard_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-dashboard_filter">dashboard_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-event_filter">event_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issues">issues</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-merge_requests">merge_requests</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-projects">projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/DashboardController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span>
+ <span class="ruby-ivar">@groups</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">authorized_groups</span>
+
+ <span class="ruby-ivar">@has_authorized_projects</span> = <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">&gt;</span> <span class="ruby-number">0</span>
+
+ <span class="ruby-ivar">@projects</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:scope</span>]
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'personal'</span> <span class="ruby-keyword">then</span>
+ <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">personal</span>(<span class="ruby-identifier">current_user</span>)
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'joined'</span> <span class="ruby-keyword">then</span>
+ <span class="ruby-ivar">@projects</span>.<span class="ruby-identifier">joined</span>(<span class="ruby-identifier">current_user</span>)
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-ivar">@projects</span>
+ <span class="ruby-keyword">end</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-number">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-ivar">@events</span> = <span class="ruby-ivar">@event_filter</span>.<span class="ruby-identifier">apply_filter</span>(<span class="ruby-ivar">@events</span>)
+ <span class="ruby-ivar">@events</span> = <span class="ruby-ivar">@events</span>.<span class="ruby-identifier">limit</span>(<span class="ruby-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues">
+
+ <b>issues</b>()
+
+ <a href="../classes/DashboardController.html#method-i-issues" name="method-i-issues" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get only assigned issues</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_source')" id="l_method-i-issues_source">show</a>
+
+ </p>
+ <div id="method-i-issues_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">issues</span>
+ <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">assigned_issues</span>
+ <span class="ruby-ivar">@issues</span> = <span class="ruby-identifier">dashboard_filter</span>(<span class="ruby-ivar">@issues</span>)
+ <span class="ruby-ivar">@issues</span> = <span class="ruby-ivar">@issues</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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_requests">
+
+ <b>merge_requests</b>()
+
+ <a href="../classes/DashboardController.html#method-i-merge_requests" name="method-i-merge_requests" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get authored or assigned open merge requests</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_requests_source')" id="l_method-i-merge_requests_source">show</a>
+
+ </p>
+ <div id="method-i-merge_requests_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">dashboard_filter</span>(<span class="ruby-ivar">@merge_requests</span>)
+ <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-ivar">@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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-dashboard_filter">
+
+ <b>dashboard_filter</b>(items)
+
+ <a href="../classes/DashboardController.html#method-i-dashboard_filter" name="method-i-dashboard_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-dashboard_filter_source')" id="l_method-i-dashboard_filter_source">show</a>
+
+ </p>
+ <div id="method-i-dashboard_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">dashboard_filter</span> <span class="ruby-identifier">items</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>]
+ <span class="ruby-identifier">items</span> = <span class="ruby-identifier">items</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>])
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:search</span>].<span class="ruby-identifier">present?</span>
+ <span class="ruby-identifier">items</span> = <span class="ruby-identifier">items</span>.<span class="ruby-identifier">search</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:search</span>])
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:status</span>]
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'closed'</span>
+ <span class="ruby-identifier">items</span>.<span class="ruby-identifier">closed</span>
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'all'</span>
+ <span class="ruby-identifier">items</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">items</span>.<span class="ruby-identifier">opened</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-event_filter">
+
+ <b>event_filter</b>()
+
+ <a href="../classes/DashboardController.html#method-i-event_filter" name="method-i-event_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-event_filter_source')" id="l_method-i-event_filter_source">show</a>
+
+ </p>
+ <div id="method-i-event_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">event_filter</span>
+ <span class="ruby-ivar">@event_filter</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">EventFilter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:event_filter</span>])
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-projects">
+
+ <b>projects</b>()
+
+ <a href="../classes/DashboardController.html#method-i-projects" name="method-i-projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-projects_source')" id="l_method-i-projects_source">show</a>
+
+ </p>
+ <div id="method-i-projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/dashboard_controller.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">projects</span>
+ <span class="ruby-ivar">@projects</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">authorized_projects</span>.<span class="ruby-identifier">sorted_by_activity</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/DashboardHelper.html b/doc/code/classes/DashboardHelper.html
new file mode 100644
index 00000000000..6fcb426cf13
--- /dev/null
+++ b/doc/code/classes/DashboardHelper.html
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>DashboardHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ DashboardHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/dashboard_helper_rb.html">app/helpers/dashboard_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-dashboard_filter_path">dashboard_filter_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-entities_per_project">entities_per_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-dashboard_filter_path">
+
+ <b>dashboard_filter_path</b>(entity, options={})
+
+ <a href="../classes/DashboardHelper.html#method-i-dashboard_filter_path" name="method-i-dashboard_filter_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-dashboard_filter_path_source')" id="l_method-i-dashboard_filter_path_source">show</a>
+
+ </p>
+ <div id="method-i-dashboard_filter_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/dashboard_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">dashboard_filter_path</span>(<span class="ruby-identifier">entity</span>, <span class="ruby-identifier">options</span>={})
+ <span class="ruby-identifier">exist_opts</span> = {
+ <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:status</span>],
+ <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>],
+ }
+
+ <span class="ruby-identifier">options</span> = <span class="ruby-identifier">exist_opts</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
+
+ <span class="ruby-keyword">case</span> <span class="ruby-identifier">entity</span>
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'issue'</span> <span class="ruby-keyword">then</span>
+ <span class="ruby-identifier">dashboard_issues_path</span>(<span class="ruby-identifier">options</span>)
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'merge_request'</span>
+ <span class="ruby-identifier">dashboard_merge_requests_path</span>(<span class="ruby-identifier">options</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-entities_per_project">
+
+ <b>entities_per_project</b>(project, entity)
+
+ <a href="../classes/DashboardHelper.html#method-i-entities_per_project" name="method-i-entities_per_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-entities_per_project_source')" id="l_method-i-entities_per_project_source">show</a>
+
+ </p>
+ <div id="method-i-entities_per_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/dashboard_helper.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">entities_per_project</span> <span class="ruby-identifier">project</span>, <span class="ruby-identifier">entity</span>
+ <span class="ruby-identifier">items</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">items_for</span>(<span class="ruby-identifier">entity</span>)
+
+ <span class="ruby-identifier">items</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:status</span>]
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'closed'</span>
+ <span class="ruby-identifier">items</span>.<span class="ruby-identifier">closed</span>
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'all'</span>
+ <span class="ruby-identifier">items</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">items</span>.<span class="ruby-identifier">opened</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">items</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">assignee_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</span>).<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/DeployKeysController.html b/doc/code/classes/DeployKeysController.html
new file mode 100644
index 00000000000..952d295cded
--- /dev/null
+++ b/doc/code/classes/DeployKeysController.html
@@ -0,0 +1,332 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>DeployKeysController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ DeployKeysController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/deploy_keys_controller_rb.html">app/controllers/deploy_keys_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/DeployKeysController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/DeployKeysController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/DeployKeysController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/DeployKeysController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/DeployKeysController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ErrorsController.html b/doc/code/classes/ErrorsController.html
new file mode 100644
index 00000000000..b03cc04c9bd
--- /dev/null
+++ b/doc/code/classes/ErrorsController.html
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ErrorsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ErrorsController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/errors_controller_rb.html">app/controllers/errors_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-githost">githost</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-githost">
+
+ <b>githost</b>()
+
+ <a href="../classes/ErrorsController.html#method-i-githost" name="method-i-githost" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-githost_source')" id="l_method-i-githost_source">show</a>
+
+ </p>
+ <div id="method-i-githost_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/errors_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Event.html b/doc/code/classes/Event.html
new file mode 100644
index 00000000000..608db59979c
--- /dev/null
+++ b/doc/code/classes/Event.html
@@ -0,0 +1,1266 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Event</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Event
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/event_rb.html">app/models/event.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: events</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-action_name">action_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-author">author</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-changed_issue-3F">changed_issue?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-changed_merge_request-3F">changed_merge_request?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-closed-3F">closed?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-determine_action">determine_action</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-issue">issue</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issue-3F">issue?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>J</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-joined-3F">joined?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-left-3F">left?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-membership_changed-3F">membership_changed?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merge_request">merge_request</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merge_request-3F">merge_request?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merged-3F">merged?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-milestone-3F">milestone?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new_issue-3F">new_issue?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-new_merge_request-3F">new_merge_request?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note-3F">note?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_name">project_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-proper-3F">proper?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-push-3F">push?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-reopened-3F">reopened?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-target_title">target_title</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="NoteEvent.html">
+ NoteEvent
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="PushEvent.html">
+ PushEvent
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">Created</td>
+ <td>=</td>
+ <td class="attr-value">1</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Updated</td>
+ <td>=</td>
+ <td class="attr-value">2</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Closed</td>
+ <td>=</td>
+ <td class="attr-value">3</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Reopened</td>
+ <td>=</td>
+ <td class="attr-value">4</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Pushed</td>
+ <td>=</td>
+ <td class="attr-value">5</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Commented</td>
+ <td>=</td>
+ <td class="attr-value">6</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Merged</td>
+ <td>=</td>
+ <td class="attr-value">7</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Joined</td>
+ <td>=</td>
+ <td class="attr-value">8</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">Left</td>
+ <td>=</td>
+ <td class="attr-value">9</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-determine_action">
+
+ <b>determine_action</b>(record)
+
+ <a href="../classes/Event.html#method-c-determine_action" name="method-c-determine_action" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-determine_action_source')" id="l_method-c-determine_action_source">show</a>
+
+ </p>
+ <div id="method-c-determine_action_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-action_name">
+
+ <b>action_name</b>()
+
+ <a href="../classes/Event.html#method-i-action_name" name="method-i-action_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-action_name_source')" id="l_method-i-action_name_source">show</a>
+
+ </p>
+ <div id="method-i-action_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 160</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-author">
+
+ <b>author</b>()
+
+ <a href="../classes/Event.html#method-i-author" name="method-i-author" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-author_source')" id="l_method-i-author_source">show</a>
+
+ </p>
+ <div id="method-i-author_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 156</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-changed_issue-3F">
+
+ <b>changed_issue?</b>()
+
+ <a href="../classes/Event.html#method-i-changed_issue-3F" name="method-i-changed_issue-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-changed_issue-3F_source')" id="l_method-i-changed_issue-3F_source">show</a>
+
+ </p>
+ <div id="method-i-changed_issue-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 131</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-changed_merge_request-3F">
+
+ <b>changed_merge_request?</b>()
+
+ <a href="../classes/Event.html#method-i-changed_merge_request-3F" name="method-i-changed_merge_request-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-changed_merge_request-3F_source')" id="l_method-i-changed_merge_request-3F_source">show</a>
+
+ </p>
+ <div id="method-i-changed_merge_request-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 126</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-closed-3F">
+
+ <b>closed?</b>()
+
+ <a href="../classes/Event.html#method-i-closed-3F" name="method-i-closed-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-closed-3F_source')" id="l_method-i-closed-3F_source">show</a>
+
+ </p>
+ <div id="method-i-closed-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 92</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue">
+
+ <b>issue</b>()
+
+ <a href="../classes/Event.html#method-i-issue" name="method-i-issue" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue_source')" id="l_method-i-issue_source">show</a>
+
+ </p>
+ <div id="method-i-issue_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue-3F">
+
+ <b>issue?</b>()
+
+ <a href="../classes/Event.html#method-i-issue-3F" name="method-i-issue-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue-3F_source')" id="l_method-i-issue-3F_source">show</a>
+
+ </p>
+ <div id="method-i-issue-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 108</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-joined-3F">
+
+ <b>joined?</b>()
+
+ <a href="../classes/Event.html#method-i-joined-3F" name="method-i-joined-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-joined-3F_source')" id="l_method-i-joined-3F_source">show</a>
+
+ </p>
+ <div id="method-i-joined-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 136</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-left-3F">
+
+ <b>left?</b>()
+
+ <a href="../classes/Event.html#method-i-left-3F" name="method-i-left-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-left-3F_source')" id="l_method-i-left-3F_source">show</a>
+
+ </p>
+ <div id="method-i-left-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 140</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-membership_changed-3F">
+
+ <b>membership_changed?</b>()
+
+ <a href="../classes/Event.html#method-i-membership_changed-3F" name="method-i-membership_changed-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-membership_changed-3F_source')" id="l_method-i-membership_changed-3F_source">show</a>
+
+ </p>
+ <div id="method-i-membership_changed-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 144</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_request">
+
+ <b>merge_request</b>()
+
+ <a href="../classes/Event.html#method-i-merge_request" name="method-i-merge_request" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_request_source')" id="l_method-i-merge_request_source">show</a>
+
+ </p>
+ <div id="method-i-merge_request_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 152</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_request-3F">
+
+ <b>merge_request?</b>()
+
+ <a href="../classes/Event.html#method-i-merge_request-3F" name="method-i-merge_request-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_request-3F_source')" id="l_method-i-merge_request-3F_source">show</a>
+
+ </p>
+ <div id="method-i-merge_request-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merged-3F">
+
+ <b>merged?</b>()
+
+ <a href="../classes/Event.html#method-i-merged-3F" name="method-i-merged-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merged-3F_source')" id="l_method-i-merged-3F_source">show</a>
+
+ </p>
+ <div id="method-i-merged-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 88</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-milestone-3F">
+
+ <b>milestone?</b>()
+
+ <a href="../classes/Event.html#method-i-milestone-3F" name="method-i-milestone-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-milestone-3F_source')" id="l_method-i-milestone-3F_source">show</a>
+
+ </p>
+ <div id="method-i-milestone-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 100</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">milestone?</span>
+ <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Milestone&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_issue-3F">
+
+ <b>new_issue?</b>()
+
+ <a href="../classes/Event.html#method-i-new_issue-3F" name="method-i-new_issue-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_issue-3F_source')" id="l_method-i-new_issue-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new_issue-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 116</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_merge_request-3F">
+
+ <b>new_merge_request?</b>()
+
+ <a href="../classes/Event.html#method-i-new_merge_request-3F" name="method-i-new_merge_request-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_merge_request-3F_source')" id="l_method-i-new_merge_request-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new_merge_request-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note-3F">
+
+ <b>note?</b>()
+
+ <a href="../classes/Event.html#method-i-note-3F" name="method-i-note-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note-3F_source')" id="l_method-i-note-3F_source">show</a>
+
+ </p>
+ <div id="method-i-note-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note?</span>
+ <span class="ruby-identifier">target_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;Note&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_name">
+
+ <b>project_name</b>()
+
+ <a href="../classes/Event.html#method-i-project_name" name="method-i-project_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_name_source')" id="l_method-i-project_name_source">show</a>
+
+ </p>
+ <div id="method-i-project_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-proper-3F">
+
+ <b>proper?</b>()
+
+ <a href="../classes/Event.html#method-i-proper-3F" name="method-i-proper-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-proper-3F_source')" id="l_method-i-proper-3F_source">show</a>
+
+ </p>
+ <div id="method-i-proper-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">proper?</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">push?</span>
+ <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">membership_changed?</span>
+ <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">else</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">note?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">milestone?</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">target</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-push-3F">
+
+ <b>push?</b>()
+
+ <a href="../classes/Event.html#method-i-push-3F" name="method-i-push-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-push-3F_source')" id="l_method-i-push-3F_source">show</a>
+
+ </p>
+ <div id="method-i-push-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 84</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reopened-3F">
+
+ <b>reopened?</b>()
+
+ <a href="../classes/Event.html#method-i-reopened-3F" name="method-i-reopened-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reopened-3F_source')" id="l_method-i-reopened-3F_source">show</a>
+
+ </p>
+ <div id="method-i-reopened-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 96</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-target_title">
+
+ <b>target_title</b>()
+
+ <a href="../classes/Event.html#method-i-target_title" name="method-i-target_title" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-target_title_source')" id="l_method-i-target_title_source">show</a>
+
+ </p>
+ <div id="method-i-target_title_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/event.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/EventDecorator.html b/doc/code/classes/EventDecorator.html
new file mode 100644
index 00000000000..1fdf7f5c4e4
--- /dev/null
+++ b/doc/code/classes/EventDecorator.html
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>EventDecorator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ EventDecorator
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationDecorator.html">ApplicationDecorator</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/decorators/event_decorator_rb.html">app/decorators/event_decorator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-feed_summary">feed_summary</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-feed_title">feed_title</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-feed_url">feed_url</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-feed_summary">
+
+ <b>feed_summary</b>()
+
+ <a href="../classes/EventDecorator.html#method-i-feed_summary" name="method-i-feed_summary" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-feed_summary_source')" id="l_method-i-feed_summary_source">show</a>
+
+ </p>
+ <div id="method-i-feed_summary_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-feed_title">
+
+ <b>feed_title</b>()
+
+ <a href="../classes/EventDecorator.html#method-i-feed_title" name="method-i-feed_title" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-feed_title_source')" id="l_method-i-feed_title_source">show</a>
+
+ </p>
+ <div id="method-i-feed_title_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-feed_url">
+
+ <b>feed_url</b>()
+
+ <a href="../classes/EventDecorator.html#method-i-feed_url" name="method-i-feed_url" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-feed_url_source')" id="l_method-i-feed_url_source">show</a>
+
+ </p>
+ <div id="method-i-feed_url_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/event_decorator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/EventFilter.html b/doc/code/classes/EventFilter.html
new file mode 100644
index 00000000000..5bf01133d6e
--- /dev/null
+++ b/doc/code/classes/EventFilter.html
@@ -0,0 +1,543 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>EventFilter</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ EventFilter
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/lib/event_filter_rb.html">lib/event_filter.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-active-3F">active?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-apply_filter">apply_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-comments">comments</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-default_filter">default_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-merged">merged</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-options">options</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-push">push</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-team">team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>params</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-comments">
+
+ <b>comments</b>()
+
+ <a href="../classes/EventFilter.html#method-c-comments" name="method-c-comments" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-comments_source')" id="l_method-c-comments_source">show</a>
+
+ </p>
+ <div id="method-c-comments_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">comments</span>
+ <span class="ruby-string">'comments'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-default_filter">
+
+ <b>default_filter</b>()
+
+ <a href="../classes/EventFilter.html#method-c-default_filter" name="method-c-default_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-default_filter_source')" id="l_method-c-default_filter_source">show</a>
+
+ </p>
+ <div id="method-c-default_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">default_filter</span>
+ <span class="ruby-node">%w{ push issues merge_requests team}</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-merged">
+
+ <b>merged</b>()
+
+ <a href="../classes/EventFilter.html#method-c-merged" name="method-c-merged" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-merged_source')" id="l_method-c-merged_source">show</a>
+
+ </p>
+ <div id="method-c-merged_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">merged</span>
+ <span class="ruby-string">'merged'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(params)
+
+ <a href="../classes/EventFilter.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span> <span class="ruby-identifier">params</span>
+ <span class="ruby-ivar">@params</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>
+ <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
+ <span class="ruby-keyword">else</span>
+ []<span class="ruby-comment">#EventFilter.default_filter</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-push">
+
+ <b>push</b>()
+
+ <a href="../classes/EventFilter.html#method-c-push" name="method-c-push" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-push_source')" id="l_method-c-push_source">show</a>
+
+ </p>
+ <div id="method-c-push_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">push</span>
+ <span class="ruby-string">'push'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-team">
+
+ <b>team</b>()
+
+ <a href="../classes/EventFilter.html#method-c-team" name="method-c-team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-team_source')" id="l_method-c-team_source">show</a>
+
+ </p>
+ <div id="method-c-team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">team</span>
+ <span class="ruby-string">'team'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-active-3F">
+
+ <b>active?</b>(key)
+
+ <a href="../classes/EventFilter.html#method-i-active-3F" name="method-i-active-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-active-3F_source')" id="l_method-i-active-3F_source">show</a>
+
+ </p>
+ <div id="method-i-active-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">active?</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-identifier">params</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">key</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-apply_filter">
+
+ <b>apply_filter</b>(events)
+
+ <a href="../classes/EventFilter.html#method-i-apply_filter" name="method-i-apply_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-apply_filter_source')" id="l_method-i-apply_filter_source">show</a>
+
+ </p>
+ <div id="method-i-apply_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">apply_filter</span> <span class="ruby-identifier">events</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">events</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">params</span>.<span class="ruby-identifier">present?</span>
+
+ <span class="ruby-identifier">filter</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
+
+ <span class="ruby-identifier">actions</span> = []
+ <span class="ruby-identifier">actions</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Pushed</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">include?</span> <span class="ruby-string">'push'</span>
+ <span class="ruby-identifier">actions</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Merged</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">include?</span> <span class="ruby-string">'merged'</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">include?</span> <span class="ruby-string">'team'</span>
+ <span class="ruby-identifier">actions</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Joined</span>
+ <span class="ruby-identifier">actions</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Left</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">actions</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Event</span><span class="ruby-operator">::</span><span class="ruby-constant">Commented</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">include?</span> <span class="ruby-string">'comments'</span>
+
+ <span class="ruby-identifier">events</span> = <span class="ruby-identifier">events</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">action</span><span class="ruby-operator">:</span> <span class="ruby-identifier">actions</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-options">
+
+ <b>options</b>(key)
+
+ <a href="../classes/EventFilter.html#method-i-options" name="method-i-options" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-options_source')" id="l_method-i-options_source">show</a>
+
+ </p>
+ <div id="method-i-options_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/event_filter.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">options</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-identifier">filter</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">filter</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">filter</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/EventsHelper.html b/doc/code/classes/EventsHelper.html
new file mode 100644
index 00000000000..7c7041c6698
--- /dev/null
+++ b/doc/code/classes/EventsHelper.html
@@ -0,0 +1,289 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>EventsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ EventsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/events_helper_rb.html">app/helpers/events_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-event_action_name">event_action_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-event_filter_link">event_filter_link</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-event_image">event_image</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-link_to_author">link_to_author</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-event_action_name">
+
+ <b>event_action_name</b>(event)
+
+ <a href="../classes/EventsHelper.html#method-i-event_action_name" name="method-i-event_action_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-event_action_name_source')" id="l_method-i-event_action_name_source">show</a>
+
+ </p>
+ <div id="method-i-event_action_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-event_filter_link">
+
+ <b>event_filter_link</b>(key, tooltip)
+
+ <a href="../classes/EventsHelper.html#method-i-event_filter_link" name="method-i-event_filter_link" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-event_filter_link_source')" id="l_method-i-event_filter_link_source">show</a>
+
+ </p>
+ <div id="method-i-event_filter_link_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">event_filter_link</span> <span class="ruby-identifier">key</span>, <span class="ruby-identifier">tooltip</span>
+ <span class="ruby-identifier">key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>
+
+ <span class="ruby-identifier">filter</span> = <span class="ruby-ivar">@event_filter</span>.<span class="ruby-identifier">options</span> <span class="ruby-identifier">key</span>
+
+ <span class="ruby-identifier">inactive</span> = <span class="ruby-keyword">if</span> <span class="ruby-ivar">@event_filter</span>.<span class="ruby-identifier">active?</span> <span class="ruby-identifier">key</span>
+ <span class="ruby-keyword">nil</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-string">'inactive'</span>
+ <span class="ruby-keyword">end</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-node">&quot;filter_icon #{inactive}&quot;</span> <span class="ruby-keyword ruby-title">do</span>
+ <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">dashboard_path</span>(<span class="ruby-identifier">event_filter</span><span class="ruby-operator">:</span> <span class="ruby-identifier">filter</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'has_tooltip'</span>, <span class="ruby-string">'data-original-title'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword ruby-title">tooltip</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">image_tag</span> <span class="ruby-node">&quot;event_filter_#{key}.png&quot;</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-event_image">
+
+ <b>event_image</b>(event)
+
+ <a href="../classes/EventsHelper.html#method-i-event_image" name="method-i-event_image" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-event_image_source')" id="l_method-i-event_image_source">show</a>
+
+ </p>
+ <div id="method-i-event_image_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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 ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_to_author">
+
+ <b>link_to_author</b>(event)
+
+ <a href="../classes/EventsHelper.html#method-i-link_to_author" name="method-i-link_to_author" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_to_author_source')" id="l_method-i-link_to_author_source">show</a>
+
+ </p>
+ <div id="method-i-link_to_author_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/events_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ExtractsPath.html b/doc/code/classes/ExtractsPath.html
new file mode 100644
index 00000000000..0b8c0c26f99
--- /dev/null
+++ b/doc/code/classes/ExtractsPath.html
@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ExtractsPath</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ExtractsPath
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/lib/extracts_path_rb.html">lib/extracts_path.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div 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>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-assign_ref_vars">assign_ref_vars</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-extract_ref">extract_ref</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-assign_ref_vars">
+
+ <b>assign_ref_vars</b>()
+
+ <a href="../classes/ExtractsPath.html#method-i-assign_ref_vars" name="method-i-assign_ref_vars" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-assign_ref_vars_source')" id="l_method-i-assign_ref_vars_source">show</a>
+
+ </p>
+ <div id="method-i-assign_ref_vars_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/extracts_path.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">request</span>.<span class="ruby-identifier">fullpath</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-extract_ref">
+
+ <b>extract_ref</b>(input)
+
+ <a href="../classes/ExtractsPath.html#method-i-extract_ref" name="method-i-extract_ref" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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">'/gitlab/vagrant/tree/master/app/models/project.rb'</span>)
+<span class="ruby-comment"># =&gt; ['master', 'app/models/project.rb']</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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-extract_ref_source')" id="l_method-i-extract_ref_source">show</a>
+
+ </p>
+ <div id="method-i-extract_ref_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/extracts_path.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-comment"># Remove project, actions and all other staff from path</span>
+ <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-node">&quot;/#{@project.path_with_namespace}&quot;</span>, <span class="ruby-string">&quot;&quot;</span>)
+ <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r^\/(tree|commits|blame|blob)\//</span>, <span class="ruby-string">&quot;&quot;</span>) <span class="ruby-comment"># remove actions</span>
+ <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r\?.*$/</span>, <span class="ruby-string">&quot;&quot;</span>) <span class="ruby-comment"># remove stamps suffix</span>
+ <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r.atom$/</span>, <span class="ruby-string">&quot;&quot;</span>) <span class="ruby-comment"># remove rss feed</span>
+ <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r\/edit$/</span>, <span class="ruby-string">&quot;&quot;</span>) <span class="ruby-comment"># remove edit route part</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-number">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-number">1</span><span class="ruby-operator">..</span><span class="ruby-number">-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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ExtractsPath/InvalidPathError.html b/doc/code/classes/ExtractsPath/InvalidPathError.html
new file mode 100644
index 00000000000..67632e3b9ea
--- /dev/null
+++ b/doc/code/classes/ExtractsPath/InvalidPathError.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ExtractsPath::InvalidPathError</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ExtractsPath::InvalidPathError
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/extracts_path_rb.html">lib/extracts_path.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Raised when given an invalid file path</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/FileSizeValidator.html b/doc/code/classes/FileSizeValidator.html
new file mode 100644
index 00000000000..b1da2752f52
--- /dev/null
+++ b/doc/code/classes/FileSizeValidator.html
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>FileSizeValidator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ FileSizeValidator
+
+ <span class="parent">&lt;
+
+ ActiveModel::EachValidator
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/lib/file_size_validator_rb.html">lib/file_size_validator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-check_validity-21">check_validity!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-help">help</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-validate_each">validate_each</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">MESSAGES</td>
+ <td>=</td>
+ <td class="attr-value">{ is: :wrong_size, minimum: :size_too_small, maximum: :size_too_big }.freeze</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">CHECKS</td>
+ <td>=</td>
+ <td class="attr-value">{ is: :==, minimum: :&gt;=, maximum: :&lt;= }.freeze</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">DEFAULT_TOKENIZER</td>
+ <td>=</td>
+ <td class="attr-value">lambda { |value| value.split(//) }</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">RESERVED_OPTIONS</td>
+ <td>=</td>
+ <td class="attr-value">[:minimum, :maximum, :within, :is, :tokenizer, :too_short, :too_long]</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(options)
+
+ <a href="../classes/FileSizeValidator.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-check_validity-21">
+
+ <b>check_validity!</b>()
+
+ <a href="../classes/FileSizeValidator.html#method-i-check_validity-21" name="method-i-check_validity-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-check_validity-21_source')" id="l_method-i-check_validity-21_source">show</a>
+
+ </p>
+ <div id="method-i-check_validity-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-help">
+
+ <b>help</b>()
+
+ <a href="../classes/FileSizeValidator.html#method-i-help" name="method-i-help" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-help_source')" id="l_method-i-help_source">show</a>
+
+ </p>
+ <div id="method-i-help_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">help</span>
+ <span class="ruby-constant">Helper</span>.<span class="ruby-identifier">instance</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-validate_each">
+
+ <b>validate_each</b>(record, attribute, value)
+
+ <a href="../classes/FileSizeValidator.html#method-i-validate_each" name="method-i-validate_each" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-validate_each_source')" id="l_method-i-validate_each_source">show</a>
+
+ </p>
+ <div id="method-i-validate_each_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/file_size_validator.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/FileSizeValidator/Helper.html b/doc/code/classes/FileSizeValidator/Helper.html
new file mode 100644
index 00000000000..c11d89b3f2c
--- /dev/null
+++ b/doc/code/classes/FileSizeValidator/Helper.html
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>FileSizeValidator::Helper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ FileSizeValidator::Helper
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/file_size_validator_rb.html">lib/file_size_validator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ Singleton
+
+ </li>
+
+ <li>
+
+ ActionView::Helpers::NumberHelper
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/GitHost.html b/doc/code/classes/GitHost.html
new file mode 100644
index 00000000000..52ea8b32d4f
--- /dev/null
+++ b/doc/code/classes/GitHost.html
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>GitHost</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ GitHost
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/git_host_rb.html">app/roles/git_host.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-git_host">git_host</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-git_host">
+
+ <b>git_host</b>()
+
+ <a href="../classes/GitHost.html#method-i-git_host" name="method-i-git_host" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-git_host_source')" id="l_method-i-git_host_source">show</a>
+
+ </p>
+ <div id="method-i-git_host_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/git_host.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab.html b/doc/code/classes/Gitlab.html
new file mode 100644
index 00000000000..5127be6e4db
--- /dev/null
+++ b/doc/code/classes/Gitlab.html
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/lib/gitlab/auth_rb.html">lib/gitlab/auth.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/regex_rb.html">lib/gitlab/regex.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/git_logger_rb.html">lib/gitlab/git_logger.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/satellite/merge_action_rb.html">lib/gitlab/satellite/merge_action.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/satellite/satellite_rb.html">lib/gitlab/satellite/satellite.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/satellite/edit_file_action_rb.html">lib/gitlab/satellite/edit_file_action.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/satellite/action_rb.html">lib/gitlab/satellite/action.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/backend/gitolite_config_rb.html">lib/gitlab/backend/gitolite_config.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/backend/gitolite_rb.html">lib/gitlab/backend/gitolite.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/logger_rb.html">lib/gitlab/logger.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/markdown_rb.html">lib/gitlab/markdown.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/app_logger_rb.html">lib/gitlab/app_logger.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/seeder_rb.html">lib/gitlab/seeder.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/git_stats_rb.html">lib/gitlab/git_stats.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/project_mover_rb.html">lib/gitlab/project_mover.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/graph/commit_rb.html">lib/gitlab/graph/commit.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/graph/json_builder_rb.html">lib/gitlab/graph/json_builder.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/theme_rb.html">lib/gitlab/theme.rb</a></li>
+
+ <li><a href="../files/lib/gitlab/inline_diff_rb.html">lib/gitlab/inline_diff.rb</a></li>
+
+ <li><a href="../files/lib/api/projects_rb.html">lib/api/projects.rb</a></li>
+
+ <li><a href="../files/lib/api/merge_requests_rb.html">lib/api/merge_requests.rb</a></li>
+
+ <li><a href="../files/lib/api/users_rb.html">lib/api/users.rb</a></li>
+
+ <li><a href="../files/lib/api/session_rb.html">lib/api/session.rb</a></li>
+
+ <li><a href="../files/lib/api/notes_rb.html">lib/api/notes.rb</a></li>
+
+ <li><a href="../files/lib/api/helpers_rb.html">lib/api/helpers.rb</a></li>
+
+ <li><a href="../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ <li><a href="../files/lib/api/milestones_rb.html">lib/api/milestones.rb</a></li>
+
+ <li><a href="../files/lib/api/issues_rb.html">lib/api/issues.rb</a></li>
+
+ <li><a href="../files/lib/api_rb.html">lib/api.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Gitlab/ProjectMover.html">ProjectMover</a> class</p>
+
+<p>Used for moving project repositories from one subdir to another</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/Entities.html">Gitlab::Entities</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/Graph.html">Gitlab::Graph</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/Markdown.html">Gitlab::Markdown</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/Regex.html">Gitlab::Regex</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Gitlab/Satellite.html">Gitlab::Satellite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/API.html">Gitlab::API</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Auth.html">Gitlab::Auth</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/GitStats.html">Gitlab::GitStats</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Issues.html">Gitlab::Issues</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Logger.html">Gitlab::Logger</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/MergeRequests.html">Gitlab::MergeRequests</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Milestones.html">Gitlab::Milestones</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Notes.html">Gitlab::Notes</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/ProjectMover.html">Gitlab::ProjectMover</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Projects.html">Gitlab::Projects</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Seeder.html">Gitlab::Seeder</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Session.html">Gitlab::Session</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Theme.html">Gitlab::Theme</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitlab/Users.html">Gitlab::Users</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/API.html b/doc/code/classes/Gitlab/API.html
new file mode 100644
index 00000000000..fe2ccc76ebe
--- /dev/null
+++ b/doc/code/classes/Gitlab/API.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::API</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::API
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api_rb.html">lib/api.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/APIHelpers.html b/doc/code/classes/Gitlab/APIHelpers.html
new file mode 100644
index 00000000000..603443dda2b
--- /dev/null
+++ b/doc/code/classes/Gitlab/APIHelpers.html
@@ -0,0 +1,703 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::APIHelpers</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::APIHelpers
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/helpers_rb.html">lib/api/helpers.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-attributes_for_keys">attributes_for_keys</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authenticate-21">authenticate!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authenticated_as_admin-21">authenticated_as_admin!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize-21">authorize!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can-3F">can?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-current_user">current_user</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-find_project">find_project</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-forbidden-21">forbidden!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-not_allowed-21">not_allowed!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-not_found-21">not_found!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-paginate">paginate</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-render_api_error-21">render_api_error!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-unauthorized-21">unauthorized!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-user_project">user_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-attributes_for_keys">
+
+ <b>attributes_for_keys</b>(keys)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-attributes_for_keys" name="method-i-attributes_for_keys" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-attributes_for_keys_source')" id="l_method-i-attributes_for_keys_source">show</a>
+
+ </p>
+ <div id="method-i-attributes_for_keys_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authenticate-21">
+
+ <b>authenticate!</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-authenticate-21" name="method-i-authenticate-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authenticate-21_source')" id="l_method-i-authenticate-21_source">show</a>
+
+ </p>
+ <div id="method-i-authenticate-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authenticated_as_admin-21">
+
+ <b>authenticated_as_admin!</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-authenticated_as_admin-21" name="method-i-authenticated_as_admin-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authenticated_as_admin-21_source')" id="l_method-i-authenticated_as_admin-21_source">show</a>
+
+ </p>
+ <div id="method-i-authenticated_as_admin-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize-21">
+
+ <b>authorize!</b>(action, subject)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-authorize-21" name="method-i-authorize-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize-21_source')" id="l_method-i-authorize-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can-3F">
+
+ <b>can?</b>(object, action, subject)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-can-3F" name="method-i-can-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can-3F_source')" id="l_method-i-can-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-current_user">
+
+ <b>current_user</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-current_user" name="method-i-current_user" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-current_user_source')" id="l_method-i-current_user_source">show</a>
+
+ </p>
+ <div id="method-i-current_user_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-find_project">
+
+ <b>find_project</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-find_project" name="method-i-find_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-find_project_source')" id="l_method-i-find_project_source">show</a>
+
+ </p>
+ <div id="method-i-find_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">find_project</span>
+ <span class="ruby-identifier">project</span> = <span class="ruby-constant">Project</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-constant">Project</span>.<span class="ruby-identifier">find_with_namespace</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:read_project</span>, <span class="ruby-identifier">project</span>)
+ <span class="ruby-identifier">project</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-forbidden-21">
+
+ <b>forbidden!</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-forbidden-21" name="method-i-forbidden-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>error helpers</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-forbidden-21_source')" id="l_method-i-forbidden-21_source">show</a>
+
+ </p>
+ <div id="method-i-forbidden-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">forbidden!</span>
+ <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'403 Forbidden'</span>, <span class="ruby-number">403</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-not_allowed-21">
+
+ <b>not_allowed!</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-not_allowed-21" name="method-i-not_allowed-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-not_allowed-21_source')" id="l_method-i-not_allowed-21_source">show</a>
+
+ </p>
+ <div id="method-i-not_allowed-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">not_allowed!</span>
+ <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'Method Not Allowed'</span>, <span class="ruby-number">405</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-not_found-21">
+
+ <b>not_found!</b>(resource = nil)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-not_found-21" name="method-i-not_found-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-not_found-21_source')" id="l_method-i-not_found-21_source">show</a>
+
+ </p>
+ <div id="method-i-not_found-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">404</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-paginate">
+
+ <b>paginate</b>(object)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-paginate" name="method-i-paginate" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-paginate_source')" id="l_method-i-paginate_source">show</a>
+
+ </p>
+ <div id="method-i-paginate_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-render_api_error-21">
+
+ <b>render_api_error!</b>(message, status)
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-render_api_error-21" name="method-i-render_api_error-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-render_api_error-21_source')" id="l_method-i-render_api_error-21_source">show</a>
+
+ </p>
+ <div id="method-i-render_api_error-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 73</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unauthorized-21">
+
+ <b>unauthorized!</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-unauthorized-21" name="method-i-unauthorized-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unauthorized-21_source')" id="l_method-i-unauthorized-21_source">show</a>
+
+ </p>
+ <div id="method-i-unauthorized-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">unauthorized!</span>
+ <span class="ruby-identifier">render_api_error!</span>(<span class="ruby-string">'401 Unauthorized'</span>, <span class="ruby-number">401</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-user_project">
+
+ <b>user_project</b>()
+
+ <a href="../../classes/Gitlab/APIHelpers.html#method-i-user_project" name="method-i-user_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-user_project_source')" id="l_method-i-user_project_source">show</a>
+
+ </p>
+ <div id="method-i-user_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/api/helpers.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">user_project</span>
+ <span class="ruby-ivar">@project</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">find_project</span>
+ <span class="ruby-ivar">@project</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">not_found!</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/AppLogger.html b/doc/code/classes/Gitlab/AppLogger.html
new file mode 100644
index 00000000000..2f4dc5349e3
--- /dev/null
+++ b/doc/code/classes/Gitlab/AppLogger.html
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::AppLogger</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::AppLogger
+
+ <span class="parent">&lt;
+
+ <a href="Logger.html">Gitlab::Logger</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/app_logger_rb.html">lib/gitlab/app_logger.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-file_name">file_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-format_message">format_message</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-file_name">
+
+ <b>file_name</b>()
+
+ <a href="../../classes/Gitlab/AppLogger.html#method-c-file_name" name="method-c-file_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-file_name_source')" id="l_method-c-file_name_source">show</a>
+
+ </p>
+ <div id="method-c-file_name_source" class="dyn-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 ruby-title">self</span>.<span class="ruby-identifier">file_name</span>
+ <span class="ruby-string">'application.log'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-format_message">
+
+ <b>format_message</b>(severity, timestamp, progname, msg)
+
+ <a href="../../classes/Gitlab/AppLogger.html#method-i-format_message" name="method-i-format_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-format_message_source')" id="l_method-i-format_message_source">show</a>
+
+ </p>
+ <div id="method-i-format_message_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/app_logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Application.html b/doc/code/classes/Gitlab/Application.html
new file mode 100644
index 00000000000..c8a1e3c2698
--- /dev/null
+++ b/doc/code/classes/Gitlab/Application.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Application</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Application
+
+ <span class="parent">&lt;
+
+ Rails::Application
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/config/application_rb.html">config/application.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Auth.html b/doc/code/classes/Gitlab/Auth.html
new file mode 100644
index 00000000000..4eeb3fecbc5
--- /dev/null
+++ b/doc/code/classes/Gitlab/Auth.html
@@ -0,0 +1,315 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Auth</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Auth
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/auth_rb.html">lib/gitlab/auth.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create_from_omniauth">create_from_omniauth</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-find_for_ldap_auth">find_for_ldap_auth</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-find_or_new_for_omniauth">find_or_new_for_omniauth</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log">log</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create_from_omniauth">
+
+ <b>create_from_omniauth</b>(auth, ldap = false)
+
+ <a href="../../classes/Gitlab/Auth.html#method-i-create_from_omniauth" name="method-i-create_from_omniauth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_from_omniauth_source')" id="l_method-i-create_from_omniauth_source">show</a>
+
+ </p>
+ <div id="method-i-create_from_omniauth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>, <span class="ruby-number">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">username</span><span class="ruby-operator">:</span> <span class="ruby-identifier">email</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r^[^@]*/</span>)[<span class="ruby-number">0</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">gitlab</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-find_for_ldap_auth">
+
+ <b>find_for_ldap_auth</b>(auth, signed_in_resource = nil)
+
+ <a href="../../classes/Gitlab/Auth.html#method-i-find_for_ldap_auth" name="method-i-find_for_ldap_auth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-find_for_ldap_auth_source')" id="l_method-i-find_for_ldap_auth_source">show</a>
+
+ </p>
+ <div id="method-i-find_for_ldap_auth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-find_or_new_for_omniauth">
+
+ <b>find_or_new_for_omniauth</b>(auth)
+
+ <a href="../../classes/Gitlab/Auth.html#method-i-find_or_new_for_omniauth" name="method-i-find_or_new_for_omniauth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-find_or_new_for_omniauth_source')" id="l_method-i-find_or_new_for_omniauth_source">show</a>
+
+ </p>
+ <div id="method-i-find_or_new_for_omniauth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log">
+
+ <b>log</b>()
+
+ <a href="../../classes/Gitlab/Auth.html#method-i-log" name="method-i-log" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_source')" id="l_method-i-log_source">show</a>
+
+ </p>
+ <div id="method-i-log_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/auth.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities.html b/doc/code/classes/Gitlab/Entities.html
new file mode 100644
index 00000000000..8cb9ed35679
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities.html
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::Entities
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/Hook.html">Gitlab::Entities::Hook</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/Issue.html">Gitlab::Entities::Issue</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/MRNote.html">Gitlab::Entities::MRNote</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/MergeRequest.html">Gitlab::Entities::MergeRequest</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/Note.html">Gitlab::Entities::Note</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/Project.html">Gitlab::Entities::Project</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/User.html">Gitlab::Entities::User</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/Hook.html b/doc/code/classes/Gitlab/Entities/Hook.html
new file mode 100644
index 00000000000..a42cc91d4a3
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/Hook.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::Hook</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::Hook
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/Issue.html b/doc/code/classes/Gitlab/Entities/Issue.html
new file mode 100644
index 00000000000..432c6f4bc14
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/Issue.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::Issue</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::Issue
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/MRNote.html b/doc/code/classes/Gitlab/Entities/MRNote.html
new file mode 100644
index 00000000000..e05a43b8e54
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/MRNote.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::MRNote</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::MRNote
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/MergeRequest.html b/doc/code/classes/Gitlab/Entities/MergeRequest.html
new file mode 100644
index 00000000000..e68077163e7
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/MergeRequest.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::MergeRequest</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::MergeRequest
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/Milestone.html b/doc/code/classes/Gitlab/Entities/Milestone.html
new file mode 100644
index 00000000000..3c375faa8fb
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/Milestone.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::Milestone</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::Milestone
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/Note.html b/doc/code/classes/Gitlab/Entities/Note.html
new file mode 100644
index 00000000000..f0ba6567df5
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/Note.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::Note</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::Note
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/Project.html b/doc/code/classes/Gitlab/Entities/Project.html
new file mode 100644
index 00000000000..a111b19ffd2
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/Project.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::Project</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::Project
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/ProjectMember.html b/doc/code/classes/Gitlab/Entities/ProjectMember.html
new file mode 100644
index 00000000000..151abf270d2
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/ProjectMember.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::ProjectMember</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::ProjectMember
+
+ <span class="parent">&lt;
+
+ <a href="UserBasic.html">Gitlab::Entities::UserBasic</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/ProjectSnippet.html b/doc/code/classes/Gitlab/Entities/ProjectSnippet.html
new file mode 100644
index 00000000000..61259d0c0d1
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/ProjectSnippet.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::ProjectSnippet</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::ProjectSnippet
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/RepoCommit.html b/doc/code/classes/Gitlab/Entities/RepoCommit.html
new file mode 100644
index 00000000000..3d181a6f268
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/RepoCommit.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::RepoCommit</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::RepoCommit
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/RepoObject.html b/doc/code/classes/Gitlab/Entities/RepoObject.html
new file mode 100644
index 00000000000..ee6a10e7a6a
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/RepoObject.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::RepoObject</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::RepoObject
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/SSHKey.html b/doc/code/classes/Gitlab/Entities/SSHKey.html
new file mode 100644
index 00000000000..cbc4d1a3a6b
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/SSHKey.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::SSHKey</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::SSHKey
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/User.html b/doc/code/classes/Gitlab/Entities/User.html
new file mode 100644
index 00000000000..5c29667639e
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/User.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::User</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::User
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/UserBasic.html b/doc/code/classes/Gitlab/Entities/UserBasic.html
new file mode 100644
index 00000000000..a17b808def4
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/UserBasic.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::UserBasic</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::UserBasic
+
+ <span class="parent">&lt;
+
+ Grape::Entity
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Entities/UserLogin.html b/doc/code/classes/Gitlab/Entities/UserLogin.html
new file mode 100644
index 00000000000..d73be2ca6ca
--- /dev/null
+++ b/doc/code/classes/Gitlab/Entities/UserLogin.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Entities::UserLogin</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Entities::UserLogin
+
+ <span class="parent">&lt;
+
+ <a href="UserBasic.html">Gitlab::Entities::UserBasic</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/api/entities_rb.html">lib/api/entities.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/GitLogger.html b/doc/code/classes/Gitlab/GitLogger.html
new file mode 100644
index 00000000000..19018c0fc7c
--- /dev/null
+++ b/doc/code/classes/Gitlab/GitLogger.html
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::GitLogger</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::GitLogger
+
+ <span class="parent">&lt;
+
+ <a href="Logger.html">Gitlab::Logger</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/git_logger_rb.html">lib/gitlab/git_logger.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-file_name">file_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-format_message">format_message</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-file_name">
+
+ <b>file_name</b>()
+
+ <a href="../../classes/Gitlab/GitLogger.html#method-c-file_name" name="method-c-file_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-file_name_source')" id="l_method-c-file_name_source">show</a>
+
+ </p>
+ <div id="method-c-file_name_source" class="dyn-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 ruby-title">self</span>.<span class="ruby-identifier">file_name</span>
+ <span class="ruby-string">'githost.log'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-format_message">
+
+ <b>format_message</b>(severity, timestamp, progname, msg)
+
+ <a href="../../classes/Gitlab/GitLogger.html#method-i-format_message" name="method-i-format_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-format_message_source')" id="l_method-i-format_message_source">show</a>
+
+ </p>
+ <div id="method-i-format_message_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/GitStats.html b/doc/code/classes/Gitlab/GitStats.html
new file mode 100644
index 00000000000..fabe18bb4d7
--- /dev/null
+++ b/doc/code/classes/Gitlab/GitStats.html
@@ -0,0 +1,506 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::GitStats</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::GitStats
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/git_stats_rb.html">lib/gitlab/git_stats.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authors">authors</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authors_count">authors_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-build_graph">build_graph</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-collect_authors">collect_authors</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits_count">commits_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-files_count">files_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-graph">graph</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>ref</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>repo</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(repo, ref)
+
+ <a href="../../classes/Gitlab/GitStats.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span> <span class="ruby-identifier">repo</span>, <span class="ruby-identifier">ref</span>
+ <span class="ruby-ivar">@repo</span>, <span class="ruby-ivar">@ref</span> = <span class="ruby-identifier">repo</span>, <span class="ruby-identifier">ref</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authors">
+
+ <b>authors</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-authors" name="method-i-authors" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authors_source')" id="l_method-i-authors_source">show</a>
+
+ </p>
+ <div id="method-i-authors_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authors</span>
+ <span class="ruby-ivar">@authors</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">collect_authors</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authors_count">
+
+ <b>authors_count</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-authors_count" name="method-i-authors_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authors_count_source')" id="l_method-i-authors_count_source">show</a>
+
+ </p>
+ <div id="method-i-authors_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authors_count</span>
+ <span class="ruby-identifier">authors</span>.<span class="ruby-identifier">size</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits_count">
+
+ <b>commits_count</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-commits_count" name="method-i-commits_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_count_source')" id="l_method-i-commits_count_source">show</a>
+
+ </p>
+ <div id="method-i-commits_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commits_count</span>
+ <span class="ruby-ivar">@commits_count</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">commit_count</span>(<span class="ruby-identifier">ref</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-files_count">
+
+ <b>files_count</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-files_count" name="method-i-files_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-files_count_source')" id="l_method-i-files_count_source">show</a>
+
+ </p>
+ <div id="method-i-files_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">files_count</span>
+ <span class="ruby-identifier">args</span> = [<span class="ruby-identifier">ref</span>, <span class="ruby-string">'-r'</span>, <span class="ruby-string">'--name-only'</span> ]
+ <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">run</span>(<span class="ruby-keyword">nil</span>, <span class="ruby-string">'ls-tree'</span>, <span class="ruby-keyword">nil</span>, {}, <span class="ruby-identifier">args</span>).<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>).<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-graph">
+
+ <b>graph</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-graph" name="method-i-graph" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-graph_source')" id="l_method-i-graph_source">show</a>
+
+ </p>
+ <div id="method-i-graph_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">graph</span>
+ <span class="ruby-ivar">@graph</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">build_graph</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-build_graph">
+
+ <b>build_graph</b>(n = 4)
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-build_graph" name="method-i-build_graph" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-build_graph_source')" id="l_method-i-build_graph_source">show</a>
+
+ </p>
+ <div id="method-i-build_graph_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">build_graph</span> <span class="ruby-identifier">n</span> = <span class="ruby-number">4</span>
+ <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span> = (<span class="ruby-constant">Date</span>.<span class="ruby-identifier">today</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">weeks</span>), <span class="ruby-constant">Date</span>.<span class="ruby-identifier">today</span>
+ <span class="ruby-identifier">args</span> = [<span class="ruby-string">'--all'</span>, <span class="ruby-node">&quot;--since=#{from.to_s(:date)}&quot;</span>, <span class="ruby-string">'--format=%ad'</span> ]
+ <span class="ruby-identifier">rev_list</span> = <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">run</span>(<span class="ruby-keyword">nil</span>, <span class="ruby-string">'rev-list'</span>, <span class="ruby-keyword">nil</span>, {}, <span class="ruby-identifier">args</span>).<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+
+ <span class="ruby-identifier">commits_dates</span> = <span class="ruby-identifier">rev_list</span>.<span class="ruby-identifier">values_at</span>(* <span class="ruby-identifier">rev_list</span>.<span class="ruby-identifier">each_index</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">odd?</span>})
+ <span class="ruby-identifier">commits_dates</span> = <span class="ruby-identifier">commits_dates</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">date_str</span><span class="ruby-operator">|</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">date_str</span>).<span class="ruby-identifier">to_date</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-value">:date</span>) }
+
+ <span class="ruby-identifier">commits_per_day</span> = <span class="ruby-identifier">from</span>.<span class="ruby-identifier">upto</span>(<span class="ruby-identifier">to</span>).<span class="ruby-identifier">map</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">day</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">commits_dates</span>.<span class="ruby-identifier">count</span>(<span class="ruby-identifier">day</span>.<span class="ruby-identifier">to_date</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-value">:date</span>))
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span>(
+ <span class="ruby-identifier">labels</span><span class="ruby-operator">:</span> <span class="ruby-identifier">from</span>.<span class="ruby-identifier">upto</span>(<span class="ruby-identifier">to</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">day</span><span class="ruby-operator">|</span> <span class="ruby-identifier">day</span>.<span class="ruby-identifier">stamp</span>(<span class="ruby-string">'Aug 23'</span>) },
+ <span class="ruby-identifier">commits</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commits_per_day</span>,
+ <span class="ruby-identifier">weeks</span><span class="ruby-operator">:</span> <span class="ruby-identifier">n</span>
+ )
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-collect_authors">
+
+ <b>collect_authors</b>()
+
+ <a href="../../classes/Gitlab/GitStats.html#method-i-collect_authors" name="method-i-collect_authors" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-collect_authors_source')" id="l_method-i-collect_authors_source">show</a>
+
+ </p>
+ <div id="method-i-collect_authors_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/git_stats.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">collect_authors</span>
+ <span class="ruby-identifier">shortlog</span> = <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">shortlog</span>({<span class="ruby-identifier">e</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">s</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span> }, <span class="ruby-identifier">ref</span>)
+
+ <span class="ruby-identifier">authors</span> = []
+
+ <span class="ruby-identifier">lines</span> = <span class="ruby-identifier">shortlog</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+
+ <span class="ruby-identifier">lines</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-identifier">data</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\t&quot;</span>)
+ <span class="ruby-identifier">commits</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">first</span>
+ <span class="ruby-identifier">author</span> = <span class="ruby-constant">Grit</span><span class="ruby-operator">::</span><span class="ruby-constant">Actor</span>.<span class="ruby-identifier">from_string</span>(<span class="ruby-identifier">data</span>.<span class="ruby-identifier">last</span>)
+
+ <span class="ruby-identifier">authors</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span>(
+ <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">author</span>.<span class="ruby-identifier">name</span>,
+ <span class="ruby-identifier">email</span><span class="ruby-operator">:</span> <span class="ruby-identifier">author</span>.<span class="ruby-identifier">email</span>,
+ <span class="ruby-identifier">commits</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">to_i</span>
+ )
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">authors</span>.<span class="ruby-identifier">sort_by</span>(&amp;<span class="ruby-value">:commits</span>).<span class="ruby-identifier">reverse</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Gitolite.html b/doc/code/classes/Gitlab/Gitolite.html
new file mode 100644
index 00000000000..8cf9c58c375
--- /dev/null
+++ b/doc/code/classes/Gitlab/Gitolite.html
@@ -0,0 +1,536 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Gitolite</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Gitolite
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/backend/gitolite_rb.html">lib/gitlab/backend/gitolite.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-config">config</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-create_repository">create_repository</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-enable_automerge">enable_automerge</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-move_repository">move_repository</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-remove_key">remove_key</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-remove_repository">remove_repository</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-set_key">set_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_repositories">update_repositories</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_repository">update_repository</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-url_to_repo">url_to_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-config">
+
+ <b>config</b>()
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-config" name="method-i-config" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-config_source')" id="l_method-i-config_source">show</a>
+
+ </p>
+ <div id="method-i-config_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create_repository">
+
+ <b>create_repository</b>(project)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-create_repository" name="method-i-create_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-enable_automerge">
+
+ <b>enable_automerge</b>()
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-enable_automerge" name="method-i-enable_automerge" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-enable_automerge_source')" id="l_method-i-enable_automerge_source">show</a>
+
+ </p>
+ <div id="method-i-enable_automerge_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-move_repository">
+
+ <b>move_repository</b>(old_repo, project)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-move_repository" name="method-i-move_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-move_repository_source')" id="l_method-i-move_repository_source">show</a>
+
+ </p>
+ <div id="method-i-move_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">move_repository</span>(<span class="ruby-identifier">old_repo</span>, <span class="ruby-identifier">project</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">clean_repo</span>(<span class="ruby-identifier">old_repo</span>)
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">update_project</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-remove_key">
+
+ <b>remove_key</b>(key_id, projects)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-remove_key" name="method-i-remove_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-remove_key_source')" id="l_method-i-remove_key_source">show</a>
+
+ </p>
+ <div id="method-i-remove_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-remove_repository">
+
+ <b>remove_repository</b>(project)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-remove_repository" name="method-i-remove_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-remove_repository_source')" id="l_method-i-remove_repository_source">show</a>
+
+ </p>
+ <div id="method-i-remove_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-set_key">
+
+ <b>set_key</b>(key_id, key_content, projects)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-set_key" name="method-i-set_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-set_key_source')" id="l_method-i-set_key_source">show</a>
+
+ </p>
+ <div id="method-i-set_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_repositories">
+
+ <b>update_repositories</b>(projects)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-update_repositories" name="method-i-update_repositories" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_repositories_source')" id="l_method-i-update_repositories_source">show</a>
+
+ </p>
+ <div id="method-i-update_repositories_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_repositories</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">update_projects</span>(<span class="ruby-identifier">projects</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_repository">
+
+ <b>update_repository</b>(project)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-update_repository" name="method-i-update_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+ <div class="aka">
+ Also aliased as: <a href="Gitolite.html#method-i-create_repository">create_repository</a>
+ </div>
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_repository_source')" id="l_method-i-update_repository_source">show</a>
+
+ </p>
+ <div id="method-i-update_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-url_to_repo">
+
+ <b>url_to_repo</b>(path)
+
+ <a href="../../classes/Gitlab/Gitolite.html#method-i-url_to_repo" name="method-i-url_to_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-url_to_repo_source')" id="l_method-i-url_to_repo_source">show</a>
+
+ </p>
+ <div id="method-i-url_to_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">gitolite</span>.<span class="ruby-identifier">ssh_path_prefix</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;#{path}.git&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Gitolite/AccessDenied.html b/doc/code/classes/Gitlab/Gitolite/AccessDenied.html
new file mode 100644
index 00000000000..8a45dae1ba2
--- /dev/null
+++ b/doc/code/classes/Gitlab/Gitolite/AccessDenied.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Gitolite::AccessDenied</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Gitolite::AccessDenied
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/backend/gitolite_rb.html">lib/gitlab/backend/gitolite.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/GitoliteConfig.html b/doc/code/classes/Gitlab/GitoliteConfig.html
new file mode 100644
index 00000000000..11026f5ca44
--- /dev/null
+++ b/doc/code/classes/Gitlab/GitoliteConfig.html
@@ -0,0 +1,810 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::GitoliteConfig</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::GitoliteConfig
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/backend/gitolite_config_rb.html">lib/gitlab/backend/gitolite_config.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-admin_all_repo">admin_all_repo</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-admin_all_repo-21">admin_all_repo!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-apply">apply</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-clean_repo">clean_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy_project">destroy_project</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-destroy_project-21">destroy_project!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log">log</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-rm_key">rm_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_project">update_project</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_project-21">update_project!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_project_config">update_project_config</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_projects">update_projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-write_key">write_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>conf</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>config_tmp_dir</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>ga_repo</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-admin_all_repo">
+
+ <b>admin_all_repo</b>()
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-admin_all_repo" name="method-i-admin_all_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Enable access to all repos for gitolite admin. We use it for accept merge
+request feature</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-admin_all_repo_source')" id="l_method-i-admin_all_repo_source">show</a>
+
+ </p>
+ <div id="method-i-admin_all_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 169</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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</span>.<span class="ruby-identifier">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-admin_all_repo-21">
+
+ <b>admin_all_repo!</b>()
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-admin_all_repo-21" name="method-i-admin_all_repo-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-admin_all_repo-21_source')" id="l_method-i-admin_all_repo-21_source">show</a>
+
+ </p>
+ <div id="method-i-admin_all_repo-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 184</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-apply">
+
+ <b>apply</b>()
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-apply" name="method-i-apply" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-apply_source')" id="l_method-i-apply_source">show</a>
+
+ </p>
+ <div id="method-i-apply_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">apply</span>
+ <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-identifier">timeout</span>(<span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-clean_repo">
+
+ <b>clean_repo</b>(repo_name)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-clean_repo" name="method-i-clean_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-clean_repo_source')" id="l_method-i-clean_repo_source">show</a>
+
+ </p>
+ <div id="method-i-clean_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">clean_repo</span> <span class="ruby-identifier">repo_name</span>
+ <span class="ruby-identifier">conf</span>.<span class="ruby-identifier">rm_repo</span>(<span class="ruby-identifier">repo_name</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy_project">
+
+ <b>destroy_project</b>(project)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-destroy_project" name="method-i-destroy_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_project_source')" id="l_method-i-destroy_project_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 84</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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_with_namespace</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy_project-21">
+
+ <b>destroy_project!</b>(project)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-destroy_project-21" name="method-i-destroy_project-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_project-21_source')" id="l_method-i-destroy_project-21_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_project-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 93</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log">
+
+ <b>log</b>(message)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-log" name="method-i-log" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_source')" id="l_method-i-log_source">show</a>
+
+ </p>
+ <div id="method-i-log_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-rm_key">
+
+ <b>rm_key</b>(user)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-rm_key" name="method-i-rm_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-rm_key_source')" id="l_method-i-rm_key_source">show</a>
+
+ </p>
+ <div id="method-i-rm_key_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_project">
+
+ <b>update_project</b>(project)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-update_project" name="method-i-update_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>update or create</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_project_source')" id="l_method-i-update_project_source">show</a>
+
+ </p>
+ <div id="method-i-update_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_project</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_project-21">
+
+ <b>update_project!</b>( project)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-update_project-21" name="method-i-update_project-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_project-21_source')" id="l_method-i-update_project-21_source">show</a>
+
+ </p>
+ <div id="method-i-update_project-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 117</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_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">update_project</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_project_config">
+
+ <b>update_project_config</b>(project, conf)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-update_project_config" name="method-i-update_project_config" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_project_config_source')" id="l_method-i-update_project_config_source">show</a>
+
+ </p>
+ <div id="method-i-update_project_config_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 132</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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_with_namespace</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_projects">
+
+ <b>update_projects</b>(projects)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-update_projects" name="method-i-update_projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Updates many projects and uses project.path_with_namespace as the repo path
+An order of magnitude faster than <a
+href="GitoliteConfig.html#method-i-update_project">#update_project</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_projects_source')" id="l_method-i-update_projects_source">show</a>
+
+ </p>
+ <div id="method-i-update_projects_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-write_key">
+
+ <b>write_key</b>(id, key)
+
+ <a href="../../classes/Gitlab/GitoliteConfig.html#method-i-write_key" name="method-i-write_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-write_key_source')" id="l_method-i-write_key_source">show</a>
+
+ </p>
+ <div id="method-i-write_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/backend/gitolite_config.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/GitoliteConfig/PullError.html b/doc/code/classes/Gitlab/GitoliteConfig/PullError.html
new file mode 100644
index 00000000000..35c46f38642
--- /dev/null
+++ b/doc/code/classes/Gitlab/GitoliteConfig/PullError.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::GitoliteConfig::PullError</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::GitoliteConfig::PullError
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/backend/gitolite_config_rb.html">lib/gitlab/backend/gitolite_config.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/GitoliteConfig/PushError.html b/doc/code/classes/Gitlab/GitoliteConfig/PushError.html
new file mode 100644
index 00000000000..53efe1e8a7d
--- /dev/null
+++ b/doc/code/classes/Gitlab/GitoliteConfig/PushError.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::GitoliteConfig::PushError</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::GitoliteConfig::PushError
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/backend/gitolite_config_rb.html">lib/gitlab/backend/gitolite_config.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Graph.html b/doc/code/classes/Gitlab/Graph.html
new file mode 100644
index 00000000000..e0827c84594
--- /dev/null
+++ b/doc/code/classes/Gitlab/Graph.html
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Graph</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::Graph
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/graph/commit_rb.html">lib/gitlab/graph/commit.rb</a></li>
+
+ <li><a href="../../files/lib/gitlab/graph/json_builder_rb.html">lib/gitlab/graph/json_builder.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Graph/Commit.html">Gitlab::Graph::Commit</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Graph/JsonBuilder.html">Gitlab::Graph::JsonBuilder</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Graph/Commit.html b/doc/code/classes/Gitlab/Graph/Commit.html
new file mode 100644
index 00000000000..0198b3f0e3c
--- /dev/null
+++ b/doc/code/classes/Gitlab/Graph/Commit.html
@@ -0,0 +1,337 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Graph::Commit</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Graph::Commit
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/graph/commit_rb.html">lib/gitlab/graph/commit.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-add_refs">add_refs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-method_missing">method_missing</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_graph_hash">to_graph_hash</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ ActionView::Helpers::TagHelper
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>refs</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>space</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>time</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(commit)
+
+ <a href="../../../classes/Gitlab/Graph/Commit.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-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 ruby-title">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-number">-1</span>
+ <span class="ruby-ivar">@space</span> = <span class="ruby-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_refs">
+
+ <b>add_refs</b>(ref_cache, repo)
+
+ <a href="../../../classes/Gitlab/Graph/Commit.html#method-i-add_refs" name="method-i-add_refs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_refs_source')" id="l_method-i-add_refs_source">show</a>
+
+ </p>
+ <div id="method-i-add_refs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/commit.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-method_missing">
+
+ <b>method_missing</b>(m, *args, &amp;block)
+
+ <a href="../../../classes/Gitlab/Graph/Commit.html#method-i-method_missing" name="method-i-method_missing" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-method_missing_source')" id="l_method-i-method_missing_source">show</a>
+
+ </p>
+ <div id="method-i-method_missing_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/commit.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_graph_hash">
+
+ <b>to_graph_hash</b>()
+
+ <a href="../../../classes/Gitlab/Graph/Commit.html#method-i-to_graph_hash" name="method-i-to_graph_hash" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_graph_hash_source')" id="l_method-i-to_graph_hash_source">show</a>
+
+ </p>
+ <div id="method-i-to_graph_hash_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/commit.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>,<span class="ruby-number">0</span>]
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">h</span>[<span class="ruby-value">:author</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">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Graph/JsonBuilder.html b/doc/code/classes/Gitlab/Graph/JsonBuilder.html
new file mode 100644
index 00000000000..b410947bb85
--- /dev/null
+++ b/doc/code/classes/Gitlab/Graph/JsonBuilder.html
@@ -0,0 +1,707 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Graph::JsonBuilder</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Graph::JsonBuilder
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/graph/json_builder_rb.html">lib/gitlab/graph/json_builder.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-base_space">base_space</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-collect_commits">collect_commits</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-find_free_space">find_free_space</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index_commits">index_commits</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-mark_reserved">mark_reserved</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-max_count">max_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-place_chain">place_chain</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-take_left_leaves">take_left_leaves</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-to_json">to_json</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>commits</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>days</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>ref_cache</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>repo</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-max_count">
+
+ <b>max_count</b>()
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-c-max_count" name="method-c-max_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-max_count_source')" id="l_method-c-max_count_source">show</a>
+
+ </p>
+ <div id="method-c-max_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">max_count</span>
+ <span class="ruby-ivar">@max_count</span> <span class="ruby-operator">||=</span> <span class="ruby-number">650</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(project)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span> <span class="ruby-identifier">project</span>
+ <span class="ruby-ivar">@project</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-ivar">@ref_cache</span> = {}
+
+ <span class="ruby-ivar">@commits</span> = <span class="ruby-identifier">collect_commits</span>
+ <span class="ruby-ivar">@days</span> = <span class="ruby-identifier">index_commits</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_json">
+
+ <b>to_json</b>(*args)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-to_json" name="method-i-to_json" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_json_source')" id="l_method-i-to_json_source">show</a>
+
+ </p>
+ <div id="method-i-to_json_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_json</span>(*<span class="ruby-identifier">args</span>)
+ {
+ <span class="ruby-identifier">days</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@days</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">map</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">commits</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@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-identifier">args</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-base_space">
+
+ <b>base_space</b>(leaves, map)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-base_space" name="method-i-base_space" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-base_space_source')" id="l_method-i-base_space_source">show</a>
+
+ </p>
+ <div id="method-i-base_space_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">base_space</span>(<span class="ruby-identifier">leaves</span>, <span class="ruby-identifier">map</span>)
+ <span class="ruby-identifier">parents</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">concat</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-identifier">nonzero?</span>}
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">space</span> = <span class="ruby-identifier">parents</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">map</span>[<span class="ruby-identifier">p</span>.<span class="ruby-identifier">id</span>].<span class="ruby-identifier">space</span>}.<span class="ruby-identifier">max</span> <span class="ruby-operator">||</span> <span class="ruby-number">0</span>
+ <span class="ruby-identifier">space</span> <span class="ruby-operator">+=</span> <span class="ruby-number">1</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-collect_commits">
+
+ <b>collect_commits</b>()
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-collect_commits" name="method-i-collect_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get commits from repository</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-collect_commits_source')" id="l_method-i-collect_commits_source">show</a>
+
+ </p>
+ <div id="method-i-collect_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">collect_commits</span>
+ <span class="ruby-ivar">@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-identifier">repo</span>, <span class="ruby-keyword">nil</span>, {<span class="ruby-identifier">max_count</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">max_count</span>}).<span class="ruby-identifier">dup</span>
+
+ <span class="ruby-comment"># Decorate with app/models/commit.rb</span>
+ <span class="ruby-ivar">@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-operator">::</span><span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">commit</span>) }
+
+ <span class="ruby-comment"># Decorate with lib/gitlab/graph/commit.rb</span>
+ <span class="ruby-ivar">@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-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Graph</span><span class="ruby-operator">::</span><span class="ruby-constant">Commit</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">commit</span>) }
+
+ <span class="ruby-comment"># add refs to each commit</span>
+ <span class="ruby-ivar">@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-identifier">repo</span>) }
+
+ <span class="ruby-ivar">@commits</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-find_free_space">
+
+ <b>find_free_space</b>(leaves, map)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-find_free_space" name="method-i-find_free_space" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-find_free_space_source')" id="l_method-i-find_free_space_source">show</a>
+
+ </p>
+ <div id="method-i-find_free_space_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 135</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">find_free_space</span>(<span class="ruby-identifier">leaves</span>, <span class="ruby-identifier">map</span>)
+ <span class="ruby-identifier">time_range</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">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-identifier">base_space</span>(<span class="ruby-identifier">leaves</span>, <span class="ruby-identifier">map</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-number">1</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">space</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index_commits">
+
+ <b>index_commits</b>()
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-index_commits" name="method-i-index_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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;Graph::Commit&gt;] comits to index</p>
+
+<p>@return [Array&lt;TimeDate&gt;] list of commit dates corelated with time on
+commits</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_commits_source')" id="l_method-i-index_commits_source">show</a>
+
+ </p>
+ <div id="method-i-index_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index_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-number">-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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mark_reserved">
+
+ <b>mark_reserved</b>(time_range, space)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-mark_reserved" name="method-i-mark_reserved" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mark_reserved_source')" id="l_method-i-mark_reserved_source">show</a>
+
+ </p>
+ <div id="method-i-mark_reserved_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-place_chain">
+
+ <b>place_chain</b>(commit, map, parent_time = nil)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-place_chain" name="method-i-place_chain" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Add space mark on commit and its parents</p>
+
+<p>@param [Graph::Commit] the commit object. @param
+[Hash&lt;String,Graph::Commit&gt;] map of commits</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-place_chain_source')" id="l_method-i-place_chain_source">show</a>
+
+ </p>
+ <div id="method-i-place_chain_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 95</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">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">map</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-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-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-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-number">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-identifier">zero?</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-take_left_leaves">
+
+ <b>take_left_leaves</b>(commit, map)
+
+ <a href="../../../classes/Gitlab/Graph/JsonBuilder.html#method-i-take_left_leaves" name="method-i-take_left_leaves" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Takes most left subtree branch of commits which don’t have space mark yet.</p>
+
+<p>@param [Graph::Commit] the commit object. @param
+[Hash&lt;String,Graph::Commit&gt;] map of commits</p>
+
+<p>@return [Array&lt;Graph::Commit&gt;] list of branch commits</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-take_left_leaves_source')" id="l_method-i-take_left_leaves_source">show</a>
+
+ </p>
+ <div id="method-i-take_left_leaves_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/graph/json_builder.rb, line 165</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">zero?</span>
+
+ <span class="ruby-keyword">while</span> <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">leaves</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">zero?</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">leaves</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">map</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">id</span>
+
+ <span class="ruby-identifier">commit</span> = <span class="ruby-identifier">map</span>[<span class="ruby-identifier">commit</span>.<span class="ruby-identifier">parents</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">id</span>]
+
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">leaves</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">space</span>.<span class="ruby-identifier">zero?</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></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/InlineDiff.html b/doc/code/classes/Gitlab/InlineDiff.html
new file mode 100644
index 00000000000..cd04b7d018d
--- /dev/null
+++ b/doc/code/classes/Gitlab/InlineDiff.html
@@ -0,0 +1,299 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::InlineDiff</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::InlineDiff
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/inline_diff_rb.html">lib/gitlab/inline_diff.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>#</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-_indexes_of_changed_lines">_indexes_of_changed_lines</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-processing">processing</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-replace_markers">replace_markers</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">START</td>
+ <td>=</td>
+ <td class="attr-value">&quot;#!idiff-start!#&quot;</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">FINISH</td>
+ <td>=</td>
+ <td class="attr-value">&quot;#!idiff-finish!#&quot;</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-_indexes_of_changed_lines">
+
+ <b>_indexes_of_changed_lines</b>(diff_arr)
+
+ <a href="../../classes/Gitlab/InlineDiff.html#method-c-_indexes_of_changed_lines" name="method-c-_indexes_of_changed_lines" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-_indexes_of_changed_lines_source')" id="l_method-c-_indexes_of_changed_lines_source">show</a>
+
+ </p>
+ <div id="method-c-_indexes_of_changed_lines_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">_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-number">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-number">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-number">1</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">indexes</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-processing">
+
+ <b>processing</b>(diff_arr)
+
+ <a href="../../classes/Gitlab/InlineDiff.html#method-c-processing" name="method-c-processing" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-processing_source')" id="l_method-c-processing_source">show</a>
+
+ </p>
+ <div id="method-c-processing_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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-number">0</span>
+ (<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">max_length</span> <span class="ruby-operator">+</span> <span class="ruby-number">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-number">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-number">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-number">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">first_the_same_symbols</span>][<span class="ruby-number">1</span><span class="ruby-operator">..</span><span class="ruby-number">-1</span>]
+ <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-number">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-number">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-number">0</span>
+ (<span class="ruby-number">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">max_length</span> <span class="ruby-operator">+</span> <span class="ruby-number">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-number">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-number">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-number">-1</span>]
+ <span class="ruby-identifier">diff_arr</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-replace_markers">
+
+ <b>replace_markers</b>(line)
+
+ <a href="../../classes/Gitlab/InlineDiff.html#method-c-replace_markers" name="method-c-replace_markers" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-replace_markers_source')" id="l_method-c-replace_markers_source">show</a>
+
+ </p>
+ <div id="method-c-replace_markers_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/inline_diff.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Issues.html b/doc/code/classes/Gitlab/Issues.html
new file mode 100644
index 00000000000..91c6dead2a6
--- /dev/null
+++ b/doc/code/classes/Gitlab/Issues.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Issues</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Issues
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/issues_rb.html">lib/api/issues.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Issues.html">Issues</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Logger.html b/doc/code/classes/Gitlab/Logger.html
new file mode 100644
index 00000000000..2c523c19219
--- /dev/null
+++ b/doc/code/classes/Gitlab/Logger.html
@@ -0,0 +1,315 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Logger</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Logger
+
+ <span class="parent">&lt;
+
+ Logger
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/logger_rb.html">lib/gitlab/logger.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-build">build</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-error">error</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-info">info</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-read_latest">read_latest</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-read_latest_for">read_latest_for</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-build">
+
+ <b>build</b>()
+
+ <a href="../../classes/Gitlab/Logger.html#method-c-build" name="method-c-build" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-build_source')" id="l_method-c-build_source">show</a>
+
+ </p>
+ <div id="method-c-build_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-error">
+
+ <b>error</b>(message)
+
+ <a href="../../classes/Gitlab/Logger.html#method-c-error" name="method-c-error" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-error_source')" id="l_method-c-error_source">show</a>
+
+ </p>
+ <div id="method-c-error_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-info">
+
+ <b>info</b>(message)
+
+ <a href="../../classes/Gitlab/Logger.html#method-c-info" name="method-c-info" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-info_source')" id="l_method-c-info_source">show</a>
+
+ </p>
+ <div id="method-c-info_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-read_latest">
+
+ <b>read_latest</b>()
+
+ <a href="../../classes/Gitlab/Logger.html#method-c-read_latest" name="method-c-read_latest" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-read_latest_source')" id="l_method-c-read_latest_source">show</a>
+
+ </p>
+ <div id="method-c-read_latest_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-node">%xtail -n 2000 #{path}`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-read_latest_for">
+
+ <b>read_latest_for</b>(filename)
+
+ <a href="../../classes/Gitlab/Logger.html#method-c-read_latest_for" name="method-c-read_latest_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-read_latest_for_source')" id="l_method-c-read_latest_for_source">show</a>
+
+ </p>
+ <div id="method-c-read_latest_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/logger.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">read_latest_for</span> <span class="ruby-identifier">filename</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">filename</span>)
+ <span class="ruby-identifier">logs</span> = <span class="ruby-node">%xtail -n 2000 #{path}`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\n&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Markdown.html b/doc/code/classes/Gitlab/Markdown.html
new file mode 100644
index 00000000000..45d853f3684
--- /dev/null
+++ b/doc/code/classes/Gitlab/Markdown.html
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Markdown</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::Markdown
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/markdown_rb.html">lib/gitlab/markdown.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div 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>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-gfm">gfm</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">REFERENCE_PATTERN</td>
+ <td>=</td>
+ <td class="attr-value">%r{
+(?&lt;prefix&gt;\W)? # Prefix
+( # Reference
+@(?&lt;user&gt;[a-zA-Z][a-zA-Z0-9_\-\.]*) # User name
+|\#(?&lt;issue&gt;\d+) # Issue ID
+|!(?&lt;merge_request&gt;\d+) # MR ID
+|\$(?&lt;snippet&gt;\d+) # Snippet ID
+|(?&lt;commit&gt;[\h]{6,40}) # Commit ID
+)
+(?&lt;suffix&gt;\W)? # Suffix
+}x.freeze</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">TYPES</td>
+ <td>=</td>
+ <td class="attr-value">[:user, :issue, :merge_request, :snippet, :commit].freeze</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">EMOJI_PATTERN</td>
+ <td>=</td>
+ <td class="attr-value">%r{(:(\S+):)}.freeze</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>html_options</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-gfm">
+
+ <b>gfm</b>(text, html_options = {})
+
+ <a href="../../classes/Gitlab/Markdown.html#method-i-gfm" name="method-i-gfm" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-gfm_source')" id="l_method-i-gfm_source">show</a>
+
+ </p>
+ <div id="method-i-gfm_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/markdown.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/MergeRequests.html b/doc/code/classes/Gitlab/MergeRequests.html
new file mode 100644
index 00000000000..556f2b01604
--- /dev/null
+++ b/doc/code/classes/Gitlab/MergeRequests.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::MergeRequests</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::MergeRequests
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/merge_requests_rb.html">lib/api/merge_requests.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="../MergeRequest.html">MergeRequest</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Milestones.html b/doc/code/classes/Gitlab/Milestones.html
new file mode 100644
index 00000000000..4226dab3d56
--- /dev/null
+++ b/doc/code/classes/Gitlab/Milestones.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Milestones</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Milestones
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/milestones_rb.html">lib/api/milestones.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Milestones.html">Milestones</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Notes.html b/doc/code/classes/Gitlab/Notes.html
new file mode 100644
index 00000000000..90d3e7af53a
--- /dev/null
+++ b/doc/code/classes/Gitlab/Notes.html
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Notes</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Notes
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/notes_rb.html">lib/api/notes.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Notes.html">Notes</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">NOTEABLE_TYPES</td>
+ <td>=</td>
+ <td class="attr-value">[Issue, Snippet]</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/ProjectMover.html b/doc/code/classes/Gitlab/ProjectMover.html
new file mode 100644
index 00000000000..d13cf13d375
--- /dev/null
+++ b/doc/code/classes/Gitlab/ProjectMover.html
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::ProjectMover</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::ProjectMover
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/project_mover_rb.html">lib/gitlab/project_mover.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="ProjectMover/ProjectMoveError.html">Gitlab::ProjectMover::ProjectMoveError</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log_info">log_info</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>new_dir</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>old_dir</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(project, old_dir, new_dir)
+
+ <a href="../../classes/Gitlab/ProjectMover.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/project_mover.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">old_dir</span>, <span class="ruby-identifier">new_dir</span>)
+ <span class="ruby-ivar">@project</span> = <span class="ruby-identifier">project</span>
+ <span class="ruby-ivar">@old_dir</span> = <span class="ruby-identifier">old_dir</span>
+ <span class="ruby-ivar">@new_dir</span> = <span class="ruby-identifier">new_dir</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../../classes/Gitlab/ProjectMover.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/project_mover.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">execute</span>
+ <span class="ruby-comment"># Create new dir if missing</span>
+ <span class="ruby-identifier">new_dir_path</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">new_dir</span>)
+ <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;mkdir -m 770 #{new_dir_path}&quot;</span>) <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">new_dir_path</span>)
+
+ <span class="ruby-identifier">old_path</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">old_dir</span>, <span class="ruby-node">&quot;#{project.path}.git&quot;</span>)
+ <span class="ruby-identifier">new_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">new_dir_path</span>, <span class="ruby-node">&quot;#{project.path}.git&quot;</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span> <span class="ruby-identifier">new_path</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ProjectMoveError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">&quot;Destination #{new_path} already exists&quot;</span>)
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;mv #{old_path} #{new_path}&quot;</span>)
+ <span class="ruby-identifier">log_info</span> <span class="ruby-node">&quot;Project #{project.name} was moved from #{old_path} to #{new_path}&quot;</span>
+ <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">message</span> = <span class="ruby-node">&quot;Project #{project.name} cannot be moved from #{old_path} to #{new_path}&quot;</span>
+ <span class="ruby-identifier">log_info</span> <span class="ruby-node">&quot;Error! #{message}&quot;</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ProjectMoveError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">message</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log_info">
+
+ <b>log_info</b>(message)
+
+ <a href="../../classes/Gitlab/ProjectMover.html#method-i-log_info" name="method-i-log_info" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_info_source')" id="l_method-i-log_info_source">show</a>
+
+ </p>
+ <div id="method-i-log_info_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/project_mover.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/ProjectMover/ProjectMoveError.html b/doc/code/classes/Gitlab/ProjectMover/ProjectMoveError.html
new file mode 100644
index 00000000000..0071ba0c636
--- /dev/null
+++ b/doc/code/classes/Gitlab/ProjectMover/ProjectMoveError.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::ProjectMover::ProjectMoveError</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::ProjectMover::ProjectMoveError
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/project_mover_rb.html">lib/gitlab/project_mover.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Projects.html b/doc/code/classes/Gitlab/Projects.html
new file mode 100644
index 00000000000..9005134ee6c
--- /dev/null
+++ b/doc/code/classes/Gitlab/Projects.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Projects</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Projects
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/projects_rb.html">lib/api/projects.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Projects.html">Projects</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Regex.html b/doc/code/classes/Gitlab/Regex.html
new file mode 100644
index 00000000000..674df3227af
--- /dev/null
+++ b/doc/code/classes/Gitlab/Regex.html
@@ -0,0 +1,261 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Regex</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::Regex
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/regex_rb.html">lib/gitlab/regex.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-default_regex">default_regex</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-path_regex">path_regex</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-project_name_regex">project_name_regex</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-username_regex">username_regex</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-path_regex">
+
+ <b>path_regex</b>()
+
+ <a href="../../classes/Gitlab/Regex.html#method-i-path_regex" name="method-i-path_regex" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-path_regex_source')" id="l_method-i-path_regex_source">show</a>
+
+ </p>
+ <div id="method-i-path_regex_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/regex.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">path_regex</span>
+ <span class="ruby-identifier">default_regex</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_name_regex">
+
+ <b>project_name_regex</b>()
+
+ <a href="../../classes/Gitlab/Regex.html#method-i-project_name_regex" name="method-i-project_name_regex" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_name_regex_source')" id="l_method-i-project_name_regex_source">show</a>
+
+ </p>
+ <div id="method-i-project_name_regex_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/regex.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_name_regex</span>
+ <span class="ruby-regexp">%r\A[a-zA-Z][a-zA-Z0-9_\-\. ]*\z/</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-username_regex">
+
+ <b>username_regex</b>()
+
+ <a href="../../classes/Gitlab/Regex.html#method-i-username_regex" name="method-i-username_regex" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-username_regex_source')" id="l_method-i-username_regex_source">show</a>
+
+ </p>
+ <div id="method-i-username_regex_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/regex.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">username_regex</span>
+ <span class="ruby-identifier">default_regex</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-default_regex">
+
+ <b>default_regex</b>()
+
+ <a href="../../classes/Gitlab/Regex.html#method-i-default_regex" name="method-i-default_regex" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-default_regex_source')" id="l_method-i-default_regex_source">show</a>
+
+ </p>
+ <div id="method-i-default_regex_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/regex.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">default_regex</span>
+ <span class="ruby-regexp">%r\A[a-zA-Z][a-zA-Z0-9_\-\.]*\z/</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Satellite.html b/doc/code/classes/Gitlab/Satellite.html
new file mode 100644
index 00000000000..943bbf8eeab
--- /dev/null
+++ b/doc/code/classes/Gitlab/Satellite.html
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Satellite</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Gitlab::Satellite
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/satellite/merge_action_rb.html">lib/gitlab/satellite/merge_action.rb</a></li>
+
+ <li><a href="../../files/lib/gitlab/satellite/satellite_rb.html">lib/gitlab/satellite/satellite.rb</a></li>
+
+ <li><a href="../../files/lib/gitlab/satellite/edit_file_action_rb.html">lib/gitlab/satellite/edit_file_action.rb</a></li>
+
+ <li><a href="../../files/lib/gitlab/satellite/action_rb.html">lib/gitlab/satellite/action.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Satellite/Action.html">Gitlab::Satellite::Action</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Satellite/EditFileAction.html">Gitlab::Satellite::EditFileAction</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Satellite/MergeAction.html">Gitlab::Satellite::MergeAction</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Satellite/Satellite.html">Gitlab::Satellite::Satellite</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Satellite/Action.html b/doc/code/classes/Gitlab/Satellite/Action.html
new file mode 100644
index 00000000000..abe7411ef1f
--- /dev/null
+++ b/doc/code/classes/Gitlab/Satellite/Action.html
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Satellite::Action</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Satellite::Action
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/satellite/action_rb.html">lib/gitlab/satellite/action.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-in_locked_and_timed_satellite">in_locked_and_timed_satellite</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-prepare_satellite-21">prepare_satellite!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">DEFAULT_OPTIONS</td>
+ <td>=</td>
+ <td class="attr-value">{ git_timeout: 30.seconds }</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>options</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>user</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(user, project, options = {})
+
+ <a href="../../../classes/Gitlab/Satellite/Action.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/action.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>, <span class="ruby-identifier">options</span> = {})
+ <span class="ruby-ivar">@options</span> = <span class="ruby-constant">DEFAULT_OPTIONS</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
+ <span class="ruby-ivar">@project</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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-in_locked_and_timed_satellite">
+
+ <b>in_locked_and_timed_satellite</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Action.html#method-i-in_locked_and_timed_satellite" name="method-i-in_locked_and_timed_satellite" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <ul><li>
+<p>Sets a 30s timeout for Git</p>
+</li><li>
+<p>Locks the satellite repo</p>
+</li><li>
+<p>Yields the prepared satellite repo</p>
+</li></ul>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-in_locked_and_timed_satellite_source')" id="l_method-i-in_locked_and_timed_satellite_source">show</a>
+
+ </p>
+ <div id="method-i-in_locked_and_timed_satellite_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/action.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">in_locked_and_timed_satellite</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-identifier">options</span>[<span class="ruby-value">:git_timeout</span>]) <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">lock</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">repo</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOMEM</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</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">ex</span>.<span class="ruby-identifier">message</span>)
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</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-operator">&gt;</span> <span class="ruby-identifier">ex</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">ex</span>.<span class="ruby-identifier">message</span>)
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-prepare_satellite-21">
+
+ <b>prepare_satellite!</b>(repo)
+
+ <a href="../../../classes/Gitlab/Satellite/Action.html#method-i-prepare_satellite-21" name="method-i-prepare_satellite-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <ul><li>
+<p>Clears the satellite</p>
+</li><li>
+<p>Updates the satellite from <a href="../Gitolite.html">Gitolite</a></p>
+</li><li>
+<p>Sets up Git variables for the user</p>
+</li></ul>
+
+<p>Note: use this within <a
+href="Action.html#method-i-in_locked_and_timed_satellite">in_locked_and_timed_satellite</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-prepare_satellite-21_source')" id="l_method-i-prepare_satellite-21_source">show</a>
+
+ </p>
+ <div id="method-i-prepare_satellite-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/action.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">prepare_satellite!</span>(<span class="ruby-identifier">repo</span>)
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">satellite</span>.<span class="ruby-identifier">clear_and_update!</span>
+
+ <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">config</span>({}, <span class="ruby-string">&quot;user.name&quot;</span>, <span class="ruby-identifier">user</span>.<span class="ruby-identifier">name</span>)
+ <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">config</span>({}, <span class="ruby-string">&quot;user.email&quot;</span>, <span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Satellite/EditFileAction.html b/doc/code/classes/Gitlab/Satellite/EditFileAction.html
new file mode 100644
index 00000000000..3a35aa22632
--- /dev/null
+++ b/doc/code/classes/Gitlab/Satellite/EditFileAction.html
@@ -0,0 +1,284 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Satellite::EditFileAction</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Satellite::EditFileAction
+
+ <span class="parent">&lt;
+
+ Action
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/satellite/edit_file_action_rb.html">lib/gitlab/satellite/edit_file_action.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>GitLab server-side file update and commit</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can_edit-3F">can_edit?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit-21">commit!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>file_path</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>ref</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(user, project, ref, file_path)
+
+ <a href="../../../classes/Gitlab/Satellite/EditFileAction.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/edit_file_action.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>, <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">file_path</span>)
+ <span class="ruby-keyword">super</span> <span class="ruby-identifier">user</span>, <span class="ruby-identifier">project</span>, <span class="ruby-identifier">git_timeout</span><span class="ruby-operator">:</span> <span class="ruby-number">10</span>.<span class="ruby-identifier">seconds</span>
+ <span class="ruby-ivar">@file_path</span> = <span class="ruby-identifier">file_path</span>
+ <span class="ruby-ivar">@ref</span> = <span class="ruby-identifier">ref</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit-21">
+
+ <b>commit!</b>(content, commit_message, last_commit)
+
+ <a href="../../../classes/Gitlab/Satellite/EditFileAction.html#method-i-commit-21" name="method-i-commit-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Updates the files content and creates a new commit for it</p>
+
+<p>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 <a href="../Gitolite.html">Gitolite</a> failed or was rejected
+Returns true otherwise</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit-21_source')" id="l_method-i-commit-21_source">show</a>
+
+ </p>
+ <div id="method-i-commit-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/edit_file_action.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit!</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">last_commit</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">repo</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">prepare_satellite!</span>(<span class="ruby-identifier">repo</span>)
+
+ <span class="ruby-comment"># create target branch in satellite at the corresponding commit from Gitolite</span>
+ <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">checkout</span>({<span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">timeout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">b</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-identifier">ref</span>, <span class="ruby-node">&quot;origin/#{ref}&quot;</span>)
+
+ <span class="ruby-comment"># update the file in the satellite's working dir</span>
+ <span class="ruby-identifier">file_path_in_satellite</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">file_path</span>)
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file_path_in_satellite</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-comment"># commit the changes</span>
+ <span class="ruby-comment"># will raise CommandFailed when commit fails</span>
+ <span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">timeout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">a</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">m</span><span class="ruby-operator">:</span> <span class="ruby-identifier">commit_message</span>)
+
+
+ <span class="ruby-comment"># push commit back to Gitolite</span>
+ <span class="ruby-comment"># will raise CommandFailed when push fails</span>
+ <span class="ruby-identifier">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-identifier">timeout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-value">:origin</span>, <span class="ruby-identifier">ref</span>)
+
+ <span class="ruby-comment"># everything worked</span>
+ <span class="ruby-keyword">true</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-operator">&gt;</span> <span class="ruby-identifier">ex</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">ex</span>.<span class="ruby-identifier">message</span>)
+ <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_edit-3F">
+
+ <b>can_edit?</b>(last_commit)
+
+ <a href="../../../classes/Gitlab/Satellite/EditFileAction.html#method-i-can_edit-3F" name="method-i-can_edit-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_edit-3F_source')" id="l_method-i-can_edit-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_edit-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/edit_file_action.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">can_edit?</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">file_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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Satellite/MergeAction.html b/doc/code/classes/Gitlab/Satellite/MergeAction.html
new file mode 100644
index 00000000000..064c4f06e60
--- /dev/null
+++ b/doc/code/classes/Gitlab/Satellite/MergeAction.html
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Satellite::MergeAction</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Satellite::MergeAction
+
+ <span class="parent">&lt;
+
+ Action
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/satellite/merge_action_rb.html">lib/gitlab/satellite/merge_action.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>GitLab server-side merge</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can_be_merged-3F">can_be_merged?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-merge-21">merge!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>merge_request</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(user, merge_request)
+
+ <a href="../../../classes/Gitlab/Satellite/MergeAction.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/merge_action.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">merge_request</span>)
+ <span class="ruby-keyword">super</span> <span class="ruby-identifier">user</span>, <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">project</span>
+ <span class="ruby-ivar">@merge_request</span> = <span class="ruby-identifier">merge_request</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_be_merged-3F">
+
+ <b>can_be_merged?</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/MergeAction.html#method-i-can_be_merged-3F" name="method-i-can_be_merged-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Checks if a merge request can be executed without user interaction</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_be_merged-3F_source')" id="l_method-i-can_be_merged-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_be_merged-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/merge_action.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge-21">
+
+ <b>merge!</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/MergeAction.html#method-i-merge-21" name="method-i-merge-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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 satellite to <a href="../Gitolite.html">Gitolite</a> failed or was
+rejected Returns true otherwise</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge-21_source')" id="l_method-i-merge-21_source">show</a>
+
+ </p>
+ <div id="method-i-merge-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/merge_action.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">timeout</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-identifier">timeout</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-operator">&gt;</span> <span class="ruby-identifier">ex</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">ex</span>.<span class="ruby-identifier">message</span>)
+ <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Satellite/Satellite.html b/doc/code/classes/Gitlab/Satellite/Satellite.html
new file mode 100644
index 00000000000..86d82e6ab33
--- /dev/null
+++ b/doc/code/classes/Gitlab/Satellite/Satellite.html
@@ -0,0 +1,506 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Satellite::Satellite</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Satellite::Satellite
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/gitlab/satellite/satellite_rb.html">lib/gitlab/satellite/satellite.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-clear_and_update-21">clear_and_update!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-exists-3F">exists?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-lock">lock</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-lock_file">lock_file</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-path">path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-repo">repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">PARKING_BRANCH</td>
+ <td>=</td>
+ <td class="attr-value">&quot;__parking_branch&quot;</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(project)
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-ivar">@project</span> = <span class="ruby-identifier">project</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-clear_and_update-21">
+
+ <b>clear_and_update!</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-clear_and_update-21" name="method-i-clear_and_update-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-clear_and_update-21_source')" id="l_method-i-clear_and_update-21_source">show</a>
+
+ </p>
+ <div id="method-i-clear_and_update-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">clear_and_update!</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Satellite doesn't exist&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">exists?</span>
+
+ <span class="ruby-identifier">delete_heads!</span>
+ <span class="ruby-identifier">clear_working_dir!</span>
+ <span class="ruby-identifier">update_from_source!</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">create</span>
+ <span class="ruby-identifier">create_cmd</span> = <span class="ruby-node">&quot;git clone #{project.url_to_repo} #{path}&quot;</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">system</span>(<span class="ruby-identifier">create_cmd</span>)
+ <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">else</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-node">&quot;Failed to create satellite for #{project.name_with_namespace}&quot;</span>)
+ <span class="ruby-keyword">false</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-exists-3F">
+
+ <b>exists?</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-exists-3F" name="method-i-exists-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-exists-3F_source')" id="l_method-i-exists-3F_source">show</a>
+
+ </p>
+ <div id="method-i-exists-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-lock">
+
+ <b>lock</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-lock" name="method-i-lock" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <ul><li>
+<p>Locks the satellite</p>
+</li><li>
+<p>Changes the current directory to the satellite’s working dir</p>
+</li><li>
+<p>Yields</p>
+</li></ul>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-lock_source')" id="l_method-i-lock_source">show</a>
+
+ </p>
+ <div id="method-i-lock_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">lock</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Satellite doesn't exist&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">exists?</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-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">path</span>) <span class="ruby-keyword">do</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">yield</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-lock_file">
+
+ <b>lock_file</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-lock_file" name="method-i-lock_file" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-lock_file_source')" id="l_method-i-lock_file_source">show</a>
+
+ </p>
+ <div id="method-i-lock_file_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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;satellite_#{project.id}.lock&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-path">
+
+ <b>path</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-path" name="method-i-path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-path_source')" id="l_method-i-path_source">show</a>
+
+ </p>
+ <div id="method-i-path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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_with_namespace</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repo">
+
+ <b>repo</b>()
+
+ <a href="../../../classes/Gitlab/Satellite/Satellite.html#method-i-repo" name="method-i-repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repo_source')" id="l_method-i-repo_source">show</a>
+
+ </p>
+ <div id="method-i-repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/satellite/satellite.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">repo</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Satellite doesn't exist&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">exists?</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</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Seeder.html b/doc/code/classes/Gitlab/Seeder.html
new file mode 100644
index 00000000000..a62c96a5526
--- /dev/null
+++ b/doc/code/classes/Gitlab/Seeder.html
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Seeder</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Seeder
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/seeder_rb.html">lib/gitlab/seeder.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>Q</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-quiet">quiet</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-quiet">
+
+ <b>quiet</b>()
+
+ <a href="../../classes/Gitlab/Seeder.html#method-c-quiet" name="method-c-quiet" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-quiet_source')" id="l_method-c-quiet_source">show</a>
+
+ </p>
+ <div id="method-c-quiet_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/seeder.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">quiet</span>
+ <span class="ruby-constant">SeedFu</span>.<span class="ruby-identifier">quiet</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">yield</span>
+ <span class="ruby-constant">SeedFu</span>.<span class="ruby-identifier">quiet</span> = <span class="ruby-keyword">false</span>
+ <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;\nOK&quot;</span>.<span class="ruby-identifier">green</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Session.html b/doc/code/classes/Gitlab/Session.html
new file mode 100644
index 00000000000..ad14adc0d50
--- /dev/null
+++ b/doc/code/classes/Gitlab/Session.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Session</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Session
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/session_rb.html">lib/api/session.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Users.html">Users</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Theme.html b/doc/code/classes/Gitlab/Theme.html
new file mode 100644
index 00000000000..8f918b35ce4
--- /dev/null
+++ b/doc/code/classes/Gitlab/Theme.html
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Theme</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Theme
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/theme_rb.html">lib/gitlab/theme.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-css_class_by_id">css_class_by_id</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-css_class_by_id">
+
+ <b>css_class_by_id</b>(id)
+
+ <a href="../../classes/Gitlab/Theme.html#method-c-css_class_by_id" name="method-c-css_class_by_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-css_class_by_id_source')" id="l_method-c-css_class_by_id_source">show</a>
+
+ </p>
+ <div id="method-c-css_class_by_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/gitlab/theme.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">1</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_basic&quot;</span>,
+ <span class="ruby-number">2</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_mars&quot;</span>,
+ <span class="ruby-number">3</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_modern&quot;</span>,
+ <span class="ruby-number">4</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_gray&quot;</span>,
+ <span class="ruby-number">5</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;ui_color&quot;</span>
+ }
+
+ <span class="ruby-identifier">id</span> <span class="ruby-operator">||=</span> <span class="ruby-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Gitlab/Users.html b/doc/code/classes/Gitlab/Users.html
new file mode 100644
index 00000000000..50ba3131240
--- /dev/null
+++ b/doc/code/classes/Gitlab/Users.html
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Gitlab::Users</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Gitlab::Users
+
+ <span class="parent">&lt;
+
+ Grape::API
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/api/users_rb.html">lib/api/users.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p><a href="Users.html">Users</a> <a href="API.html">API</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/GitlabCiService.html b/doc/code/classes/GitlabCiService.html
new file mode 100644
index 00000000000..a56f614f772
--- /dev/null
+++ b/doc/code/classes/GitlabCiService.html
@@ -0,0 +1,371 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>GitlabCiService</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ GitlabCiService
+
+ <span class="parent">&lt;
+
+ <a href="Service.html">Service</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/gitlab_ci_service_rb.html">app/models/gitlab_ci_service.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: services</p>
+
+<pre>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)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-activated-3F">activated?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-build_page">build_page</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit_badge_path">commit_badge_path</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit_status">commit_status</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit_status_path">commit_status_path</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-compose_service_hook">compose_service_hook</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-activated-3F">
+
+ <b>activated?</b>()
+
+ <a href="../classes/GitlabCiService.html#method-i-activated-3F" name="method-i-activated-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-activated-3F_source')" id="l_method-i-activated-3F_source">show</a>
+
+ </p>
+ <div id="method-i-activated-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">activated?</span>
+ <span class="ruby-identifier">active</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-build_page">
+
+ <b>build_page</b>(sha)
+
+ <a href="../classes/GitlabCiService.html#method-i-build_page" name="method-i-build_page" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-build_page_source')" id="l_method-i-build_page_source">show</a>
+
+ </p>
+ <div id="method-i-build_page_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">build_page</span> <span class="ruby-identifier">sha</span>
+ <span class="ruby-identifier">project_url</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;/builds/#{sha}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_badge_path">
+
+ <b>commit_badge_path</b>(sha)
+
+ <a href="../classes/GitlabCiService.html#method-i-commit_badge_path" name="method-i-commit_badge_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_badge_path_source')" id="l_method-i-commit_badge_path_source">show</a>
+
+ </p>
+ <div id="method-i-commit_badge_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_badge_path</span> <span class="ruby-identifier">sha</span>
+ <span class="ruby-identifier">project_url</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;/status?sha=#{sha}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_status">
+
+ <b>commit_status</b>(sha)
+
+ <a href="../classes/GitlabCiService.html#method-i-commit_status" name="method-i-commit_status" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_status_source')" id="l_method-i-commit_status_source">show</a>
+
+ </p>
+ <div id="method-i-commit_status_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_status</span> <span class="ruby-identifier">sha</span>
+ <span class="ruby-identifier">response</span> = <span class="ruby-constant">HTTParty</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">commit_status_path</span>(<span class="ruby-identifier">sha</span>))
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-number">200</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">response</span>[<span class="ruby-string">&quot;status&quot;</span>]
+ <span class="ruby-identifier">response</span>[<span class="ruby-string">&quot;status&quot;</span>]
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-value">:error</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_status_path">
+
+ <b>commit_status_path</b>(sha)
+
+ <a href="../classes/GitlabCiService.html#method-i-commit_status_path" name="method-i-commit_status_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_status_path_source')" id="l_method-i-commit_status_path_source">show</a>
+
+ </p>
+ <div id="method-i-commit_status_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_status_path</span> <span class="ruby-identifier">sha</span>
+ <span class="ruby-identifier">project_url</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;/builds/#{sha}/status.json?token=#{token}&quot;</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-compose_service_hook">
+
+ <b>compose_service_hook</b>()
+
+ <a href="../classes/GitlabCiService.html#method-i-compose_service_hook" name="method-i-compose_service_hook" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-compose_service_hook_source')" id="l_method-i-compose_service_hook_source">show</a>
+
+ </p>
+ <div id="method-i-compose_service_hook_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/gitlab_ci_service.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">compose_service_hook</span>
+ <span class="ruby-identifier">hook</span> = <span class="ruby-identifier">service_hook</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">build_service_hook</span>
+ <span class="ruby-identifier">hook</span>.<span class="ruby-identifier">url</span> = [<span class="ruby-identifier">project_url</span>, <span class="ruby-string">&quot;/build&quot;</span>, <span class="ruby-node">&quot;?token=#{token}&quot;</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;&quot;</span>)
+ <span class="ruby-identifier">hook</span>.<span class="ruby-identifier">save</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/GitlabMarkdownHelper.html b/doc/code/classes/GitlabMarkdownHelper.html
new file mode 100644
index 00000000000..32ae5f822b5
--- /dev/null
+++ b/doc/code/classes/GitlabMarkdownHelper.html
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>GitlabMarkdownHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ GitlabMarkdownHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/gitlab_markdown_helper_rb.html">app/helpers/gitlab_markdown_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-link_to_gfm">link_to_gfm</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-markdown">markdown</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="Gitlab/Markdown.html">
+ Gitlab::Markdown
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_to_gfm">
+
+ <b>link_to_gfm</b>(body, url, html_options = {})
+
+ <a href="../classes/GitlabMarkdownHelper.html#method-i-link_to_gfm" name="method-i-link_to_gfm" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_to_gfm_source')" id="l_method-i-link_to_gfm_source">show</a>
+
+ </p>
+ <div id="method-i-link_to_gfm_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-markdown">
+
+ <b>markdown</b>(text)
+
+ <a href="../classes/GitlabMarkdownHelper.html#method-i-markdown" name="method-i-markdown" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-markdown_source')" id="l_method-i-markdown_source">show</a>
+
+ </p>
+ <div id="method-i-markdown_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Grack.html b/doc/code/classes/Grack.html
new file mode 100644
index 00000000000..9261c356602
--- /dev/null
+++ b/doc/code/classes/Grack.html
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Grack</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Grack
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/lib/gitlab/backend/grack_auth_rb.html">lib/gitlab/backend/grack_auth.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Grack/Auth.html">Grack::Auth</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Grack/Auth.html b/doc/code/classes/Grack/Auth.html
new file mode 100644
index 00000000000..a1350e2fa26
--- /dev/null
+++ b/doc/code/classes/Grack/Auth.html
@@ -0,0 +1,419 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Grack::Auth</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Grack::Auth
+
+ <span class="parent">&lt;
+
+ Rack::Auth::Basic
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/lib/gitlab/backend/grack_auth_rb.html">lib/gitlab/backend/grack_auth.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-abilities">abilities</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can-3F">can?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-current_ref">current_ref</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-valid-3F">valid?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-validate_get_request">validate_get_request</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-validate_post_request">validate_post_request</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>user</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can-3F">
+
+ <b>can?</b>(object, action, subject)
+
+ <a href="../../classes/Grack/Auth.html#method-i-can-3F" name="method-i-can-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can-3F_source')" id="l_method-i-can-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can-3F_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-current_ref">
+
+ <b>current_ref</b>()
+
+ <a href="../../classes/Grack/Auth.html#method-i-current_ref" name="method-i-current_ref" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-current_ref_source')" id="l_method-i-current_ref_source">show</a>
+
+ </p>
+ <div id="method-i-current_ref_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid-3F">
+
+ <b>valid?</b>()
+
+ <a href="../../classes/Grack/Auth.html#method-i-valid-3F" name="method-i-valid-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid-3F_source')" id="l_method-i-valid-3F_source">show</a>
+
+ </p>
+ <div id="method-i-valid-3F_source" class="dyn-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-keyword ruby-title">valid?</span>
+ <span class="ruby-comment"># Authentication with username and password</span>
+ <span class="ruby-identifier">login</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">login</span>) <span class="ruby-operator">||</span> <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_username</span>(<span class="ruby-identifier">login</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-identifier">email</span> = <span class="ruby-identifier">user</span>.<span class="ruby-identifier">email</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"># 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_with_namespace</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-validate_get_request">
+
+ <b>validate_get_request</b>()
+
+ <a href="../../classes/Grack/Auth.html#method-i-validate_get_request" name="method-i-validate_get_request" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-validate_get_request_source')" id="l_method-i-validate_get_request_source">show</a>
+
+ </p>
+ <div id="method-i-validate_get_request_source" class="dyn-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-keyword ruby-title">validate_get_request</span>
+ <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">user</span>, <span class="ruby-value">:download_code</span>, <span class="ruby-identifier">project</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-validate_post_request">
+
+ <b>validate_post_request</b>()
+
+ <a href="../../classes/Grack/Auth.html#method-i-validate_post_request" name="method-i-validate_post_request" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-validate_post_request_source')" id="l_method-i-validate_post_request_source">show</a>
+
+ </p>
+ <div id="method-i-validate_post_request_source" class="dyn-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-keyword ruby-title">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">:download_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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-abilities">
+
+ <b>abilities</b>()
+
+ <a href="../../classes/Grack/Auth.html#method-i-abilities" name="method-i-abilities" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-abilities_source')" id="l_method-i-abilities_source">show</a>
+
+ </p>
+ <div id="method-i-abilities_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Group.html b/doc/code/classes/Group.html
new file mode 100644
index 00000000000..cf61c3ea354
--- /dev/null
+++ b/doc/code/classes/Group.html
@@ -0,0 +1,294 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Group</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Group
+
+ <span class="parent">&lt;
+
+ <a href="Namespace.html">Namespace</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/group_rb.html">app/models/group.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: namespaces</p>
+
+<pre>id :integer not null, primary key
+name :string(255) not null
+path :string(255) not null
+owner_id :integer not null
+created_at :datetime not null
+updated_at :datetime not null
+type :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-add_users_to_project_teams">add_users_to_project_teams</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-human_name">human_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-truncate_teams">truncate_teams</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-users">users</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_users_to_project_teams">
+
+ <b>add_users_to_project_teams</b>(user_ids, project_access)
+
+ <a href="../classes/Group.html#method-i-add_users_to_project_teams" name="method-i-add_users_to_project_teams" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_users_to_project_teams_source')" id="l_method-i-add_users_to_project_teams_source">show</a>
+
+ </p>
+ <div id="method-i-add_users_to_project_teams_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/group.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">add_users_to_project_teams</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">add_users_into_projects</span>(
+ <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>),
+ <span class="ruby-identifier">user_ids</span>,
+ <span class="ruby-identifier">project_access</span>
+ )
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-human_name">
+
+ <b>human_name</b>()
+
+ <a href="../classes/Group.html#method-i-human_name" name="method-i-human_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-human_name_source')" id="l_method-i-human_name_source">show</a>
+
+ </p>
+ <div id="method-i-human_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/group.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">human_name</span>
+ <span class="ruby-identifier">name</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-truncate_teams">
+
+ <b>truncate_teams</b>()
+
+ <a href="../classes/Group.html#method-i-truncate_teams" name="method-i-truncate_teams" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-truncate_teams_source')" id="l_method-i-truncate_teams_source">show</a>
+
+ </p>
+ <div id="method-i-truncate_teams_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/group.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">truncate_teams</span>
+ <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">truncate_teams</span>(<span class="ruby-identifier">project_ids</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-users">
+
+ <b>users</b>()
+
+ <a href="../classes/Group.html#method-i-users" name="method-i-users" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-users_source')" id="l_method-i-users_source">show</a>
+
+ </p>
+ <div id="method-i-users_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/group.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">users</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">users</span> = <span class="ruby-identifier">users</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">owner</span>
+ <span class="ruby-identifier">users</span>.<span class="ruby-identifier">uniq</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/GroupsController.html b/doc/code/classes/GroupsController.html
new file mode 100644
index 00000000000..dbca1708bf0
--- /dev/null
+++ b/doc/code/classes/GroupsController.html
@@ -0,0 +1,566 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>GroupsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ GroupsController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/groups_controller_rb.html">app/controllers/groups_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authorize_read_group-21">authorize_read_group!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-group">group</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-issues">issues</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-merge_requests">merge_requests</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-people">people</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-project_ids">project_ids</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-projects">projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-search">search</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-team_members">team_members</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues">
+
+ <b>issues</b>()
+
+ <a href="../classes/GroupsController.html#method-i-issues" name="method-i-issues" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get only assigned issues</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_source')" id="l_method-i-issues_source">show</a>
+
+ </p>
+ <div id="method-i-issues_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_requests">
+
+ <b>merge_requests</b>()
+
+ <a href="../classes/GroupsController.html#method-i-merge_requests" name="method-i-merge_requests" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get authored or assigned open merge requests</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_requests_source')" id="l_method-i-merge_requests_source">show</a>
+
+ </p>
+ <div id="method-i-merge_requests_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">opened</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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-people">
+
+ <b>people</b>()
+
+ <a href="../classes/GroupsController.html#method-i-people" name="method-i-people" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-people_source')" id="l_method-i-people_source">show</a>
+
+ </p>
+ <div id="method-i-people_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">people</span>
+ <span class="ruby-ivar">@project</span> = <span class="ruby-identifier">group</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:project_id</span>]
+ <span class="ruby-ivar">@users</span> = <span class="ruby-ivar">@project</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">users</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">group</span>.<span class="ruby-identifier">users</span>
+ <span class="ruby-ivar">@users</span>.<span class="ruby-identifier">sort_by!</span>(&amp;<span class="ruby-value">:name</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span>
+ <span class="ruby-ivar">@team_member</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">new</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-ivar">@team_member</span> = <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">new</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-search">
+
+ <b>search</b>()
+
+ <a href="../classes/GroupsController.html#method-i-search" name="method-i-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-search_source')" id="l_method-i-search_source">show</a>
+
+ </p>
+ <div id="method-i-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/GroupsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_members">
+
+ <b>team_members</b>()
+
+ <a href="../classes/GroupsController.html#method-i-team_members" name="method-i-team_members" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_members_source')" id="l_method-i-team_members_source">show</a>
+
+ </p>
+ <div id="method-i-team_members_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">team_members</span>
+ <span class="ruby-ivar">@group</span>.<span class="ruby-identifier">add_users_to_project_teams</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">people_group_path</span>(<span class="ruby-ivar">@group</span>), <span class="ruby-identifier">notice</span><span class="ruby-operator">:</span> <span class="ruby-string">'Users was successfully added.'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_read_group-21">
+
+ <b>authorize_read_group!</b>()
+
+ <a href="../classes/GroupsController.html#method-i-authorize_read_group-21" name="method-i-authorize_read_group-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Dont allow unauthorized access to group</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_read_group-21_source')" id="l_method-i-authorize_read_group-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_read_group-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authorize_read_group!</span>
+ <span class="ruby-keyword">unless</span> <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">present?</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:manage_group</span>, <span class="ruby-ivar">@group</span>)
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-group">
+
+ <b>group</b>()
+
+ <a href="../classes/GroupsController.html#method-i-group" name="method-i-group" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-group_source')" id="l_method-i-group_source">show</a>
+
+ </p>
+ <div id="method-i-group_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 68</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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_path</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:id</span>])
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_ids">
+
+ <b>project_ids</b>()
+
+ <a href="../classes/GroupsController.html#method-i-project_ids" name="method-i-project_ids" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_ids_source')" id="l_method-i-project_ids_source">show</a>
+
+ </p>
+ <div id="method-i-project_ids_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 76</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-projects">
+
+ <b>projects</b>()
+
+ <a href="../classes/GroupsController.html#method-i-projects" name="method-i-projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-projects_source')" id="l_method-i-projects_source">show</a>
+
+ </p>
+ <div id="method-i-projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/groups_controller.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">projects</span>
+ <span class="ruby-ivar">@projects</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">group</span>.<span class="ruby-identifier">projects</span>.<span class="ruby-identifier">authorized_for</span>(<span class="ruby-identifier">current_user</span>).<span class="ruby-identifier">sorted_by_activity</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/HelpController.html b/doc/code/classes/HelpController.html
new file mode 100644
index 00000000000..fbb76563389
--- /dev/null
+++ b/doc/code/classes/HelpController.html
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>HelpController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ HelpController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/help_controller_rb.html">app/controllers/help_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/HelpController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/help_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/HooksController.html b/doc/code/classes/HooksController.html
new file mode 100644
index 00000000000..511e05f0da9
--- /dev/null
+++ b/doc/code/classes/HooksController.html
@@ -0,0 +1,286 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>HooksController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ HooksController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/hooks_controller_rb.html">app/controllers/hooks_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-test">test</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/HooksController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/HooksController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/HooksController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-test">
+
+ <b>test</b>()
+
+ <a href="../classes/HooksController.html#method-i-test" name="method-i-test" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-test_source')" id="l_method-i-test_source">show</a>
+
+ </p>
+ <div id="method-i-test_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/hooks_controller.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Issue.html b/doc/code/classes/Issue.html
new file mode 100644
index 00000000000..6f71ea72eb4
--- /dev/null
+++ b/doc/code/classes/Issue.html
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Issue</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Issue
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/issue_rb.html">app/models/issue.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: issues</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-open_for">open_for</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="IssueCommonality.html">
+ IssueCommonality
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="Votes.html">
+ Votes
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-open_for">
+
+ <b>open_for</b>(user)
+
+ <a href="../classes/Issue.html#method-c-open_for" name="method-c-open_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-open_for_source')" id="l_method-c-open_for_source">show</a>
+
+ </p>
+ <div id="method-c-open_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/issue.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssueCommonality.html b/doc/code/classes/IssueCommonality.html
new file mode 100644
index 00000000000..7398308a176
--- /dev/null
+++ b/doc/code/classes/IssueCommonality.html
@@ -0,0 +1,356 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssueCommonality</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ IssueCommonality
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/issue_commonality_rb.html">app/roles/issue_commonality.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Contains common functionality shared between Issues and MergeRequests</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-is_assigned-3F">is_assigned?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-is_being_closed-3F">is_being_closed?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-is_being_reassigned-3F">is_being_reassigned?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-is_being_reopened-3F">is_being_reopened?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new-3F">new?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-today-3F">today?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_assigned-3F">
+
+ <b>is_assigned?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-is_assigned-3F" name="method-i-is_assigned-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_assigned-3F_source')" id="l_method-i-is_assigned-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_assigned-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_being_closed-3F">
+
+ <b>is_being_closed?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-is_being_closed-3F" name="method-i-is_being_closed-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_being_closed-3F_source')" id="l_method-i-is_being_closed-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_being_closed-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_being_reassigned-3F">
+
+ <b>is_being_reassigned?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-is_being_reassigned-3F" name="method-i-is_being_reassigned-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_being_reassigned-3F_source')" id="l_method-i-is_being_reassigned-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_being_reassigned-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">is_being_reassigned?</span>
+ <span class="ruby-identifier">assignee_id_changed?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_being_reopened-3F">
+
+ <b>is_being_reopened?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-is_being_reopened-3F" name="method-i-is_being_reopened-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_being_reopened-3F_source')" id="l_method-i-is_being_reopened-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_being_reopened-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new-3F">
+
+ <b>new?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-new-3F" name="method-i-new-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new-3F_source')" id="l_method-i-new-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-today-3F">
+
+ <b>today?</b>()
+
+ <a href="../classes/IssueCommonality.html#method-i-today-3F" name="method-i-today-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-today-3F_source')" id="l_method-i-today-3F_source">show</a>
+
+ </p>
+ <div id="method-i-today-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssueCommonality/ClassMethods.html b/doc/code/classes/IssueCommonality/ClassMethods.html
new file mode 100644
index 00000000000..5c3ca9b2add
--- /dev/null
+++ b/doc/code/classes/IssueCommonality/ClassMethods.html
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssueCommonality::ClassMethods</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ IssueCommonality::ClassMethods
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/roles/issue_commonality_rb.html">app/roles/issue_commonality.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-search">search</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-search">
+
+ <b>search</b>(query)
+
+ <a href="../../classes/IssueCommonality/ClassMethods.html#method-i-search" name="method-i-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-search_source')" id="l_method-i-search_source">show</a>
+
+ </p>
+ <div id="method-i-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/issue_commonality.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssueObserver.html b/doc/code/classes/IssueObserver.html
new file mode 100644
index 00000000000..1600c0f08ac
--- /dev/null
+++ b/doc/code/classes/IssueObserver.html
@@ -0,0 +1,236 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssueObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ IssueObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/issue_observer_rb.html">app/observers/issue_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_update">after_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-send_reassigned_email">send_reassigned_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(issue)
+
+ <a href="../classes/IssueObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_update">
+
+ <b>after_update</b>(issue)
+
+ <a href="../classes/IssueObserver.html#method-i-after_update" name="method-i-after_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_update_source')" id="l_method-i-after_update_source">show</a>
+
+ </p>
+ <div id="method-i-after_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-send_reassigned_email">
+
+ <b>send_reassigned_email</b>(issue)
+
+ <a href="../classes/IssueObserver.html#method-i-send_reassigned_email" name="method-i-send_reassigned_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-send_reassigned_email_source')" id="l_method-i-send_reassigned_email_source">show</a>
+
+ </p>
+ <div id="method-i-send_reassigned_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/issue_observer.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssuesBulkUpdateContext.html b/doc/code/classes/IssuesBulkUpdateContext.html
new file mode 100644
index 00000000000..0214d217e19
--- /dev/null
+++ b/doc/code/classes/IssuesBulkUpdateContext.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssuesBulkUpdateContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ IssuesBulkUpdateContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/issues_bulk_update_context_rb.html">app/contexts/issues_bulk_update_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/IssuesBulkUpdateContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssuesController.html b/doc/code/classes/IssuesController.html
new file mode 100644
index 00000000000..1e18d7a8826
--- /dev/null
+++ b/doc/code/classes/IssuesController.html
@@ -0,0 +1,761 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssuesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ IssuesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/issues_controller_rb.html">app/controllers/issues_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authorize_admin_issue-21">authorize_admin_issue!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize_modify_issue-21">authorize_modify_issue!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-bulk_update">bulk_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issue">issue</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issues_filtered">issues_filtered</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-module_enabled">module_enabled</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-search">search</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-show">show</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-sort">sort</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-bulk_update">
+
+ <b>bulk_update</b>()
+
+ <a href="../classes/IssuesController.html#method-i-bulk_update" name="method-i-bulk_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-bulk_update_source')" id="l_method-i-bulk_update_source">show</a>
+
+ </p>
+ <div id="method-i-bulk_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/IssuesController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/IssuesController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+ <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@issue</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/IssuesController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/IssuesController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-search">
+
+ <b>search</b>()
+
+ <a href="../classes/IssuesController.html#method-i-search" name="method-i-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-search_source')" id="l_method-i-search_source">show</a>
+
+ </p>
+ <div id="method-i-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/IssuesController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-sort">
+
+ <b>sort</b>()
+
+ <a href="../classes/IssuesController.html#method-i-sort" name="method-i-sort" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-sort_source')" id="l_method-i-sort_source">show</a>
+
+ </p>
+ <div id="method-i-sort_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/IssuesController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_admin_issue-21">
+
+ <b>authorize_admin_issue!</b>()
+
+ <a href="../classes/IssuesController.html#method-i-authorize_admin_issue-21" name="method-i-authorize_admin_issue-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_admin_issue-21_source')" id="l_method-i-authorize_admin_issue-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_admin_issue-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 114</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_modify_issue-21">
+
+ <b>authorize_modify_issue!</b>()
+
+ <a href="../classes/IssuesController.html#method-i-authorize_modify_issue-21" name="method-i-authorize_modify_issue-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_modify_issue-21_source')" id="l_method-i-authorize_modify_issue-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_modify_issue-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 110</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue">
+
+ <b>issue</b>()
+
+ <a href="../classes/IssuesController.html#method-i-issue" name="method-i-issue" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue_source')" id="l_method-i-issue_source">show</a>
+
+ </p>
+ <div id="method-i-issue_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 106</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues_filtered">
+
+ <b>issues_filtered</b>()
+
+ <a href="../classes/IssuesController.html#method-i-issues_filtered" name="method-i-issues_filtered" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_filtered_source')" id="l_method-i-issues_filtered_source">show</a>
+
+ </p>
+ <div id="method-i-issues_filtered_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 122</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-module_enabled">
+
+ <b>module_enabled</b>()
+
+ <a href="../classes/IssuesController.html#method-i-module_enabled" name="method-i-module_enabled" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-module_enabled_source')" id="l_method-i-module_enabled_source">show</a>
+
+ </p>
+ <div id="method-i-module_enabled_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/issues_controller.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssuesHelper.html b/doc/code/classes/IssuesHelper.html
new file mode 100644
index 00000000000..7b7510451b1
--- /dev/null
+++ b/doc/code/classes/IssuesHelper.html
@@ -0,0 +1,401 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssuesHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ IssuesHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/issues_helper_rb.html">app/helpers/issues_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-issue_css_classes">issue_css_classes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issue_tags">issue_tags</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issues_active_milestones">issues_active_milestones</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-issues_filter">issues_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-labels_autocomplete_source">labels_autocomplete_source</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_issues_filter_path">project_issues_filter_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-unassigned_filter">unassigned_filter</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue_css_classes">
+
+ <b>issue_css_classes</b>(issue)
+
+ <a href="../classes/IssuesHelper.html#method-i-issue_css_classes" name="method-i-issue_css_classes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue_css_classes_source')" id="l_method-i-issue_css_classes_source">show</a>
+
+ </p>
+ <div id="method-i-issue_css_classes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue_tags">
+
+ <b>issue_tags</b>()
+
+ <a href="../classes/IssuesHelper.html#method-i-issue_tags" name="method-i-issue_tags" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue_tags_source')" id="l_method-i-issue_tags_source">show</a>
+
+ </p>
+ <div id="method-i-issue_tags_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues_active_milestones">
+
+ <b>issues_active_milestones</b>()
+
+ <a href="../classes/IssuesHelper.html#method-i-issues_active_milestones" name="method-i-issues_active_milestones" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_active_milestones_source')" id="l_method-i-issues_active_milestones_source">show</a>
+
+ </p>
+ <div id="method-i-issues_active_milestones_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">issues_active_milestones</span>
+ <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">active</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;id desc&quot;</span>).<span class="ruby-identifier">all</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues_filter">
+
+ <b>issues_filter</b>()
+
+ <a href="../classes/IssuesHelper.html#method-i-issues_filter" name="method-i-issues_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_filter_source')" id="l_method-i-issues_filter_source">show</a>
+
+ </p>
+ <div id="method-i-issues_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-labels_autocomplete_source">
+
+ <b>labels_autocomplete_source</b>()
+
+ <a href="../classes/IssuesHelper.html#method-i-labels_autocomplete_source" name="method-i-labels_autocomplete_source" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-labels_autocomplete_source_source')" id="l_method-i-labels_autocomplete_source_source">show</a>
+
+ </p>
+ <div id="method-i-labels_autocomplete_source_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">labels_autocomplete_source</span>
+ <span class="ruby-identifier">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-identifier">labels</span> = <span class="ruby-identifier">labels</span>.<span class="ruby-identifier">map</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span> { <span class="ruby-identifier">label</span><span class="ruby-operator">:</span> <span class="ruby-identifier">l</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">:</span> <span class="ruby-identifier">l</span>.<span class="ruby-identifier">name</span> } }
+ <span class="ruby-identifier">labels</span>.<span class="ruby-identifier">to_json</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_issues_filter_path">
+
+ <b>project_issues_filter_path</b>(project, params = {})
+
+ <a href="../classes/IssuesHelper.html#method-i-project_issues_filter_path" name="method-i-project_issues_filter_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_issues_filter_path_source')" id="l_method-i-project_issues_filter_path_source">show</a>
+
+ </p>
+ <div id="method-i-project_issues_filter_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unassigned_filter">
+
+ <b>unassigned_filter</b>()
+
+ <a href="../classes/IssuesHelper.html#method-i-unassigned_filter" name="method-i-unassigned_filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unassigned_filter_source')" id="l_method-i-unassigned_filter_source">show</a>
+
+ </p>
+ <div id="method-i-unassigned_filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/issues_helper.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/IssuesListContext.html b/doc/code/classes/IssuesListContext.html
new file mode 100644
index 00000000000..0298ec75f13
--- /dev/null
+++ b/doc/code/classes/IssuesListContext.html
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>IssuesListContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ IssuesListContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/issues_list_context_rb.html">app/contexts/issues_list_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="IssuesHelper.html">
+ IssuesHelper
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>issues</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/IssuesListContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Key.html b/doc/code/classes/Key.html
new file mode 100644
index 00000000000..0935e4862ef
--- /dev/null
+++ b/doc/code/classes/Key.html
@@ -0,0 +1,429 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Key</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Key
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/key_rb.html">app/models/key.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-fingerprintable_key">fingerprintable_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-is_deploy_key">is_deploy_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_deploy-3F">last_deploy?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-projects">projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-set_identifier">set_identifier</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-strip_white_space">strip_white_space</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-unique_key">unique_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-fingerprintable_key">
+
+ <b>fingerprintable_key</b>()
+
+ <a href="../classes/Key.html#method-i-fingerprintable_key" name="method-i-fingerprintable_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-fingerprintable_key_source')" id="l_method-i-fingerprintable_key_source">show</a>
+
+ </p>
+ <div id="method-i-fingerprintable_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_deploy_key">
+
+ <b>is_deploy_key</b>()
+
+ <a href="../classes/Key.html#method-i-is_deploy_key" name="method-i-is_deploy_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_deploy_key_source')" id="l_method-i-is_deploy_key_source">show</a>
+
+ </p>
+ <div id="method-i-is_deploy_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_deploy-3F">
+
+ <b>last_deploy?</b>()
+
+ <a href="../classes/Key.html#method-i-last_deploy-3F" name="method-i-last_deploy-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_deploy-3F_source')" id="l_method-i-last_deploy-3F_source">show</a>
+
+ </p>
+ <div id="method-i-last_deploy-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-projects">
+
+ <b>projects</b>()
+
+ <a href="../classes/Key.html#method-i-projects" name="method-i-projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>projects that has this key</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-projects_source')" id="l_method-i-projects_source">show</a>
+
+ </p>
+ <div id="method-i-projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-set_identifier">
+
+ <b>set_identifier</b>()
+
+ <a href="../classes/Key.html#method-i-set_identifier" name="method-i-set_identifier" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-set_identifier_source')" id="l_method-i-set_identifier_source">show</a>
+
+ </p>
+ <div id="method-i-set_identifier_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-strip_white_space">
+
+ <b>strip_white_space</b>()
+
+ <a href="../classes/Key.html#method-i-strip_white_space" name="method-i-strip_white_space" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-strip_white_space_source')" id="l_method-i-strip_white_space_source">show</a>
+
+ </p>
+ <div id="method-i-strip_white_space_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unique_key">
+
+ <b>unique_key</b>()
+
+ <a href="../classes/Key.html#method-i-unique_key" name="method-i-unique_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unique_key_source')" id="l_method-i-unique_key_source">show</a>
+
+ </p>
+ <div id="method-i-unique_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/key.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/KeyObserver.html b/doc/code/classes/KeyObserver.html
new file mode 100644
index 00000000000..1044ea2f7f9
--- /dev/null
+++ b/doc/code/classes/KeyObserver.html
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>KeyObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ KeyObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/key_observer_rb.html">app/observers/key_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_destroy">after_destroy</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_save">after_save</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="GitHost.html">
+ GitHost
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_destroy">
+
+ <b>after_destroy</b>(key)
+
+ <a href="../classes/KeyObserver.html#method-i-after_destroy" name="method-i-after_destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_destroy_source')" id="l_method-i-after_destroy_source">show</a>
+
+ </p>
+ <div id="method-i-after_destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/key_observer.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_save">
+
+ <b>after_save</b>(key)
+
+ <a href="../classes/KeyObserver.html#method-i-after_save" name="method-i-after_save" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_save_source')" id="l_method-i-after_save_source">show</a>
+
+ </p>
+ <div id="method-i-after_save_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/key_observer.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/KeysController.html b/doc/code/classes/KeysController.html
new file mode 100644
index 00000000000..9caccb753f2
--- /dev/null
+++ b/doc/code/classes/KeysController.html
@@ -0,0 +1,330 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>KeysController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ KeysController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/keys_controller_rb.html">app/controllers/keys_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/KeysController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/KeysController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/KeysController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/KeysController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/KeysController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/keys_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/LabelsController.html b/doc/code/classes/LabelsController.html
new file mode 100644
index 00000000000..53d54c6bbb0
--- /dev/null
+++ b/doc/code/classes/LabelsController.html
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>LabelsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ LabelsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/labels_controller_rb.html">app/controllers/labels_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-module_enabled">module_enabled</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/LabelsController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-module_enabled">
+
+ <b>module_enabled</b>()
+
+ <a href="../classes/LabelsController.html#method-i-module_enabled" name="method-i-module_enabled" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-module_enabled_source')" id="l_method-i-module_enabled_source">show</a>
+
+ </p>
+ <div id="method-i-module_enabled_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MergeRequest.html b/doc/code/classes/MergeRequest.html
new file mode 100644
index 00000000000..cd4046095b0
--- /dev/null
+++ b/doc/code/classes/MergeRequest.html
@@ -0,0 +1,1569 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MergeRequest</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ MergeRequest
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/merge_request_rb.html">app/models/merge_request.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-automerge-21">automerge!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-broken_diffs-3F">broken_diffs?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can_be_merged-3F">can_be_merged?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-check_if_can_be_merged">check_if_can_be_merged</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-closed_event">closed_event</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits">commits</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-diffs">diffs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-find_all_by_branch">find_all_by_branch</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-find_all_by_milestone">find_all_by_milestone</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-human_state">human_state</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_commit">last_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-last_commit_short_sha">last_commit_short_sha</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-mark_as_merged-21">mark_as_merged!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-mark_as_unchecked">mark_as_unchecked</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-mark_as_unmergable">mark_as_unmergable</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merge-21">merge!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merge_event">merge_event</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-merged-3F">merged?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-mr_and_commit_notes">mr_and_commit_notes</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-open-3F">open?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-probably_merged-3F">probably_merged?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-reload_code">reload_code</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-reloaded_commits">reloaded_commits</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-reloaded_diffs">reloaded_diffs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_diff">to_diff</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-to_patch">to_patch</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-unchecked-3F">unchecked?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-unmerged_commits">unmerged_commits</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-unmerged_diffs">unmerged_diffs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-valid_diffs-3F">valid_diffs?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-validate_branches">validate_branches</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="IssueCommonality.html">
+ IssueCommonality
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="Votes.html">
+ Votes
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">BROKEN_DIFF</td>
+ <td>=</td>
+ <td class="attr-value">&quot;--broken-diff&quot;</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">UNCHECKED</td>
+ <td>=</td>
+ <td class="attr-value">1</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">CAN_BE_MERGED</td>
+ <td>=</td>
+ <td class="attr-value">2</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">CANNOT_BE_MERGED</td>
+ <td>=</td>
+ <td class="attr-value">3</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>should_remove_source_branch</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_all_by_branch">
+
+ <b>find_all_by_branch</b>(branch_name)
+
+ <a href="../classes/MergeRequest.html#method-c-find_all_by_branch" name="method-c-find_all_by_branch" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_all_by_branch_source')" id="l_method-c-find_all_by_branch_source">show</a>
+
+ </p>
+ <div id="method-c-find_all_by_branch_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_all_by_milestone">
+
+ <b>find_all_by_milestone</b>(milestone)
+
+ <a href="../classes/MergeRequest.html#method-c-find_all_by_milestone" name="method-c-find_all_by_milestone" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_all_by_milestone_source')" id="l_method-c-find_all_by_milestone_source">show</a>
+
+ </p>
+ <div id="method-c-find_all_by_milestone_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">find_all_by_milestone</span>(<span class="ruby-identifier">milestone</span>)
+ <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;milestone_id = :milestone_id&quot;</span>, <span class="ruby-identifier">milestone_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">milestone</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-automerge-21">
+
+ <b>automerge!</b>(current_user)
+
+ <a href="../classes/MergeRequest.html#method-i-automerge-21" name="method-i-automerge-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-automerge-21_source')" id="l_method-i-automerge-21_source">show</a>
+
+ </p>
+ <div id="method-i-automerge-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 195</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">Satellite</span><span class="ruby-operator">::</span><span class="ruby-constant">MergeAction</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-keyword">self</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-broken_diffs-3F">
+
+ <b>broken_diffs?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-broken_diffs-3F" name="method-i-broken_diffs-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-broken_diffs-3F_source')" id="l_method-i-broken_diffs-3F_source">show</a>
+
+ </p>
+ <div id="method-i-broken_diffs-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_be_merged-3F">
+
+ <b>can_be_merged?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-can_be_merged-3F" name="method-i-can_be_merged-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_be_merged-3F_source')" id="l_method-i-can_be_merged-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_be_merged-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 84</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-check_if_can_be_merged">
+
+ <b>check_if_can_be_merged</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-check_if_can_be_merged" name="method-i-check_if_can_be_merged" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-check_if_can_be_merged_source')" id="l_method-i-check_if_can_be_merged_source">show</a>
+
+ </p>
+ <div id="method-i-check_if_can_be_merged_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 88</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">Satellite</span><span class="ruby-operator">::</span><span class="ruby-constant">MergeAction</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">author</span>, <span class="ruby-keyword">self</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-closed_event">
+
+ <b>closed_event</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-closed_event" name="method-i-closed_event" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-closed_event_source')" id="l_method-i-closed_event_source">show</a>
+
+ </p>
+ <div id="method-i-closed_event_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 140</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits">
+
+ <b>commits</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-commits" name="method-i-commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_source')" id="l_method-i-commits_source">show</a>
+
+ </p>
+ <div id="method-i-commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 144</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commits</span>
+ <span class="ruby-identifier">st_commits</span> <span class="ruby-operator">||</span> []
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-diffs">
+
+ <b>diffs</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-diffs" name="method-i-diffs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-diffs_source')" id="l_method-i-diffs_source">show</a>
+
+ </p>
+ <div id="method-i-diffs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 97</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">diffs</span>
+ <span class="ruby-identifier">st_diffs</span> <span class="ruby-operator">||</span> []
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-human_state">
+
+ <b>human_state</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-human_state" name="method-i-human_state" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-human_state_source')" id="l_method-i-human_state_source">show</a>
+
+ </p>
+ <div id="method-i-human_state_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_commit">
+
+ <b>last_commit</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-last_commit" name="method-i-last_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_commit_source')" id="l_method-i-last_commit_source">show</a>
+
+ </p>
+ <div id="method-i-last_commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 128</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">last_commit</span>
+ <span class="ruby-identifier">commits</span>.<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_commit_short_sha">
+
+ <b>last_commit_short_sha</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-last_commit_short_sha" name="method-i-last_commit_short_sha" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_commit_short_sha_source')" id="l_method-i-last_commit_short_sha_source">show</a>
+
+ </p>
+ <div id="method-i-last_commit_short_sha_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 224</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">last_commit_short_sha</span>
+ <span class="ruby-ivar">@last_commit_short_sha</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">sha</span>[<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-number">10</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mark_as_merged-21">
+
+ <b>mark_as_merged!</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-mark_as_merged-21" name="method-i-mark_as_merged-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mark_as_merged-21_source')" id="l_method-i-mark_as_merged-21_source">show</a>
+
+ </p>
+ <div id="method-i-mark_as_merged-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 157</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mark_as_unchecked">
+
+ <b>mark_as_unchecked</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-mark_as_unchecked" name="method-i-mark_as_unchecked" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mark_as_unchecked_source')" id="l_method-i-mark_as_unchecked_source">show</a>
+
+ </p>
+ <div id="method-i-mark_as_unchecked_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mark_as_unmergable">
+
+ <b>mark_as_unmergable</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-mark_as_unmergable" name="method-i-mark_as_unmergable" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mark_as_unmergable_source')" id="l_method-i-mark_as_unmergable_source">show</a>
+
+ </p>
+ <div id="method-i-mark_as_unmergable_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 163</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge-21">
+
+ <b>merge!</b>(user_id)
+
+ <a href="../classes/MergeRequest.html#method-i-merge-21" name="method-i-merge-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge-21_source')" id="l_method-i-merge-21_source">show</a>
+
+ </p>
+ <div id="method-i-merge-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 184</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_event">
+
+ <b>merge_event</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-merge_event" name="method-i-merge_event" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_event_source')" id="l_method-i-merge_event_source">show</a>
+
+ </p>
+ <div id="method-i-merge_event_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 136</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merged-3F">
+
+ <b>merged?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-merged-3F" name="method-i-merged-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merged-3F_source')" id="l_method-i-merged-3F_source">show</a>
+
+ </p>
+ <div id="method-i-merged-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 132</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mr_and_commit_notes">
+
+ <b>mr_and_commit_notes</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-mr_and_commit_notes" name="method-i-mr_and_commit_notes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mr_and_commit_notes_source')" id="l_method-i-mr_and_commit_notes_source">show</a>
+
+ </p>
+ <div id="method-i-mr_and_commit_notes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 205</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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 commit_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-open-3F">
+
+ <b>open?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-open-3F" name="method-i-open-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-open-3F_source')" id="l_method-i-open-3F_source">show</a>
+
+ </p>
+ <div id="method-i-open-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 153</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">open?</span>
+ <span class="ruby-operator">!</span><span class="ruby-identifier">closed</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-probably_merged-3F">
+
+ <b>probably_merged?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-probably_merged-3F" name="method-i-probably_merged-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-probably_merged-3F_source')" id="l_method-i-probably_merged-3F_source">show</a>
+
+ </p>
+ <div id="method-i-probably_merged-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 148</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reload_code">
+
+ <b>reload_code</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-reload_code" name="method-i-reload_code" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reload_code_source')" id="l_method-i-reload_code_source">show</a>
+
+ </p>
+ <div id="method-i-reload_code_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reloaded_commits">
+
+ <b>reloaded_commits</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-reloaded_commits" name="method-i-reloaded_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reloaded_commits_source')" id="l_method-i-reloaded_commits_source">show</a>
+
+ </p>
+ <div id="method-i-reloaded_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 168</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reloaded_diffs">
+
+ <b>reloaded_diffs</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-reloaded_diffs" name="method-i-reloaded_diffs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reloaded_diffs_source')" id="l_method-i-reloaded_diffs_source">show</a>
+
+ </p>
+ <div id="method-i-reloaded_diffs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 101</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_diff">
+
+ <b>to_diff</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-to_diff" name="method-i-to_diff" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns the raw diff for this merge request</p>
+
+<p>see “git diff”</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_diff_source')" id="l_method-i-to_diff_source">show</a>
+
+ </p>
+ <div id="method-i-to_diff_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 213</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_diff</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">:diff</span>, {<span class="ruby-identifier">timeout</span><span class="ruby-operator">:</span> <span class="ruby-number">30</span>, <span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-node">&quot;#{target_branch}...#{source_branch}&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_patch">
+
+ <b>to_patch</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-to_patch" name="method-i-to_patch" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns the commit as a series of email patches.</p>
+
+<p>see “git format-patch”</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_patch_source')" id="l_method-i-to_patch_source">show</a>
+
+ </p>
+ <div id="method-i-to_patch_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 220</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_patch</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">git</span>.<span class="ruby-identifier">format_patch</span>({<span class="ruby-identifier">timeout</span><span class="ruby-operator">:</span> <span class="ruby-number">30</span>, <span class="ruby-identifier">raise</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>, <span class="ruby-identifier">stdout</span><span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>}, <span class="ruby-node">&quot;#{target_branch}..#{source_branch}&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unchecked-3F">
+
+ <b>unchecked?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-unchecked-3F" name="method-i-unchecked-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unchecked-3F_source')" id="l_method-i-unchecked-3F_source">show</a>
+
+ </p>
+ <div id="method-i-unchecked-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 75</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unmerged_commits">
+
+ <b>unmerged_commits</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-unmerged_commits" name="method-i-unmerged_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unmerged_commits_source')" id="l_method-i-unmerged_commits_source">show</a>
+
+ </p>
+ <div id="method-i-unmerged_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 176</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-unmerged_diffs">
+
+ <b>unmerged_diffs</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-unmerged_diffs" name="method-i-unmerged_diffs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-unmerged_diffs_source')" id="l_method-i-unmerged_diffs_source">show</a>
+
+ </p>
+ <div id="method-i-unmerged_diffs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 120</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid_diffs-3F">
+
+ <b>valid_diffs?</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-valid_diffs-3F" name="method-i-valid_diffs-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid_diffs-3F_source')" id="l_method-i-valid_diffs-3F_source">show</a>
+
+ </p>
+ <div id="method-i-valid_diffs-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 116</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">valid_diffs?</span>
+ <span class="ruby-operator">!</span><span class="ruby-identifier">broken_diffs?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-validate_branches">
+
+ <b>validate_branches</b>()
+
+ <a href="../classes/MergeRequest.html#method-i-validate_branches" name="method-i-validate_branches" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-validate_branches_source')" id="l_method-i-validate_branches_source">show</a>
+
+ </p>
+ <div id="method-i-validate_branches_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/merge_request.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MergeRequestObserver.html b/doc/code/classes/MergeRequestObserver.html
new file mode 100644
index 00000000000..364e0346134
--- /dev/null
+++ b/doc/code/classes/MergeRequestObserver.html
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MergeRequestObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ MergeRequestObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/merge_request_observer_rb.html">app/observers/merge_request_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_update">after_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-send_reassigned_email">send_reassigned_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(merge_request)
+
+ <a href="../classes/MergeRequestObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_update">
+
+ <b>after_update</b>(merge_request)
+
+ <a href="../classes/MergeRequestObserver.html#method-i-after_update" name="method-i-after_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_update_source')" id="l_method-i-after_update_source">show</a>
+
+ </p>
+ <div id="method-i-after_update_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-send_reassigned_email">
+
+ <b>send_reassigned_email</b>(merge_request)
+
+ <a href="../classes/MergeRequestObserver.html#method-i-send_reassigned_email" name="method-i-send_reassigned_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-send_reassigned_email_source')" id="l_method-i-send_reassigned_email_source">show</a>
+
+ </p>
+ <div id="method-i-send_reassigned_email_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MergeRequestsController.html b/doc/code/classes/MergeRequestsController.html
new file mode 100644
index 00000000000..4cf181fa8d5
--- /dev/null
+++ b/doc/code/classes/MergeRequestsController.html
@@ -0,0 +1,932 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MergeRequestsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ MergeRequestsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/merge_requests_controller_rb.html">app/controllers/merge_requests_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authorize_admin_merge_request-21">authorize_admin_merge_request!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize_modify_merge_request-21">authorize_modify_merge_request!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-automerge">automerge</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-automerge_check">automerge_check</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-branch_from">branch_from</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-branch_to">branch_to</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ci_status">ci_status</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-define_show_vars">define_show_vars</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-diffs">diffs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-merge_request">merge_request</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-module_enabled">module_enabled</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-validates_merge_request">validates_merge_request</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-automerge">
+
+ <b>automerge</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-automerge" name="method-i-automerge" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-automerge_source')" id="l_method-i-automerge_source">show</a>
+
+ </p>
+ <div id="method-i-automerge_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-automerge_check">
+
+ <b>automerge_check</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-automerge_check" name="method-i-automerge_check" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-automerge_check_source')" id="l_method-i-automerge_check_source">show</a>
+
+ </p>
+ <div id="method-i-automerge_check_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branch_from">
+
+ <b>branch_from</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-branch_from" name="method-i-branch_from" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branch_from_source')" id="l_method-i-branch_from_source">show</a>
+
+ </p>
+ <div id="method-i-branch_from_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branch_to">
+
+ <b>branch_to</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-branch_to" name="method-i-branch_to" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branch_to_source')" id="l_method-i-branch_to_source">show</a>
+
+ </p>
+ <div id="method-i-branch_to_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ci_status">
+
+ <b>ci_status</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-ci_status" name="method-i-ci_status" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ci_status_source')" id="l_method-i-ci_status_source">show</a>
+
+ </p>
+ <div id="method-i-ci_status_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 95</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">ci_status</span>
+ <span class="ruby-identifier">status</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">gitlab_ci_service</span>.<span class="ruby-identifier">commit_status</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">sha</span>)
+ <span class="ruby-identifier">response</span> = { <span class="ruby-identifier">status</span><span class="ruby-operator">:</span> <span class="ruby-identifier">status</span> }
+
+ <span class="ruby-identifier">render</span> <span class="ruby-identifier">json</span><span class="ruby-operator">:</span> <span class="ruby-identifier">response</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-diffs">
+
+ <b>diffs</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-diffs" name="method-i-diffs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-diffs_source')" id="l_method-i-diffs_source">show</a>
+
+ </p>
+ <div id="method-i-diffs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">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-identifier">format</span>.<span class="ruby-identifier">diff</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">text</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">to_diff</span> }
+ <span class="ruby-identifier">format</span>.<span class="ruby-identifier">patch</span> { <span class="ruby-identifier">render</span> <span class="ruby-identifier">text</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@merge_request</span>.<span class="ruby-identifier">to_patch</span> }
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_admin_merge_request-21">
+
+ <b>authorize_admin_merge_request!</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-authorize_admin_merge_request-21" name="method-i-authorize_admin_merge_request-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_admin_merge_request-21_source')" id="l_method-i-authorize_admin_merge_request-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_admin_merge_request-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_modify_merge_request-21">
+
+ <b>authorize_modify_merge_request!</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-authorize_modify_merge_request-21" name="method-i-authorize_modify_merge_request-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_modify_merge_request-21_source')" id="l_method-i-authorize_modify_merge_request-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_modify_merge_request-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 108</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-define_show_vars">
+
+ <b>define_show_vars</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-define_show_vars" name="method-i-define_show_vars" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-define_show_vars_source')" id="l_method-i-define_show_vars_source">show</a>
+
+ </p>
+ <div id="method-i-define_show_vars_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-merge_request">
+
+ <b>merge_request</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-merge_request" name="method-i-merge_request" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-merge_request_source')" id="l_method-i-merge_request_source">show</a>
+
+ </p>
+ <div id="method-i-merge_request_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-module_enabled">
+
+ <b>module_enabled</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-module_enabled" name="method-i-module_enabled" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-module_enabled_source')" id="l_method-i-module_enabled_source">show</a>
+
+ </p>
+ <div id="method-i-module_enabled_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 116</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-validates_merge_request">
+
+ <b>validates_merge_request</b>()
+
+ <a href="../classes/MergeRequestsController.html#method-i-validates_merge_request" name="method-i-validates_merge_request" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-validates_merge_request_source')" id="l_method-i-validates_merge_request_source">show</a>
+
+ </p>
+ <div id="method-i-validates_merge_request_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/merge_requests_controller.rb, line 120</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MergeRequestsHelper.html b/doc/code/classes/MergeRequestsHelper.html
new file mode 100644
index 00000000000..33725cf7ac8
--- /dev/null
+++ b/doc/code/classes/MergeRequestsHelper.html
@@ -0,0 +1,229 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MergeRequestsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ MergeRequestsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/merge_requests_helper_rb.html">app/helpers/merge_requests_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ci_build_details_path">ci_build_details_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-mr_css_classes">mr_css_classes</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new_mr_path_from_push_event">new_mr_path_from_push_event</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ci_build_details_path">
+
+ <b>ci_build_details_path</b>(merge_request)
+
+ <a href="../classes/MergeRequestsHelper.html#method-i-ci_build_details_path" name="method-i-ci_build_details_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ci_build_details_path_source')" id="l_method-i-ci_build_details_path_source">show</a>
+
+ </p>
+ <div id="method-i-ci_build_details_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/merge_requests_helper.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">ci_build_details_path</span> <span class="ruby-identifier">merge_request</span>
+ <span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">gitlab_ci_service</span>.<span class="ruby-identifier">build_page</span>(<span class="ruby-identifier">merge_request</span>.<span class="ruby-identifier">last_commit</span>.<span class="ruby-identifier">sha</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mr_css_classes">
+
+ <b>mr_css_classes</b>(mr)
+
+ <a href="../classes/MergeRequestsHelper.html#method-i-mr_css_classes" name="method-i-mr_css_classes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mr_css_classes_source')" id="l_method-i-mr_css_classes_source">show</a>
+
+ </p>
+ <div id="method-i-mr_css_classes_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_mr_path_from_push_event">
+
+ <b>new_mr_path_from_push_event</b>(event)
+
+ <a href="../classes/MergeRequestsHelper.html#method-i-new_mr_path_from_push_event" name="method-i-new_mr_path_from_push_event" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_mr_path_from_push_event_source')" id="l_method-i-new_mr_path_from_push_event_source">show</a>
+
+ </p>
+ <div id="method-i-new_mr_path_from_push_event_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MergeRequestsLoadContext.html b/doc/code/classes/MergeRequestsLoadContext.html
new file mode 100644
index 00000000000..5e2501c70b5
--- /dev/null
+++ b/doc/code/classes/MergeRequestsLoadContext.html
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MergeRequestsLoadContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ MergeRequestsLoadContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/merge_requests_load_context_rb.html">app/contexts/merge_requests_load_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Build collection of Merge Requests based on filtering passed via params for
+@project</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/MergeRequestsLoadContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/merge_requests_load_context.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">merge_requests</span> = <span class="ruby-identifier">merge_requests</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-number">20</span>)
+ <span class="ruby-identifier">merge_requests</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-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-identifier">merge_requests</span> = <span class="ruby-identifier">merge_requests</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-identifier">merge_requests</span> = <span class="ruby-identifier">merge_requests</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-identifier">merge_requests</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Milestone.html b/doc/code/classes/Milestone.html
new file mode 100644
index 00000000000..5f275210da1
--- /dev/null
+++ b/doc/code/classes/Milestone.html
@@ -0,0 +1,616 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Milestone</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Milestone
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/milestone_rb.html">app/models/milestone.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: milestones</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-author_id">author_id</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-can_be_closed-3F">can_be_closed?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-closed_items_count">closed_items_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-expired-3F">expired?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-expires_at">expires_at</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-is_empty-3F">is_empty?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-open-3F">open?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-open_items_count">open_items_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-participants">participants</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-percent_complete">percent_complete</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-total_items_count">total_items_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>author_id_of_changes</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-author_id">
+
+ <b>author_id</b>()
+
+ <a href="../classes/Milestone.html#method-i-author_id" name="method-i-author_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-author_id_source')" id="l_method-i-author_id_source">show</a>
+
+ </p>
+ <div id="method-i-author_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">author_id</span>
+ <span class="ruby-identifier">author_id_of_changes</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-can_be_closed-3F">
+
+ <b>can_be_closed?</b>()
+
+ <a href="../classes/Milestone.html#method-i-can_be_closed-3F" name="method-i-can_be_closed-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-can_be_closed-3F_source')" id="l_method-i-can_be_closed-3F_source">show</a>
+
+ </p>
+ <div id="method-i-can_be_closed-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">can_be_closed?</span>
+ <span class="ruby-identifier">open?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">issues</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">zero?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-closed_items_count">
+
+ <b>closed_items_count</b>()
+
+ <a href="../classes/Milestone.html#method-i-closed_items_count" name="method-i-closed_items_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-closed_items_count_source')" id="l_method-i-closed_items_count_source">show</a>
+
+ </p>
+ <div id="method-i-closed_items_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">closed_items_count</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-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">closed</span>.<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-expired-3F">
+
+ <b>expired?</b>()
+
+ <a href="../classes/Milestone.html#method-i-expired-3F" name="method-i-expired-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-expired-3F_source')" id="l_method-i-expired-3F_source">show</a>
+
+ </p>
+ <div id="method-i-expired-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">expired?</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">due_date</span>
+ <span class="ruby-identifier">due_date</span>.<span class="ruby-identifier">past?</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-expires_at">
+
+ <b>expires_at</b>()
+
+ <a href="../classes/Milestone.html#method-i-expires_at" name="method-i-expires_at" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-expires_at_source')" id="l_method-i-expires_at_source">show</a>
+
+ </p>
+ <div id="method-i-expires_at_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 60</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">expires_at</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">due_date</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">due_date</span>.<span class="ruby-identifier">past?</span>
+ <span class="ruby-node">&quot;expired at #{due_date.stamp(&quot;Aug 21, 2011&quot;)}&quot;</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-node">&quot;expires at #{due_date.stamp(&quot;Aug 21, 2011&quot;)}&quot;</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_empty-3F">
+
+ <b>is_empty?</b>()
+
+ <a href="../classes/Milestone.html#method-i-is_empty-3F" name="method-i-is_empty-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_empty-3F_source')" id="l_method-i-is_empty-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_empty-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">is_empty?</span>
+ <span class="ruby-identifier">total_items_count</span>.<span class="ruby-identifier">zero?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-open-3F">
+
+ <b>open?</b>()
+
+ <a href="../classes/Milestone.html#method-i-open-3F" name="method-i-open-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-open-3F_source')" id="l_method-i-open-3F_source">show</a>
+
+ </p>
+ <div id="method-i-open-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 78</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">open?</span>
+ <span class="ruby-operator">!</span><span class="ruby-identifier">closed</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-open_items_count">
+
+ <b>open_items_count</b>()
+
+ <a href="../classes/Milestone.html#method-i-open_items_count" name="method-i-open_items_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-open_items_count_source')" id="l_method-i-open_items_count_source">show</a>
+
+ </p>
+ <div id="method-i-open_items_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 42</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">open_items_count</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">opened</span>.<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-participants">
+
+ <b>participants</b>()
+
+ <a href="../classes/Milestone.html#method-i-participants" name="method-i-participants" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-participants_source')" id="l_method-i-participants_source">show</a>
+
+ </p>
+ <div id="method-i-participants_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-percent_complete">
+
+ <b>percent_complete</b>()
+
+ <a href="../classes/Milestone.html#method-i-percent_complete" name="method-i-percent_complete" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-percent_complete_source')" id="l_method-i-percent_complete_source">show</a>
+
+ </p>
+ <div id="method-i-percent_complete_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">percent_complete</span>
+ ((<span class="ruby-identifier">closed_items_count</span> * <span class="ruby-number">100</span>) <span class="ruby-operator">/</span> <span class="ruby-identifier">total_items_count</span>).<span class="ruby-identifier">abs</span>
+<span class="ruby-keyword">rescue</span> <span class="ruby-constant">ZeroDivisionError</span>
+ <span class="ruby-number">100</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-total_items_count">
+
+ <b>total_items_count</b>()
+
+ <a href="../classes/Milestone.html#method-i-total_items_count" name="method-i-total_items_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-total_items_count_source')" id="l_method-i-total_items_count_source">show</a>
+
+ </p>
+ <div id="method-i-total_items_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/milestone.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">total_items_count</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">issues</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">+</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">merge_requests</span>.<span class="ruby-identifier">count</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/MilestonesController.html b/doc/code/classes/MilestonesController.html
new file mode 100644
index 00000000000..48a3beb66a1
--- /dev/null
+++ b/doc/code/classes/MilestonesController.html
@@ -0,0 +1,589 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>MilestonesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ MilestonesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/milestones_controller_rb.html">app/controllers/milestones_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authorize_admin_milestone-21">authorize_admin_milestone!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-milestone">milestone</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-module_enabled">module_enabled</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-ivar">@milestone</span>.<span class="ruby-identifier">author_id_of_changes</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">id</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+ <span class="ruby-identifier">respond_with</span>(<span class="ruby-ivar">@milestone</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">order</span>(<span class="ruby-string">&quot;closed, due_date DESC&quot;</span>)
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'closed'</span>; <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">milestones</span>.<span class="ruby-identifier">closed</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">&quot;due_date DESC&quot;</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-identifier">order</span>(<span class="ruby-string">&quot;due_date ASC&quot;</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-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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-constant">UserDecorator</span>.<span class="ruby-identifier">decorate</span>(<span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">participants</span>)
+ <span class="ruby-ivar">@merge_requests</span> = <span class="ruby-ivar">@milestone</span>.<span class="ruby-identifier">merge_requests</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">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">@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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_admin_milestone-21">
+
+ <b>authorize_admin_milestone!</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-authorize_admin_milestone-21" name="method-i-authorize_admin_milestone-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_admin_milestone-21_source')" id="l_method-i-authorize_admin_milestone-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_admin_milestone-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 87</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-milestone">
+
+ <b>milestone</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-milestone" name="method-i-milestone" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-milestone_source')" id="l_method-i-milestone_source">show</a>
+
+ </p>
+ <div id="method-i-milestone_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 83</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-module_enabled">
+
+ <b>module_enabled</b>()
+
+ <a href="../classes/MilestonesController.html#method-i-module_enabled" name="method-i-module_enabled" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-module_enabled_source')" id="l_method-i-module_enabled_source">show</a>
+
+ </p>
+ <div id="method-i-module_enabled_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/milestones_controller.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Namespace.html b/doc/code/classes/Namespace.html
new file mode 100644
index 00000000000..02c9b7e44ed
--- /dev/null
+++ b/doc/code/classes/Namespace.html
@@ -0,0 +1,629 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Namespace</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Namespace
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/namespace_rb.html">app/models/namespace.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: namespaces</p>
+
+<pre>id :integer not null, primary key
+name :string(255) not null
+path :string(255) not null
+owner_id :integer not null
+created_at :datetime not null
+updated_at :datetime not null
+type :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-dir_exists-3F">dir_exists?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ensure_dir_exist">ensure_dir_exist</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-global_id">global_id</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-human_name">human_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-move_dir">move_dir</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-namespace_full_path">namespace_full_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-rm_dir">rm_dir</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-search">search</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-send_update_instructions">send_update_instructions</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_param">to_param</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_gitolite">update_gitolite</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-global_id">
+
+ <b>global_id</b>()
+
+ <a href="../classes/Namespace.html#method-c-global_id" name="method-c-global_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-global_id_source')" id="l_method-c-global_id_source">show</a>
+
+ </p>
+ <div id="method-c-global_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">global_id</span>
+ <span class="ruby-string">'GLN'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-search">
+
+ <b>search</b>(query)
+
+ <a href="../classes/Namespace.html#method-c-search" name="method-c-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-search_source')" id="l_method-c-search_source">show</a>
+
+ </p>
+ <div id="method-c-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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 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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-dir_exists-3F">
+
+ <b>dir_exists?</b>()
+
+ <a href="../classes/Namespace.html#method-i-dir_exists-3F" name="method-i-dir_exists-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-dir_exists-3F_source')" id="l_method-i-dir_exists-3F_source">show</a>
+
+ </p>
+ <div id="method-i-dir_exists-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">dir_exists?</span>
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">namespace_full_path</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ensure_dir_exist">
+
+ <b>ensure_dir_exist</b>()
+
+ <a href="../classes/Namespace.html#method-i-ensure_dir_exist" name="method-i-ensure_dir_exist" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ensure_dir_exist_source')" id="l_method-i-ensure_dir_exist_source">show</a>
+
+ </p>
+ <div id="method-i-ensure_dir_exist_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">ensure_dir_exist</span>
+ <span class="ruby-keyword">unless</span> <span class="ruby-identifier">dir_exists?</span>
+ <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;mkdir -m 770 #{namespace_full_path}&quot;</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-human_name">
+
+ <b>human_name</b>()
+
+ <a href="../classes/Namespace.html#method-i-human_name" name="method-i-human_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-human_name_source')" id="l_method-i-human_name_source">show</a>
+
+ </p>
+ <div id="method-i-human_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">human_name</span>
+ <span class="ruby-identifier">owner_name</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-move_dir">
+
+ <b>move_dir</b>()
+
+ <a href="../classes/Namespace.html#method-i-move_dir" name="method-i-move_dir" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-move_dir_source')" id="l_method-i-move_dir_source">show</a>
+
+ </p>
+ <div id="method-i-move_dir_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">move_dir</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">path_changed?</span>
+ <span class="ruby-identifier">old_path</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">path_was</span>)
+ <span class="ruby-identifier">new_path</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">path</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">new_path</span>)
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Already exists&quot;</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;mv #{old_path} #{new_path}&quot;</span>)
+ <span class="ruby-identifier">send_update_instructions</span>
+ <span class="ruby-ivar">@require_update_gitolite</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Namespace move error #{old_path} #{new_path}&quot;</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespace_full_path">
+
+ <b>namespace_full_path</b>()
+
+ <a href="../classes/Namespace.html#method-i-namespace_full_path" name="method-i-namespace_full_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespace_full_path_source')" id="l_method-i-namespace_full_path_source">show</a>
+
+ </p>
+ <div id="method-i-namespace_full_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespace_full_path</span>
+ <span class="ruby-ivar">@namespace_full_path</span> <span class="ruby-operator">||=</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">path</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-rm_dir">
+
+ <b>rm_dir</b>()
+
+ <a href="../classes/Namespace.html#method-i-rm_dir" name="method-i-rm_dir" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-rm_dir_source')" id="l_method-i-rm_dir_source">show</a>
+
+ </p>
+ <div id="method-i-rm_dir_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">rm_dir</span>
+ <span class="ruby-identifier">dir_path</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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-identifier">path</span>)
+ <span class="ruby-identifier">system</span>(<span class="ruby-node">&quot;rm -rf #{dir_path}&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-send_update_instructions">
+
+ <b>send_update_instructions</b>()
+
+ <a href="../classes/Namespace.html#method-i-send_update_instructions" name="method-i-send_update_instructions" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-send_update_instructions_source')" id="l_method-i-send_update_instructions_source">show</a>
+
+ </p>
+ <div id="method-i-send_update_instructions_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 94</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">send_update_instructions</span>
+ <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">each</span>(&amp;<span class="ruby-value">:send_move_instructions</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_param">
+
+ <b>to_param</b>()
+
+ <a href="../classes/Namespace.html#method-i-to_param" name="method-i-to_param" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_param_source')" id="l_method-i-to_param_source">show</a>
+
+ </p>
+ <div id="method-i-to_param_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_param</span>
+ <span class="ruby-identifier">path</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_gitolite">
+
+ <b>update_gitolite</b>()
+
+ <a href="../classes/Namespace.html#method-i-update_gitolite" name="method-i-update_gitolite" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_gitolite_source')" id="l_method-i-update_gitolite_source">show</a>
+
+ </p>
+ <div id="method-i-update_gitolite_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/namespace.rb, line 84</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_gitolite</span>
+ <span class="ruby-ivar">@require_update_gitolite</span> = <span class="ruby-keyword">false</span>
+ <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">each</span>(&amp;<span class="ruby-value">:update_repository</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NamespacedProject.html b/doc/code/classes/NamespacedProject.html
new file mode 100644
index 00000000000..976338e8810
--- /dev/null
+++ b/doc/code/classes/NamespacedProject.html
@@ -0,0 +1,344 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NamespacedProject</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ NamespacedProject
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/namespaced_project_rb.html">app/roles/namespaced_project.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-chief">chief</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-name_with_namespace">name_with_namespace</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-namespace_owner">namespace_owner</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-path_with_namespace">path_with_namespace</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-transfer">transfer</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-chief">
+
+ <b>chief</b>()
+
+ <a href="../classes/NamespacedProject.html#method-i-chief" name="method-i-chief" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-chief_source')" id="l_method-i-chief_source">show</a>
+
+ </p>
+ <div id="method-i-chief_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/namespaced_project.rb, line 44</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">chief</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">namespace_owner</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">owner</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-name_with_namespace">
+
+ <b>name_with_namespace</b>()
+
+ <a href="../classes/NamespacedProject.html#method-i-name_with_namespace" name="method-i-name_with_namespace" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-name_with_namespace_source')" id="l_method-i-name_with_namespace_source">show</a>
+
+ </p>
+ <div id="method-i-name_with_namespace_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/namespaced_project.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">name_with_namespace</span>
+ <span class="ruby-ivar">@name_with_namespace</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">human_name</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot; / &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">name</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespace_owner">
+
+ <b>namespace_owner</b>()
+
+ <a href="../classes/NamespacedProject.html#method-i-namespace_owner" name="method-i-namespace_owner" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespace_owner_source')" id="l_method-i-namespace_owner_source">show</a>
+
+ </p>
+ <div id="method-i-namespace_owner_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/namespaced_project.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespace_owner</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:owner</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-path_with_namespace">
+
+ <b>path_with_namespace</b>()
+
+ <a href="../classes/NamespacedProject.html#method-i-path_with_namespace" name="method-i-path_with_namespace" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-path_with_namespace_source')" id="l_method-i-path_with_namespace_source">show</a>
+
+ </p>
+ <div id="method-i-path_with_namespace_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/namespaced_project.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">path_with_namespace</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">path</span> <span class="ruby-operator">+</span> <span class="ruby-string">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">path</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">path</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-transfer">
+
+ <b>transfer</b>(new_namespace)
+
+ <a href="../classes/NamespacedProject.html#method-i-transfer" name="method-i-transfer" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-transfer_source')" id="l_method-i-transfer_source">show</a>
+
+ </p>
+ <div id="method-i-transfer_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/namespaced_project.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">transfer</span>(<span class="ruby-identifier">new_namespace</span>)
+ <span class="ruby-constant">Project</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">old_namespace</span> = <span class="ruby-identifier">namespace</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">namespace</span> = <span class="ruby-identifier">new_namespace</span>
+
+ <span class="ruby-identifier">old_dir</span> = <span class="ruby-identifier">old_namespace</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:path</span>) <span class="ruby-operator">||</span> <span class="ruby-string">''</span>
+ <span class="ruby-identifier">new_dir</span> = <span class="ruby-identifier">new_namespace</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:path</span>) <span class="ruby-operator">||</span> <span class="ruby-string">''</span>
+
+ <span class="ruby-identifier">old_repo</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">old_dir</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">old_dir</span>, <span class="ruby-keyword">self</span>.<span class="ruby-identifier">path</span>)
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">path</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-constant">Project</span>.<span class="ruby-identifier">where</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">namespace_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">new_namespace</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:id</span>)).<span class="ruby-identifier">present?</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">TransferError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;Project with same path in target namespace already exists&quot;</span>)
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">ProjectMover</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">old_dir</span>, <span class="ruby-identifier">new_dir</span>).<span class="ruby-identifier">execute</span>
+
+ <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">move_repository</span>(<span class="ruby-identifier">old_repo</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">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">ProjectMover</span><span class="ruby-operator">::</span><span class="ruby-constant">ProjectMoveError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">Project</span><span class="ruby-operator">::</span><span class="ruby-constant">TransferError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ex</span>.<span class="ruby-identifier">message</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NamespacesHelper.html b/doc/code/classes/NamespacesHelper.html
new file mode 100644
index 00000000000..28d485d9ffb
--- /dev/null
+++ b/doc/code/classes/NamespacesHelper.html
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NamespacesHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ NamespacesHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/namespaces_helper_rb.html">app/helpers/namespaces_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-namespaces_options">namespaces_options</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespaces_options">
+
+ <b>namespaces_options</b>(selected = :current_user, scope = :default)
+
+ <a href="../classes/NamespacesHelper.html#method-i-namespaces_options" name="method-i-namespaces_options" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespaces_options_source')" id="l_method-i-namespaces_options_source">show</a>
+
+ </p>
+ <div id="method-i-namespaces_options_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/namespaces_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespaces_options</span>(<span class="ruby-identifier">selected</span> = <span class="ruby-value">:current_user</span>, <span class="ruby-identifier">scope</span> = <span class="ruby-value">:default</span>)
+ <span class="ruby-identifier">groups</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">namespaces</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'Group'</span>}
+
+ <span class="ruby-identifier">users</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">scope</span> <span class="ruby-operator">==</span> <span class="ruby-value">:all</span>
+ <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">root</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">namespaces</span>.<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'Group'</span>}
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">global_opts</span> = [<span class="ruby-string">&quot;Global&quot;</span>, [[<span class="ruby-string">'/'</span>, <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">global_id</span>]] ]
+ <span class="ruby-identifier">group_opts</span> = [<span class="ruby-string">&quot;Groups&quot;</span>, <span class="ruby-identifier">groups</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">g</span><span class="ruby-operator">|</span> [<span class="ruby-identifier">g</span>.<span class="ruby-identifier">human_name</span>, <span class="ruby-identifier">g</span>.<span class="ruby-identifier">id</span>]} ]
+ <span class="ruby-identifier">users_opts</span> = [ <span class="ruby-string">&quot;Users&quot;</span>, <span class="ruby-identifier">users</span>.<span class="ruby-identifier">map</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">human_name</span>, <span class="ruby-identifier">u</span>.<span class="ruby-identifier">id</span>]} ]
+
+ <span class="ruby-identifier">options</span> = []
+ <span class="ruby-identifier">options</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">global_opts</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">admin</span>
+ <span class="ruby-identifier">options</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">group_opts</span>
+ <span class="ruby-identifier">options</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">users_opts</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">selected</span> <span class="ruby-operator">==</span> <span class="ruby-value">:current_user</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">selected</span> = <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">id</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-identifier">selected</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Note.html b/doc/code/classes/Note.html
new file mode 100644
index 00000000000..4ec1c4dcf79
--- /dev/null
+++ b/doc/code/classes/Note.html
@@ -0,0 +1,536 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Note</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Note
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/note_rb.html">app/models/note.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit_author">commit_author</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-create_status_change_note">create_status_change_note</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-downvote-3F">downvote?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-for_commit-3F">for_commit?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-for_diff_line-3F">for_diff_line?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-noteable">noteable</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-noteable_type_name">noteable_type_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-notify_only_author-3F">notify_only_author?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-upvote-3F">upvote?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>notify</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>notify_author</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-create_status_change_note">
+
+ <b>create_status_change_note</b>(noteable, author, status)
+
+ <a href="../classes/Note.html#method-c-create_status_change_note" name="method-c-create_status_change_note" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-create_status_change_note_source')" id="l_method-c-create_status_change_note_source">show</a>
+
+ </p>
+ <div id="method-c-create_status_change_note_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_author">
+
+ <b>commit_author</b>()
+
+ <a href="../classes/Note.html#method-i-commit_author" name="method-i-commit_author" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_author_source')" id="l_method-i-commit_author_source">show</a>
+
+ </p>
+ <div id="method-i-commit_author_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 109</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-downvote-3F">
+
+ <b>downvote?</b>()
+
+ <a href="../classes/Note.html#method-i-downvote-3F" name="method-i-downvote-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns true if this is a downvote note, otherwise false is returned</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-downvote-3F_source')" id="l_method-i-downvote-3F_source">show</a>
+
+ </p>
+ <div id="method-i-downvote-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 125</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-for_commit-3F">
+
+ <b>for_commit?</b>()
+
+ <a href="../classes/Note.html#method-i-for_commit-3F" name="method-i-for_commit-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-for_commit-3F_source')" id="l_method-i-for_commit-3F_source">show</a>
+
+ </p>
+ <div id="method-i-for_commit-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 101</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-for_diff_line-3F">
+
+ <b>for_diff_line?</b>()
+
+ <a href="../classes/Note.html#method-i-for_diff_line-3F" name="method-i-for_diff_line-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-for_diff_line-3F_source')" id="l_method-i-for_diff_line-3F_source">show</a>
+
+ </p>
+ <div id="method-i-for_diff_line-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 105</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-noteable">
+
+ <b>noteable</b>()
+
+ <a href="../classes/Note.html#method-i-noteable" name="method-i-noteable" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>override to return commits, which are not active record</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-noteable_source')" id="l_method-i-noteable_source">show</a>
+
+ </p>
+ <div id="method-i-noteable_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 71</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">commit_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-noteable_type_name">
+
+ <b>noteable_type_name</b>()
+
+ <a href="../classes/Note.html#method-i-noteable_type_name" name="method-i-noteable_type_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-noteable_type_name_source')" id="l_method-i-noteable_type_name_source">show</a>
+
+ </p>
+ <div id="method-i-noteable_type_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">noteable_type_name</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">noteable_type</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-identifier">noteable_type</span>.<span class="ruby-identifier">downcase</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-string">&quot;wall&quot;</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-notify_only_author-3F">
+
+ <b>notify_only_author?</b>(user)
+
+ <a href="../classes/Note.html#method-i-notify_only_author-3F" name="method-i-notify_only_author-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-notify_only_author-3F_source')" id="l_method-i-notify_only_author-3F_source">show</a>
+
+ </p>
+ <div id="method-i-notify_only_author-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 96</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-upvote-3F">
+
+ <b>upvote?</b>()
+
+ <a href="../classes/Note.html#method-i-upvote-3F" name="method-i-upvote-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns true if this is an upvote note, otherwise false is returned</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-upvote-3F_source')" id="l_method-i-upvote-3F_source">show</a>
+
+ </p>
+ <div id="method-i-upvote-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/note.rb, line 119</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NoteEvent.html b/doc/code/classes/NoteEvent.html
new file mode 100644
index 00000000000..0817d17018a
--- /dev/null
+++ b/doc/code/classes/NoteEvent.html
@@ -0,0 +1,380 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NoteEvent</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ NoteEvent
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/note_event_rb.html">app/roles/note_event.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-note_commit-3F">note_commit?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_commit_id">note_commit_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_short_commit_id">note_short_commit_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_target">note_target</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_target_id">note_target_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_target_type">note_target_type</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-wall_note-3F">wall_note?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_commit-3F">
+
+ <b>note_commit?</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_commit-3F" name="method-i-note_commit-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_commit-3F_source')" id="l_method-i-note_commit-3F_source">show</a>
+
+ </p>
+ <div id="method-i-note_commit-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_commit?</span>
+ <span class="ruby-identifier">target</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_commit_id">
+
+ <b>note_commit_id</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_commit_id" name="method-i-note_commit_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_commit_id_source')" id="l_method-i-note_commit_id_source">show</a>
+
+ </p>
+ <div id="method-i-note_commit_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_commit_id</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">commit_id</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_short_commit_id">
+
+ <b>note_short_commit_id</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_short_commit_id" name="method-i-note_short_commit_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_short_commit_id_source')" id="l_method-i-note_short_commit_id_source">show</a>
+
+ </p>
+ <div id="method-i-note_short_commit_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_short_commit_id</span>
+ <span class="ruby-identifier">note_commit_id</span>[<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-number">8</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_target">
+
+ <b>note_target</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_target" name="method-i-note_target" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_target_source')" id="l_method-i-note_target_source">show</a>
+
+ </p>
+ <div id="method-i-note_target_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_target</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">noteable</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_target_id">
+
+ <b>note_target_id</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_target_id" name="method-i-note_target_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_target_id_source')" id="l_method-i-note_target_id_source">show</a>
+
+ </p>
+ <div id="method-i-note_target_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_target_id</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">note_commit?</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">commit_id</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">noteable_id</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_target_type">
+
+ <b>note_target_type</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-note_target_type" name="method-i-note_target_type" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_target_type_source')" id="l_method-i-note_target_type_source">show</a>
+
+ </p>
+ <div id="method-i-note_target_type_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">note_target_type</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">target</span>.<span class="ruby-identifier">noteable_type</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">noteable_type</span>.<span class="ruby-identifier">titleize</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-string">&quot;Wall&quot;</span>
+ <span class="ruby-keyword">end</span>.<span class="ruby-identifier">downcase</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-wall_note-3F">
+
+ <b>wall_note?</b>()
+
+ <a href="../classes/NoteEvent.html#method-i-wall_note-3F" name="method-i-wall_note-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-wall_note-3F_source')" id="l_method-i-wall_note-3F_source">show</a>
+
+ </p>
+ <div id="method-i-wall_note-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/note_event.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">wall_note?</span>
+ <span class="ruby-identifier">target</span>.<span class="ruby-identifier">noteable_type</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NoteObserver.html b/doc/code/classes/NoteObserver.html
new file mode 100644
index 00000000000..cc0e5156c44
--- /dev/null
+++ b/doc/code/classes/NoteObserver.html
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NoteObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ NoteObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/note_observer_rb.html">app/observers/note_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-notify_team">notify_team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-send_notify_mails">send_notify_mails</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-team_without_note_author">team_without_note_author</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(note)
+
+ <a href="../classes/NoteObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-notify_team">
+
+ <b>notify_team</b>(note)
+
+ <a href="../classes/NoteObserver.html#method-i-notify_team" name="method-i-notify_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Notifies the whole team except the author of note</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-notify_team_source')" id="l_method-i-notify_team_source">show</a>
+
+ </p>
+ <div id="method-i-notify_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">presence</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-send_notify_mails">
+
+ <b>send_notify_mails</b>(note)
+
+ <a href="../classes/NoteObserver.html#method-i-send_notify_mails" name="method-i-send_notify_mails" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-send_notify_mails_source')" id="l_method-i-send_notify_mails_source">show</a>
+
+ </p>
+ <div id="method-i-send_notify_mails_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_without_note_author">
+
+ <b>team_without_note_author</b>(note)
+
+ <a href="../classes/NoteObserver.html#method-i-team_without_note_author" name="method-i-team_without_note_author" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_without_note_author_source')" id="l_method-i-team_without_note_author_source">show</a>
+
+ </p>
+ <div id="method-i-team_without_note_author_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/note_observer.rb, line 34</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Notes.html b/doc/code/classes/Notes.html
new file mode 100644
index 00000000000..19b8dd389e4
--- /dev/null
+++ b/doc/code/classes/Notes.html
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Notes</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Notes
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/notes/create_context_rb.html">app/contexts/notes/create_context.rb</a></li>
+
+ <li><a href="../files/app/contexts/notes/load_context_rb.html">app/contexts/notes/load_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Notes/CreateContext.html">Notes::CreateContext</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Notes/LoadContext.html">Notes::LoadContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Notes/CreateContext.html b/doc/code/classes/Notes/CreateContext.html
new file mode 100644
index 00000000000..adb3a46fab5
--- /dev/null
+++ b/doc/code/classes/Notes/CreateContext.html
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Notes::CreateContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Notes::CreateContext
+
+ <span class="parent">&lt;
+
+ <a href="../BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/contexts/notes/create_context_rb.html">app/contexts/notes/create_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../../classes/Notes/CreateContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Notes/LoadContext.html b/doc/code/classes/Notes/LoadContext.html
new file mode 100644
index 00000000000..24731bc4e7d
--- /dev/null
+++ b/doc/code/classes/Notes/LoadContext.html
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Notes::LoadContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Notes::LoadContext
+
+ <span class="parent">&lt;
+
+ <a href="../BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/contexts/notes/load_context_rb.html">app/contexts/notes/load_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../../classes/Notes/LoadContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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-number">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-number">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-number">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-number">50</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NotesController.html b/doc/code/classes/NotesController.html
new file mode 100644
index 00000000000..12cc98fa06f
--- /dev/null
+++ b/doc/code/classes/NotesController.html
@@ -0,0 +1,338 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NotesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ NotesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/notes_controller_rb.html">app/controllers/notes_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-notes">notes</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-preview">preview</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/NotesController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/NotesController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/NotesController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-preview">
+
+ <b>preview</b>()
+
+ <a href="../classes/NotesController.html#method-i-preview" name="method-i-preview" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-preview_source')" id="l_method-i-preview_source">show</a>
+
+ </p>
+ <div id="method-i-preview_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 37</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-notes">
+
+ <b>notes</b>()
+
+ <a href="../classes/NotesController.html#method-i-notes" name="method-i-notes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-notes_source')" id="l_method-i-notes_source">show</a>
+
+ </p>
+ <div id="method-i-notes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/notes_controller.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/NotesHelper.html b/doc/code/classes/NotesHelper.html
new file mode 100644
index 00000000000..39ff67948c7
--- /dev/null
+++ b/doc/code/classes/NotesHelper.html
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>NotesHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ NotesHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/notes_helper_rb.html">app/helpers/notes_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-link_to_commit_diff_line_note">link_to_commit_diff_line_note</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-loading_more_notes-3F">loading_more_notes?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-loading_new_notes-3F">loading_new_notes?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-note_for_main_target-3F">note_for_main_target?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_to_commit_diff_line_note">
+
+ <b>link_to_commit_diff_line_note</b>(note)
+
+ <a href="../classes/NotesHelper.html#method-i-link_to_commit_diff_line_note" name="method-i-link_to_commit_diff_line_note" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_to_commit_diff_line_note_source')" id="l_method-i-link_to_commit_diff_line_note_source">show</a>
+
+ </p>
+ <div id="method-i-link_to_commit_diff_line_note_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-loading_more_notes-3F">
+
+ <b>loading_more_notes?</b>()
+
+ <a href="../classes/NotesHelper.html#method-i-loading_more_notes-3F" name="method-i-loading_more_notes-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-loading_more_notes-3F_source')" id="l_method-i-loading_more_notes-3F_source">show</a>
+
+ </p>
+ <div id="method-i-loading_more_notes-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-loading_new_notes-3F">
+
+ <b>loading_new_notes?</b>()
+
+ <a href="../classes/NotesHelper.html#method-i-loading_new_notes-3F" name="method-i-loading_new_notes-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-loading_new_notes-3F_source')" id="l_method-i-loading_new_notes-3F_source">show</a>
+
+ </p>
+ <div id="method-i-loading_new_notes-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_for_main_target-3F">
+
+ <b>note_for_main_target?</b>(note)
+
+ <a href="../classes/NotesHelper.html#method-i-note_for_main_target-3F" name="method-i-note_for_main_target-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Helps to distinguish e.g. commit notes in mr notes list</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_for_main_target-3F_source')" id="l_method-i-note_for_main_target-3F_source">show</a>
+
+ </p>
+ <div id="method-i-note_for_main_target-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/notes_helper.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Notify.html b/doc/code/classes/Notify.html
new file mode 100644
index 00000000000..ea7403812a6
--- /dev/null
+++ b/doc/code/classes/Notify.html
@@ -0,0 +1,639 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Notify</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Notify
+
+ <span class="parent">&lt;
+
+ ActionMailer::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/mailers/notify_rb.html">app/mailers/notify.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-issue_status_changed_email">issue_status_changed_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new_issue_email">new_issue_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-new_merge_request_email">new_merge_request_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-new_user_email">new_user_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_commit_email">note_commit_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_issue_email">note_issue_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_merge_request_email">note_merge_request_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-note_wall_email">note_wall_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_access_granted_email">project_access_granted_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-project_was_moved_email">project_was_moved_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-reassigned_issue_email">reassigned_issue_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-reassigned_merge_request_email">reassigned_merge_request_email</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ Resque::Mailer
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issue_status_changed_email">
+
+ <b>issue_status_changed_email</b>(recipient_id, issue_id, status, updated_by_user_id)
+
+ <a href="../classes/Notify.html#method-i-issue_status_changed_email" name="method-i-issue_status_changed_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issue_status_changed_email_source')" id="l_method-i-issue_status_changed_email_source">show</a>
+
+ </p>
+ <div id="method-i-issue_status_changed_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">@project</span> = <span class="ruby-ivar">@issue</span>.<span class="ruby-identifier">project</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_issue_email">
+
+ <b>new_issue_email</b>(issue_id)
+
+ <a href="../classes/Notify.html#method-i-new_issue_email" name="method-i-new_issue_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p><a href="Issue.html">Issue</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_issue_email_source')" id="l_method-i-new_issue_email_source">show</a>
+
+ </p>
+ <div id="method-i-new_issue_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_merge_request_email">
+
+ <b>new_merge_request_email</b>(merge_request_id)
+
+ <a href="../classes/Notify.html#method-i-new_merge_request_email" name="method-i-new_merge_request_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Merge Request</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_merge_request_email_source')" id="l_method-i-new_merge_request_email_source">show</a>
+
+ </p>
+ <div id="method-i-new_merge_request_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_user_email">
+
+ <b>new_user_email</b>(user_id, password)
+
+ <a href="../classes/Notify.html#method-i-new_user_email" name="method-i-new_user_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p><a href="User.html">User</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_user_email_source')" id="l_method-i-new_user_email_source">show</a>
+
+ </p>
+ <div id="method-i-new_user_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 118</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_commit_email">
+
+ <b>note_commit_email</b>(recipient_id, note_id)
+
+ <a href="../classes/Notify.html#method-i-note_commit_email" name="method-i-note_commit_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p><a href="Note.html">Note</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_commit_email_source')" id="l_method-i-note_commit_email_source">show</a>
+
+ </p>
+ <div id="method-i-note_commit_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 66</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_issue_email">
+
+ <b>note_issue_email</b>(recipient_id, note_id)
+
+ <a href="../classes/Notify.html#method-i-note_issue_email" name="method-i-note_issue_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_issue_email_source')" id="l_method-i-note_issue_email_source">show</a>
+
+ </p>
+ <div id="method-i-note_issue_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_merge_request_email">
+
+ <b>note_merge_request_email</b>(recipient_id, note_id)
+
+ <a href="../classes/Notify.html#method-i-note_merge_request_email" name="method-i-note_merge_request_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_merge_request_email_source')" id="l_method-i-note_merge_request_email_source">show</a>
+
+ </p>
+ <div id="method-i-note_merge_request_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 81</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-note_wall_email">
+
+ <b>note_wall_email</b>(recipient_id, note_id)
+
+ <a href="../classes/Notify.html#method-i-note_wall_email" name="method-i-note_wall_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-note_wall_email_source')" id="l_method-i-note_wall_email_source">show</a>
+
+ </p>
+ <div id="method-i-note_wall_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 88</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_access_granted_email">
+
+ <b>project_access_granted_email</b>(user_project_id)
+
+ <a href="../classes/Notify.html#method-i-project_access_granted_email" name="method-i-project_access_granted_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p><a href="Project.html">Project</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_access_granted_email_source')" id="l_method-i-project_access_granted_email_source">show</a>
+
+ </p>
+ <div id="method-i-project_access_granted_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_was_moved_email">
+
+ <b>project_was_moved_email</b>(user_project_id)
+
+ <a href="../classes/Notify.html#method-i-project_was_moved_email" name="method-i-project_was_moved_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_was_moved_email_source')" id="l_method-i-project_was_moved_email_source">show</a>
+
+ </p>
+ <div id="method-i-project_was_moved_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_was_moved_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;project was moved&quot;</span>))
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reassigned_issue_email">
+
+ <b>reassigned_issue_email</b>(recipient_id, issue_id, previous_assignee_id)
+
+ <a href="../classes/Notify.html#method-i-reassigned_issue_email" name="method-i-reassigned_issue_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reassigned_issue_email_source')" id="l_method-i-reassigned_issue_email_source">show</a>
+
+ </p>
+ <div id="method-i-reassigned_issue_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reassigned_merge_request_email">
+
+ <b>reassigned_merge_request_email</b>(recipient_id, merge_request_id, previous_assignee_id)
+
+ <a href="../classes/Notify.html#method-i-reassigned_merge_request_email" name="method-i-reassigned_merge_request_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reassigned_merge_request_email_source')" id="l_method-i-reassigned_merge_request_email_source">show</a>
+
+ </p>
+ <div id="method-i-reassigned_merge_request_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/mailers/notify.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Object.html b/doc/code/classes/Object.html
new file mode 100644
index 00000000000..5ebc2dcde50
--- /dev/null
+++ b/doc/code/classes/Object.html
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Object</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Object
+
+ <span class="parent">&lt;
+
+ BasicObject
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/config/initializers/3_grit_ext_rb.html">config/initializers/3_grit_ext.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ Linguist::BlobHelper
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/OmniauthCallbacksController.html b/doc/code/classes/OmniauthCallbacksController.html
new file mode 100644
index 00000000000..5f54fc02036
--- /dev/null
+++ b/doc/code/classes/OmniauthCallbacksController.html
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>OmniauthCallbacksController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ OmniauthCallbacksController
+
+ <span class="parent">&lt;
+
+ Devise::OmniauthCallbacksController
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/omniauth_callbacks_controller_rb.html">app/controllers/omniauth_callbacks_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-failure_message">failure_message</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ldap">ldap</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-failure_message">
+
+ <b>failure_message</b>()
+
+ <a href="../classes/OmniauthCallbacksController.html#method-i-failure_message" name="method-i-failure_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Extend the standard message generation to accept our custom exception</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-failure_message_source')" id="l_method-i-failure_message_source">show</a>
+
+ </p>
+ <div id="method-i-failure_message_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ldap">
+
+ <b>ldap</b>()
+
+ <a href="../classes/OmniauthCallbacksController.html#method-i-ldap" name="method-i-ldap" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ldap_source')" id="l_method-i-ldap_source">show</a>
+
+ </p>
+ <div id="method-i-ldap_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/PostReceive.html b/doc/code/classes/PostReceive.html
new file mode 100644
index 00000000000..d078e65eaf3
--- /dev/null
+++ b/doc/code/classes/PostReceive.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>PostReceive</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ PostReceive
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/workers/post_receive_rb.html">app/workers/post_receive.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-perform">perform</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-perform">
+
+ <b>perform</b>(repo_path, oldrev, newrev, ref, identifier)
+
+ <a href="../classes/PostReceive.html#method-c-perform" name="method-c-perform" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-perform_source')" id="l_method-c-perform_source">show</a>
+
+ </p>
+ <div id="method-c-perform_source" class="dyn-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 ruby-title">self</span>.<span class="ruby-identifier">perform</span>(<span class="ruby-identifier">repo_path</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">repo_path</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gitolite</span>.<span class="ruby-identifier">repos_path</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-string">&quot;&quot;</span>)
+ <span class="ruby-identifier">repo_path</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r.git$/</span>, <span class="ruby-string">&quot;&quot;</span>)
+ <span class="ruby-identifier">repo_path</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r^\//</span>, <span class="ruby-string">&quot;&quot;</span>)
+
+ <span class="ruby-identifier">project</span> = <span class="ruby-constant">Project</span>.<span class="ruby-identifier">find_with_namespace</span>(<span class="ruby-identifier">repo_path</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-identifier">user</span> = <span class="ruby-keyword">if</span> <span class="ruby-identifier">identifier</span>.<span class="ruby-identifier">eql?</span> <span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gitolite</span>.<span class="ruby-identifier">admin_key</span>
+ <span class="ruby-identifier">email</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">newrev</span>).<span class="ruby-identifier">author</span>.<span class="ruby-identifier">email</span> <span class="ruby-keyword">rescue</span> <span class="ruby-keyword">nil</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">if</span> <span class="ruby-identifier">email</span>
+ <span class="ruby-keyword">elsif</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-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-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-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">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProfileHelper.html b/doc/code/classes/ProfileHelper.html
new file mode 100644
index 00000000000..edab69523e1
--- /dev/null
+++ b/doc/code/classes/ProfileHelper.html
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProfileHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ProfileHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/profile_helper_rb.html">app/helpers/profile_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-oauth_active_class">oauth_active_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-oauth_active_class">
+
+ <b>oauth_active_class</b>(provider)
+
+ <a href="../classes/ProfileHelper.html#method-i-oauth_active_class" name="method-i-oauth_active_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-oauth_active_class_source')" id="l_method-i-oauth_active_class_source">show</a>
+
+ </p>
+ <div id="method-i-oauth_active_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/profile_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProfilesController.html b/doc/code/classes/ProfilesController.html
new file mode 100644
index 00000000000..faf4874ab45
--- /dev/null
+++ b/doc/code/classes/ProfilesController.html
@@ -0,0 +1,513 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProfilesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProfilesController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/profiles_controller_rb.html">app/controllers/profiles_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-account">account</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-design">design</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-history">history</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-reset_private_token">reset_private_token</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-token">token</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_password">update_password</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-update_username">update_username</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-account">
+
+ <b>account</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-account" name="method-i-account" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-account_source')" id="l_method-i-account_source">show</a>
+
+ </p>
+ <div id="method-i-account_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">account</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-design">
+
+ <b>design</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-design" name="method-i-design" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-design_source')" id="l_method-i-design_source">show</a>
+
+ </p>
+ <div id="method-i-design_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">design</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-history">
+
+ <b>history</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-history" name="method-i-history" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-history_source')" id="l_method-i-history_source">show</a>
+
+ </p>
+ <div id="method-i-history_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-reset_private_token">
+
+ <b>reset_private_token</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-reset_private_token" name="method-i-reset_private_token" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-reset_private_token_source')" id="l_method-i-reset_private_token_source">show</a>
+
+ </p>
+ <div id="method-i-reset_private_token_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">reset_private_token</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">current_user</span>.<span class="ruby-identifier">reset_authentication_token!</span>
+ <span class="ruby-identifier">flash</span>[<span class="ruby-value">:notice</span>] = <span class="ruby-string">&quot;Token was successfully updated&quot;</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">account_profile_path</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">show</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-token">
+
+ <b>token</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-token" name="method-i-token" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-token_source')" id="l_method-i-token_source">show</a>
+
+ </p>
+ <div id="method-i-token_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">token</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update</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;Profile was successfully updated&quot;</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">flash</span>[<span class="ruby-value">:alert</span>] = <span class="ruby-string">&quot;Failed to update profile&quot;</span>
+ <span class="ruby-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_password">
+
+ <b>update_password</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-update_password" name="method-i-update_password" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_password_source')" id="l_method-i-update_password_source">show</a>
+
+ </p>
+ <div id="method-i-update_password_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_password</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-string">'account'</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_username">
+
+ <b>update_username</b>()
+
+ <a href="../classes/ProfilesController.html#method-i-update_username" name="method-i-update_username" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_username_source')" id="l_method-i-update_username_source">show</a>
+
+ </p>
+ <div id="method-i-update_username_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/profiles_controller.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update_username</span>
+ <span class="ruby-ivar">@user</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">username</span><span class="ruby-operator">:</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:user</span>][<span class="ruby-value">:username</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-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Project.html b/doc/code/classes/Project.html
new file mode 100644
index 00000000000..004285485a1
--- /dev/null
+++ b/doc/code/classes/Project.html
@@ -0,0 +1,1392 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Project</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Project
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/project_rb.html">app/models/project.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Project/TransferError.html">Project::TransferError</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-access_options">access_options</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-active">active</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-authorized_for">authorized_for</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-build_commit_note">build_commit_note</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-check_limit">check_limit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-code">code</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit_line_notes">commit_line_notes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit_notes">commit_notes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-common_notes">common_notes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-create_by_user">create_by_user</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-find_with_namespace">find_with_namespace</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-git_error-3F">git_error?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-gitlab_ci-3F">gitlab_ci?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-issues_labels">issues_labels</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-items_for">items_for</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_activity">last_activity</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-last_activity_date">last_activity_date</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-private-3F">private?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-project_id">project_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-public-3F">public?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-repo_name">repo_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-saved-3F">saved?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-search">search</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-send_move_instructions">send_move_instructions</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-services">services</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_param">to_param</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-web_url">web_url</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="Repository.html">
+ Repository
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="PushObserver.html">
+ PushObserver
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="Authority.html">
+ Authority
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="Team.html">
+ Team
+ </a>
+
+ </li>
+
+ <li>
+
+ <a href="NamespacedProject.html">
+ NamespacedProject
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>error_code</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-access_options">
+
+ <b>access_options</b>()
+
+ <a href="../classes/Project.html#method-c-access_options" name="method-c-access_options" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-access_options_source')" id="l_method-c-access_options_source">show</a>
+
+ </p>
+ <div id="method-c-access_options_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 163</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">access_options</span>
+ <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">access_roles</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-active">
+
+ <b>active</b>()
+
+ <a href="../classes/Project.html#method-c-active" name="method-c-active" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-active_source')" id="l_method-c-active_source">show</a>
+
+ </p>
+ <div id="method-c-active_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 96</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-authorized_for">
+
+ <b>authorized_for</b>(user)
+
+ <a href="../classes/Project.html#method-c-authorized_for" name="method-c-authorized_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-authorized_for_source')" id="l_method-c-authorized_for_source">show</a>
+
+ </p>
+ <div id="method-c-authorized_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">authorized_for</span> <span class="ruby-identifier">user</span>
+ <span class="ruby-identifier">projects</span> = <span class="ruby-identifier">includes</span>(<span class="ruby-value">:users_projects</span>, <span class="ruby-value">:namespace</span>)
+ <span class="ruby-identifier">projects</span> = <span class="ruby-identifier">projects</span>.<span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;users_projects.user_id = :user_id or projects.owner_id = :user_id or namespaces.owner_id = :user_id&quot;</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-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-create_by_user">
+
+ <b>create_by_user</b>(params, user)
+
+ <a href="../classes/Project.html#method-c-create_by_user" name="method-c-create_by_user" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-create_by_user_source')" id="l_method-c-create_by_user_source">show</a>
+
+ </p>
+ <div id="method-c-create_by_user_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 114</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">create_by_user</span>(<span class="ruby-identifier">params</span>, <span class="ruby-identifier">user</span>)
+ <span class="ruby-identifier">namespace_id</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:namespace_id</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-comment"># Parametrize path for project</span>
+ <span class="ruby-comment">#</span>
+ <span class="ruby-comment"># Ex.</span>
+ <span class="ruby-comment"># 'GitLab HQ'.parameterize =&gt; &quot;gitlab-hq&quot;</span>
+ <span class="ruby-comment">#</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">path</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">parameterize</span>
+
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">owner</span> = <span class="ruby-identifier">user</span>
+
+ <span class="ruby-comment"># Apply namespace if user has access to it</span>
+ <span class="ruby-comment"># else fallback to user namespace</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace_id</span> <span class="ruby-operator">!=</span> <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">global_id</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace_id</span> = <span class="ruby-identifier">user</span>.<span class="ruby-identifier">namespace_id</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace_id</span>
+ <span class="ruby-identifier">group</span> = <span class="ruby-constant">Group</span>.<span class="ruby-identifier">find_by_id</span>(<span class="ruby-identifier">namespace_id</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">can?</span> <span class="ruby-value">:manage_group</span>, <span class="ruby-identifier">group</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace_id</span> = <span class="ruby-identifier">namespace_id</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_with_namespace">
+
+ <b>find_with_namespace</b>(id)
+
+ <a href="../classes/Project.html#method-c-find_with_namespace" name="method-c-find_with_namespace" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_with_namespace_source')" id="l_method-c-find_with_namespace_source">show</a>
+
+ </p>
+ <div id="method-c-find_with_namespace_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">find_with_namespace</span>(<span class="ruby-identifier">id</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;/&quot;</span>)
+ <span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;/&quot;</span>)
+ <span class="ruby-identifier">namespace_id</span> = <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">find_by_path</span>(<span class="ruby-identifier">id</span>.<span class="ruby-identifier">first</span>).<span class="ruby-identifier">id</span>
+ <span class="ruby-identifier">where</span>(<span class="ruby-identifier">namespace_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">namespace_id</span>).<span class="ruby-identifier">find_by_path</span>(<span class="ruby-identifier">id</span>.<span class="ruby-identifier">second</span>)
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">where</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">id</span>, <span class="ruby-identifier">namespace_id</span><span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>).<span class="ruby-identifier">last</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-search">
+
+ <b>search</b>(query)
+
+ <a href="../classes/Project.html#method-c-search" name="method-c-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-search_source')" id="l_method-c-search_source">show</a>
+
+ </p>
+ <div id="method-c-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 100</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">search</span> <span class="ruby-identifier">query</span>
+ <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;projects.name LIKE :query OR projects.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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-build_commit_note">
+
+ <b>build_commit_note</b>(commit)
+
+ <a href="../classes/Project.html#method-i-build_commit_note" name="method-i-build_commit_note" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-build_commit_note_source')" id="l_method-i-build_commit_note_source">show</a>
+
+ </p>
+ <div id="method-i-build_commit_note_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 208</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">commit_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-check_limit">
+
+ <b>check_limit</b>()
+
+ <a href="../classes/Project.html#method-i-check_limit" name="method-i-check_limit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-check_limit_source')" id="l_method-i-check_limit_source">show</a>
+
+ </p>
+ <div id="method-i-check_limit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 176</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-code">
+
+ <b>code</b>()
+
+ <a href="../classes/Project.html#method-i-code" name="method-i-code" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>For compatibility with old code</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-code_source')" id="l_method-i-code_source">show</a>
+
+ </p>
+ <div id="method-i-code_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 253</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">code</span>
+ <span class="ruby-identifier">path</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_line_notes">
+
+ <b>commit_line_notes</b>(commit)
+
+ <a href="../classes/Project.html#method-i-commit_line_notes" name="method-i-commit_line_notes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_line_notes_source')" id="l_method-i-commit_line_notes_source">show</a>
+
+ </p>
+ <div id="method-i-commit_line_notes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 216</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">commit_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_notes">
+
+ <b>commit_notes</b>(commit)
+
+ <a href="../classes/Project.html#method-i-commit_notes" name="method-i-commit_notes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_notes_source')" id="l_method-i-commit_notes_source">show</a>
+
+ </p>
+ <div id="method-i-commit_notes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 212</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">commit_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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-common_notes">
+
+ <b>common_notes</b>()
+
+ <a href="../classes/Project.html#method-i-common_notes" name="method-i-common_notes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-common_notes_source')" id="l_method-i-common_notes_source">show</a>
+
+ </p>
+ <div id="method-i-common_notes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 204</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-git_error-3F">
+
+ <b>git_error?</b>()
+
+ <a href="../classes/Project.html#method-i-git_error-3F" name="method-i-git_error-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-git_error-3F_source')" id="l_method-i-git_error-3F_source">show</a>
+
+ </p>
+ <div id="method-i-git_error-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 168</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-gitlab_ci-3F">
+
+ <b>gitlab_ci?</b>()
+
+ <a href="../classes/Project.html#method-i-gitlab_ci-3F" name="method-i-gitlab_ci-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-gitlab_ci-3F_source')" id="l_method-i-gitlab_ci-3F_source">show</a>
+
+ </p>
+ <div id="method-i-gitlab_ci-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 248</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">gitlab_ci?</span>
+ <span class="ruby-identifier">gitlab_ci_service</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">gitlab_ci_service</span>.<span class="ruby-identifier">active</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-issues_labels">
+
+ <b>issues_labels</b>()
+
+ <a href="../classes/Project.html#method-i-issues_labels" name="method-i-issues_labels" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-issues_labels_source')" id="l_method-i-issues_labels_source">show</a>
+
+ </p>
+ <div id="method-i-issues_labels_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 240</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-items_for">
+
+ <b>items_for</b>(entity)
+
+ <a href="../classes/Project.html#method-i-items_for" name="method-i-items_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-items_for_source')" id="l_method-i-items_for_source">show</a>
+
+ </p>
+ <div id="method-i-items_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 257</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">items_for</span> <span class="ruby-identifier">entity</span>
+ <span class="ruby-keyword">case</span> <span class="ruby-identifier">entity</span>
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'issue'</span> <span class="ruby-keyword">then</span>
+ <span class="ruby-identifier">issues</span>
+ <span class="ruby-keyword">when</span> <span class="ruby-string">'merge_request'</span> <span class="ruby-keyword">then</span>
+ <span class="ruby-identifier">merge_requests</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_activity">
+
+ <b>last_activity</b>()
+
+ <a href="../classes/Project.html#method-i-last_activity" name="method-i-last_activity" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_activity_source')" id="l_method-i-last_activity_source">show</a>
+
+ </p>
+ <div id="method-i-last_activity_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 228</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">last_activity</span>
+ <span class="ruby-identifier">last_event</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_activity_date">
+
+ <b>last_activity_date</b>()
+
+ <a href="../classes/Project.html#method-i-last_activity_date" name="method-i-last_activity_date" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_activity_date_source')" id="l_method-i-last_activity_date_source">show</a>
+
+ </p>
+ <div id="method-i-last_activity_date_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 232</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-private-3F">
+
+ <b>private?</b>()
+
+ <a href="../classes/Project.html#method-i-private-3F" name="method-i-private-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-private-3F_source')" id="l_method-i-private-3F_source">show</a>
+
+ </p>
+ <div id="method-i-private-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 224</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">private?</span>
+ <span class="ruby-identifier">private_flag</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_id">
+
+ <b>project_id</b>()
+
+ <a href="../classes/Project.html#method-i-project_id" name="method-i-project_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_id_source')" id="l_method-i-project_id_source">show</a>
+
+ </p>
+ <div id="method-i-project_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 236</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_id</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-public-3F">
+
+ <b>public?</b>()
+
+ <a href="../classes/Project.html#method-i-public-3F" name="method-i-public-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-public-3F_source')" id="l_method-i-public-3F_source">show</a>
+
+ </p>
+ <div id="method-i-public-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 220</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">public?</span>
+ <span class="ruby-operator">!</span><span class="ruby-identifier">private_flag</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repo_name">
+
+ <b>repo_name</b>()
+
+ <a href="../classes/Project.html#method-i-repo_name" name="method-i-repo_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repo_name_source')" id="l_method-i-repo_name_source">show</a>
+
+ </p>
+ <div id="method-i-repo_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 184</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">repo_name</span>
+ <span class="ruby-identifier">denied_paths</span> = <span class="ruby-node">%w(gitolite-admin admin dashboard groups help profile projects search)</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">denied_paths</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">path</span>)
+ <span class="ruby-identifier">errors</span>.<span class="ruby-identifier">add</span>(<span class="ruby-value">:path</span>, <span class="ruby-node">&quot;like #{path} is not allowed&quot;</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-saved-3F">
+
+ <b>saved?</b>()
+
+ <a href="../classes/Project.html#method-i-saved-3F" name="method-i-saved-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-saved-3F_source')" id="l_method-i-saved-3F_source">show</a>
+
+ </p>
+ <div id="method-i-saved-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 172</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-send_move_instructions">
+
+ <b>send_move_instructions</b>()
+
+ <a href="../classes/Project.html#method-i-send_move_instructions" name="method-i-send_move_instructions" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-send_move_instructions_source')" id="l_method-i-send_move_instructions_source">show</a>
+
+ </p>
+ <div id="method-i-send_move_instructions_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 266</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">send_move_instructions</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">member</span><span class="ruby-operator">|</span>
+ <span class="ruby-constant">Notify</span>.<span class="ruby-identifier">project_was_moved_email</span>(<span class="ruby-identifier">member</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-services">
+
+ <b>services</b>()
+
+ <a href="../classes/Project.html#method-i-services" name="method-i-services" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-services_source')" id="l_method-i-services_source">show</a>
+
+ </p>
+ <div id="method-i-services_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 244</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">services</span>
+ [<span class="ruby-identifier">gitlab_ci_service</span>].<span class="ruby-identifier">compact</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_param">
+
+ <b>to_param</b>()
+
+ <a href="../classes/Project.html#method-i-to_param" name="method-i-to_param" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_param_source')" id="l_method-i-to_param_source">show</a>
+
+ </p>
+ <div id="method-i-to_param_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 192</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_param</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">path</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;/&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">path</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">path</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-web_url">
+
+ <b>web_url</b>()
+
+ <a href="../classes/Project.html#method-i-web_url" name="method-i-web_url" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-web_url_source')" id="l_method-i-web_url_source">show</a>
+
+ </p>
+ <div id="method-i-web_url_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/project.rb, line 200</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">web_url</span>
+ [<span class="ruby-constant">Gitlab</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">gitlab</span>.<span class="ruby-identifier">url</span>, <span class="ruby-identifier">path_with_namespace</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;/&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Project/TransferError.html b/doc/code/classes/Project/TransferError.html
new file mode 100644
index 00000000000..2d0be3a4a13
--- /dev/null
+++ b/doc/code/classes/Project/TransferError.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Project::TransferError</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Project::TransferError
+
+ <span class="parent">&lt;
+
+ StandardError
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/models/project_rb.html">app/models/project.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectHook.html b/doc/code/classes/ProjectHook.html
new file mode 100644
index 00000000000..3fa9c75921b
--- /dev/null
+++ b/doc/code/classes/ProjectHook.html
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectHook</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProjectHook
+
+ <span class="parent">&lt;
+
+ <a href="WebHook.html">WebHook</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/project_hook_rb.html">app/models/project_hook.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectObserver.html b/doc/code/classes/ProjectObserver.html
new file mode 100644
index 00000000000..bf2292a51f4
--- /dev/null
+++ b/doc/code/classes/ProjectObserver.html
@@ -0,0 +1,262 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProjectObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/project_observer_rb.html">app/observers/project_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_destroy">after_destroy</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_update">after_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log_info">log_info</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(project)
+
+ <a href="../classes/ProjectObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">after_create</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_destroy">
+
+ <b>after_destroy</b>(project)
+
+ <a href="../classes/ProjectObserver.html#method-i-after_destroy" name="method-i-after_destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_destroy_source')" id="l_method-i-after_destroy_source">show</a>
+
+ </p>
+ <div id="method-i-after_destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_update">
+
+ <b>after_update</b>(project)
+
+ <a href="../classes/ProjectObserver.html#method-i-after_update" name="method-i-after_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_update_source')" id="l_method-i-after_update_source">show</a>
+
+ </p>
+ <div id="method-i-after_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">after_update</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">send_move_instructions</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace_id_changed?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log_info">
+
+ <b>log_info</b>(message)
+
+ <a href="../classes/ProjectObserver.html#method-i-log_info" name="method-i-log_info" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_info_source')" id="l_method-i-log_info_source">show</a>
+
+ </p>
+ <div id="method-i-log_info_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/project_observer.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectResourceController.html b/doc/code/classes/ProjectResourceController.html
new file mode 100644
index 00000000000..757055abbc1
--- /dev/null
+++ b/doc/code/classes/ProjectResourceController.html
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectResourceController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProjectResourceController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/project_resource_controller_rb.html">app/controllers/project_resource_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectUpdateContext.html b/doc/code/classes/ProjectUpdateContext.html
new file mode 100644
index 00000000000..3fe3f4d68f8
--- /dev/null
+++ b/doc/code/classes/ProjectUpdateContext.html
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectUpdateContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProjectUpdateContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/project_update_context_rb.html">app/contexts/project_update_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>(role = :default)
+
+ <a href="../classes/ProjectUpdateContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/project_update_context.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">execute</span>(<span class="ruby-identifier">role</span> = <span class="ruby-value">:default</span>)
+ <span class="ruby-identifier">namespace_id</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">:project</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-value">:namespace_id</span>)
+
+ <span class="ruby-identifier">allowed_transfer</span> = <span class="ruby-identifier">can?</span>(<span class="ruby-identifier">current_user</span>, <span class="ruby-value">:change_namespace</span>, <span class="ruby-identifier">project</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">role</span> <span class="ruby-operator">==</span> <span class="ruby-value">:admin</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">allowed_transfer</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">namespace_id</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">namespace_id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">global_id</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-comment"># Transfer to global namespace from anyone</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">transfer</span>(<span class="ruby-keyword">nil</span>)
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">namespace_id</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace_id</span>
+ <span class="ruby-comment"># Transfer to someone namespace</span>
+ <span class="ruby-identifier">namespace</span> = <span class="ruby-constant">Namespace</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">namespace_id</span>)
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">transfer</span>(<span class="ruby-identifier">namespace</span>)
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</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">as</span><span class="ruby-operator">:</span> <span class="ruby-identifier">role</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectsController.html b/doc/code/classes/ProjectsController.html
new file mode 100644
index 00000000000..3cc6dd07a3e
--- /dev/null
+++ b/doc/code/classes/ProjectsController.html
@@ -0,0 +1,566 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProjectsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/projects_controller_rb.html">app/controllers/projects_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-files">files</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-graph">graph</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-wall">wall</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">flash</span>[<span class="ruby-value">:notice</span>] = <span class="ruby-string">'Project was successfully created.'</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">saved?</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-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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">:remove_project</span>, <span class="ruby-identifier">project</span>)
+
+ <span class="ruby-comment"># Delete team first in order to prevent multiple gitolite calls</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">truncate_team</span>
+
+ <span class="ruby-identifier">project</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">root_path</span> }
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-files">
+
+ <b>files</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-files" name="method-i-files" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-files_source')" id="l_method-i-files_source">show</a>
+
+ </p>
+ <div id="method-i-files_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">100</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-graph">
+
+ <b>graph</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-graph" name="method-i-graph" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-graph_source')" id="l_method-i-graph_source">show</a>
+
+ </p>
+ <div id="method-i-graph_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">graph</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">json</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">graph</span> = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Graph</span><span class="ruby-operator">::</span><span class="ruby-constant">JsonBuilder</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-identifier">render</span> <span class="ruby-value">:json</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">graph</span>.<span class="ruby-identifier">to_json</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update</span>
+ <span class="ruby-identifier">status</span> = <span class="ruby-constant">ProjectUpdateContext</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-keyword">if</span> <span class="ruby-identifier">status</span>
+ <span class="ruby-identifier">flash</span>[<span class="ruby-value">:notice</span>] = <span class="ruby-string">'Project was successfully updated.'</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">rescue</span> <span class="ruby-constant">Project</span><span class="ruby-operator">::</span><span class="ruby-constant">TransferError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+ <span class="ruby-ivar">@error</span> = <span class="ruby-identifier">ex</span>
+ <span class="ruby-identifier">render</span> <span class="ruby-value">:update_failed</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-wall">
+
+ <b>wall</b>()
+
+ <a href="../classes/ProjectsController.html#method-i-wall" name="method-i-wall" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Wall</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-wall_source')" id="l_method-i-wall_source">show</a>
+
+ </p>
+ <div id="method-i-wall_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/projects_controller.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProjectsHelper.html b/doc/code/classes/ProjectsHelper.html
new file mode 100644
index 00000000000..a2084279d25
--- /dev/null
+++ b/doc/code/classes/ProjectsHelper.html
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProjectsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ ProjectsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/projects_helper_rb.html">app/helpers/projects_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-grouper_project_members">grouper_project_members</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-link_to_member">link_to_member</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-link_to_project">link_to_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_title">project_title</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-remove_from_team_message">remove_from_team_message</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tm_path">tm_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-grouper_project_members">
+
+ <b>grouper_project_members</b>(project)
+
+ <a href="../classes/ProjectsHelper.html#method-i-grouper_project_members" name="method-i-grouper_project_members" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-grouper_project_members_source')" id="l_method-i-grouper_project_members_source">show</a>
+
+ </p>
+ <div id="method-i-grouper_project_members_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_to_member">
+
+ <b>link_to_member</b>(project, author)
+
+ <a href="../classes/ProjectsHelper.html#method-i-link_to_member" name="method-i-link_to_member" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_to_member_source')" id="l_method-i-link_to_member_source">show</a>
+
+ </p>
+ <div id="method-i-link_to_member_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">link_to_member</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">author</span>)
+ <span class="ruby-keyword">return</span> <span class="ruby-string">&quot;(deleted)&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">author</span>
+
+ <span class="ruby-comment"># Build avatar image tag</span>
+ <span class="ruby-identifier">avatar</span> = <span class="ruby-identifier">image_tag</span>(<span class="ruby-identifier">gravatar_icon</span>(<span class="ruby-identifier">author</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:email</span>)), <span class="ruby-identifier">width</span><span class="ruby-operator">:</span> <span class="ruby-number">16</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">&quot;lil_av&quot;</span>)
+
+ <span class="ruby-comment"># Build name strong tag</span>
+ <span class="ruby-keyword ruby-title">name</span> = <span class="ruby-identifier">content_tag</span> <span class="ruby-value">:strong</span>, <span class="ruby-identifier">author</span>.<span class="ruby-identifier">name</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'author'</span>
+
+ <span class="ruby-keyword ruby-title">author_html</span> = <span class="ruby-identifier">avatar</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</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">author</span>)
+
+ <span class="ruby-identifier">content_tag</span> <span class="ruby-value">:span</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'member-link'</span> <span class="ruby-keyword ruby-title">do</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">tm</span>
+ <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">author_html</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 ruby-title">else</span>
+ <span class="ruby-identifier">author_html</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-link_to_project">
+
+ <b>link_to_project</b>(project)
+
+ <a href="../classes/ProjectsHelper.html#method-i-link_to_project" name="method-i-link_to_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-link_to_project_source')" id="l_method-i-link_to_project_source">show</a>
+
+ </p>
+ <div id="method-i-link_to_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-keyword">do</span>
+ <span class="ruby-identifier">title</span> = <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:strong</span>, <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">namespace</span> = <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:span</span>, <span class="ruby-node">&quot;#{project.namespace.human_name} / &quot;</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'tiny'</span>)
+ <span class="ruby-keyword ruby-title">title</span> = <span class="ruby-identifier">namespace</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">title</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">title</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_title">
+
+ <b>project_title</b>(project)
+
+ <a href="../classes/ProjectsHelper.html#method-i-project_title" name="method-i-project_title" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_title_source')" id="l_method-i-project_title_source">show</a>
+
+ </p>
+ <div id="method-i-project_title_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">project_title</span> <span class="ruby-identifier">project</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">group</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name_with_namespace</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">name</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-remove_from_team_message">
+
+ <b>remove_from_team_message</b>(project, member)
+
+ <a href="../classes/ProjectsHelper.html#method-i-remove_from_team_message" name="method-i-remove_from_team_message" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-remove_from_team_message_source')" id="l_method-i-remove_from_team_message_source">show</a>
+
+ </p>
+ <div id="method-i-remove_from_team_message_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tm_path">
+
+ <b>tm_path</b>(team_member)
+
+ <a href="../classes/ProjectsHelper.html#method-i-tm_path" name="method-i-tm_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tm_path_source')" id="l_method-i-tm_path_source">show</a>
+
+ </p>
+ <div id="method-i-tm_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/projects_helper.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">tm_path</span> <span class="ruby-identifier">team_member</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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProtectedBranch.html b/doc/code/classes/ProtectedBranch.html
new file mode 100644
index 00000000000..c5399ed48ae
--- /dev/null
+++ b/doc/code/classes/ProtectedBranch.html
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProtectedBranch</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProtectedBranch
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/protected_branch_rb.html">app/models/protected_branch.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: protected_branches</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit">commit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_repository">update_repository</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="GitHost.html">
+ GitHost
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit">
+
+ <b>commit</b>()
+
+ <a href="../classes/ProtectedBranch.html#method-i-commit" name="method-i-commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_source')" id="l_method-i-commit_source">show</a>
+
+ </p>
+ <div id="method-i-commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/protected_branch.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_repository">
+
+ <b>update_repository</b>()
+
+ <a href="../classes/ProtectedBranch.html#method-i-update_repository" name="method-i-update_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_repository_source')" id="l_method-i-update_repository_source">show</a>
+
+ </p>
+ <div id="method-i-update_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/protected_branch.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ProtectedBranchesController.html b/doc/code/classes/ProtectedBranchesController.html
new file mode 100644
index 00000000000..f1175852f39
--- /dev/null
+++ b/doc/code/classes/ProtectedBranchesController.html
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ProtectedBranchesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ProtectedBranchesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/protected_branches_controller_rb.html">app/controllers/protected_branches_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/ProtectedBranchesController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/ProtectedBranchesController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/ProtectedBranchesController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/PushEvent.html b/doc/code/classes/PushEvent.html
new file mode 100644
index 00000000000..8b74ebeea7b
--- /dev/null
+++ b/doc/code/classes/PushEvent.html
@@ -0,0 +1,959 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>PushEvent</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ PushEvent
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/push_event_rb.html">app/roles/push_event.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-branch-3F">branch?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-branch_name">branch_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit_from">commit_from</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commit_to">commit_to</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits">commits</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits_count">commits_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_commit">last_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-last_push_to_non_root-3F">last_push_to_non_root?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-md_ref-3F">md_ref?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new_branch-3F">new_branch?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-new_ref-3F">new_ref?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-parent_commit">parent_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-push_action_name">push_action_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-push_with_commits-3F">push_with_commits?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ref_name">ref_name</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-ref_type">ref_type</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-rm_ref-3F">rm_ref?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tag-3F">tag?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tag_name">tag_name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-valid_push-3F">valid_push?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branch-3F">
+
+ <b>branch?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-branch-3F" name="method-i-branch-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branch-3F_source')" id="l_method-i-branch-3F_source">show</a>
+
+ </p>
+ <div id="method-i-branch-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branch_name">
+
+ <b>branch_name</b>()
+
+ <a href="../classes/PushEvent.html#method-i-branch_name" name="method-i-branch_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branch_name_source')" id="l_method-i-branch_name_source">show</a>
+
+ </p>
+ <div id="method-i-branch_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 48</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_from">
+
+ <b>commit_from</b>()
+
+ <a href="../classes/PushEvent.html#method-i-commit_from" name="method-i-commit_from" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_from_source')" id="l_method-i-commit_from_source">show</a>
+
+ </p>
+ <div id="method-i-commit_from_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_from</span>
+ <span class="ruby-identifier">data</span>[<span class="ruby-value">:before</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit_to">
+
+ <b>commit_to</b>()
+
+ <a href="../classes/PushEvent.html#method-i-commit_to" name="method-i-commit_to" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_to_source')" id="l_method-i-commit_to_source">show</a>
+
+ </p>
+ <div id="method-i-commit_to_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commit_to</span>
+ <span class="ruby-identifier">data</span>[<span class="ruby-value">:after</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits">
+
+ <b>commits</b>()
+
+ <a href="../classes/PushEvent.html#method-i-commits" name="method-i-commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Max 20 commits from push DESC</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_source')" id="l_method-i-commits_source">show</a>
+
+ </p>
+ <div id="method-i-commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 57</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits_count">
+
+ <b>commits_count</b>()
+
+ <a href="../classes/PushEvent.html#method-i-commits_count" name="method-i-commits_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_count_source')" id="l_method-i-commits_count_source">show</a>
+
+ </p>
+ <div id="method-i-commits_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 61</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_commit">
+
+ <b>last_commit</b>()
+
+ <a href="../classes/PushEvent.html#method-i-last_commit" name="method-i-last_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_commit_source')" id="l_method-i-last_commit_source">show</a>
+
+ </p>
+ <div id="method-i-last_commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 85</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_push_to_non_root-3F">
+
+ <b>last_push_to_non_root?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-last_push_to_non_root-3F" name="method-i-last_push_to_non_root-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_push_to_non_root-3F_source')" id="l_method-i-last_push_to_non_root-3F_source">show</a>
+
+ </p>
+ <div id="method-i-last_push_to_non_root-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 97</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-md_ref-3F">
+
+ <b>md_ref?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-md_ref-3F" name="method-i-md_ref-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-md_ref-3F_source')" id="l_method-i-md_ref-3F_source">show</a>
+
+ </p>
+ <div id="method-i-md_ref-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_branch-3F">
+
+ <b>new_branch?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-new_branch-3F" name="method-i-new_branch-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_branch-3F_source')" id="l_method-i-new_branch-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new_branch-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_ref-3F">
+
+ <b>new_ref?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-new_ref-3F" name="method-i-new_ref-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_ref-3F_source')" id="l_method-i-new_ref-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new_ref-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-parent_commit">
+
+ <b>parent_commit</b>()
+
+ <a href="../classes/PushEvent.html#method-i-parent_commit" name="method-i-parent_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-parent_commit_source')" id="l_method-i-parent_commit_source">show</a>
+
+ </p>
+ <div id="method-i-parent_commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 79</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-push_action_name">
+
+ <b>push_action_name</b>()
+
+ <a href="../classes/PushEvent.html#method-i-push_action_name" name="method-i-push_action_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-push_action_name_source')" id="l_method-i-push_action_name_source">show</a>
+
+ </p>
+ <div id="method-i-push_action_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 69</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-push_with_commits-3F">
+
+ <b>push_with_commits?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-push_with_commits-3F" name="method-i-push_with_commits-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-push_with_commits-3F_source')" id="l_method-i-push_with_commits-3F_source">show</a>
+
+ </p>
+ <div id="method-i-push_with_commits-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ref_name">
+
+ <b>ref_name</b>()
+
+ <a href="../classes/PushEvent.html#method-i-ref_name" name="method-i-ref_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ref_name_source')" id="l_method-i-ref_name_source">show</a>
+
+ </p>
+ <div id="method-i-ref_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ref_type">
+
+ <b>ref_type</b>()
+
+ <a href="../classes/PushEvent.html#method-i-ref_type" name="method-i-ref_type" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ref_type_source')" id="l_method-i-ref_type_source">show</a>
+
+ </p>
+ <div id="method-i-ref_type_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 65</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-rm_ref-3F">
+
+ <b>rm_ref?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-rm_ref-3F" name="method-i-rm_ref-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-rm_ref-3F_source')" id="l_method-i-rm_ref-3F_source">show</a>
+
+ </p>
+ <div id="method-i-rm_ref-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tag-3F">
+
+ <b>tag?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-tag-3F" name="method-i-tag-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tag-3F_source')" id="l_method-i-tag-3F_source">show</a>
+
+ </p>
+ <div id="method-i-tag-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tag_name">
+
+ <b>tag_name</b>()
+
+ <a href="../classes/PushEvent.html#method-i-tag_name" name="method-i-tag_name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tag_name_source')" id="l_method-i-tag_name_source">show</a>
+
+ </p>
+ <div id="method-i-tag_name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid_push-3F">
+
+ <b>valid_push?</b>()
+
+ <a href="../classes/PushEvent.html#method-i-valid_push-3F" name="method-i-valid_push-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid_push-3F_source')" id="l_method-i-valid_push-3F_source">show</a>
+
+ </p>
+ <div id="method-i-valid_push-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_event.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/PushObserver.html b/doc/code/classes/PushObserver.html
new file mode 100644
index 00000000000..f747fb4a958
--- /dev/null
+++ b/doc/code/classes/PushObserver.html
@@ -0,0 +1,512 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>PushObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ PushObserver
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/push_observer_rb.html">app/roles/push_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Includes methods for handling Git Push events</p>
+
+<p>Triggered by <a href="PostReceive.html">PostReceive</a> job</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute_hooks">execute_hooks</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-execute_services">execute_services</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-observe_push">observe_push</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-post_receive_data">post_receive_data</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-push_to_branch-3F">push_to_branch?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-trigger_post_receive">trigger_post_receive</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_merge_requests">update_merge_requests</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute_hooks">
+
+ <b>execute_hooks</b>(data)
+
+ <a href="../classes/PushObserver.html#method-i-execute_hooks" name="method-i-execute_hooks" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_hooks_source')" id="l_method-i-execute_hooks_source">show</a>
+
+ </p>
+ <div id="method-i-execute_hooks_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 52</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">execute_hooks</span>(<span class="ruby-identifier">data</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute_services">
+
+ <b>execute_services</b>(data)
+
+ <a href="../classes/PushObserver.html#method-i-execute_services" name="method-i-execute_services" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_services_source')" id="l_method-i-execute_services_source">show</a>
+
+ </p>
+ <div id="method-i-execute_services_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 56</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">execute_services</span>(<span class="ruby-identifier">data</span>)
+ <span class="ruby-identifier">services</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">service</span><span class="ruby-operator">|</span>
+
+ <span class="ruby-comment"># Call service hook only if it is active</span>
+ <span class="ruby-identifier">service</span>.<span class="ruby-identifier">execute</span>(<span class="ruby-identifier">data</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">service</span>.<span class="ruby-identifier">active</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-observe_push">
+
+ <b>observe_push</b>(data)
+
+ <a href="../classes/PushObserver.html#method-i-observe_push" name="method-i-observe_push" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-observe_push_source')" id="l_method-i-observe_push_source">show</a>
+
+ </p>
+ <div id="method-i-observe_push_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">observe_push</span>(<span class="ruby-identifier">data</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-post_receive_data">
+
+ <b>post_receive_data</b>(oldrev, newrev, ref, user)
+
+ <a href="../classes/PushObserver.html#method-i-post_receive_data" name="method-i-post_receive_data" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Produce a hash of post-receive data</p>
+
+<p>data = {</p>
+
+<pre>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</pre>
+
+<p>}</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-post_receive_data_source')" id="l_method-i-post_receive_data_source">show</a>
+
+ </p>
+ <div id="method-i-post_receive_data_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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">url_to_repo</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.gitlab.url}/#{path_with_namespace}/commit/#{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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-push_to_branch-3F">
+
+ <b>push_to_branch?</b>(ref, oldrev)
+
+ <a href="../classes/PushObserver.html#method-i-push_to_branch-3F" name="method-i-push_to_branch-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-push_to_branch-3F_source')" id="l_method-i-push_to_branch-3F_source">show</a>
+
+ </p>
+ <div id="method-i-push_to_branch-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">push_to_branch?</span> <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">oldrev</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-operator">!</span>(<span class="ruby-identifier">ref_parts</span>[<span class="ruby-number">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-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-trigger_post_receive">
+
+ <b>trigger_post_receive</b>(oldrev, newrev, ref, user)
+
+ <a href="../classes/PushObserver.html#method-i-trigger_post_receive" name="method-i-trigger_post_receive" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-trigger_post_receive_source')" id="l_method-i-trigger_post_receive_source">show</a>
+
+ </p>
+ <div id="method-i-trigger_post_receive_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 9</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-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-comment"># Create push event</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">observe_push</span>(<span class="ruby-identifier">data</span>)
+
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">push_to_branch?</span> <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">oldrev</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">data</span>.<span class="ruby-identifier">dup</span>)
+
+ <span class="ruby-comment"># Execute project services</span>
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">execute_services</span>(<span class="ruby-identifier">data</span>.<span class="ruby-identifier">dup</span>)
+ <span class="ruby-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_merge_requests">
+
+ <b>update_merge_requests</b>(oldrev, newrev, ref, user)
+
+ <a href="../classes/PushObserver.html#method-i-update_merge_requests" name="method-i-update_merge_requests" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_merge_requests_source')" id="l_method-i-update_merge_requests_source">show</a>
+
+ </p>
+ <div id="method-i-update_merge_requests_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/push_observer.rb, line 128</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Redcarpet.html b/doc/code/classes/Redcarpet.html
new file mode 100644
index 00000000000..e1b53d96fea
--- /dev/null
+++ b/doc/code/classes/Redcarpet.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Redcarpet</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Redcarpet
+
+ </h1>
+ <ul class="files">
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="Redcarpet/Render.html">Redcarpet::Render</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Redcarpet/Render.html b/doc/code/classes/Redcarpet/Render.html
new file mode 100644
index 00000000000..29a763942b5
--- /dev/null
+++ b/doc/code/classes/Redcarpet/Render.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Redcarpet::Render</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Redcarpet::Render
+
+ </h1>
+ <ul class="files">
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Redcarpet/Render/GitlabHTML.html b/doc/code/classes/Redcarpet/Render/GitlabHTML.html
new file mode 100644
index 00000000000..664207dd196
--- /dev/null
+++ b/doc/code/classes/Redcarpet/Render/GitlabHTML.html
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Redcarpet::Render::GitlabHTML</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Redcarpet::Render::GitlabHTML
+
+ <span class="parent">&lt;
+
+ Redcarpet::Render::HTML
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../../files/lib/redcarpet/render/gitlab_html_rb.html">lib/redcarpet/render/gitlab_html.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-block_code">block_code</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-postprocess">postprocess</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>h</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [R]
+ </td>
+ <td class='attr-name'>template</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(template, options = {})
+
+ <a href="../../../classes/Redcarpet/Render/GitlabHTML.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-block_code">
+
+ <b>block_code</b>(code, language)
+
+ <a href="../../../classes/Redcarpet/Render/GitlabHTML.html#method-i-block_code" name="method-i-block_code" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-block_code_source')" id="l_method-i-block_code_source">show</a>
+
+ </p>
+ <div id="method-i-block_code_source" class="dyn-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-keyword ruby-title">block_code</span>(<span class="ruby-identifier">code</span>, <span class="ruby-identifier">language</span>)
+ <span class="ruby-identifier">options</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-identifier">options</span>.<span class="ruby-identifier">merge!</span>(<span class="ruby-identifier">lexer</span><span class="ruby-operator">:</span> <span class="ruby-identifier">language</span>.<span class="ruby-identifier">downcase</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-comment"># New lines are placed to fix an rendering issue</span>
+ <span class="ruby-comment"># with code wrapped inside &lt;h1&gt; tag for next case:</span>
+ <span class="ruby-comment">#</span>
+ <span class="ruby-comment"># # Title kinda h1</span>
+ <span class="ruby-comment">#</span>
+ <span class="ruby-comment"># ruby code here</span>
+ <span class="ruby-comment">#</span>
+ <span class="ruby-string">&quot;
+ &lt;div class=&quot;#{h.user_color_scheme_class}&quot;&gt;#{Pygments.highlight(code, options)}&lt;/div&gt;
+
+&quot;</span>
+ <span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-postprocess">
+
+ <b>postprocess</b>(full_document)
+
+ <a href="../../../classes/Redcarpet/Render/GitlabHTML.html#method-i-postprocess" name="method-i-postprocess" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-postprocess_source')" id="l_method-i-postprocess_source">show</a>
+
+ </p>
+ <div id="method-i-postprocess_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File lib/redcarpet/render/gitlab_html.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/RefsController.html b/doc/code/classes/RefsController.html
new file mode 100644
index 00000000000..971b8fcb9a3
--- /dev/null
+++ b/doc/code/classes/RefsController.html
@@ -0,0 +1,313 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>RefsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ RefsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/refs_controller_rb.html">app/controllers/refs_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-define_tree_vars">define_tree_vars</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-logs_tree">logs_tree</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ref">ref</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-switch">switch</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-logs_tree">
+
+ <b>logs_tree</b>()
+
+ <a href="../classes/RefsController.html#method-i-logs_tree" name="method-i-logs_tree" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-logs_tree_source')" id="l_method-i-logs_tree_source">show</a>
+
+ </p>
+ <div id="method-i-logs_tree_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 30</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-switch">
+
+ <b>switch</b>()
+
+ <a href="../classes/RefsController.html#method-i-switch" name="method-i-switch" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-switch_source')" id="l_method-i-switch_source">show</a>
+
+ </p>
+ <div id="method-i-switch_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-define_tree_vars">
+
+ <b>define_tree_vars</b>()
+
+ <a href="../classes/RefsController.html#method-i-define_tree_vars" name="method-i-define_tree_vars" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-define_tree_vars_source')" id="l_method-i-define_tree_vars_source">show</a>
+
+ </p>
+ <div id="method-i-define_tree_vars_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ref">
+
+ <b>ref</b>()
+
+ <a href="../classes/RefsController.html#method-i-ref" name="method-i-ref" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ref_source')" id="l_method-i-ref_source">show</a>
+
+ </p>
+ <div id="method-i-ref_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/refs_controller.rb, line 64</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/RepositoriesController.html b/doc/code/classes/RepositoriesController.html
new file mode 100644
index 00000000000..cd661646d44
--- /dev/null
+++ b/doc/code/classes/RepositoriesController.html
@@ -0,0 +1,325 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>RepositoriesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ RepositoriesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/repositories_controller_rb.html">app/controllers/repositories_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-archive">archive</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-branches">branches</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-stats">stats</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tags">tags</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-archive">
+
+ <b>archive</b>()
+
+ <a href="../classes/RepositoriesController.html#method-i-archive" name="method-i-archive" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-archive_source')" id="l_method-i-archive_source">show</a>
+
+ </p>
+ <div id="method-i-archive_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branches">
+
+ <b>branches</b>()
+
+ <a href="../classes/RepositoriesController.html#method-i-branches" name="method-i-branches" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branches_source')" id="l_method-i-branches_source">show</a>
+
+ </p>
+ <div id="method-i-branches_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/RepositoriesController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">20</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-stats">
+
+ <b>stats</b>()
+
+ <a href="../classes/RepositoriesController.html#method-i-stats" name="method-i-stats" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-stats_source')" id="l_method-i-stats_source">show</a>
+
+ </p>
+ <div id="method-i-stats_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">stats</span>
+ <span class="ruby-ivar">@stats</span> = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">GitStats</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@project</span>.<span class="ruby-identifier">repo</span>, <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">root_ref</span>)
+ <span class="ruby-ivar">@graph</span> = <span class="ruby-ivar">@stats</span>.<span class="ruby-identifier">graph</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tags">
+
+ <b>tags</b>()
+
+ <a href="../classes/RepositoriesController.html#method-i-tags" name="method-i-tags" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tags_source')" id="l_method-i-tags_source">show</a>
+
+ </p>
+ <div id="method-i-tags_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/repositories_controller.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Repository.html b/doc/code/classes/Repository.html
new file mode 100644
index 00000000000..a6266790d88
--- /dev/null
+++ b/doc/code/classes/Repository.html
@@ -0,0 +1,1737 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Repository</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Repository
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/repository_rb.html">app/roles/repository.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-archive_repo">archive_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-branch_names">branch_names</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-branches">branches</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-commit">commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits">commits</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits_between">commits_between</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits_since">commits_since</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-commits_with_refs">commits_with_refs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy_repository">destroy_repository</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-discover_default_branch">discover_default_branch</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-empty_repo-3F">empty_repo?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-fresh_commits">fresh_commits</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-has_commits-3F">has_commits?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-has_post_receive_file-3F">has_post_receive_file?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-heads">heads</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-hook_file">hook_file</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-http_url_to_repo">http_url_to_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-last_commit_for">last_commit_for</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-namespace_dir">namespace_dir</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>O</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-open_branches">open_branches</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-path_to_repo">path_to_repo</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-protected_branch-3F">protected_branch?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-ref_names">ref_names</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-repo">repo</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-repo_exists-3F">repo_exists?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-root_ref">root_ref</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-root_ref-3F">root_ref?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-satellite">satellite</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-ssh_url_to_repo">ssh_url_to_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tag_names">tag_names</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tags">tags</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tree">tree</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_repository">update_repository</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-url_to_repo">url_to_repo</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-valid_hook_file">valid_hook_file</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-valid_post_receive_file-3F">valid_post_receive_file?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-valid_repo-3F">valid_repo?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="GitHost.html">
+ GitHost
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-archive_repo">
+
+ <b>archive_repo</b>(ref)
+
+ <a href="../classes/Repository.html#method-i-archive_repo" name="method-i-archive_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-archive_repo_source')" id="l_method-i-archive_repo_source">show</a>
+
+ </p>
+ <div id="method-i-archive_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 175</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">path</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">path_with_namespace</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">path</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branch_names">
+
+ <b>branch_names</b>()
+
+ <a href="../classes/Repository.html#method-i-branch_names" name="method-i-branch_names" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns an Array of branch names</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branch_names_source')" id="l_method-i-branch_names_source">show</a>
+
+ </p>
+ <div id="method-i-branch_names_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 67</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branches">
+
+ <b>branches</b>()
+
+ <a href="../classes/Repository.html#method-i-branches" name="method-i-branches" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns an Array of Branches</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branches_source')" id="l_method-i-branches_source">show</a>
+
+ </p>
+ <div id="method-i-branches_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commit">
+
+ <b>commit</b>(commit_id = nil)
+
+ <a href="../classes/Repository.html#method-i-commit" name="method-i-commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commit_source')" id="l_method-i-commit_source">show</a>
+
+ </p>
+ <div id="method-i-commit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits">
+
+ <b>commits</b>(ref, path = nil, limit = nil, offset = nil)
+
+ <a href="../classes/Repository.html#method-i-commits" name="method-i-commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_source')" id="l_method-i-commits_source">show</a>
+
+ </p>
+ <div id="method-i-commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits_between">
+
+ <b>commits_between</b>(from, to)
+
+ <a href="../classes/Repository.html#method-i-commits_between" name="method-i-commits_between" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_between_source')" id="l_method-i-commits_between_source">show</a>
+
+ </p>
+ <div id="method-i-commits_between_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 39</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits_since">
+
+ <b>commits_since</b>(date)
+
+ <a href="../classes/Repository.html#method-i-commits_since" name="method-i-commits_since" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_since_source')" id="l_method-i-commits_since_source">show</a>
+
+ </p>
+ <div id="method-i-commits_since_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-commits_with_refs">
+
+ <b>commits_with_refs</b>(n = 20)
+
+ <a href="../classes/Repository.html#method-i-commits_with_refs" name="method-i-commits_with_refs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-commits_with_refs_source')" id="l_method-i-commits_with_refs_source">show</a>
+
+ </p>
+ <div id="method-i-commits_with_refs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">commits_with_refs</span>(<span class="ruby-identifier">n</span> = <span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy_repository">
+
+ <b>destroy_repository</b>()
+
+ <a href="../classes/Repository.html#method-i-destroy_repository" name="method-i-destroy_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_repository_source')" id="l_method-i-destroy_repository_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 111</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-discover_default_branch">
+
+ <b>discover_default_branch</b>()
+
+ <a href="../classes/Repository.html#method-i-discover_default_branch" name="method-i-discover_default_branch" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-discover_default_branch_source')" id="l_method-i-discover_default_branch_source">show</a>
+
+ </p>
+ <div id="method-i-discover_default_branch_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 146</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-empty_repo-3F">
+
+ <b>empty_repo?</b>()
+
+ <a href="../classes/Repository.html#method-i-empty_repo-3F" name="method-i-empty_repo-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-empty_repo-3F_source')" id="l_method-i-empty_repo-3F_source">show</a>
+
+ </p>
+ <div id="method-i-empty_repo-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-fresh_commits">
+
+ <b>fresh_commits</b>(n = 10)
+
+ <a href="../classes/Repository.html#method-i-fresh_commits" name="method-i-fresh_commits" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-fresh_commits_source')" id="l_method-i-fresh_commits_source">show</a>
+
+ </p>
+ <div id="method-i-fresh_commits_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 19</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">fresh_commits</span>(<span class="ruby-identifier">n</span> = <span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-has_commits-3F">
+
+ <b>has_commits?</b>()
+
+ <a href="../classes/Repository.html#method-i-has_commits-3F" name="method-i-has_commits-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-has_commits-3F_source')" id="l_method-i-has_commits-3F_source">show</a>
+
+ </p>
+ <div id="method-i-has_commits-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 156</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-has_post_receive_file-3F">
+
+ <b>has_post_receive_file?</b>()
+
+ <a href="../classes/Repository.html#method-i-has_post_receive_file-3F" name="method-i-has_post_receive_file-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-has_post_receive_file-3F_source')" id="l_method-i-has_post_receive_file-3F_source">show</a>
+
+ </p>
+ <div id="method-i-has_post_receive_file-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 47</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">has_post_receive_file?</span>
+ <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-identifier">hook_file</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-heads">
+
+ <b>heads</b>()
+
+ <a href="../classes/Repository.html#method-i-heads" name="method-i-heads" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-heads_source')" id="l_method-i-heads_source">show</a>
+
+ </p>
+ <div id="method-i-heads_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 121</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-hook_file">
+
+ <b>hook_file</b>()
+
+ <a href="../classes/Repository.html#method-i-hook_file" name="method-i-hook_file" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-hook_file_source')" id="l_method-i-hook_file_source">show</a>
+
+ </p>
+ <div id="method-i-hook_file_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">hook_file</span>
+ <span class="ruby-ivar">@hook_file</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">begin</span>
+ <span class="ruby-identifier">hook_path</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">read</span>(<span class="ruby-identifier">hook_path</span>) <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">hook_path</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-http_url_to_repo">
+
+ <b>http_url_to_repo</b>()
+
+ <a href="../classes/Repository.html#method-i-http_url_to_repo" name="method-i-http_url_to_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-http_url_to_repo_source')" id="l_method-i-http_url_to_repo_source">show</a>
+
+ </p>
+ <div id="method-i-http_url_to_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 201</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">gitlab</span>.<span class="ruby-identifier">url</span>, <span class="ruby-string">&quot;/&quot;</span>, <span class="ruby-identifier">path_with_namespace</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-last_commit_for">
+
+ <b>last_commit_for</b>(ref, path = nil)
+
+ <a href="../classes/Repository.html#method-i-last_commit_for" name="method-i-last_commit_for" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-last_commit_for_source')" id="l_method-i-last_commit_for_source">show</a>
+
+ </p>
+ <div id="method-i-last_commit_for_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">1</span>).<span class="ruby-identifier">first</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-namespace_dir">
+
+ <b>namespace_dir</b>()
+
+ <a href="../classes/Repository.html#method-i-namespace_dir" name="method-i-namespace_dir" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-namespace_dir_source')" id="l_method-i-namespace_dir_source">show</a>
+
+ </p>
+ <div id="method-i-namespace_dir_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 103</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">namespace_dir</span>
+ <span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:path</span>) <span class="ruby-operator">||</span> <span class="ruby-string">''</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-open_branches">
+
+ <b>open_branches</b>()
+
+ <a href="../classes/Repository.html#method-i-open_branches" name="method-i-open_branches" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-open_branches_source')" id="l_method-i-open_branches_source">show</a>
+
+ </p>
+ <div id="method-i-open_branches_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 131</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-path_to_repo">
+
+ <b>path_to_repo</b>()
+
+ <a href="../classes/Repository.html#method-i-path_to_repo" name="method-i-path_to_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-path_to_repo_source')" id="l_method-i-path_to_repo_source">show</a>
+
+ </p>
+ <div id="method-i-path_to_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 99</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">gitolite</span>.<span class="ruby-identifier">repos_path</span>, <span class="ruby-node">&quot;#{path_with_namespace}.git&quot;</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-protected_branch-3F">
+
+ <b>protected_branch?</b>(branch_name)
+
+ <a href="../classes/Repository.html#method-i-protected_branch-3F" name="method-i-protected_branch-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Check if current branch name is marked as protected in the system</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-protected_branch-3F_source')" id="l_method-i-protected_branch-3F_source">show</a>
+
+ </p>
+ <div id="method-i-protected_branch-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 206</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ref_names">
+
+ <b>ref_names</b>()
+
+ <a href="../classes/Repository.html#method-i-ref_names" name="method-i-ref_names" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns an Array of branch and tag names</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ref_names_source')" id="l_method-i-ref_names_source">show</a>
+
+ </p>
+ <div id="method-i-ref_names_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 87</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repo">
+
+ <b>repo</b>()
+
+ <a href="../classes/Repository.html#method-i-repo" name="method-i-repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repo_source')" id="l_method-i-repo_source">show</a>
+
+ </p>
+ <div id="method-i-repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 91</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repo_exists-3F">
+
+ <b>repo_exists?</b>()
+
+ <a href="../classes/Repository.html#method-i-repo_exists-3F" name="method-i-repo_exists-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repo_exists-3F_source')" id="l_method-i-repo_exists-3F_source">show</a>
+
+ </p>
+ <div id="method-i-repo_exists-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 115</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-root_ref">
+
+ <b>root_ref</b>()
+
+ <a href="../classes/Repository.html#method-i-root_ref" name="method-i-root_ref" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-root_ref_source')" id="l_method-i-root_ref_source">show</a>
+
+ </p>
+ <div id="method-i-root_ref_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 162</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-root_ref-3F">
+
+ <b>root_ref?</b>(branch)
+
+ <a href="../classes/Repository.html#method-i-root_ref-3F" name="method-i-root_ref-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-root_ref-3F_source')" id="l_method-i-root_ref-3F_source">show</a>
+
+ </p>
+ <div id="method-i-root_ref-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 166</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-satellite">
+
+ <b>satellite</b>()
+
+ <a href="../classes/Repository.html#method-i-satellite" name="method-i-satellite" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-satellite_source')" id="l_method-i-satellite_source">show</a>
+
+ </p>
+ <div id="method-i-satellite_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 43</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-ssh_url_to_repo">
+
+ <b>ssh_url_to_repo</b>()
+
+ <a href="../classes/Repository.html#method-i-ssh_url_to_repo" name="method-i-ssh_url_to_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-ssh_url_to_repo_source')" id="l_method-i-ssh_url_to_repo_source">show</a>
+
+ </p>
+ <div id="method-i-ssh_url_to_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 197</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">ssh_url_to_repo</span>
+ <span class="ruby-identifier">url_to_repo</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tag_names">
+
+ <b>tag_names</b>()
+
+ <a href="../classes/Repository.html#method-i-tag_names" name="method-i-tag_names" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns an Array of tag names</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tag_names_source')" id="l_method-i-tag_names_source">show</a>
+
+ </p>
+ <div id="method-i-tag_names_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 77</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tags">
+
+ <b>tags</b>()
+
+ <a href="../classes/Repository.html#method-i-tags" name="method-i-tags" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Returns an Array of Tags</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tags_source')" id="l_method-i-tags_source">show</a>
+
+ </p>
+ <div id="method-i-tags_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tree">
+
+ <b>tree</b>(fcommit, path = nil)
+
+ <a href="../classes/Repository.html#method-i-tree" name="method-i-tree" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tree_source')" id="l_method-i-tree_source">show</a>
+
+ </p>
+ <div id="method-i-tree_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 125</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_repository">
+
+ <b>update_repository</b>()
+
+ <a href="../classes/Repository.html#method-i-update_repository" name="method-i-update_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_repository_source')" id="l_method-i-update_repository_source">show</a>
+
+ </p>
+ <div id="method-i-update_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 107</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-url_to_repo">
+
+ <b>url_to_repo</b>()
+
+ <a href="../classes/Repository.html#method-i-url_to_repo" name="method-i-url_to_repo" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-url_to_repo_source')" id="l_method-i-url_to_repo_source">show</a>
+
+ </p>
+ <div id="method-i-url_to_repo_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 95</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">url_to_repo</span>
+ <span class="ruby-identifier">git_host</span>.<span class="ruby-identifier">url_to_repo</span>(<span class="ruby-identifier">path_with_namespace</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid_hook_file">
+
+ <b>valid_hook_file</b>()
+
+ <a href="../classes/Repository.html#method-i-valid_hook_file" name="method-i-valid_hook_file" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid_hook_file_source')" id="l_method-i-valid_hook_file_source">show</a>
+
+ </p>
+ <div id="method-i-valid_hook_file_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">valid_hook_file</span>
+ <span class="ruby-ivar">@valid_hook_file</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">Rails</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">'lib'</span>, <span class="ruby-string">'hooks'</span>, <span class="ruby-string">'post-receive'</span>))
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid_post_receive_file-3F">
+
+ <b>valid_post_receive_file?</b>()
+
+ <a href="../classes/Repository.html#method-i-valid_post_receive_file-3F" name="method-i-valid_post_receive_file-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid_post_receive_file-3F_source')" id="l_method-i-valid_post_receive_file-3F_source">show</a>
+
+ </p>
+ <div id="method-i-valid_post_receive_file-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">valid_post_receive_file?</span>
+ <span class="ruby-identifier">valid_hook_file</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">hook_file</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-valid_repo-3F">
+
+ <b>valid_repo?</b>()
+
+ <a href="../classes/Repository.html#method-i-valid_repo-3F" name="method-i-valid_repo-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-valid_repo-3F_source')" id="l_method-i-valid_repo-3F_source">show</a>
+
+ </p>
+ <div id="method-i-valid_repo-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/repository.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ResqueAuthentication.html b/doc/code/classes/ResqueAuthentication.html
new file mode 100644
index 00000000000..ec3fc9e470f
--- /dev/null
+++ b/doc/code/classes/ResqueAuthentication.html
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ResqueAuthentication</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ResqueAuthentication
+
+ <span class="parent">&lt;
+
+ <a href="Object.html">Object</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/config/initializers/4_resque_rb.html">config/initializers/4_resque.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-call">call</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(app)
+
+ <a href="../classes/ResqueAuthentication.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/4_resque.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">app</span>)
+ <span class="ruby-ivar">@app</span> = <span class="ruby-identifier">app</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-call">
+
+ <b>call</b>(env)
+
+ <a href="../classes/ResqueAuthentication.html#method-i-call" name="method-i-call" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-call_source')" id="l_method-i-call_source">show</a>
+
+ </p>
+ <div id="method-i-call_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/4_resque.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">call</span>(<span class="ruby-identifier">env</span>)
+ <span class="ruby-identifier">account</span> = <span class="ruby-identifier">env</span>[<span class="ruby-string">'warden'</span>].<span class="ruby-identifier">authenticate!</span>(<span class="ruby-value">:database_authenticatable</span>, <span class="ruby-value">:rememberable</span>, <span class="ruby-identifier">scope</span><span class="ruby-operator">:</span> <span class="ruby-value">:user</span>)
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;Access denied&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">account</span>.<span class="ruby-identifier">admin?</span>
+ <span class="ruby-ivar">@app</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">env</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SearchContext.html b/doc/code/classes/SearchContext.html
new file mode 100644
index 00000000000..b8ecb2e716d
--- /dev/null
+++ b/doc/code/classes/SearchContext.html
@@ -0,0 +1,262 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SearchContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SearchContext
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/search_context_rb.html">app/contexts/search_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-result">result</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>params</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project_ids</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(project_ids, params)
+
+ <a href="../classes/SearchContext.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/SearchContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">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-number">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-number">10</span>)
+ <span class="ruby-identifier">result</span>[<span class="ruby-value">:wiki_pages</span>] = <span class="ruby-constant">Wiki</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-number">10</span>)
+ <span class="ruby-identifier">result</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-result">
+
+ <b>result</b>()
+
+ <a href="../classes/SearchContext.html#method-i-result" name="method-i-result" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-result_source')" id="l_method-i-result_source">show</a>
+
+ </p>
+ <div id="method-i-result_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/contexts/search_context.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">wiki_pages</span><span class="ruby-operator">:</span> []
+ }
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SearchController.html b/doc/code/classes/SearchController.html
new file mode 100644
index 00000000000..5f26c934c5a
--- /dev/null
+++ b/doc/code/classes/SearchController.html
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SearchController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SearchController
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationController.html">ApplicationController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/search_controller_rb.html">app/controllers/search_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/SearchController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/search_controller.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-ivar">@wiki_pages</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:wiki_pages</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Service.html b/doc/code/classes/Service.html
new file mode 100644
index 00000000000..f4973cb37f6
--- /dev/null
+++ b/doc/code/classes/Service.html
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Service</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Service
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/service_rb.html">app/models/service.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: services</p>
+
+<pre>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)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ServiceHook.html b/doc/code/classes/ServiceHook.html
new file mode 100644
index 00000000000..faff9256de2
--- /dev/null
+++ b/doc/code/classes/ServiceHook.html
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ServiceHook</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ServiceHook
+
+ <span class="parent">&lt;
+
+ <a href="WebHook.html">WebHook</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/service_hook_rb.html">app/models/service_hook.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/ServicesController.html b/doc/code/classes/ServicesController.html
new file mode 100644
index 00000000000..c0165b096d7
--- /dev/null
+++ b/doc/code/classes/ServicesController.html
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ServicesController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ ServicesController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/services_controller_rb.html">app/controllers/services_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-test">test</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/ServicesController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/services_controller.rb, line 11</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+ <span class="ruby-ivar">@service</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">gitlab_ci_service</span>
+
+ <span class="ruby-comment"># Create if missing</span>
+ <span class="ruby-ivar">@service</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">create_gitlab_ci_service</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@service</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/ServicesController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/services_controller.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span>
+ <span class="ruby-ivar">@gitlab_ci_service</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">gitlab_ci_service</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-test">
+
+ <b>test</b>()
+
+ <a href="../classes/ServicesController.html#method-i-test" name="method-i-test" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-test_source')" id="l_method-i-test_source">show</a>
+
+ </p>
+ <div id="method-i-test_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/services_controller.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">test</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-number">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-ivar">@service</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">gitlab_ci_service</span>
+ <span class="ruby-ivar">@service</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/ServicesController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/services_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update</span>
+ <span class="ruby-ivar">@service</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">gitlab_ci_service</span>
+
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@service</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-value">:service</span>])
+ <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">edit_project_service_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-value">:gitlab_ci</span>)
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">render</span> <span class="ruby-string">'edit'</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Settings.html b/doc/code/classes/Settings.html
new file mode 100644
index 00000000000..05219228dbe
--- /dev/null
+++ b/doc/code/classes/Settings.html
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Settings</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Settings
+
+ <span class="parent">&lt;
+
+ Settingslogic
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/config/initializers/1_settings_rb.html">config/initializers/1_settings.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-gitlab_on_non_standard_port-3F">gitlab_on_non_standard_port?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-gitlab_on_non_standard_port-3F">
+
+ <b>gitlab_on_non_standard_port?</b>()
+
+ <a href="../classes/Settings.html#method-c-gitlab_on_non_standard_port-3F" name="method-c-gitlab_on_non_standard_port-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-gitlab_on_non_standard_port-3F_source')" id="l_method-c-gitlab_on_non_standard_port-3F_source">show</a>
+
+ </p>
+ <div id="method-c-gitlab_on_non_standard_port-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File config/initializers/1_settings.rb, line 5</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">gitlab_on_non_standard_port?</span>
+ <span class="ruby-operator">!</span>[<span class="ruby-number">443</span>, <span class="ruby-number">80</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">gitlab</span>.<span class="ruby-identifier">port</span>.<span class="ruby-identifier">to_i</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Snippet.html b/doc/code/classes/Snippet.html
new file mode 100644
index 00000000000..a71f13165fc
--- /dev/null
+++ b/doc/code/classes/Snippet.html
@@ -0,0 +1,402 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Snippet</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Snippet
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/snippet_rb.html">app/models/snippet.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: snippets</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-content_types">content_types</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-data">data</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-expired-3F">expired?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-mode">mode</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-name">name</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-size">size</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ Linguist::BlobHelper
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-content_types">
+
+ <b>content_types</b>()
+
+ <a href="../classes/Snippet.html#method-c-content_types" name="method-c-content_types" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-content_types_source')" id="l_method-c-content_types_source">show</a>
+
+ </p>
+ <div id="method-c-content_types_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-data">
+
+ <b>data</b>()
+
+ <a href="../classes/Snippet.html#method-i-data" name="method-i-data" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-data_source')" id="l_method-i-data_source">show</a>
+
+ </p>
+ <div id="method-i-data_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">data</span>
+ <span class="ruby-identifier">content</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-expired-3F">
+
+ <b>expired?</b>()
+
+ <a href="../classes/Snippet.html#method-i-expired-3F" name="method-i-expired-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-expired-3F_source')" id="l_method-i-expired-3F_source">show</a>
+
+ </p>
+ <div id="method-i-expired-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 62</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-mode">
+
+ <b>mode</b>()
+
+ <a href="../classes/Snippet.html#method-i-mode" name="method-i-mode" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-mode_source')" id="l_method-i-mode_source">show</a>
+
+ </p>
+ <div id="method-i-mode_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 58</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">mode</span>
+ <span class="ruby-keyword">nil</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-name">
+
+ <b>name</b>()
+
+ <a href="../classes/Snippet.html#method-i-name" name="method-i-name" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-name_source')" id="l_method-i-name_source">show</a>
+
+ </p>
+ <div id="method-i-name_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">name</span>
+ <span class="ruby-identifier">file_name</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-size">
+
+ <b>size</b>()
+
+ <a href="../classes/Snippet.html#method-i-size" name="method-i-size" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-size_source')" id="l_method-i-size_source">show</a>
+
+ </p>
+ <div id="method-i-size_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/snippet.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">size</span>
+ <span class="ruby-number">0</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SnippetsController.html b/doc/code/classes/SnippetsController.html
new file mode 100644
index 00000000000..fd7e0fe6d19
--- /dev/null
+++ b/doc/code/classes/SnippetsController.html
@@ -0,0 +1,611 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SnippetsController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SnippetsController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/snippets_controller_rb.html">app/controllers/snippets_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-authorize_admin_snippet-21">authorize_admin_snippet!</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-authorize_modify_snippet-21">authorize_modify_snippet!</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-raw">raw</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-snippet">snippet</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 55</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 38</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">edit</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 18</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span>
+ <span class="ruby-ivar">@snippets</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">snippets</span>.<span class="ruby-identifier">fresh</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 22</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-raw">
+
+ <b>raw</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-raw" name="method-i-raw" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-raw_source')" id="l_method-i-raw_source">show</a>
+
+ </p>
+ <div id="method-i-raw_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_admin_snippet-21">
+
+ <b>authorize_admin_snippet!</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-authorize_admin_snippet-21" name="method-i-authorize_admin_snippet-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_admin_snippet-21_source')" id="l_method-i-authorize_admin_snippet-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_admin_snippet-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 82</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-authorize_modify_snippet-21">
+
+ <b>authorize_modify_snippet!</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-authorize_modify_snippet-21" name="method-i-authorize_modify_snippet-21" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-authorize_modify_snippet-21_source')" id="l_method-i-authorize_modify_snippet-21_source">show</a>
+
+ </p>
+ <div id="method-i-authorize_modify_snippet-21_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 78</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-snippet">
+
+ <b>snippet</b>()
+
+ <a href="../classes/SnippetsController.html#method-i-snippet" name="method-i-snippet" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-snippet_source')" id="l_method-i-snippet_source">show</a>
+
+ </p>
+ <div id="method-i-snippet_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/snippets_controller.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SnippetsHelper.html b/doc/code/classes/SnippetsHelper.html
new file mode 100644
index 00000000000..4230a0cce79
--- /dev/null
+++ b/doc/code/classes/SnippetsHelper.html
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SnippetsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ SnippetsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/snippets_helper_rb.html">app/helpers/snippets_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-lifetime_select_options">lifetime_select_options</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-lifetime_select_options">
+
+ <b>lifetime_select_options</b>()
+
+ <a href="../classes/SnippetsHelper.html#method-i-lifetime_select_options" name="method-i-lifetime_select_options" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-lifetime_select_options_source')" id="l_method-i-lifetime_select_options_source">show</a>
+
+ </p>
+ <div id="method-i-lifetime_select_options_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/snippets_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/StaticModel.html b/doc/code/classes/StaticModel.html
new file mode 100644
index 00000000000..46ead77607d
--- /dev/null
+++ b/doc/code/classes/StaticModel.html
@@ -0,0 +1,377 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>StaticModel</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ StaticModel
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/static_model_rb.html">app/roles/static_model.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Provides an ActiveRecord-like interface to a model whose data is not
+persisted to a database.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+ </li>
+
+ </ul>
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>#</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-3D-3D">==</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-5B-5D">[]</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroyed-3F">destroyed?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new_record-3F">new_record?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-persisted-3F">persisted?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_param">to_param</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-3D-3D">
+
+ <b>==</b>(other)
+
+ <a href="../classes/StaticModel.html#method-i-3D-3D" name="method-i-3D-3D" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-3D-3D_source')" id="l_method-i-3D-3D_source">show</a>
+
+ </p>
+ <div id="method-i-3D-3D_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-5B-5D">
+
+ <b>[]</b>(key)
+
+ <a href="../classes/StaticModel.html#method-i-5B-5D" name="method-i-5B-5D" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Used by AR for fetching attributes</p>
+
+<p>Pass it along if we respond to it.</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-5B-5D_source')" id="l_method-i-5B-5D_source">show</a>
+
+ </p>
+ <div id="method-i-5B-5D_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroyed-3F">
+
+ <b>destroyed?</b>()
+
+ <a href="../classes/StaticModel.html#method-i-destroyed-3F" name="method-i-destroyed-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroyed-3F_source')" id="l_method-i-destroyed-3F_source">show</a>
+
+ </p>
+ <div id="method-i-destroyed-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">destroyed?</span>
+ <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new_record-3F">
+
+ <b>new_record?</b>()
+
+ <a href="../classes/StaticModel.html#method-i-new_record-3F" name="method-i-new_record-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_record-3F_source')" id="l_method-i-new_record-3F_source">show</a>
+
+ </p>
+ <div id="method-i-new_record-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">new_record?</span>
+ <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-persisted-3F">
+
+ <b>persisted?</b>()
+
+ <a href="../classes/StaticModel.html#method-i-persisted-3F" name="method-i-persisted-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-persisted-3F_source')" id="l_method-i-persisted-3F_source">show</a>
+
+ </p>
+ <div id="method-i-persisted-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">persisted?</span>
+ <span class="ruby-keyword">false</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_param">
+
+ <b>to_param</b>()
+
+ <a href="../classes/StaticModel.html#method-i-to_param" name="method-i-to_param" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_param_source')" id="l_method-i-to_param_source">show</a>
+
+ </p>
+ <div id="method-i-to_param_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_param</span>
+ <span class="ruby-identifier">id</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/StaticModel/ClassMethods.html b/doc/code/classes/StaticModel/ClassMethods.html
new file mode 100644
index 00000000000..38508f6d91f
--- /dev/null
+++ b/doc/code/classes/StaticModel/ClassMethods.html
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>StaticModel::ClassMethods</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ StaticModel::ClassMethods
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../../files/app/roles/static_model_rb.html">app/roles/static_model.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-base_class">base_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-primary_key">primary_key</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-base_class">
+
+ <b>base_class</b>()
+
+ <a href="../../classes/StaticModel/ClassMethods.html#method-i-base_class" name="method-i-base_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Used by ActiveRecord’s polymorphic association to set object_type</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-base_class_source')" id="l_method-i-base_class_source">show</a>
+
+ </p>
+ <div id="method-i-base_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">base_class</span>
+ <span class="ruby-keyword">self</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-primary_key">
+
+ <b>primary_key</b>()
+
+ <a href="../../classes/StaticModel/ClassMethods.html#method-i-primary_key" name="method-i-primary_key" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Used by ActiveRecord’s polymorphic association to set object_id</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-primary_key_source')" id="l_method-i-primary_key_source">show</a>
+
+ </p>
+ <div id="method-i-primary_key_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/static_model.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">primary_key</span>
+ <span class="ruby-string">'id'</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SystemHook.html b/doc/code/classes/SystemHook.html
new file mode 100644
index 00000000000..4f1ce71fbba
--- /dev/null
+++ b/doc/code/classes/SystemHook.html
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SystemHook</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SystemHook
+
+ <span class="parent">&lt;
+
+ <a href="WebHook.html">WebHook</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/system_hook_rb.html">app/models/system_hook.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-all_hooks_fire">all_hooks_fire</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-async_execute">async_execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-all_hooks_fire">
+
+ <b>all_hooks_fire</b>(data)
+
+ <a href="../classes/SystemHook.html#method-c-all_hooks_fire" name="method-c-all_hooks_fire" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-all_hooks_fire_source')" id="l_method-c-all_hooks_fire_source">show</a>
+
+ </p>
+ <div id="method-c-all_hooks_fire_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/system_hook.rb, line 15</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-async_execute">
+
+ <b>async_execute</b>(data)
+
+ <a href="../classes/SystemHook.html#method-i-async_execute" name="method-i-async_execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-async_execute_source')" id="l_method-i-async_execute_source">show</a>
+
+ </p>
+ <div id="method-i-async_execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/system_hook.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SystemHookObserver.html b/doc/code/classes/SystemHookObserver.html
new file mode 100644
index 00000000000..24609a5c916
--- /dev/null
+++ b/doc/code/classes/SystemHookObserver.html
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SystemHookObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SystemHookObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/system_hook_observer_rb.html">app/observers/system_hook_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_destroy">after_destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(model)
+
+ <a href="../classes/SystemHookObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_destroy">
+
+ <b>after_destroy</b>(model)
+
+ <a href="../classes/SystemHookObserver.html#method-i-after_destroy" name="method-i-after_destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_destroy_source')" id="l_method-i-after_destroy_source">show</a>
+
+ </p>
+ <div id="method-i-after_destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/SystemHookWorker.html b/doc/code/classes/SystemHookWorker.html
new file mode 100644
index 00000000000..9c114ba6261
--- /dev/null
+++ b/doc/code/classes/SystemHookWorker.html
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>SystemHookWorker</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ SystemHookWorker
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/workers/system_hook_worker_rb.html">app/workers/system_hook_worker.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-perform">perform</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-perform">
+
+ <b>perform</b>(hook_id, data)
+
+ <a href="../classes/SystemHookWorker.html#method-c-perform" name="method-c-perform" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-perform_source')" id="l_method-c-perform_source">show</a>
+
+ </p>
+ <div id="method-c-perform_source" class="dyn-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 ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TabHelper.html b/doc/code/classes/TabHelper.html
new file mode 100644
index 00000000000..c7b4c7908ab
--- /dev/null
+++ b/doc/code/classes/TabHelper.html
@@ -0,0 +1,346 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TabHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ TabHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/tab_helper_rb.html">app/helpers/tab_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-branches_tab_class">branches_tab_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-nav_link">nav_link</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-nav_tab">nav_tab</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_tab_class">project_tab_class</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-branches_tab_class">
+
+ <b>branches_tab_class</b>()
+
+ <a href="../classes/TabHelper.html#method-i-branches_tab_class" name="method-i-branches_tab_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-branches_tab_class_source')" id="l_method-i-branches_tab_class_source">show</a>
+
+ </p>
+ <div id="method-i-branches_tab_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 80</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-nav_link">
+
+ <b>nav_link</b>(options = {}, &amp;block)
+
+ <a href="../classes/TabHelper.html#method-i-nav_link" name="method-i-nav_link" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-nav_link_source')" id="l_method-i-nav_link_source">show</a>
+
+ </p>
+ <div id="method-i-nav_link_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-nav_tab">
+
+ <b>nav_tab</b>(key, value, &amp;block)
+
+ <a href="../classes/TabHelper.html#method-i-nav_tab" name="method-i-nav_tab" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Use <a href="TabHelper.html#method-i-nav_tab">#nav_tab</a> for save
+controller/action but different params</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-nav_tab_source')" id="l_method-i-nav_tab_source">show</a>
+
+ </p>
+ <div id="method-i-nav_tab_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 89</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">nav_tab</span> <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, &amp;<span class="ruby-identifier">block</span>
+ <span class="ruby-identifier">o</span> = {}
+ <span class="ruby-identifier">o</span>[<span class="ruby-value">:class</span>] = <span class="ruby-string">&quot;&quot;</span>
+ <span class="ruby-identifier">o</span>[<span class="ruby-value">:class</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot; active&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">value</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_tab_class">
+
+ <b>project_tab_class</b>()
+
+ <a href="../classes/TabHelper.html#method-i-project_tab_class" name="method-i-project_tab_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_tab_class_source')" id="l_method-i-project_tab_class_source">show</a>
+
+ </p>
+ <div id="method-i-project_tab_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tab_helper.rb, line 70</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">'services'</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TagsHelper.html b/doc/code/classes/TagsHelper.html
new file mode 100644
index 00000000000..cf30b011b4a
--- /dev/null
+++ b/doc/code/classes/TagsHelper.html
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TagsHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ TagsHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/tags_helper_rb.html">app/helpers/tags_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tag_list">tag_list</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tag_path">tag_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tag_list">
+
+ <b>tag_list</b>(project)
+
+ <a href="../classes/TagsHelper.html#method-i-tag_list" name="method-i-tag_list" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tag_list_source')" id="l_method-i-tag_list_source">show</a>
+
+ </p>
+ <div id="method-i-tag_list_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tags_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tag_path">
+
+ <b>tag_path</b>(tag)
+
+ <a href="../classes/TagsHelper.html#method-i-tag_path" name="method-i-tag_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tag_path_source')" id="l_method-i-tag_path_source">show</a>
+
+ </p>
+ <div id="method-i-tag_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tags_helper.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Team.html b/doc/code/classes/Team.html
new file mode 100644
index 00000000000..08d2c07e3c6
--- /dev/null
+++ b/doc/code/classes/Team.html
@@ -0,0 +1,470 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Team</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Team
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/team_rb.html">app/roles/team.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-add_user_id_to_team">add_user_id_to_team</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-add_user_to_team">add_user_to_team</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-add_users_ids_to_team">add_users_ids_to_team</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-add_users_to_team">add_users_to_team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-delete_users_ids_from_team">delete_users_ids_from_team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-team_member_by_id">team_member_by_id</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-team_member_by_name_or_email">team_member_by_name_or_email</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-truncate_team">truncate_team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_users_ids_to_role">update_users_ids_to_role</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_user_id_to_team">
+
+ <b>add_user_id_to_team</b>(user_id, access_role)
+
+ <a href="../classes/Team.html#method-i-add_user_id_to_team" name="method-i-add_user_id_to_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Add user to project with passed access role by user id</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_user_id_to_team_source')" id="l_method-i-add_user_id_to_team_source">show</a>
+
+ </p>
+ <div id="method-i-add_user_id_to_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 26</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_user_to_team">
+
+ <b>add_user_to_team</b>(user, access_role)
+
+ <a href="../classes/Team.html#method-i-add_user_to_team" name="method-i-add_user_to_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Add user to project with passed access role</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_user_to_team_source')" id="l_method-i-add_user_to_team_source">show</a>
+
+ </p>
+ <div id="method-i-add_user_to_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 14</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_users_ids_to_team">
+
+ <b>add_users_ids_to_team</b>(users_ids, access_role)
+
+ <a href="../classes/Team.html#method-i-add_users_ids_to_team" name="method-i-add_users_ids_to_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Add multiple users to project with same access role by user ids</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_users_ids_to_team_source')" id="l_method-i-add_users_ids_to_team_source">show</a>
+
+ </p>
+ <div id="method-i-add_users_ids_to_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 35</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-add_users_to_team">
+
+ <b>add_users_to_team</b>(users, access_role)
+
+ <a href="../classes/Team.html#method-i-add_users_to_team" name="method-i-add_users_to_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Add multiple users to project with same access role</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-add_users_to_team_source')" id="l_method-i-add_users_to_team_source">show</a>
+
+ </p>
+ <div id="method-i-add_users_to_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-delete_users_ids_from_team">
+
+ <b>delete_users_ids_from_team</b>(users_ids)
+
+ <a href="../classes/Team.html#method-i-delete_users_ids_from_team" name="method-i-delete_users_ids_from_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Delete multiple users from project by user ids</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-delete_users_ids_from_team_source')" id="l_method-i-delete_users_ids_from_team_source">show</a>
+
+ </p>
+ <div id="method-i-delete_users_ids_from_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 46</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_member_by_id">
+
+ <b>team_member_by_id</b>(user_id)
+
+ <a href="../classes/Team.html#method-i-team_member_by_id" name="method-i-team_member_by_id" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Get <a href="Team.html">Team</a> Member record by user id</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_member_by_id_source')" id="l_method-i-team_member_by_id_source">show</a>
+
+ </p>
+ <div id="method-i-team_member_by_id_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-team_member_by_name_or_email">
+
+ <b>team_member_by_name_or_email</b>(name = nil, email = nil)
+
+ <a href="../classes/Team.html#method-i-team_member_by_name_or_email" name="method-i-team_member_by_name_or_email" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-team_member_by_name_or_email_source')" id="l_method-i-team_member_by_name_or_email_source">show</a>
+
+ </p>
+ <div id="method-i-team_member_by_name_or_email_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-truncate_team">
+
+ <b>truncate_team</b>()
+
+ <a href="../classes/Team.html#method-i-truncate_team" name="method-i-truncate_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Remove all users from project team</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-truncate_team_source')" id="l_method-i-truncate_team_source">show</a>
+
+ </p>
+ <div id="method-i-truncate_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">truncate_team</span>
+ <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">truncate_team</span>(<span class="ruby-keyword">self</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_users_ids_to_role">
+
+ <b>update_users_ids_to_role</b>(users_ids, access_role)
+
+ <a href="../classes/Team.html#method-i-update_users_ids_to_role" name="method-i-update_users_ids_to_role" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Update multiple project users to same access role by user ids</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_users_ids_to_role_source')" id="l_method-i-update_users_ids_to_role_source">show</a>
+
+ </p>
+ <div id="method-i-update_users_ids_to_role_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/team.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TeamMembersController.html b/doc/code/classes/TeamMembersController.html
new file mode 100644
index 00000000000..f411dfd17ce
--- /dev/null
+++ b/doc/code/classes/TeamMembersController.html
@@ -0,0 +1,438 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TeamMembersController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ TeamMembersController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/team_members_controller_rb.html">app/controllers/team_members_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-apply_import">apply_import</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-index">index</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-apply_import">
+
+ <b>apply_import</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-apply_import" name="method-i-apply_import" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-apply_import_source')" id="l_method-i-apply_import_source">show</a>
+
+ </p>
+ <div id="method-i-apply_import_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 51</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-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-keyword ruby-title">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-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:redirect_to</span>]
+ <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:redirect_to</span>]
+ <span class="ruby-keyword">else</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>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-index">
+
+ <b>index</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-index" name="method-i-index" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a>
+
+ </p>
+ <div id="method-i-index_source" class="dyn-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-keyword ruby-title">index</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-new">
+
+ <b>new</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-new" name="method-i-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-new_source')" id="l_method-i-new_source">show</a>
+
+ </p>
+ <div id="method-i-new_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-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-keyword ruby-title">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-number">7</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/TeamMembersController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/team_members_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TestHookContext.html b/doc/code/classes/TestHookContext.html
new file mode 100644
index 00000000000..5b9b647858b
--- /dev/null
+++ b/doc/code/classes/TestHookContext.html
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TestHookContext</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ TestHookContext
+
+ <span class="parent">&lt;
+
+ <a href="BaseContext.html">BaseContext</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/contexts/test_hook_context_rb.html">app/contexts/test_hook_context.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>()
+
+ <a href="../classes/TestHookContext.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-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-keyword ruby-title">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-number">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Tree.html b/doc/code/classes/Tree.html
new file mode 100644
index 00000000000..e71dfa3ffc4
--- /dev/null
+++ b/doc/code/classes/Tree.html
@@ -0,0 +1,322 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Tree</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Tree
+
+ <span class="parent">&lt;
+
+ Object
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/tree_rb.html">app/models/tree.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-empty-3F">empty?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-invalid-3F">invalid?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-is_blob-3F">is_blob?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-new">new</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ Linguist::BlobHelper
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>path</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>project</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>ref</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>tree</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-new">
+
+ <b>new</b>(raw_tree, project, ref = nil, path = nil)
+
+ <a href="../classes/Tree.html#method-c-new" name="method-c-new" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
+
+ </p>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/tree.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-keyword">else</span>
+ <span class="ruby-identifier">raw_tree</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-empty-3F">
+
+ <b>empty?</b>()
+
+ <a href="../classes/Tree.html#method-i-empty-3F" name="method-i-empty-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-empty-3F_source')" id="l_method-i-empty-3F_source">show</a>
+
+ </p>
+ <div id="method-i-empty-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/tree.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">empty?</span>
+ <span class="ruby-identifier">data</span>.<span class="ruby-identifier">blank?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-invalid-3F">
+
+ <b>invalid?</b>()
+
+ <a href="../classes/Tree.html#method-i-invalid-3F" name="method-i-invalid-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-invalid-3F_source')" id="l_method-i-invalid-3F_source">show</a>
+
+ </p>
+ <div id="method-i-invalid-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/tree.rb, line 21</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">invalid?</span>
+ <span class="ruby-identifier">tree</span>.<span class="ruby-identifier">nil?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-is_blob-3F">
+
+ <b>is_blob?</b>()
+
+ <a href="../classes/Tree.html#method-i-is_blob-3F" name="method-i-is_blob-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-is_blob-3F_source')" id="l_method-i-is_blob-3F_source">show</a>
+
+ </p>
+ <div id="method-i-is_blob-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/tree.rb, line 17</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TreeController.html b/doc/code/classes/TreeController.html
new file mode 100644
index 00000000000..35c99bc09e4
--- /dev/null
+++ b/doc/code/classes/TreeController.html
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TreeController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ TreeController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/tree_controller_rb.html">app/controllers/tree_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a repository’s file structure</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update">update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="ExtractsPath.html">
+ ExtractsPath
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/TreeController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/TreeController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 13</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update">
+
+ <b>update</b>()
+
+ <a href="../classes/TreeController.html#method-i-update" name="method-i-update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_source')" id="l_method-i-update_source">show</a>
+
+ </p>
+ <div id="method-i-update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/tree_controller.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">update</span>
+ <span class="ruby-identifier">edit_file_action</span> = <span class="ruby-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Satellite</span><span class="ruby-operator">::</span><span class="ruby-constant">EditFileAction</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-ivar">@path</span>)
+ <span class="ruby-identifier">updated_successfully</span> = <span class="ruby-identifier">edit_file_action</span>.<span class="ruby-identifier">commit!</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">updated_successfully</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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TreeDecorator.html b/doc/code/classes/TreeDecorator.html
new file mode 100644
index 00000000000..9b32e1c9381
--- /dev/null
+++ b/doc/code/classes/TreeDecorator.html
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TreeDecorator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ TreeDecorator
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationDecorator.html">ApplicationDecorator</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/decorators/tree_decorator_rb.html">app/decorators/tree_decorator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-breadcrumbs">breadcrumbs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-readme">readme</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-up_dir-3F">up_dir?</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-up_dir_path">up_dir_path</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-breadcrumbs">
+
+ <b>breadcrumbs</b>(max_links = 2)
+
+ <a href="../classes/TreeDecorator.html#method-i-breadcrumbs" name="method-i-breadcrumbs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-breadcrumbs_source')" id="l_method-i-breadcrumbs_source">show</a>
+
+ </p>
+ <div id="method-i-breadcrumbs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">breadcrumbs</span>(<span class="ruby-identifier">max_links</span> = <span class="ruby-number">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-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-number">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-number">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-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-readme">
+
+ <b>readme</b>()
+
+ <a href="../classes/TreeDecorator.html#method-i-readme" name="method-i-readme" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-readme_source')" id="l_method-i-readme_source">show</a>
+
+ </p>
+ <div id="method-i-readme_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 32</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-up_dir-3F">
+
+ <b>up_dir?</b>()
+
+ <a href="../classes/TreeDecorator.html#method-i-up_dir-3F" name="method-i-up_dir-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-up_dir-3F_source')" id="l_method-i-up_dir-3F_source">show</a>
+
+ </p>
+ <div id="method-i-up_dir-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 23</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">up_dir?</span>
+ <span class="ruby-identifier">path</span>.<span class="ruby-identifier">present?</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-up_dir_path">
+
+ <b>up_dir_path</b>()
+
+ <a href="../classes/TreeDecorator.html#method-i-up_dir_path" name="method-i-up_dir_path" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-up_dir_path_source')" id="l_method-i-up_dir_path_source">show</a>
+
+ </p>
+ <div id="method-i-up_dir_path_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/tree_decorator.rb, line 27</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/TreeHelper.html b/doc/code/classes/TreeHelper.html
new file mode 100644
index 00000000000..a9ca79494de
--- /dev/null
+++ b/doc/code/classes/TreeHelper.html
@@ -0,0 +1,541 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>TreeHelper</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ TreeHelper
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/helpers/tree_helper_rb.html">app/helpers/tree_helper.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-allowed_tree_edit-3F">allowed_tree_edit?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-breadcrumbs">breadcrumbs</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-gitlab_markdown-3F">gitlab_markdown?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>M</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-markup-3F">markup?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-plain_text_readme-3F">plain_text_readme?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-render_tree">render_tree</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tree_hex_class">tree_hex_class</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tree_icon">tree_icon</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-tree_join">tree_join</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-allowed_tree_edit-3F">
+
+ <b>allowed_tree_edit?</b>()
+
+ <a href="../classes/TreeHelper.html#method-i-allowed_tree_edit-3F" name="method-i-allowed_tree_edit-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-allowed_tree_edit-3F_source')" id="l_method-i-allowed_tree_edit-3F_source">show</a>
+
+ </p>
+ <div id="method-i-allowed_tree_edit-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 63</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-breadcrumbs">
+
+ <b>breadcrumbs</b>()
+
+ <a href="../classes/TreeHelper.html#method-i-breadcrumbs" name="method-i-breadcrumbs" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Breadcrumb links for a <a href="Project.html">Project</a> and, if
+applicable, a tree path</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-breadcrumbs_source')" id="l_method-i-breadcrumbs_source">show</a>
+
+ </p>
+ <div id="method-i-breadcrumbs_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 72</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">breadcrumbs</span>
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@ref</span>
+
+ <span class="ruby-comment"># Add the root project link and the arrow icon</span>
+ <span class="ruby-identifier">crumbs</span> = <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:li</span>) <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:span</span>, <span class="ruby-keyword">nil</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'arrow'</span>) <span class="ruby-operator">+</span>
+ <span class="ruby-keyword ruby-title">link_to</span>(<span class="ruby-ivar">@project</span>.<span class="ruby-identifier">name</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-keyword">if</span> <span class="ruby-ivar">@path</span>
+ <span class="ruby-identifier">parts</span> = <span class="ruby-ivar">@path</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'/'</span>)
+
+ <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">part</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">crumbs</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:span</span>, <span class="ruby-string">'/'</span>, <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-string">'divider'</span>)
+ <span class="ruby-keyword ruby-title">crumbs</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">content_tag</span>(<span class="ruby-value">:li</span>) <span class="ruby-keyword">do</span>
+ <span class="ruby-comment"># The text is just the individual part, but the link needs all the parts before it</span>
+ <span class="ruby-identifier">link_to</span> <span class="ruby-identifier">part</span>, <span class="ruby-identifier">project_commits_path</span>(<span class="ruby-ivar">@project</span>, <span class="ruby-identifier">tree_join</span>(<span class="ruby-ivar">@ref</span>, <span class="ruby-identifier">parts</span>[<span class="ruby-number">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">join</span>(<span class="ruby-string">'/'</span>)))
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">crumbs</span>.<span class="ruby-identifier">html_safe</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-gitlab_markdown-3F">
+
+ <b>gitlab_markdown?</b>(filename)
+
+ <a href="../classes/TreeHelper.html#method-i-gitlab_markdown-3F" name="method-i-gitlab_markdown-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-gitlab_markdown-3F_source')" id="l_method-i-gitlab_markdown-3F_source">show</a>
+
+ </p>
+ <div id="method-i-gitlab_markdown-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-markup-3F">
+
+ <b>markup?</b>(filename)
+
+ <a href="../classes/TreeHelper.html#method-i-markup-3F" name="method-i-markup-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-markup-3F_source')" id="l_method-i-markup-3F_source">show</a>
+
+ </p>
+ <div id="method-i-markup-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 45</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-plain_text_readme-3F">
+
+ <b>plain_text_readme?</b>(filename)
+
+ <a href="../classes/TreeHelper.html#method-i-plain_text_readme-3F" name="method-i-plain_text_readme-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-plain_text_readme-3F_source')" id="l_method-i-plain_text_readme-3F_source">show</a>
+
+ </p>
+ <div id="method-i-plain_text_readme-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 54</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-render_tree">
+
+ <b>render_tree</b>(contents)
+
+ <a href="../classes/TreeHelper.html#method-i-render_tree" name="method-i-render_tree" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-render_tree_source')" id="l_method-i-render_tree_source">show</a>
+
+ </p>
+ <div id="method-i-render_tree_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tree_hex_class">
+
+ <b>tree_hex_class</b>(content)
+
+ <a href="../classes/TreeHelper.html#method-i-tree_hex_class" name="method-i-tree_hex_class" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tree_hex_class_source')" id="l_method-i-tree_hex_class_source">show</a>
+
+ </p>
+ <div id="method-i-tree_hex_class_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tree_icon">
+
+ <b>tree_icon</b>(type)
+
+ <a href="../classes/TreeHelper.html#method-i-tree_icon" name="method-i-tree_icon" class="permalink">Link</a>
+ </div>
+
+
+ <div class="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>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tree_icon_source')" id="l_method-i-tree_icon_source">show</a>
+
+ </p>
+ <div id="method-i-tree_icon_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tree_join">
+
+ <b>tree_join</b>(*args)
+
+ <a href="../classes/TreeHelper.html#method-i-tree_join" name="method-i-tree_join" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Simple shortcut to File.join</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tree_join_source')" id="l_method-i-tree_join_source">show</a>
+
+ </p>
+ <div id="method-i-tree_join_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/helpers/tree_helper.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/User.html b/doc/code/classes/User.html
new file mode 100644
index 00000000000..661b143ebd1
--- /dev/null
+++ b/doc/code/classes/User.html
@@ -0,0 +1,566 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>User</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ User
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/user_rb.html">app/models/user.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: users</p>
+
+<pre>id :integer not null, primary key
+email :string(255) default(&quot;&quot;), not null
+encrypted_password :string(255) default(&quot;&quot;), 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(&quot;&quot;), not null
+linkedin :string(255) default(&quot;&quot;), not null
+twitter :string(255) default(&quot;&quot;), 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)
+username :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-create_from_omniauth">create_from_omniauth</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>F</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-filter">filter</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-find_for_ldap_auth">find_for_ldap_auth</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-find_or_new_for_omniauth">find_or_new_for_omniauth</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>G</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-generate_password">generate_password</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-gitlab_auth">gitlab_auth</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>N</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-not_in_project">not_in_project</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-search">search</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>W</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-without_projects">without_projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="Account.html">
+ Account
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>force_random_password</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-create_from_omniauth">
+
+ <b>create_from_omniauth</b>(auth, ldap = false)
+
+ <a href="../classes/User.html#method-c-create_from_omniauth" name="method-c-create_from_omniauth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-create_from_omniauth_source')" id="l_method-c-create_from_omniauth_source">show</a>
+
+ </p>
+ <div id="method-c-create_from_omniauth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 108</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-filter">
+
+ <b>filter</b>(filter_name)
+
+ <a href="../classes/User.html#method-c-filter" name="method-c-filter" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-filter_source')" id="l_method-c-filter_source">show</a>
+
+ </p>
+ <div id="method-c-filter_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 86</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_for_ldap_auth">
+
+ <b>find_for_ldap_auth</b>(auth, signed_in_resource = nil)
+
+ <a href="../classes/User.html#method-c-find_for_ldap_auth" name="method-c-find_for_ldap_auth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_for_ldap_auth_source')" id="l_method-c-find_for_ldap_auth_source">show</a>
+
+ </p>
+ <div id="method-c-find_for_ldap_auth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 116</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-find_or_new_for_omniauth">
+
+ <b>find_or_new_for_omniauth</b>(auth)
+
+ <a href="../classes/User.html#method-c-find_or_new_for_omniauth" name="method-c-find_or_new_for_omniauth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-find_or_new_for_omniauth_source')" id="l_method-c-find_or_new_for_omniauth_source">show</a>
+
+ </p>
+ <div id="method-c-find_or_new_for_omniauth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 112</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-gitlab_auth">
+
+ <b>gitlab_auth</b>()
+
+ <a href="../classes/User.html#method-c-gitlab_auth" name="method-c-gitlab_auth" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-gitlab_auth_source')" id="l_method-c-gitlab_auth_source">show</a>
+
+ </p>
+ <div id="method-c-gitlab_auth_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 120</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-not_in_project">
+
+ <b>not_in_project</b>(project)
+
+ <a href="../classes/User.html#method-c-not_in_project" name="method-c-not_in_project" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-not_in_project_source')" id="l_method-c-not_in_project_source">show</a>
+
+ </p>
+ <div id="method-c-not_in_project_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 96</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">not_in_project</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">present?</span>
+ <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;id not in (:ids)&quot;</span>, <span class="ruby-identifier">ids</span><span class="ruby-operator">:</span> <span class="ruby-identifier">project</span>.<span class="ruby-identifier">users</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:id</span>) )
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">scoped</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-search">
+
+ <b>search</b>(query)
+
+ <a href="../classes/User.html#method-c-search" name="method-c-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-search_source')" id="l_method-c-search_source">show</a>
+
+ </p>
+ <div id="method-c-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 124</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-without_projects">
+
+ <b>without_projects</b>()
+
+ <a href="../classes/User.html#method-c-without_projects" name="method-c-without_projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-without_projects_source')" id="l_method-c-without_projects_source">show</a>
+
+ </p>
+ <div id="method-c-without_projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 104</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-generate_password">
+
+ <b>generate_password</b>()
+
+ <a href="../classes/User.html#method-i-generate_password" name="method-i-generate_password" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-generate_password_source')" id="l_method-i-generate_password_source">show</a>
+
+ </p>
+ <div id="method-i-generate_password_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/user.rb, line 129</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">8</span>)
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/UserDecorator.html b/doc/code/classes/UserDecorator.html
new file mode 100644
index 00000000000..24ce4b76352
--- /dev/null
+++ b/doc/code/classes/UserDecorator.html
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>UserDecorator</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ UserDecorator
+
+ <span class="parent">&lt;
+
+ <a href="ApplicationDecorator.html">ApplicationDecorator</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/decorators/user_decorator_rb.html">app/decorators/user_decorator.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-avatar_image">avatar_image</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-tm_of">tm_of</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-avatar_image">
+
+ <b>avatar_image</b>(size = 16)
+
+ <a href="../classes/UserDecorator.html#method-i-avatar_image" name="method-i-avatar_image" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-avatar_image_source')" id="l_method-i-avatar_image_source">show</a>
+
+ </p>
+ <div id="method-i-avatar_image_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/user_decorator.rb, line 4</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">avatar_image</span> <span class="ruby-identifier">size</span> = <span class="ruby-number">16</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-keyword">self</span>.<span class="ruby-identifier">email</span>, <span class="ruby-identifier">size</span>), <span class="ruby-keyword">class</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;avatar #{&quot;s#{size}&quot;}&quot;</span>, <span class="ruby-keyword ruby-title">width</span><span class="ruby-operator">:</span> <span class="ruby-identifier">size</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-tm_of">
+
+ <b>tm_of</b>(project)
+
+ <a href="../classes/UserDecorator.html#method-i-tm_of" name="method-i-tm_of" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-tm_of_source')" id="l_method-i-tm_of_source">show</a>
+
+ </p>
+ <div id="method-i-tm_of_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/decorators/user_decorator.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">tm_of</span>(<span class="ruby-identifier">project</span>)
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">team_member_by_id</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">id</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/UserObserver.html b/doc/code/classes/UserObserver.html
new file mode 100644
index 00000000000..6899937afb9
--- /dev/null
+++ b/doc/code/classes/UserObserver.html
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>UserObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ UserObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/user_observer_rb.html">app/observers/user_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_destroy">after_destroy</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_save">after_save</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>L</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-log_info">log_info</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(user)
+
+ <a href="../classes/UserObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 2</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_destroy">
+
+ <b>after_destroy</b>(user)
+
+ <a href="../classes/UserObserver.html#method-i-after_destroy" name="method-i-after_destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_destroy_source')" id="l_method-i-after_destroy_source">show</a>
+
+ </p>
+ <div id="method-i-after_destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 8</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_save">
+
+ <b>after_save</b>(user)
+
+ <a href="../classes/UserObserver.html#method-i-after_save" name="method-i-after_save" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_save_source')" id="l_method-i-after_save_source">show</a>
+
+ </p>
+ <div id="method-i-after_save_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 12</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">after_save</span> <span class="ruby-identifier">user</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">username_changed?</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">namespace</span>
+ <span class="ruby-identifier">user</span>.<span class="ruby-identifier">namespace</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">username</span>)
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-identifier">user</span>.<span class="ruby-identifier">create_namespace!</span>(<span class="ruby-identifier">path</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">username</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">username</span>)
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-log_info">
+
+ <b>log_info</b>(message)
+
+ <a href="../classes/UserObserver.html#method-i-log_info" name="method-i-log_info" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-log_info_source')" id="l_method-i-log_info_source">show</a>
+
+ </p>
+ <div id="method-i-log_info_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/observers/user_observer.rb, line 24</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/UsersProject.html b/doc/code/classes/UsersProject.html
new file mode 100644
index 00000000000..76ae5125a1d
--- /dev/null
+++ b/doc/code/classes/UsersProject.html
@@ -0,0 +1,871 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>UsersProject</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ UsersProject
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/users_project_rb.html">app/models/users_project.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: users_projects</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-access_roles">access_roles</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-add_users_into_projects">add_users_into_projects</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>B</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-bulk_delete">bulk_delete</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-bulk_import">bulk_import</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-bulk_update">bulk_update</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>I</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-import_team">import_team</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-project_access_human">project_access_human</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-repo_access_human">repo_access_human</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-role_access">role_access</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-skip_git-3F">skip_git?</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-truncate_team">truncate_team</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-truncate_teams">truncate_teams</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-update_repository">update_repository</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-c-user_bulk_import">user_bulk_import</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ <a href="GitHost.html">
+ GitHost
+ </a>
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Section constants -->
+ <div class="sectiontitle">Constants</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class="attr-name">GUEST</td>
+ <td>=</td>
+ <td class="attr-value">10</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">REPORTER</td>
+ <td>=</td>
+ <td class="attr-value">20</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">DEVELOPER</td>
+ <td>=</td>
+ <td class="attr-value">30</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ <tr valign='top'>
+ <td class="attr-name">MASTER</td>
+ <td>=</td>
+ <td class="attr-value">40</td>
+ </tr>
+
+ <tr valign='top'>
+ <td>&nbsp;</td>
+ <td colspan="2" class="attr-desc"></td>
+ </tr>
+
+
+ </table>
+
+
+
+
+ <!-- Section attributes -->
+ <div class="sectiontitle">Attributes</div>
+ <table border='0' cellpadding='5'>
+
+ <tr valign='top'>
+ <td class='attr-rw'>
+ [RW]
+ </td>
+ <td class='attr-name'>skip_git</td>
+ <td class='attr-desc'></td>
+ </tr>
+
+ </table>
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-access_roles">
+
+ <b>access_roles</b>()
+
+ <a href="../classes/UsersProject.html#method-c-access_roles" name="method-c-access_roles" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-access_roles_source')" id="l_method-c-access_roles_source">show</a>
+
+ </p>
+ <div id="method-c-access_roles_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 140</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-add_users_into_projects">
+
+ <b>add_users_into_projects</b>(project_ids, user_ids, project_access)
+
+ <a href="../classes/UsersProject.html#method-c-add_users_into_projects" name="method-c-add_users_into_projects" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-add_users_into_projects_source')" id="l_method-c-add_users_into_projects_source">show</a>
+
+ </p>
+ <div id="method-c-add_users_into_projects_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 41</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">add_users_into_projects</span>(<span class="ruby-identifier">project_ids</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">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">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_id</span> = <span class="ruby-identifier">project_id</span>
+ <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">skip_git</span> = <span class="ruby-keyword">true</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-constant">Gitlab</span><span class="ruby-operator">::</span><span class="ruby-constant">Gitolite</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">update_repositories</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-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-bulk_delete">
+
+ <b>bulk_delete</b>(project, user_ids)
+
+ <a href="../classes/UsersProject.html#method-c-bulk_delete" name="method-c-bulk_delete" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-bulk_delete_source')" id="l_method-c-bulk_delete_source">show</a>
+
+ </p>
+ <div id="method-c-bulk_delete_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 108</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_ids</span>, <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</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">skip_git</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">destroy</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">update_repository</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-bulk_import">
+
+ <b>bulk_import</b>(project, user_ids, project_access)
+
+ <a href="../classes/UsersProject.html#method-c-bulk_import" name="method-c-bulk_import" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>TODO: depreceate in future in favor of <a
+href="UsersProject.html#method-c-add_users_into_projects">::add_users_into_projects</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-bulk_import_source')" id="l_method-c-bulk_import_source">show</a>
+
+ </p>
+ <div id="method-c-bulk_import_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 131</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">add_users_into_projects</span>([<span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>], <span class="ruby-identifier">user_ids</span>, <span class="ruby-identifier">project_access</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-bulk_update">
+
+ <b>bulk_update</b>(project, user_ids, project_access)
+
+ <a href="../classes/UsersProject.html#method-c-bulk_update" name="method-c-bulk_update" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-bulk_update_source')" id="l_method-c-bulk_update_source">show</a>
+
+ </p>
+ <div id="method-c-bulk_update_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 119</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">user_id</span><span class="ruby-operator">:</span> <span class="ruby-identifier">user_ids</span>, <span class="ruby-identifier">project_id</span><span class="ruby-operator">:</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">skip_git</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">save</span>
+ <span class="ruby-keyword">end</span>
+ <span class="ruby-identifier">project</span>.<span class="ruby-identifier">update_repository</span>
+ <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-import_team">
+
+ <b>import_team</b>(source_project, target_project)
+
+ <a href="../classes/UsersProject.html#method-c-import_team" name="method-c-import_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-import_team_source')" id="l_method-c-import_team_source">show</a>
+
+ </p>
+ <div id="method-c-import_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 78</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">import_team</span>(<span class="ruby-identifier">source_project</span>, <span class="ruby-identifier">target_project</span>)
+ <span class="ruby-identifier">source_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">target_team</span> = <span class="ruby-identifier">target_project</span>.<span class="ruby-identifier">users_projects</span>.<span class="ruby-identifier">all</span>
+ <span class="ruby-identifier">target_user_ids</span> = <span class="ruby-identifier">target_team</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:user_id</span>)
+
+ <span class="ruby-identifier">source_team</span>.<span class="ruby-identifier">reject!</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-identifier">target_user_ids</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">tm</span>.<span class="ruby-identifier">user_id</span>)
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-identifier">source_team</span>.<span class="ruby-identifier">map!</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-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">skip_git</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-identifier">new_tm</span>
+ <span class="ruby-keyword">end</span>
+
+ <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">source_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-identifier">tm</span>.<span class="ruby-identifier">save</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">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-truncate_team">
+
+ <b>truncate_team</b>(project)
+
+ <a href="../classes/UsersProject.html#method-c-truncate_team" name="method-c-truncate_team" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-truncate_team_source')" id="l_method-c-truncate_team_source">show</a>
+
+ </p>
+ <div id="method-c-truncate_team_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 74</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">truncate_team</span> <span class="ruby-identifier">project</span>
+ <span class="ruby-identifier">truncate_teams</span> [<span class="ruby-identifier">project</span>.<span class="ruby-identifier">id</span>]
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-truncate_teams">
+
+ <b>truncate_teams</b>(project_ids)
+
+ <a href="../classes/UsersProject.html#method-c-truncate_teams" name="method-c-truncate_teams" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-truncate_teams_source')" id="l_method-c-truncate_teams_source">show</a>
+
+ </p>
+ <div id="method-c-truncate_teams_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 59</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">truncate_teams</span>(<span class="ruby-identifier">project_ids</span>)
+ <span class="ruby-constant">UsersProject</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword">do</span>
+ <span class="ruby-identifier">users_projects</span> = <span class="ruby-constant">UsersProject</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">users_projects</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">skip_git</span> = <span class="ruby-keyword">true</span>
+ <span class="ruby-identifier">users_project</span>.<span class="ruby-identifier">destroy</span>
+ <span class="ruby-keyword">end</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-identifier">update_repositories</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-keyword">end</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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-user_bulk_import">
+
+ <b>user_bulk_import</b>(user, project_ids, project_access)
+
+ <a href="../classes/UsersProject.html#method-c-user_bulk_import" name="method-c-user_bulk_import" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>TODO: depreceate in future in favor of <a
+href="UsersProject.html#method-c-add_users_into_projects">::add_users_into_projects</a></p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-user_bulk_import_source')" id="l_method-c-user_bulk_import_source">show</a>
+
+ </p>
+ <div id="method-c-user_bulk_import_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 136</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-identifier">add_users_into_projects</span>(<span class="ruby-identifier">project_ids</span>, [<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>], <span class="ruby-identifier">project_access</span>)
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-project_access_human">
+
+ <b>project_access_human</b>()
+
+ <a href="../classes/UsersProject.html#method-i-project_access_human" name="method-i-project_access_human" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-project_access_human_source')" id="l_method-i-project_access_human_source">show</a>
+
+ </p>
+ <div id="method-i-project_access_human_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 158</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-repo_access_human">
+
+ <b>repo_access_human</b>()
+
+ <a href="../classes/UsersProject.html#method-i-repo_access_human" name="method-i-repo_access_human" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-repo_access_human_source')" id="l_method-i-repo_access_human_source">show</a>
+
+ </p>
+ <div id="method-i-repo_access_human_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 162</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-role_access">
+
+ <b>role_access</b>()
+
+ <a href="../classes/UsersProject.html#method-i-role_access" name="method-i-role_access" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-role_access_source')" id="l_method-i-role_access_source">show</a>
+
+ </p>
+ <div id="method-i-role_access_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 150</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">role_access</span>
+ <span class="ruby-identifier">project_access</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-skip_git-3F">
+
+ <b>skip_git?</b>()
+
+ <a href="../classes/UsersProject.html#method-i-skip_git-3F" name="method-i-skip_git-3F" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-skip_git-3F_source')" id="l_method-i-skip_git-3F_source">show</a>
+
+ </p>
+ <div id="method-i-skip_git-3F_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 166</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">skip_git?</span>
+ <span class="ruby-operator">!</span><span class="ruby-operator">!</span><span class="ruby-ivar">@skip_git</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-update_repository">
+
+ <b>update_repository</b>()
+
+ <a href="../classes/UsersProject.html#method-i-update_repository" name="method-i-update_repository" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-update_repository_source')" id="l_method-i-update_repository_source">show</a>
+
+ </p>
+ <div id="method-i-update_repository_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/users_project.rb, line 154</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/UsersProjectObserver.html b/doc/code/classes/UsersProjectObserver.html
new file mode 100644
index 00000000000..50b02dc75f6
--- /dev/null
+++ b/doc/code/classes/UsersProjectObserver.html
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>UsersProjectObserver</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ UsersProjectObserver
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Observer
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/observers/users_project_observer_rb.html">app/observers/users_project_observer.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>A</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-after_commit">after_commit</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_create">after_create</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-after_destroy">after_destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_commit">
+
+ <b>after_commit</b>(users_project)
+
+ <a href="../classes/UsersProjectObserver.html#method-i-after_commit" name="method-i-after_commit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_commit_source')" id="l_method-i-after_commit_source">show</a>
+
+ </p>
+ <div id="method-i-after_commit_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_create">
+
+ <b>after_create</b>(users_project)
+
+ <a href="../classes/UsersProjectObserver.html#method-i-after_create" name="method-i-after_create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_create_source')" id="l_method-i-after_create_source">show</a>
+
+ </p>
+ <div id="method-i-after_create_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-after_destroy">
+
+ <b>after_destroy</b>(users_project)
+
+ <a href="../classes/UsersProjectObserver.html#method-i-after_destroy" name="method-i-after_destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-after_destroy_source')" id="l_method-i-after_destroy_source">show</a>
+
+ </p>
+ <div id="method-i-after_destroy_source" class="dyn-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-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Votes.html b/doc/code/classes/Votes.html
new file mode 100644
index 00000000000..bb786a79662
--- /dev/null
+++ b/doc/code/classes/Votes.html
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Votes</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Module</span>
+ Votes
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/roles/votes_rb.html">app/roles/votes.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-downvotes">downvotes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-downvotes_in_percent">downvotes_in_percent</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>U</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-upvotes">upvotes</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-upvotes_in_percent">upvotes_in_percent</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>V</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-votes_count">votes_count</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-downvotes">
+
+ <b>downvotes</b>()
+
+ <a href="../classes/Votes.html#method-i-downvotes" name="method-i-downvotes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Return the number of -1 comments (downvotes)</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-downvotes_source')" id="l_method-i-downvotes_source">show</a>
+
+ </p>
+ <div id="method-i-downvotes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/votes.rb, line 16</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-downvotes_in_percent">
+
+ <b>downvotes_in_percent</b>()
+
+ <a href="../classes/Votes.html#method-i-downvotes_in_percent" name="method-i-downvotes_in_percent" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-downvotes_in_percent_source')" id="l_method-i-downvotes_in_percent_source">show</a>
+
+ </p>
+ <div id="method-i-downvotes_in_percent_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/votes.rb, line 20</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-upvotes">
+
+ <b>upvotes</b>()
+
+ <a href="../classes/Votes.html#method-i-upvotes" name="method-i-upvotes" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Return the number of +1 comments (upvotes)</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-upvotes_source')" id="l_method-i-upvotes_source">show</a>
+
+ </p>
+ <div id="method-i-upvotes_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/votes.rb, line 3</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-upvotes_in_percent">
+
+ <b>upvotes_in_percent</b>()
+
+ <a href="../classes/Votes.html#method-i-upvotes_in_percent" name="method-i-upvotes_in_percent" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-upvotes_in_percent_source')" id="l_method-i-upvotes_in_percent_source">show</a>
+
+ </p>
+ <div id="method-i-upvotes_in_percent_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/votes.rb, line 7</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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-number">0</span>
+ <span class="ruby-keyword">else</span>
+ <span class="ruby-number">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-votes_count">
+
+ <b>votes_count</b>()
+
+ <a href="../classes/Votes.html#method-i-votes_count" name="method-i-votes_count" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+ <p>Return the total number of votes</p>
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-votes_count_source')" id="l_method-i-votes_count_source">show</a>
+
+ </p>
+ <div id="method-i-votes_count_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/roles/votes.rb, line 29</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/WebHook.html b/doc/code/classes/WebHook.html
new file mode 100644
index 00000000000..54097dd30e5
--- /dev/null
+++ b/doc/code/classes/WebHook.html
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>WebHook</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ WebHook
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/web_hook_rb.html">app/models/web_hook.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-execute">execute</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+ <!-- Includes -->
+ <div class="sectiontitle">Included Modules</div>
+ <ul>
+
+ <li>
+
+ HTTParty
+
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-execute">
+
+ <b>execute</b>(data)
+
+ <a href="../classes/WebHook.html#method-i-execute" name="method-i-execute" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-execute_source')" id="l_method-i-execute_source">show</a>
+
+ </p>
+ <div id="method-i-execute_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/web_hook.rb, line 25</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/Wiki.html b/doc/code/classes/Wiki.html
new file mode 100644
index 00000000000..ab0fe9b2444
--- /dev/null
+++ b/doc/code/classes/Wiki.html
@@ -0,0 +1,294 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Wiki</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ Wiki
+
+ <span class="parent">&lt;
+
+ ActiveRecord::Base
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/models/wiki_rb.html">app/models/wiki.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: wikis</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>R</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-regenerate_from">regenerate_from</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-c-search">search</a>,
+ </li>
+
+
+ <li>
+ <a href="#method-i-set_slug">set_slug</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>T</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-to_param">to_param</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Class Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-search">
+
+ <b>search</b>(query)
+
+ <a href="../classes/Wiki.html#method-c-search" name="method-c-search" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-search_source')" id="l_method-c-search_source">show</a>
+
+ </p>
+ <div id="method-c-search_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/wiki.rb, line 33</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">search</span>(<span class="ruby-identifier">query</span>)
+ <span class="ruby-identifier">where</span>(<span class="ruby-string">&quot;title like :query OR content 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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Class Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-c-regenerate_from">
+
+ <b>regenerate_from</b>(wiki)
+
+ <a href="../classes/Wiki.html#method-c-regenerate_from" name="method-c-regenerate_from" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-c-regenerate_from_source')" id="l_method-c-regenerate_from_source">show</a>
+
+ </p>
+ <div id="method-c-regenerate_from_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/wiki.rb, line 40</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-to_param">
+
+ <b>to_param</b>()
+
+ <a href="../classes/Wiki.html#method-i-to_param" name="method-i-to_param" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-to_param_source')" id="l_method-i-to_param_source">show</a>
+
+ </p>
+ <div id="method-i-to_param_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/wiki.rb, line 28</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">to_param</span>
+ <span class="ruby-identifier">slug</span>
+<span class="ruby-keyword">end</span></pre>
+ </div>
+ </div>
+
+ </div>
+
+ <div class="sectiontitle">Instance Protected methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-set_slug">
+
+ <b>set_slug</b>()
+
+ <a href="../classes/Wiki.html#method-i-set_slug" name="method-i-set_slug" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-set_slug_source')" id="l_method-i-set_slug_source">show</a>
+
+ </p>
+ <div id="method-i-set_slug_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/models/wiki.rb, line 50</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/classes/WikisController.html b/doc/code/classes/WikisController.html
new file mode 100644
index 00000000000..3247d4f0fd9
--- /dev/null
+++ b/doc/code/classes/WikisController.html
@@ -0,0 +1,397 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>WikisController</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
+<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ <span class="type">Class</span>
+ WikisController
+
+ <span class="parent">&lt;
+
+ <a href="ProjectResourceController.html">ProjectResourceController</a>
+
+ </span>
+
+ </h1>
+ <ul class="files">
+
+ <li><a href="../files/app/controllers/wikis_controller_rb.html">app/controllers/wikis_controller.rb</a></li>
+
+ </ul>
+ </div>
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Method ref -->
+ <div class="sectiontitle">Methods</div>
+ <dl class="methods">
+
+ <dt>C</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-create">create</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>D</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-destroy">destroy</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>E</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-edit">edit</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>H</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-history">history</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>P</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-pages">pages</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ <dt>S</dt>
+ <dd>
+ <ul>
+
+
+ <li>
+ <a href="#method-i-show">show</a>
+ </li>
+
+ </ul>
+ </dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+
+ <div class="sectiontitle">Instance Public methods</div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-create">
+
+ <b>create</b>()
+
+ <a href="../classes/WikisController.html#method-i-create" name="method-i-create" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-create_source')" id="l_method-i-create_source">show</a>
+
+ </p>
+ <div id="method-i-create_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 36</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-destroy">
+
+ <b>destroy</b>()
+
+ <a href="../classes/WikisController.html#method-i-destroy" name="method-i-destroy" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-destroy_source')" id="l_method-i-destroy_source">show</a>
+
+ </p>
+ <div id="method-i-destroy_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 53</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-edit">
+
+ <b>edit</b>()
+
+ <a href="../classes/WikisController.html#method-i-edit" name="method-i-edit" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-edit_source')" id="l_method-i-edit_source">show</a>
+
+ </p>
+ <div id="method-i-edit_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 31</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-history">
+
+ <b>history</b>()
+
+ <a href="../classes/WikisController.html#method-i-history" name="method-i-history" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-history_source')" id="l_method-i-history_source">show</a>
+
+ </p>
+ <div id="method-i-history_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 49</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-pages">
+
+ <b>pages</b>()
+
+ <a href="../classes/WikisController.html#method-i-pages" name="method-i-pages" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-pages_source')" id="l_method-i-pages_source">show</a>
+
+ </p>
+ <div id="method-i-pages_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 6</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+
+ <div class="method">
+ <div class="title method-title" id="method-i-show">
+
+ <b>show</b>()
+
+ <a href="../classes/WikisController.html#method-i-show" name="method-i-show" class="permalink">Link</a>
+ </div>
+
+
+ <div class="description">
+
+ </div>
+
+
+
+
+
+
+ <div class="sourcecode">
+
+ <p class="source-link">
+ Source:
+ <a href="javascript:toggleSource('method-i-show_source')" id="l_method-i-show_source">show</a>
+
+ </p>
+ <div id="method-i-show_source" class="dyn-source">
+ <pre><span class="ruby-comment"># File app/controllers/wikis_controller.rb, line 10</span>
+<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">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>
+ </div>
+
+ </div>
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/created.rid b/doc/code/created.rid
new file mode 100644
index 00000000000..3177c0b3b2e
--- /dev/null
+++ b/doc/code/created.rid
@@ -0,0 +1,155 @@
+Sun, 30 Dec 2012 14:41:56 +0200
+app/models/namespace.rb Sun, 30 Dec 2012 12:06:28 +0200
+app/models/ability.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/commit.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/gitlab_ci_service.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/system_hook.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/key.rb Thu, 27 Dec 2012 12:10:59 +0200
+app/models/note.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/project.rb Fri, 28 Dec 2012 09:30:09 +0200
+app/models/tree.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/milestone.rb Thu, 27 Dec 2012 11:32:29 +0200
+app/models/web_hook.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/protected_branch.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/project_hook.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/event.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/service_hook.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/service.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/snippet.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/merge_request.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/models/user.rb Sun, 30 Dec 2012 13:40:45 +0200
+app/models/group.rb Sun, 30 Dec 2012 14:25:46 +0200
+app/models/wiki.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/models/users_project.rb Sun, 30 Dec 2012 14:27:12 +0200
+app/models/issue.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/observers/system_hook_observer.rb Mon, 30 Jul 2012 09:40:22 +0300
+app/observers/note_observer.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/observers/users_project_observer.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/observers/project_observer.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/observers/user_observer.rb Sun, 30 Dec 2012 12:06:28 +0200
+app/observers/merge_request_observer.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/observers/activity_observer.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/observers/key_observer.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/observers/issue_observer.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/labels_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/projects_controller.rb Sun, 30 Dec 2012 13:33:32 +0200
+app/controllers/application_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/keys_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/repositories_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/services_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/hooks_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/compare_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/merge_requests_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/snippets_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/help_controller.rb Wed, 29 Feb 2012 23:28:38 +0200
+app/controllers/omniauth_callbacks_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/errors_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/blob_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/wikis_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/refs_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/notes_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/milestones_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/search_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/admin_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/team_members_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/profiles_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/dashboard_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/admin/projects_controller.rb Sun, 30 Dec 2012 14:08:40 +0200
+app/controllers/admin/hooks_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/admin/resque_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/admin/logs_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/admin/team_members_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/admin/dashboard_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/admin/users_controller.rb Sun, 30 Dec 2012 13:42:44 +0200
+app/controllers/admin/groups_controller.rb Sun, 30 Dec 2012 14:11:24 +0200
+app/controllers/commits_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/tree_controller.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/controllers/deploy_keys_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/blame_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/protected_branches_controller.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/controllers/commit_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/groups_controller.rb Sun, 30 Dec 2012 12:42:35 +0200
+app/controllers/project_resource_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/controllers/issues_controller.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/mailers/notify.rb Sun, 30 Dec 2012 12:06:28 +0200
+app/uploaders/attachment_uploader.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/helpers/snippets_helper.rb Fri, 02 Dec 2011 02:40:22 +0200
+app/helpers/events_helper.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/helpers/merge_requests_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/tree_helper.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/helpers/namespaces_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/projects_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/tags_helper.rb Fri, 02 Dec 2011 02:40:22 +0200
+app/helpers/gitlab_markdown_helper.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/helpers/dashboard_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/commits_helper.rb Thu, 27 Dec 2012 11:32:29 +0200
+app/helpers/application_helper.rb Sun, 30 Dec 2012 13:49:26 +0200
+app/helpers/issues_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/tab_helper.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/helpers/profile_helper.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/helpers/notes_helper.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/project_update_context.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/contexts/test_hook_context.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/merge_requests_load_context.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/contexts/notes/create_context.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/notes/load_context.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/contexts/issues_bulk_update_context.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/issues_list_context.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/base_context.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/contexts/search_context.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/contexts/commit_load_context.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/roles/note_event.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/roles/push_observer.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/roles/account.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/roles/votes.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/roles/repository.rb Sun, 30 Dec 2012 12:24:50 +0200
+app/roles/git_host.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/roles/team.rb Sun, 30 Dec 2012 14:26:37 +0200
+app/roles/namespaced_project.rb Wed, 26 Dec 2012 10:56:36 +0200
+app/roles/authority.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/roles/push_event.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/roles/static_model.rb Mon, 29 Oct 2012 21:44:39 +0200
+app/roles/issue_commonality.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/decorators/commit_decorator.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/decorators/application_decorator.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/decorators/tree_decorator.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/decorators/event_decorator.rb Mon, 29 Oct 2012 21:33:47 +0200
+app/decorators/user_decorator.rb Sun, 23 Dec 2012 12:16:43 +0200
+app/assets/fonts/OFL.txt Thu, 27 Dec 2012 11:32:29 +0200
+app/workers/post_receive.rb Sun, 23 Dec 2012 14:02:47 +0200
+app/workers/system_hook_worker.rb Mon, 30 Jul 2012 09:40:23 +0300
+lib/extracts_path.rb Thu, 27 Dec 2012 11:32:29 +0200
+lib/file_size_validator.rb Mon, 29 Oct 2012 21:33:47 +0200
+lib/redcarpet/render/gitlab_html.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/auth.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/regex.rb Fri, 28 Dec 2012 09:30:09 +0200
+lib/gitlab/git_logger.rb Mon, 29 Oct 2012 21:33:47 +0200
+lib/gitlab/satellite/merge_action.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/satellite/satellite.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/satellite/edit_file_action.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/satellite/action.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/backend/grack_auth.rb Sun, 30 Dec 2012 12:06:28 +0200
+lib/gitlab/backend/gitolite_config.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/backend/gitolite.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/logger.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/markdown.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/app_logger.rb Mon, 29 Oct 2012 21:33:47 +0200
+lib/gitlab/seeder.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/git_stats.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/project_mover.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/graph/commit.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/gitlab/graph/json_builder.rb Thu, 27 Dec 2012 11:32:29 +0200
+lib/gitlab/theme.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/gitlab/inline_diff.rb Mon, 29 Oct 2012 21:33:47 +0200
+lib/hooks/post-receive Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/projects.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/merge_requests.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/users.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/session.rb Mon, 29 Oct 2012 21:33:47 +0200
+lib/api/notes.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/helpers.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/entities.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/milestones.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/api/issues.rb Sun, 23 Dec 2012 14:02:47 +0200
+lib/event_filter.rb Sun, 23 Dec 2012 12:16:43 +0200
+lib/api.rb Sun, 23 Dec 2012 14:02:47 +0200
diff --git a/doc/code/css/github.css b/doc/code/css/github.css
new file mode 100644
index 00000000000..bd778a76d71
--- /dev/null
+++ b/doc/code/css/github.css
@@ -0,0 +1,129 @@
+/*
+
+github.com style (c) Vasily Polovnyov <vast@whiteants.net>
+
+*/
+
+pre code {
+ display: block; padding: 0.5em;
+ color: #000;
+ background: #f8f8ff
+}
+
+pre .comment,
+pre .template_comment,
+pre .diff .header,
+pre .javadoc {
+ color: #998;
+ font-style: italic
+}
+
+pre .keyword,
+pre .css .rule .keyword,
+pre .winutils,
+pre .javascript .title,
+pre .lisp .title,
+pre .subst {
+ color: #000;
+ font-weight: bold
+}
+
+pre .number,
+pre .hexcolor {
+ color: #40a070
+}
+
+pre .string,
+pre .tag .value,
+pre .phpdoc,
+pre .tex .formula {
+ color: #d14
+}
+
+pre .title,
+pre .id {
+ color: #900;
+ font-weight: bold
+}
+
+pre .javascript .title,
+pre .lisp .title,
+pre .subst {
+ font-weight: normal
+}
+
+pre .class .title,
+pre .haskell .label,
+pre .tex .command {
+ color: #458;
+ font-weight: bold
+}
+
+pre .tag,
+pre .tag .title,
+pre .rules .property,
+pre .django .tag .keyword {
+ color: #000080;
+ font-weight: normal
+}
+
+pre .attribute,
+pre .variable,
+pre .instancevar,
+pre .lisp .body {
+ color: #008080
+}
+
+pre .regexp {
+ color: #009926
+}
+
+pre .class {
+ color: #458;
+ font-weight: bold
+}
+
+pre .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .lisp .keyword,
+pre .tex .special,
+pre .input_number {
+ color: #990073
+}
+
+pre .builtin,
+pre .built_in,
+pre .lisp .title {
+ color: #0086b3
+}
+
+pre .preprocessor,
+pre .pi,
+pre .doctype,
+pre .shebang,
+pre .cdata {
+ color: #999;
+ font-weight: bold
+}
+
+pre .deletion {
+ background: #fdd
+}
+
+pre .addition {
+ background: #dfd
+}
+
+pre .diff .change {
+ background: #0086b3
+}
+
+pre .chunk {
+ color: #aaa
+}
+
+pre .tex .formula {
+ opacity: 0.5;
+}
diff --git a/doc/code/css/main.css b/doc/code/css/main.css
new file mode 100755
index 00000000000..7d5a913a150
--- /dev/null
+++ b/doc/code/css/main.css
@@ -0,0 +1,333 @@
+body {
+ font-family: "Helvetica Neue", Arial, sans-serif;
+ background: #FFF;
+ color: #000;
+ margin: 0px;
+ font-size: 0.82em;
+ line-height: 1.25em;
+}
+
+a {
+ color: #00F;
+ text-decoration: none;
+}
+
+a:hover {
+ color: #333;
+ background: #FE8;
+}
+
+p {
+ margin-bottom: 1em;
+}
+
+h1 {
+ font-size: 2.1em;
+ font-weight: normal;
+ line-height: 1.2em;
+ margin: 1.4em 0 0.7em 0;
+}
+
+h2 {
+ font-size: 1.6em;
+ margin: 1.8em 0 0.8em 0;
+ font-weight: normal;
+ line-height: 1.2em;
+}
+
+h3 {
+ font-size: 1.4em;
+ color:#555;
+ margin: 1.4em 0 0.7em 0;
+ font-weight: normal;
+}
+
+h4 {
+ margin: 1.4em 0 0.5em 0;
+ font-size: 1em;
+}
+
+table
+{
+ margin-bottom: 1em;
+}
+
+td, th
+{
+ padding: 0 0.7em 0.3em 0;
+}
+
+th
+{
+ font-weight: bold;
+}
+
+.clear
+{
+ clear: both;
+ width: 0; height: 0;
+}
+
+dt
+{
+ margin-bottom: 0.3em;
+ font-weight: bold;
+}
+
+dd
+{
+ margin-left: 2em;
+ margin-bottom: 1em;
+}
+
+dd p
+{
+ margin-top: 0.6em;
+}
+
+li
+{
+ margin: 0 0 0.5em 2em;
+}
+
+ul li
+{
+ list-style: disc;
+}
+
+ol li
+{
+ list-style: decimal;
+}
+
+.banner
+{
+ background: #EDF3FE;
+ border-bottom: 1px solid #ccc;
+ padding: 1em 2em 0.5em 2em;
+}
+.banner h1
+{
+ font-size: 1.2em;
+ margin: 0;
+}
+
+.banner h1 .type
+{
+ font-size: 0.833em;
+ display:block;
+}
+
+.banner h1 .type,
+.banner h1 .parent
+{
+ color: #666;
+}
+
+.banner ul
+{
+ margin-top: 0.3em;
+ margin-bottom: 0;
+ font-size: 0.85em;
+}
+
+.banner li
+{
+ list-style: none;
+ margin-left: 0;
+ margin-bottom: 0;
+}
+
+pre
+{
+ margin-bottom: 1em;
+}
+
+.methods dt
+{
+ width: 1em;
+ font-size: 1.5em;
+ color:#AAA;
+ position: absolute;
+ font-weight: normal;
+ margin: 0;
+}
+
+.methods dd
+{
+ margin-left: 2.5em;
+ min-height: 1.8em;
+ -height: 1.8em;
+ padding-bottom: 0.8em;
+}
+
+
+.methods ul li
+{
+ margin-right: 0.7em;
+ margin-left: 0;
+ list-style: none;
+ display: inline;
+}
+
+#content {
+ margin: 2em;
+ margin-left: 3.5em;
+ margin-right: 3.5em;
+}
+
+
+.sectiontitle {
+ margin-top: 2em;
+ margin-bottom: 1.3em;
+ margin-left: -1.2em;
+ font-size: 1.2em;
+ padding: 0 0 0.25em 0;
+ font-weight: bold;
+ border-bottom: 1px solid #000;
+}
+
+.contenttitle {
+ margin-top: 4em;
+ margin-bottom: 1.3em;
+ margin-left: -0.9em;
+ font-size: 1.6em;
+ padding: 0 0 0.25em 0;
+ font-weight: bold;
+}
+
+.attr-rw {
+ padding-right: 1em;
+ text-align: center;
+ color: #055;
+}
+
+.attr-name {
+ font-weight: bold;
+ padding-right: 1em;
+}
+
+.attr-desc {
+}
+
+tt {
+ font-size: 1.15em;
+}
+
+.attr-value {
+ font-family: monospace;
+ padding-left: 1em;
+ font-size: 1.15em;
+}
+
+.dyn-source {
+ display: none;
+ background: #fffde8;
+ color: #000;
+ border: #ffe0bb dotted 1px;
+ margin: 0.5em 2em 0.5em 0;
+ padding: 0.5em;
+}
+
+.dyn-source .cmt {
+ color: #00F;
+ font-style: italic;
+}
+
+.dyn-source .kw {
+ color: #070;
+ font-weight: bold;
+}
+
+.description pre {
+ padding: 0.5em;
+ border: #ffe0bb dotted 1px;
+ background: #fffde8;
+}
+
+.method {
+ margin-bottom: 2em;
+}
+.method .description,
+.method .sourcecode
+{
+ margin-left: 1.2em;
+}
+.method h4
+{
+ border-bottom: 1px dotted #999;
+ padding: 0 0 0.2em 0;
+ margin-bottom: 0.8em;
+ font-size: 1.1em;
+ color:#333;
+}
+.method .method-title {
+ border-bottom: 1px dotted #666;
+ padding: 0 0 0.15em 0;
+ margin: 0 0 0.5em 0;
+ font-size: 1.2em;
+ line-height: 1.25em;
+ position: relative;
+}
+
+.method .method-title a.permalink {
+ position: absolute;
+ font-size: 0.75em;
+ right: 0;
+}
+
+.method .sourcecode p.source-link {
+ text-indent: 0em;
+ margin-top: 0.5em;
+}
+
+.method .aka {
+ margin-top: 0.3em;
+ margin-left: 1em;
+ font-style: italic;
+ text-indent: 2em;
+}
+
+.method .source-link
+{
+ font-size: 0.85em;
+}
+
+.ruby-constant {
+ color: teal;
+}
+.ruby-keyword {
+ color: #000;
+ font-weight: bold
+}
+.ruby-title {
+ color: #900;
+ font-weight: bold;
+}
+.ruby-ivar {
+ color: teal;
+}
+.ruby-operator {
+ color: #000;
+ font-weight: bold
+}
+.ruby-identifier {
+ color: #000;
+}
+.ruby-string,
+.ruby-node {
+ color: #D14;
+}
+.ruby-comment {
+ color: #998;
+ font-style: italic;
+}
+.ruby-regexp {
+ color: #009926;
+}
+.ruby-value {
+ color: #990073;
+}
+.ruby-number {
+ color: #40A070;
+}
diff --git a/doc/code/css/panel.css b/doc/code/css/panel.css
new file mode 100755
index 00000000000..9bd8027b739
--- /dev/null
+++ b/doc/code/css/panel.css
@@ -0,0 +1,384 @@
+/* Panel (begin) */
+ .panel
+ {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ background: #FFF;
+ z-index: 2;
+ font-family: "Helvetica Neue", "Arial", sans-serif;
+ //zoom: 1;
+ }
+
+ .panel_tree .results,
+ .panel_results .tree
+ {
+ display: none;
+ }
+
+ /* Header with search box (begin) */
+ .panel .header
+ {
+ width: 100%;
+ height: 29px;
+ border-bottom: 1px solid #666;
+ position: relative;
+ left: 0; top: 0;
+ background: #e8e8e8;
+ }
+
+ .panel .header div
+ {
+ margin: 0 7px;
+ }
+ .panel .header table
+ {
+ height: 29px;
+ width: 100%;
+ }
+
+ .panel .header table td
+ {
+ vertical-align: middle;
+ text-align: middle;
+ }
+
+ .panel .header label
+ {
+ position: absolute;
+ font-size: 12px;
+ line-height: 29px;
+ margin-left: 3px;
+ color: #999;
+ cursor: text;
+ }
+
+ .panel .header table input
+ {
+ width: 100%;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ display: inline-block;
+ -webkit-appearance: searchfield;
+ height: 22px;
+ //height: auto;
+ }
+
+ /* Header with search box (end) */
+
+
+ /* Results (begin) */
+ .panel .result
+ {
+ position: absolute;
+ top: 30px;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ //height: expression((this.parentNode.offsetHeight - 31));
+ overflow-y: scroll;
+ overflow-x: hidden;
+ -overflow-y: hidden;
+ background: #EDF3FE url(../i/results_bg.png);
+ z-index: 2;
+ //zoom:1;
+ }
+
+ .panel .result ul
+ {
+ font-size: 0.8em;
+ width: 100%;
+ background: #EDF3FE url(../i/results_bg.png);
+ //zoom:1;
+ }
+
+ .panel .result ul li
+ {
+ height: 46px;
+ -height: 50px;
+ //display: inline;
+ //width: 100%;
+ //zoom: 1;
+ overflow: hidden;
+ padding: 4px 10px 0 10px;
+ cursor: pointer;
+ }
+
+ .panel .result ul li h1
+ {
+ font-size: 13px;
+ font-weight: normal;
+ color: #333;
+ margin-bottom: 2px;
+ white-space: nowrap;
+ }
+
+ .panel .result ul li p
+ {
+ font-size: 11px;
+ color: #333;
+ margin-bottom: 2px;
+ white-space: nowrap;
+ }
+
+ .panel .result ul li h1 i,
+ .panel .result ul li p.snippet
+ {
+ color: #999;
+ }
+
+ .panel .result ul li b
+ {
+ color: #000;
+ }
+
+ .panel .result ul li.current
+ {
+ background: #3875D7;
+ }
+
+ .panel .result ul li.current h1,
+ .panel .result ul li.current p
+ {
+ color: #DDD;
+ }
+
+ .panel .result ul li.current h1 i,
+ .panel .result ul li.current p.snippet
+ {
+ color: #AAA;
+ }
+
+ .panel .result ul li.current b
+ {
+ color: #FFF;
+ }
+
+
+ .panel .result ul li:hover,
+ .panel .result ul li.selected
+ {
+ background: #d0d0d0;
+ }
+
+ .panel .result ul li.current:hover
+ {
+ background: #2965C0;
+ }
+
+ .panel .result ul li .badge
+ {
+ margin-right: 0.4em;
+ margin-left: -0.2em;
+ padding: 0 0.2em;
+ color: #000;
+ border-radius: 3px;
+ }
+
+ .panel .result ul li .badge_1
+ {
+ background: #ACDBF4;
+ }
+
+ .panel .result ul li.current .badge_1
+ {
+ background: #97BFD7;
+ }
+
+ .panel .result ul li .badge_2
+ {
+ background: #ACF3C3;
+ }
+
+ .panel .result ul li.current .badge_2
+ {
+ background: #98D7AC;
+ }
+
+ .panel .result ul li .badge_3
+ {
+ background: #E0F3AC;
+ }
+
+ .panel .result ul li.current .badge_3
+ {
+ background: #C4D798;
+ }
+
+ .panel .result ul li .badge_4
+ {
+ background: #D7CA98;
+ }
+
+ .panel .result ul li.current .badge_4
+ {
+ background: #A6B0AC;
+ }
+
+ .panel .result ul li .badge_5
+ {
+ background: #F3C8AC;
+ }
+
+ .panel .result ul li.current .badge_5
+ {
+ background: #D7B198;
+ }
+
+ .panel .result ul li .badge_6
+ {
+ background: #F3ACC3;
+ }
+
+ .panel .result ul li.current .badge_6
+ {
+ background: #D798AB;
+ }
+
+ /* Results (end) */
+
+ /* Tree (begin) */ /**/
+ .panel .tree
+ {
+ position: absolute;
+ top: 30px;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ //zoom: 1;
+ //height: expression((this.parentNode.offsetHeight - 31));
+ overflow-y: scroll;
+ overflow-x: hidden;
+ -overflow-y: hidden;
+ background: #EDF3FE url(../i/tree_bg.png);
+ z-index: 30;
+ }
+
+ .panel .tree ul
+ {
+ background: #EDF3FE url(../i/tree_bg.png);
+ }
+
+ .panel .tree li
+ {
+ cursor: pointer;
+ overflow: hidden;
+ //height: 23px;
+ //display: inline;
+ //zoom: 1;
+ //width: 100%;
+ }
+
+
+ .panel .tree li .content
+ {
+ padding-left: 18px;
+ padding-top: 5px;
+ height: 18px;
+ overflow: hidden;
+ position: relative;
+ }
+
+ .panel .tree li .icon
+ {
+ width: 10px;
+ height: 9px;
+ background: url(../i/arrows.png);
+ background-position: 0 -9px;
+ position: absolute;
+ left: 1px;
+ top: 8px;
+ cursor: default;
+ }
+
+ .panel .tree li.closed .icon
+ {
+ background-position: 0 0;
+ }
+
+ .panel .tree ul li h1
+ {
+ font-size: 13px;
+ font-weight: normal;
+ color: #000;
+ margin-bottom: 2px;
+ white-space: nowrap;
+ }
+
+ .panel .tree ul li p
+ {
+ font-size: 11px;
+ color: #666;
+ margin-bottom: 2px;
+ white-space: nowrap;
+ }
+
+ .panel .tree ul li h1 i
+ {
+ color: #999;
+ font-style: normal;
+ }
+
+ .panel .tree ul li.empty
+ {
+ cursor: text;
+ }
+
+ .panel .tree ul li.empty h1,
+ .panel .tree ul li.empty p
+ {
+ color: #666;
+ font-style: italic;
+ }
+
+ .panel .tree ul li.current
+ {
+ background: #3875D7;
+ }
+
+ .panel .tree ul li.current .icon
+ {
+ background-position: -10px -9px;
+ }
+
+ .panel .tree ul li.current.closed .icon
+ {
+ background-position: -10px 0;
+ }
+
+ .panel .tree ul li.current h1
+ {
+ color: #FFF;
+ }
+
+ .panel .tree ul li.current p
+ {
+ color: #CCC;
+ }
+
+ .panel .tree ul li.current.empty h1,
+ .panel .tree ul li.current.empty p
+ {
+ color: #999;
+ }
+
+ .panel .tree ul li:hover
+ {
+ background: #d0d0d0;
+ }
+
+ .panel .tree ul li.current:hover
+ {
+ background: #2965C0;
+ }
+
+ .panel .tree .stopper
+ {
+ display: none;
+ }
+ /* Tree (end) */ /**/
+
+/* Panel (end) */ \ No newline at end of file
diff --git a/doc/code/css/reset.css b/doc/code/css/reset.css
new file mode 100755
index 00000000000..da4a2394a86
--- /dev/null
+++ b/doc/code/css/reset.css
@@ -0,0 +1,48 @@
+/* http://meyerweb.com/eric/tools/css/reset/ */
+/* v1.0 | 20080212 */
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+
+/* remember to highlight inserts somehow! */
+ins {
+ text-decoration: none;
+}
+del {
+ text-decoration: line-through;
+}
+
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+} \ No newline at end of file
diff --git a/doc/code/favicon.ico b/doc/code/favicon.ico
new file mode 100644
index 00000000000..e0e80cf8f15
--- /dev/null
+++ b/doc/code/favicon.ico
Binary files differ
diff --git a/doc/code/files/app/assets/fonts/OFL_txt.html b/doc/code/files/app/assets/fonts/OFL_txt.html
new file mode 100644
index 00000000000..f873d9b2d41
--- /dev/null
+++ b/doc/code/files/app/assets/fonts/OFL_txt.html
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>OFL.txt</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ OFL.txt
+ </h1>
+ <ul class="files">
+ <li>app/assets/fonts/OFL.txt</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Copyright © 2010, Jan Gerner (post@yanone.de) This Font Software is
+licensed under the SIL Open Font License, Version 1.1. This license is
+copied below, and is also available with a FAQ at: <a
+href="http://scripts.sil.org/OFL">scripts.sil.org/OFL</a></p>
+<hr style="height: 10px">
+
+<p>SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007</p>
+<hr style="height: 10px">
+
+<p>PREAMBLE The goals of the Open Font License (<a
+href="OFL_txt.html">OFL</a>) are to stimulate worldwide development of
+collaborative font projects, to support the font creation efforts of
+academic and linguistic communities, and to provide a free and open
+framework in which fonts may be shared and improved in partnership with
+others.</p>
+
+<p>The <a href="OFL_txt.html">OFL</a> allows the licensed fonts to be used,
+studied, modified and redistributed freely as long as they are not sold by
+themselves. The fonts, including any derivative works, can be bundled,
+embedded, redistributed and/or sold with any software provided that any
+reserved names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply to any
+document created using the fonts or their derivatives.</p>
+
+<p>DEFINITIONS “Font Software” refers to the set of files released by the
+Copyright Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.</p>
+
+<p>“Reserved Font Name” refers to any names specified as such after the
+copyright statement(s).</p>
+
+<p>“Original Version” refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).</p>
+
+<p>“Modified Version” refers to any derivative made by adding to, deleting, or
+substituting – in part or in whole – any of the components of the Original
+Version, by changing formats or by porting the Font Software to a new
+environment.</p>
+
+<p>“Author” refers to any designer, engineer, programmer, technical writer or
+other person who contributed to the Font Software.</p>
+
+<p>PERMISSION &amp; CONDITIONS Permission is hereby granted, free of charge,
+to any person obtaining a copy of the Font Software, to use, study, copy,
+merge, embed, modify, redistribute, and sell modified and unmodified copies
+of the Font Software, subject to the following conditions:</p>
+
+<p>1) Neither the Font Software nor any of its individual components, in
+Original or Modified Versions, may be sold by itself.</p>
+
+<p>2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be included
+either as stand-alone text files, human-readable headers or in the
+appropriate machine-readable metadata fields within text or binary files as
+long as those fields can be easily viewed by the user.</p>
+
+<p>3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.</p>
+
+<p>4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any Modified
+Version, except to acknowledge the contribution(s) of the Copyright
+Holder(s) and the Author(s) or with their explicit written permission.</p>
+
+<p>5) The Font Software, modified or unmodified, in part or in whole, must be
+distributed entirely under this license, and must not be distributed under
+any other license. The requirement for fonts to remain under this license
+does not apply to any document created using the Font Software.</p>
+
+<p>TERMINATION This license becomes null and void if any of the above
+conditions are not met.</p>
+
+<p>DISCLAIMER THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
+COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS
+IN THE FONT SOFTWARE.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/base_context_rb.html b/doc/code/files/app/contexts/base_context_rb.html
new file mode 100644
index 00000000000..214164305c2
--- /dev/null
+++ b/doc/code/files/app/contexts/base_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>base_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ base_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/base_context.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/BaseContext.html">BaseContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/commit_load_context_rb.html b/doc/code/files/app/contexts/commit_load_context_rb.html
new file mode 100644
index 00000000000..c21f5e1b752
--- /dev/null
+++ b/doc/code/files/app/contexts/commit_load_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commit_load_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commit_load_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/commit_load_context.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/CommitLoadContext.html">CommitLoadContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/issues_bulk_update_context_rb.html b/doc/code/files/app/contexts/issues_bulk_update_context_rb.html
new file mode 100644
index 00000000000..18b89d585c7
--- /dev/null
+++ b/doc/code/files/app/contexts/issues_bulk_update_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issues_bulk_update_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issues_bulk_update_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/issues_bulk_update_context.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/IssuesBulkUpdateContext.html">IssuesBulkUpdateContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/issues_list_context_rb.html b/doc/code/files/app/contexts/issues_list_context_rb.html
new file mode 100644
index 00000000000..6d83a6b4bb0
--- /dev/null
+++ b/doc/code/files/app/contexts/issues_list_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issues_list_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issues_list_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/issues_list_context.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/IssuesListContext.html">IssuesListContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/merge_requests_load_context_rb.html b/doc/code/files/app/contexts/merge_requests_load_context_rb.html
new file mode 100644
index 00000000000..5f9c54623fd
--- /dev/null
+++ b/doc/code/files/app/contexts/merge_requests_load_context_rb.html
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_requests_load_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_requests_load_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/merge_requests_load_context.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Build collection of Merge Requests based on filtering passed via params for
+@project</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/MergeRequestsLoadContext.html">MergeRequestsLoadContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/notes/create_context_rb.html b/doc/code/files/app/contexts/notes/create_context_rb.html
new file mode 100644
index 00000000000..7cf9a67c104
--- /dev/null
+++ b/doc/code/files/app/contexts/notes/create_context_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>create_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ create_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/notes/create_context.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Notes.html">Notes</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Notes/CreateContext.html">Notes::CreateContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/notes/load_context_rb.html b/doc/code/files/app/contexts/notes/load_context_rb.html
new file mode 100644
index 00000000000..84c7f1435aa
--- /dev/null
+++ b/doc/code/files/app/contexts/notes/load_context_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>load_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ load_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/notes/load_context.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Notes.html">Notes</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Notes/LoadContext.html">Notes::LoadContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/project_update_context_rb.html b/doc/code/files/app/contexts/project_update_context_rb.html
new file mode 100644
index 00000000000..2712b358f1b
--- /dev/null
+++ b/doc/code/files/app/contexts/project_update_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project_update_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project_update_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/project_update_context.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProjectUpdateContext.html">ProjectUpdateContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/search_context_rb.html b/doc/code/files/app/contexts/search_context_rb.html
new file mode 100644
index 00000000000..85d7cc3060d
--- /dev/null
+++ b/doc/code/files/app/contexts/search_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>search_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ search_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/search_context.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SearchContext.html">SearchContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/contexts/test_hook_context_rb.html b/doc/code/files/app/contexts/test_hook_context_rb.html
new file mode 100644
index 00000000000..ebb88998908
--- /dev/null
+++ b/doc/code/files/app/contexts/test_hook_context_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>test_hook_context.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ test_hook_context.rb
+ </h1>
+ <ul class="files">
+ <li>app/contexts/test_hook_context.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/TestHookContext.html">TestHookContext</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/dashboard_controller_rb.html b/doc/code/files/app/controllers/admin/dashboard_controller_rb.html
new file mode 100644
index 00000000000..1fd4edd0be5
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/dashboard_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>dashboard_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ dashboard_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/dashboard_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/DashboardController.html">Admin::DashboardController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/groups_controller_rb.html b/doc/code/files/app/controllers/admin/groups_controller_rb.html
new file mode 100644
index 00000000000..8fe6fc90a78
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/groups_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>groups_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ groups_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/groups_controller.rb</li>
+ <li>Last modified: 2012-12-30 14:11:24 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/GroupsController.html">Admin::GroupsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/hooks_controller_rb.html b/doc/code/files/app/controllers/admin/hooks_controller_rb.html
new file mode 100644
index 00000000000..221091a2c08
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/hooks_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>hooks_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ hooks_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/hooks_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/HooksController.html">Admin::HooksController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/logs_controller_rb.html b/doc/code/files/app/controllers/admin/logs_controller_rb.html
new file mode 100644
index 00000000000..27957990e95
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/logs_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>logs_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ logs_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/logs_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/LogsController.html">Admin::LogsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/projects_controller_rb.html b/doc/code/files/app/controllers/admin/projects_controller_rb.html
new file mode 100644
index 00000000000..2d611510991
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/projects_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>projects_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ projects_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/projects_controller.rb</li>
+ <li>Last modified: 2012-12-30 14:08:40 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/ProjectsController.html">Admin::ProjectsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/resque_controller_rb.html b/doc/code/files/app/controllers/admin/resque_controller_rb.html
new file mode 100644
index 00000000000..742a9c7d96a
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/resque_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>resque_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ resque_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/resque_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/ResqueController.html">Admin::ResqueController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/team_members_controller_rb.html b/doc/code/files/app/controllers/admin/team_members_controller_rb.html
new file mode 100644
index 00000000000..b821baffe28
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/team_members_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>team_members_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ team_members_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/team_members_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/TeamMembersController.html">Admin::TeamMembersController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin/users_controller_rb.html b/doc/code/files/app/controllers/admin/users_controller_rb.html
new file mode 100644
index 00000000000..c8188f7e192
--- /dev/null
+++ b/doc/code/files/app/controllers/admin/users_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>users_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ users_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin/users_controller.rb</li>
+ <li>Last modified: 2012-12-30 13:42:44 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Admin/UsersController.html">Admin::UsersController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/admin_controller_rb.html b/doc/code/files/app/controllers/admin_controller_rb.html
new file mode 100644
index 00000000000..7837559263f
--- /dev/null
+++ b/doc/code/files/app/controllers/admin_controller_rb.html
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>admin_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ admin_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/admin_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Provides a base class for <a href="../../../classes/Admin.html">Admin</a>
+controllers to subclass</p>
+
+<p>Automatically sets the layout and ensures an administrator is logged in</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/AdminController.html">AdminController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/application_controller_rb.html b/doc/code/files/app/controllers/application_controller_rb.html
new file mode 100644
index 00000000000..f13dba25f5e
--- /dev/null
+++ b/doc/code/files/app/controllers/application_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>application_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ application_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/application_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ApplicationController.html">ApplicationController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/blame_controller_rb.html b/doc/code/files/app/controllers/blame_controller_rb.html
new file mode 100644
index 00000000000..f0c34244ee1
--- /dev/null
+++ b/doc/code/files/app/controllers/blame_controller_rb.html
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>blame_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ blame_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/blame_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a file’s blame</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/BlameController.html">BlameController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/blob_controller_rb.html b/doc/code/files/app/controllers/blob_controller_rb.html
new file mode 100644
index 00000000000..a5bdfad1a3f
--- /dev/null
+++ b/doc/code/files/app/controllers/blob_controller_rb.html
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>blob_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ blob_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/blob_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a file’s blame</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/BlobController.html">BlobController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/commit_controller_rb.html b/doc/code/files/app/controllers/commit_controller_rb.html
new file mode 100644
index 00000000000..a7189c8604b
--- /dev/null
+++ b/doc/code/files/app/controllers/commit_controller_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commit_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commit_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/commit_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for a specific <a href="../../../classes/Commit.html">Commit</a></p>
+
+<p>Not to be confused with <a
+href="../../../classes/CommitsController.html">CommitsController</a>,
+plural.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/CommitController.html">CommitController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/commits_controller_rb.html b/doc/code/files/app/controllers/commits_controller_rb.html
new file mode 100644
index 00000000000..989e4cd8639
--- /dev/null
+++ b/doc/code/files/app/controllers/commits_controller_rb.html
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commits_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commits_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/commits_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>base64</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/CommitsController.html">CommitsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/compare_controller_rb.html b/doc/code/files/app/controllers/compare_controller_rb.html
new file mode 100644
index 00000000000..479fa86925b
--- /dev/null
+++ b/doc/code/files/app/controllers/compare_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>compare_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ compare_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/compare_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/CompareController.html">CompareController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/dashboard_controller_rb.html b/doc/code/files/app/controllers/dashboard_controller_rb.html
new file mode 100644
index 00000000000..ac7012f4c1d
--- /dev/null
+++ b/doc/code/files/app/controllers/dashboard_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>dashboard_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ dashboard_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/dashboard_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/DashboardController.html">DashboardController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/deploy_keys_controller_rb.html b/doc/code/files/app/controllers/deploy_keys_controller_rb.html
new file mode 100644
index 00000000000..c0c598a2493
--- /dev/null
+++ b/doc/code/files/app/controllers/deploy_keys_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>deploy_keys_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ deploy_keys_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/deploy_keys_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/DeployKeysController.html">DeployKeysController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/errors_controller_rb.html b/doc/code/files/app/controllers/errors_controller_rb.html
new file mode 100644
index 00000000000..bd2da28be6f
--- /dev/null
+++ b/doc/code/files/app/controllers/errors_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>errors_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ errors_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/errors_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ErrorsController.html">ErrorsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/groups_controller_rb.html b/doc/code/files/app/controllers/groups_controller_rb.html
new file mode 100644
index 00000000000..905f17b39c9
--- /dev/null
+++ b/doc/code/files/app/controllers/groups_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>groups_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ groups_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/groups_controller.rb</li>
+ <li>Last modified: 2012-12-30 12:42:35 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/GroupsController.html">GroupsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/help_controller_rb.html b/doc/code/files/app/controllers/help_controller_rb.html
new file mode 100644
index 00000000000..0c41c81ee05
--- /dev/null
+++ b/doc/code/files/app/controllers/help_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>help_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ help_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/help_controller.rb</li>
+ <li>Last modified: 2012-02-29 23:28:38 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/HelpController.html">HelpController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/hooks_controller_rb.html b/doc/code/files/app/controllers/hooks_controller_rb.html
new file mode 100644
index 00000000000..8182569b8ce
--- /dev/null
+++ b/doc/code/files/app/controllers/hooks_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>hooks_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ hooks_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/hooks_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/HooksController.html">HooksController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/issues_controller_rb.html b/doc/code/files/app/controllers/issues_controller_rb.html
new file mode 100644
index 00000000000..1c1986952cc
--- /dev/null
+++ b/doc/code/files/app/controllers/issues_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issues_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issues_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/issues_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/IssuesController.html">IssuesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/keys_controller_rb.html b/doc/code/files/app/controllers/keys_controller_rb.html
new file mode 100644
index 00000000000..d88ed459a62
--- /dev/null
+++ b/doc/code/files/app/controllers/keys_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>keys_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ keys_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/keys_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/KeysController.html">KeysController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/labels_controller_rb.html b/doc/code/files/app/controllers/labels_controller_rb.html
new file mode 100644
index 00000000000..6b22a056928
--- /dev/null
+++ b/doc/code/files/app/controllers/labels_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>labels_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ labels_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/labels_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/LabelsController.html">LabelsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/merge_requests_controller_rb.html b/doc/code/files/app/controllers/merge_requests_controller_rb.html
new file mode 100644
index 00000000000..5dd462cc37a
--- /dev/null
+++ b/doc/code/files/app/controllers/merge_requests_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_requests_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_requests_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/merge_requests_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/MergeRequestsController.html">MergeRequestsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/milestones_controller_rb.html b/doc/code/files/app/controllers/milestones_controller_rb.html
new file mode 100644
index 00000000000..70eb9de7653
--- /dev/null
+++ b/doc/code/files/app/controllers/milestones_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>milestones_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ milestones_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/milestones_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/MilestonesController.html">MilestonesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/notes_controller_rb.html b/doc/code/files/app/controllers/notes_controller_rb.html
new file mode 100644
index 00000000000..67e846be25f
--- /dev/null
+++ b/doc/code/files/app/controllers/notes_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>notes_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ notes_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/notes_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/NotesController.html">NotesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/omniauth_callbacks_controller_rb.html b/doc/code/files/app/controllers/omniauth_callbacks_controller_rb.html
new file mode 100644
index 00000000000..1b5e8fa0d1f
--- /dev/null
+++ b/doc/code/files/app/controllers/omniauth_callbacks_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>omniauth_callbacks_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ omniauth_callbacks_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/omniauth_callbacks_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/OmniauthCallbacksController.html">OmniauthCallbacksController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/profiles_controller_rb.html b/doc/code/files/app/controllers/profiles_controller_rb.html
new file mode 100644
index 00000000000..0b085838a32
--- /dev/null
+++ b/doc/code/files/app/controllers/profiles_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>profiles_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ profiles_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/profiles_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProfilesController.html">ProfilesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/project_resource_controller_rb.html b/doc/code/files/app/controllers/project_resource_controller_rb.html
new file mode 100644
index 00000000000..e17be7ab22e
--- /dev/null
+++ b/doc/code/files/app/controllers/project_resource_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project_resource_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project_resource_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/project_resource_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProjectResourceController.html">ProjectResourceController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/projects_controller_rb.html b/doc/code/files/app/controllers/projects_controller_rb.html
new file mode 100644
index 00000000000..939eb71e0d8
--- /dev/null
+++ b/doc/code/files/app/controllers/projects_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>projects_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ projects_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/projects_controller.rb</li>
+ <li>Last modified: 2012-12-30 13:33:32 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProjectsController.html">ProjectsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/protected_branches_controller_rb.html b/doc/code/files/app/controllers/protected_branches_controller_rb.html
new file mode 100644
index 00000000000..1fca71347e3
--- /dev/null
+++ b/doc/code/files/app/controllers/protected_branches_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>protected_branches_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ protected_branches_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/protected_branches_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProtectedBranchesController.html">ProtectedBranchesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/refs_controller_rb.html b/doc/code/files/app/controllers/refs_controller_rb.html
new file mode 100644
index 00000000000..207441f161d
--- /dev/null
+++ b/doc/code/files/app/controllers/refs_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>refs_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ refs_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/refs_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/RefsController.html">RefsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/repositories_controller_rb.html b/doc/code/files/app/controllers/repositories_controller_rb.html
new file mode 100644
index 00000000000..eab4dd4de8b
--- /dev/null
+++ b/doc/code/files/app/controllers/repositories_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>repositories_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ repositories_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/repositories_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/RepositoriesController.html">RepositoriesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/search_controller_rb.html b/doc/code/files/app/controllers/search_controller_rb.html
new file mode 100644
index 00000000000..f47c36644d2
--- /dev/null
+++ b/doc/code/files/app/controllers/search_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>search_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ search_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/search_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SearchController.html">SearchController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/services_controller_rb.html b/doc/code/files/app/controllers/services_controller_rb.html
new file mode 100644
index 00000000000..de836e79e0a
--- /dev/null
+++ b/doc/code/files/app/controllers/services_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>services_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ services_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/services_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ServicesController.html">ServicesController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/snippets_controller_rb.html b/doc/code/files/app/controllers/snippets_controller_rb.html
new file mode 100644
index 00000000000..662aef9100c
--- /dev/null
+++ b/doc/code/files/app/controllers/snippets_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>snippets_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ snippets_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/snippets_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SnippetsController.html">SnippetsController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/team_members_controller_rb.html b/doc/code/files/app/controllers/team_members_controller_rb.html
new file mode 100644
index 00000000000..c4784ecce49
--- /dev/null
+++ b/doc/code/files/app/controllers/team_members_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>team_members_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ team_members_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/team_members_controller.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/TeamMembersController.html">TeamMembersController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/tree_controller_rb.html b/doc/code/files/app/controllers/tree_controller_rb.html
new file mode 100644
index 00000000000..1a21f186f19
--- /dev/null
+++ b/doc/code/files/app/controllers/tree_controller_rb.html
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tree_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tree_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/tree_controller.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Controller for viewing a repository’s file structure</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/TreeController.html">TreeController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/controllers/wikis_controller_rb.html b/doc/code/files/app/controllers/wikis_controller_rb.html
new file mode 100644
index 00000000000..bbebf05fe7b
--- /dev/null
+++ b/doc/code/files/app/controllers/wikis_controller_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>wikis_controller.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ wikis_controller.rb
+ </h1>
+ <ul class="files">
+ <li>app/controllers/wikis_controller.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/WikisController.html">WikisController</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/decorators/application_decorator_rb.html b/doc/code/files/app/decorators/application_decorator_rb.html
new file mode 100644
index 00000000000..5998d46d215
--- /dev/null
+++ b/doc/code/files/app/decorators/application_decorator_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>application_decorator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ application_decorator.rb
+ </h1>
+ <ul class="files">
+ <li>app/decorators/application_decorator.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ApplicationDecorator.html">ApplicationDecorator</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/decorators/commit_decorator_rb.html b/doc/code/files/app/decorators/commit_decorator_rb.html
new file mode 100644
index 00000000000..ef09e71875c
--- /dev/null
+++ b/doc/code/files/app/decorators/commit_decorator_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commit_decorator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commit_decorator.rb
+ </h1>
+ <ul class="files">
+ <li>app/decorators/commit_decorator.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/CommitDecorator.html">CommitDecorator</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/decorators/event_decorator_rb.html b/doc/code/files/app/decorators/event_decorator_rb.html
new file mode 100644
index 00000000000..156d6008ee9
--- /dev/null
+++ b/doc/code/files/app/decorators/event_decorator_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>event_decorator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ event_decorator.rb
+ </h1>
+ <ul class="files">
+ <li>app/decorators/event_decorator.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/EventDecorator.html">EventDecorator</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/decorators/tree_decorator_rb.html b/doc/code/files/app/decorators/tree_decorator_rb.html
new file mode 100644
index 00000000000..0ca1f9ee6ed
--- /dev/null
+++ b/doc/code/files/app/decorators/tree_decorator_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tree_decorator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tree_decorator.rb
+ </h1>
+ <ul class="files">
+ <li>app/decorators/tree_decorator.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/TreeDecorator.html">TreeDecorator</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/decorators/user_decorator_rb.html b/doc/code/files/app/decorators/user_decorator_rb.html
new file mode 100644
index 00000000000..ab659f66ff3
--- /dev/null
+++ b/doc/code/files/app/decorators/user_decorator_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>user_decorator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ user_decorator.rb
+ </h1>
+ <ul class="files">
+ <li>app/decorators/user_decorator.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/UserDecorator.html">UserDecorator</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/application_helper_rb.html b/doc/code/files/app/helpers/application_helper_rb.html
new file mode 100644
index 00000000000..72447215cb7
--- /dev/null
+++ b/doc/code/files/app/helpers/application_helper_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>application_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ application_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/application_helper.rb</li>
+ <li>Last modified: 2012-12-30 13:49:26 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>digest/md5</li>
+
+ <li>uri</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/ApplicationHelper.html">ApplicationHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/commits_helper_rb.html b/doc/code/files/app/helpers/commits_helper_rb.html
new file mode 100644
index 00000000000..4d78fca9263
--- /dev/null
+++ b/doc/code/files/app/helpers/commits_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commits_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commits_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/commits_helper.rb</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/CommitsHelper.html">CommitsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/dashboard_helper_rb.html b/doc/code/files/app/helpers/dashboard_helper_rb.html
new file mode 100644
index 00000000000..31389328057
--- /dev/null
+++ b/doc/code/files/app/helpers/dashboard_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>dashboard_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ dashboard_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/dashboard_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/DashboardHelper.html">DashboardHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/events_helper_rb.html b/doc/code/files/app/helpers/events_helper_rb.html
new file mode 100644
index 00000000000..63903ce07a8
--- /dev/null
+++ b/doc/code/files/app/helpers/events_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>events_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ events_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/events_helper.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/EventsHelper.html">EventsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/gitlab_markdown_helper_rb.html b/doc/code/files/app/helpers/gitlab_markdown_helper_rb.html
new file mode 100644
index 00000000000..9aada0e731d
--- /dev/null
+++ b/doc/code/files/app/helpers/gitlab_markdown_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gitlab_markdown_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gitlab_markdown_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/gitlab_markdown_helper.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/GitlabMarkdownHelper.html">GitlabMarkdownHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/issues_helper_rb.html b/doc/code/files/app/helpers/issues_helper_rb.html
new file mode 100644
index 00000000000..1e107ebf56d
--- /dev/null
+++ b/doc/code/files/app/helpers/issues_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issues_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issues_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/issues_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/IssuesHelper.html">IssuesHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/merge_requests_helper_rb.html b/doc/code/files/app/helpers/merge_requests_helper_rb.html
new file mode 100644
index 00000000000..556caad9848
--- /dev/null
+++ b/doc/code/files/app/helpers/merge_requests_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_requests_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_requests_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/merge_requests_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/MergeRequestsHelper.html">MergeRequestsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/namespaces_helper_rb.html b/doc/code/files/app/helpers/namespaces_helper_rb.html
new file mode 100644
index 00000000000..2fb5aa1dcd2
--- /dev/null
+++ b/doc/code/files/app/helpers/namespaces_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>namespaces_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ namespaces_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/namespaces_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/NamespacesHelper.html">NamespacesHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/notes_helper_rb.html b/doc/code/files/app/helpers/notes_helper_rb.html
new file mode 100644
index 00000000000..a21a80fe9d7
--- /dev/null
+++ b/doc/code/files/app/helpers/notes_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>notes_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ notes_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/notes_helper.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/NotesHelper.html">NotesHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/profile_helper_rb.html b/doc/code/files/app/helpers/profile_helper_rb.html
new file mode 100644
index 00000000000..d87776b949e
--- /dev/null
+++ b/doc/code/files/app/helpers/profile_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>profile_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ profile_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/profile_helper.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/ProfileHelper.html">ProfileHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/projects_helper_rb.html b/doc/code/files/app/helpers/projects_helper_rb.html
new file mode 100644
index 00000000000..c388a481cf7
--- /dev/null
+++ b/doc/code/files/app/helpers/projects_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>projects_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ projects_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/projects_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/ProjectsHelper.html">ProjectsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/snippets_helper_rb.html b/doc/code/files/app/helpers/snippets_helper_rb.html
new file mode 100644
index 00000000000..697e590e474
--- /dev/null
+++ b/doc/code/files/app/helpers/snippets_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>snippets_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ snippets_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/snippets_helper.rb</li>
+ <li>Last modified: 2011-12-02 02:40:22 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/SnippetsHelper.html">SnippetsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/tab_helper_rb.html b/doc/code/files/app/helpers/tab_helper_rb.html
new file mode 100644
index 00000000000..5bb3d6295a9
--- /dev/null
+++ b/doc/code/files/app/helpers/tab_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tab_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tab_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/tab_helper.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/TabHelper.html">TabHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/tags_helper_rb.html b/doc/code/files/app/helpers/tags_helper_rb.html
new file mode 100644
index 00000000000..074e404cdcf
--- /dev/null
+++ b/doc/code/files/app/helpers/tags_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tags_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tags_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/tags_helper.rb</li>
+ <li>Last modified: 2011-12-02 02:40:22 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/TagsHelper.html">TagsHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/helpers/tree_helper_rb.html b/doc/code/files/app/helpers/tree_helper_rb.html
new file mode 100644
index 00000000000..2d7bac33343
--- /dev/null
+++ b/doc/code/files/app/helpers/tree_helper_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tree_helper.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tree_helper.rb
+ </h1>
+ <ul class="files">
+ <li>app/helpers/tree_helper.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/TreeHelper.html">TreeHelper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/mailers/notify_rb.html b/doc/code/files/app/mailers/notify_rb.html
new file mode 100644
index 00000000000..86e17f0f516
--- /dev/null
+++ b/doc/code/files/app/mailers/notify_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>notify.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ notify.rb
+ </h1>
+ <ul class="files">
+ <li>app/mailers/notify.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Notify.html">Notify</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/ability_rb.html b/doc/code/files/app/models/ability_rb.html
new file mode 100644
index 00000000000..cf22c56a829
--- /dev/null
+++ b/doc/code/files/app/models/ability_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>ability.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ ability.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/ability.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Ability.html">Ability</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/commit_rb.html b/doc/code/files/app/models/commit_rb.html
new file mode 100644
index 00000000000..f48c8a6cd01
--- /dev/null
+++ b/doc/code/files/app/models/commit_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commit.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commit.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/commit.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Commit.html">Commit</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/event_rb.html b/doc/code/files/app/models/event_rb.html
new file mode 100644
index 00000000000..0409518cbec
--- /dev/null
+++ b/doc/code/files/app/models/event_rb.html
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>event.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ event.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/event.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: events</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Event.html">Event</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/gitlab_ci_service_rb.html b/doc/code/files/app/models/gitlab_ci_service_rb.html
new file mode 100644
index 00000000000..69849529510
--- /dev/null
+++ b/doc/code/files/app/models/gitlab_ci_service_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gitlab_ci_service.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gitlab_ci_service.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/gitlab_ci_service.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: services</p>
+
+<pre>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)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/GitlabCiService.html">GitlabCiService</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/group_rb.html b/doc/code/files/app/models/group_rb.html
new file mode 100644
index 00000000000..9606ee7b5b6
--- /dev/null
+++ b/doc/code/files/app/models/group_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>group.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ group.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/group.rb</li>
+ <li>Last modified: 2012-12-30 14:25:46 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: namespaces</p>
+
+<pre>id :integer not null, primary key
+name :string(255) not null
+path :string(255) not null
+owner_id :integer not null
+created_at :datetime not null
+updated_at :datetime not null
+type :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Group.html">Group</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/issue_rb.html b/doc/code/files/app/models/issue_rb.html
new file mode 100644
index 00000000000..1cf1727ca6f
--- /dev/null
+++ b/doc/code/files/app/models/issue_rb.html
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issue.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issue.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/issue.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: issues</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Issue.html">Issue</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/key_rb.html b/doc/code/files/app/models/key_rb.html
new file mode 100644
index 00000000000..8b703afe855
--- /dev/null
+++ b/doc/code/files/app/models/key_rb.html
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>key.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ key.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/key.rb</li>
+ <li>Last modified: 2012-12-27 12:10:59 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: keys</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>digest/md5</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Key.html">Key</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/merge_request_rb.html b/doc/code/files/app/models/merge_request_rb.html
new file mode 100644
index 00000000000..11fbed2e7f8
--- /dev/null
+++ b/doc/code/files/app/models/merge_request_rb.html
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_request.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_request.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/merge_request.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: merge_requests</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/MergeRequest.html">MergeRequest</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/milestone_rb.html b/doc/code/files/app/models/milestone_rb.html
new file mode 100644
index 00000000000..38ec8298c88
--- /dev/null
+++ b/doc/code/files/app/models/milestone_rb.html
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>milestone.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ milestone.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/milestone.rb</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: milestones</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Milestone.html">Milestone</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/namespace_rb.html b/doc/code/files/app/models/namespace_rb.html
new file mode 100644
index 00000000000..d0e97db615b
--- /dev/null
+++ b/doc/code/files/app/models/namespace_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>namespace.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ namespace.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/namespace.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: namespaces</p>
+
+<pre>id :integer not null, primary key
+name :string(255) not null
+path :string(255) not null
+owner_id :integer not null
+created_at :datetime not null
+updated_at :datetime not null
+type :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Namespace.html">Namespace</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/note_rb.html b/doc/code/files/app/models/note_rb.html
new file mode 100644
index 00000000000..6c7a6e21487
--- /dev/null
+++ b/doc/code/files/app/models/note_rb.html
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>note.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ note.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/note.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: notes</p>
+
+<pre>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)</pre>
+
+ </div>
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>carrierwave/orm/activerecord</li>
+
+ <li>file_size_validator</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Note.html">Note</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/project_hook_rb.html b/doc/code/files/app/models/project_hook_rb.html
new file mode 100644
index 00000000000..8756e2a337a
--- /dev/null
+++ b/doc/code/files/app/models/project_hook_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project_hook.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project_hook.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/project_hook.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProjectHook.html">ProjectHook</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/project_rb.html b/doc/code/files/app/models/project_rb.html
new file mode 100644
index 00000000000..739bb5c71ce
--- /dev/null
+++ b/doc/code/files/app/models/project_rb.html
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/project.rb</li>
+ <li>Last modified: 2012-12-28 09:30:09 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: projects</p>
+
+<pre>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
+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
+namespace_id :integer</pre>
+
+ </div>
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>grit</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Project.html">Project</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Project/TransferError.html">Project::TransferError</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/protected_branch_rb.html b/doc/code/files/app/models/protected_branch_rb.html
new file mode 100644
index 00000000000..496b4d21f12
--- /dev/null
+++ b/doc/code/files/app/models/protected_branch_rb.html
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>protected_branch.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ protected_branch.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/protected_branch.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: protected_branches</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProtectedBranch.html">ProtectedBranch</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/service_hook_rb.html b/doc/code/files/app/models/service_hook_rb.html
new file mode 100644
index 00000000000..7fa375a26eb
--- /dev/null
+++ b/doc/code/files/app/models/service_hook_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>service_hook.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ service_hook.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/service_hook.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ServiceHook.html">ServiceHook</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/service_rb.html b/doc/code/files/app/models/service_rb.html
new file mode 100644
index 00000000000..47b0f7fca8f
--- /dev/null
+++ b/doc/code/files/app/models/service_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>service.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ service.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/service.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: services</p>
+
+<pre>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)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Service.html">Service</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/snippet_rb.html b/doc/code/files/app/models/snippet_rb.html
new file mode 100644
index 00000000000..96016354a1f
--- /dev/null
+++ b/doc/code/files/app/models/snippet_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>snippet.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ snippet.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/snippet.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: snippets</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Snippet.html">Snippet</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/system_hook_rb.html b/doc/code/files/app/models/system_hook_rb.html
new file mode 100644
index 00000000000..edccffd9adb
--- /dev/null
+++ b/doc/code/files/app/models/system_hook_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>system_hook.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ system_hook.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/system_hook.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SystemHook.html">SystemHook</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/tree_rb.html b/doc/code/files/app/models/tree_rb.html
new file mode 100644
index 00000000000..89ca7611f15
--- /dev/null
+++ b/doc/code/files/app/models/tree_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>tree.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ tree.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/tree.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Tree.html">Tree</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/user_rb.html b/doc/code/files/app/models/user_rb.html
new file mode 100644
index 00000000000..18a35e06b1e
--- /dev/null
+++ b/doc/code/files/app/models/user_rb.html
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>user.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ user.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/user.rb</li>
+ <li>Last modified: 2012-12-30 13:40:45 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: users</p>
+
+<pre>id :integer not null, primary key
+email :string(255) default(&quot;&quot;), not null
+encrypted_password :string(255) default(&quot;&quot;), 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(&quot;&quot;), not null
+linkedin :string(255) default(&quot;&quot;), not null
+twitter :string(255) default(&quot;&quot;), 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)
+username :string(255)</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/User.html">User</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/users_project_rb.html b/doc/code/files/app/models/users_project_rb.html
new file mode 100644
index 00000000000..072ae9050d9
--- /dev/null
+++ b/doc/code/files/app/models/users_project_rb.html
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>users_project.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ users_project.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/users_project.rb</li>
+ <li>Last modified: 2012-12-30 14:27:12 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: users_projects</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/UsersProject.html">UsersProject</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/web_hook_rb.html b/doc/code/files/app/models/web_hook_rb.html
new file mode 100644
index 00000000000..0fc974233dc
--- /dev/null
+++ b/doc/code/files/app/models/web_hook_rb.html
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>web_hook.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ web_hook.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/web_hook.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: web_hooks</p>
+
+<pre>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(&quot;ProjectHook&quot;)
+service_id :integer</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/WebHook.html">WebHook</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/models/wiki_rb.html b/doc/code/files/app/models/wiki_rb.html
new file mode 100644
index 00000000000..57d5a2a2498
--- /dev/null
+++ b/doc/code/files/app/models/wiki_rb.html
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>wiki.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ wiki.rb
+ </h1>
+ <ul class="files">
+ <li>app/models/wiki.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<h2 id="label-Schema+Information">Schema Information</h2>
+
+<p>Table name: wikis</p>
+
+<pre>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</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Wiki.html">Wiki</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/activity_observer_rb.html b/doc/code/files/app/observers/activity_observer_rb.html
new file mode 100644
index 00000000000..2a78e1ab520
--- /dev/null
+++ b/doc/code/files/app/observers/activity_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>activity_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ activity_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/activity_observer.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ActivityObserver.html">ActivityObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/issue_observer_rb.html b/doc/code/files/app/observers/issue_observer_rb.html
new file mode 100644
index 00000000000..7f373bac24c
--- /dev/null
+++ b/doc/code/files/app/observers/issue_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issue_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issue_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/issue_observer.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/IssueObserver.html">IssueObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/key_observer_rb.html b/doc/code/files/app/observers/key_observer_rb.html
new file mode 100644
index 00000000000..9834dfc4cb2
--- /dev/null
+++ b/doc/code/files/app/observers/key_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>key_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ key_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/key_observer.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/KeyObserver.html">KeyObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/merge_request_observer_rb.html b/doc/code/files/app/observers/merge_request_observer_rb.html
new file mode 100644
index 00000000000..5b779474b42
--- /dev/null
+++ b/doc/code/files/app/observers/merge_request_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_request_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_request_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/merge_request_observer.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/MergeRequestObserver.html">MergeRequestObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/note_observer_rb.html b/doc/code/files/app/observers/note_observer_rb.html
new file mode 100644
index 00000000000..e5a0e03cc39
--- /dev/null
+++ b/doc/code/files/app/observers/note_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>note_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ note_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/note_observer.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/NoteObserver.html">NoteObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/project_observer_rb.html b/doc/code/files/app/observers/project_observer_rb.html
new file mode 100644
index 00000000000..0a4b2b511c0
--- /dev/null
+++ b/doc/code/files/app/observers/project_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/project_observer.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ProjectObserver.html">ProjectObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/system_hook_observer_rb.html b/doc/code/files/app/observers/system_hook_observer_rb.html
new file mode 100644
index 00000000000..53e351efe7b
--- /dev/null
+++ b/doc/code/files/app/observers/system_hook_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>system_hook_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ system_hook_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/system_hook_observer.rb</li>
+ <li>Last modified: 2012-07-30 09:40:22 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SystemHookObserver.html">SystemHookObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/user_observer_rb.html b/doc/code/files/app/observers/user_observer_rb.html
new file mode 100644
index 00000000000..d17f24099d3
--- /dev/null
+++ b/doc/code/files/app/observers/user_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>user_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ user_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/user_observer.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/UserObserver.html">UserObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/observers/users_project_observer_rb.html b/doc/code/files/app/observers/users_project_observer_rb.html
new file mode 100644
index 00000000000..e427fc5b7dc
--- /dev/null
+++ b/doc/code/files/app/observers/users_project_observer_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>users_project_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ users_project_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/observers/users_project_observer.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/UsersProjectObserver.html">UsersProjectObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/account_rb.html b/doc/code/files/app/roles/account_rb.html
new file mode 100644
index 00000000000..9d8821be487
--- /dev/null
+++ b/doc/code/files/app/roles/account_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>account.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ account.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/account.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Account.html">Account</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/authority_rb.html b/doc/code/files/app/roles/authority_rb.html
new file mode 100644
index 00000000000..d6d0437d900
--- /dev/null
+++ b/doc/code/files/app/roles/authority_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>authority.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ authority.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/authority.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Authority.html">Authority</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/git_host_rb.html b/doc/code/files/app/roles/git_host_rb.html
new file mode 100644
index 00000000000..5a878fc0d69
--- /dev/null
+++ b/doc/code/files/app/roles/git_host_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>git_host.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ git_host.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/git_host.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/GitHost.html">GitHost</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/issue_commonality_rb.html b/doc/code/files/app/roles/issue_commonality_rb.html
new file mode 100644
index 00000000000..bb7879143e6
--- /dev/null
+++ b/doc/code/files/app/roles/issue_commonality_rb.html
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issue_commonality.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issue_commonality.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/issue_commonality.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Contains common functionality shared between Issues and MergeRequests</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/IssueCommonality.html">IssueCommonality</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/IssueCommonality/ClassMethods.html">IssueCommonality::ClassMethods</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/namespaced_project_rb.html b/doc/code/files/app/roles/namespaced_project_rb.html
new file mode 100644
index 00000000000..d15014b9a6b
--- /dev/null
+++ b/doc/code/files/app/roles/namespaced_project_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>namespaced_project.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ namespaced_project.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/namespaced_project.rb</li>
+ <li>Last modified: 2012-12-26 10:56:36 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/NamespacedProject.html">NamespacedProject</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/note_event_rb.html b/doc/code/files/app/roles/note_event_rb.html
new file mode 100644
index 00000000000..a32a7c94634
--- /dev/null
+++ b/doc/code/files/app/roles/note_event_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>note_event.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ note_event.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/note_event.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/NoteEvent.html">NoteEvent</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/push_event_rb.html b/doc/code/files/app/roles/push_event_rb.html
new file mode 100644
index 00000000000..6b0d320d3a2
--- /dev/null
+++ b/doc/code/files/app/roles/push_event_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>push_event.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ push_event.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/push_event.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/PushEvent.html">PushEvent</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/push_observer_rb.html b/doc/code/files/app/roles/push_observer_rb.html
new file mode 100644
index 00000000000..62203df10b8
--- /dev/null
+++ b/doc/code/files/app/roles/push_observer_rb.html
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>push_observer.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ push_observer.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/push_observer.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Includes methods for handling Git Push events</p>
+
+<p>Triggered by <a href="../../../classes/PostReceive.html">PostReceive</a>
+job</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/PushObserver.html">PushObserver</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/repository_rb.html b/doc/code/files/app/roles/repository_rb.html
new file mode 100644
index 00000000000..f9a847d68c7
--- /dev/null
+++ b/doc/code/files/app/roles/repository_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>repository.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ repository.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/repository.rb</li>
+ <li>Last modified: 2012-12-30 12:24:50 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Repository.html">Repository</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/static_model_rb.html b/doc/code/files/app/roles/static_model_rb.html
new file mode 100644
index 00000000000..c2355819c5b
--- /dev/null
+++ b/doc/code/files/app/roles/static_model_rb.html
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>static_model.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ static_model.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/static_model.rb</li>
+ <li>Last modified: 2012-10-29 21:44:39 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Provides an ActiveRecord-like interface to a model whose data is not
+persisted to a database.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/StaticModel.html">StaticModel</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/StaticModel/ClassMethods.html">StaticModel::ClassMethods</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/team_rb.html b/doc/code/files/app/roles/team_rb.html
new file mode 100644
index 00000000000..5517f98dcee
--- /dev/null
+++ b/doc/code/files/app/roles/team_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>team.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ team.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/team.rb</li>
+ <li>Last modified: 2012-12-30 14:26:37 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Team.html">Team</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/roles/votes_rb.html b/doc/code/files/app/roles/votes_rb.html
new file mode 100644
index 00000000000..a11bf5069fb
--- /dev/null
+++ b/doc/code/files/app/roles/votes_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>votes.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ votes.rb
+ </h1>
+ <ul class="files">
+ <li>app/roles/votes.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Votes.html">Votes</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/uploaders/attachment_uploader_rb.html b/doc/code/files/app/uploaders/attachment_uploader_rb.html
new file mode 100644
index 00000000000..27680fa158e
--- /dev/null
+++ b/doc/code/files/app/uploaders/attachment_uploader_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>attachment_uploader.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ attachment_uploader.rb
+ </h1>
+ <ul class="files">
+ <li>app/uploaders/attachment_uploader.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/AttachmentUploader.html">AttachmentUploader</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/workers/post_receive_rb.html b/doc/code/files/app/workers/post_receive_rb.html
new file mode 100644
index 00000000000..fd4e73bfd37
--- /dev/null
+++ b/doc/code/files/app/workers/post_receive_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>post_receive.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ post_receive.rb
+ </h1>
+ <ul class="files">
+ <li>app/workers/post_receive.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/PostReceive.html">PostReceive</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/app/workers/system_hook_worker_rb.html b/doc/code/files/app/workers/system_hook_worker_rb.html
new file mode 100644
index 00000000000..e62abde0089
--- /dev/null
+++ b/doc/code/files/app/workers/system_hook_worker_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>system_hook_worker.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ system_hook_worker.rb
+ </h1>
+ <ul class="files">
+ <li>app/workers/system_hook_worker.rb</li>
+ <li>Last modified: 2012-07-30 09:40:23 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/SystemHookWorker.html">SystemHookWorker</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/application_rb.html b/doc/code/files/config/application_rb.html
new file mode 100644
index 00000000000..385b7b2f040
--- /dev/null
+++ b/doc/code/files/config/application_rb.html
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>application.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ application.rb
+ </h1>
+ <ul class="files">
+ <li>config/application.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>rails/all</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/Gitlab/Application.html">Gitlab::Application</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/boot_rb.html b/doc/code/files/config/boot_rb.html
new file mode 100644
index 00000000000..94a4a723a71
--- /dev/null
+++ b/doc/code/files/config/boot_rb.html
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>boot.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ boot.rb
+ </h1>
+ <ul class="files">
+ <li>config/boot.rb</li>
+ <li>Last modified: 2012-04-04 02:04:00 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>rubygems</li>
+
+ <li>bundler/setup</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/environment_rb.html b/doc/code/files/config/environment_rb.html
new file mode 100644
index 00000000000..2085b87ab11
--- /dev/null
+++ b/doc/code/files/config/environment_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>environment.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ environment.rb
+ </h1>
+ <ul class="files">
+ <li>config/environment.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Load the rails application</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/environments/development_rb.html b/doc/code/files/config/environments/development_rb.html
new file mode 100644
index 00000000000..392c8250928
--- /dev/null
+++ b/doc/code/files/config/environments/development_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>development.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ development.rb
+ </h1>
+ <ul class="files">
+ <li>config/environments/development.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/environments/production_rb.html b/doc/code/files/config/environments/production_rb.html
new file mode 100644
index 00000000000..6911c7235d0
--- /dev/null
+++ b/doc/code/files/config/environments/production_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>production.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ production.rb
+ </h1>
+ <ul class="files">
+ <li>config/environments/production.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/environments/test_rb.html b/doc/code/files/config/environments/test_rb.html
new file mode 100644
index 00000000000..cfd579333f0
--- /dev/null
+++ b/doc/code/files/config/environments/test_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>test.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ test.rb
+ </h1>
+ <ul class="files">
+ <li>config/environments/test.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/1_settings_rb.html b/doc/code/files/config/initializers/1_settings_rb.html
new file mode 100644
index 00000000000..3e007ff6dd7
--- /dev/null
+++ b/doc/code/files/config/initializers/1_settings_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>1_settings.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ 1_settings.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/1_settings.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Settings.html">Settings</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/2_app_rb.html b/doc/code/files/config/initializers/2_app_rb.html
new file mode 100644
index 00000000000..de791415700
--- /dev/null
+++ b/doc/code/files/config/initializers/2_app_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>2_app.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ 2_app.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/2_app.rb</li>
+ <li>Last modified: 2012-07-30 09:40:23 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/3_grit_ext_rb.html b/doc/code/files/config/initializers/3_grit_ext_rb.html
new file mode 100644
index 00000000000..6b42df4cf47
--- /dev/null
+++ b/doc/code/files/config/initializers/3_grit_ext_rb.html
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>3_grit_ext.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ 3_grit_ext.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/3_grit_ext.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>grit</li>
+
+ <li>pygments</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/4_resque_rb.html b/doc/code/files/config/initializers/4_resque_rb.html
new file mode 100644
index 00000000000..a96dd91f4ad
--- /dev/null
+++ b/doc/code/files/config/initializers/4_resque_rb.html
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>4_resque.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ 4_resque.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/4_resque.rb</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Custom Redis configuration</p>
+
+ </div>
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>resque/server</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ResqueAuthentication.html">ResqueAuthentication</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/5_backend_rb.html b/doc/code/files/config/initializers/5_backend_rb.html
new file mode 100644
index 00000000000..caaaf0dbb02
--- /dev/null
+++ b/doc/code/files/config/initializers/5_backend_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>5_backend.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ 5_backend.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/5_backend.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>GIT over HTTP</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/backtrace_silencers_rb.html b/doc/code/files/config/initializers/backtrace_silencers_rb.html
new file mode 100644
index 00000000000..65215d384d1
--- /dev/null
+++ b/doc/code/files/config/initializers/backtrace_silencers_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>backtrace_silencers.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ backtrace_silencers.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/backtrace_silencers.rb</li>
+ <li>Last modified: 2011-12-02 02:40:22 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/carrierwave_rb.html b/doc/code/files/config/initializers/carrierwave_rb.html
new file mode 100644
index 00000000000..88aa2eece39
--- /dev/null
+++ b/doc/code/files/config/initializers/carrierwave_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>carrierwave.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ carrierwave.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/carrierwave.rb</li>
+ <li>Last modified: 2012-02-29 23:28:39 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/connection_fix_rb.html b/doc/code/files/config/initializers/connection_fix_rb.html
new file mode 100644
index 00000000000..936db6d6f18
--- /dev/null
+++ b/doc/code/files/config/initializers/connection_fix_rb.html
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>connection_fix.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ connection_fix.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/connection_fix.rb</li>
+ <li>Last modified: 2012-07-02 23:07:19 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>from <a href="http://gist.github.com/238999">gist.github.com/238999</a></p>
+
+<p>If your workers are inactive for a long period of time, they’ll lose their
+MySQL connection.</p>
+
+<p>This hack ensures we re-connect whenever a connection is lost. Because,
+really. why not?</p>
+
+<p>Stick this in RAILS_ROOT/config/initializers/connection_fix.rb (or
+somewhere similar)</p>
+
+<p>From:</p>
+
+<pre>http://coderrr.wordpress.com/2009/01/08/activerecord-threading-issues-and-resolutions/</pre>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters.html">ActiveRecord::ConnectionAdapters</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/Mysql2Adapter.html">ActiveRecord::ConnectionAdapters::Mysql2Adapter</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/devise_rb.html b/doc/code/files/config/initializers/devise_rb.html
new file mode 100644
index 00000000000..596c954eb84
--- /dev/null
+++ b/doc/code/files/config/initializers/devise_rb.html
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>devise.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ devise.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/devise.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Use this hook to configure devise mailer, warden hooks and so forth. The
+first four configuration values can also be set straight in your models.</p>
+
+ </div>
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>devise/orm/active_record</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/gemoji_rb.html b/doc/code/files/config/initializers/gemoji_rb.html
new file mode 100644
index 00000000000..0a015fb70bc
--- /dev/null
+++ b/doc/code/files/config/initializers/gemoji_rb.html
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gemoji.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gemoji.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/gemoji.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Workaround for <a
+href="https://github.com/github/gemoji/pull/18">github.com/github/gemoji/pull/18</a></p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/inflections_rb.html b/doc/code/files/config/initializers/inflections_rb.html
new file mode 100644
index 00000000000..7e3e29a5fbb
--- /dev/null
+++ b/doc/code/files/config/initializers/inflections_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>inflections.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ inflections.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/inflections.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/kaminari_config_rb.html b/doc/code/files/config/initializers/kaminari_config_rb.html
new file mode 100644
index 00000000000..6160d25e74c
--- /dev/null
+++ b/doc/code/files/config/initializers/kaminari_config_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>kaminari_config.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ kaminari_config.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/kaminari_config.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/mime_types_rb.html b/doc/code/files/config/initializers/mime_types_rb.html
new file mode 100644
index 00000000000..5853380f95e
--- /dev/null
+++ b/doc/code/files/config/initializers/mime_types_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>mime_types.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ mime_types.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/mime_types.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/passenger_fix_rb.html b/doc/code/files/config/initializers/passenger_fix_rb.html
new file mode 100644
index 00000000000..de812d9334d
--- /dev/null
+++ b/doc/code/files/config/initializers/passenger_fix_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>passenger_fix.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ passenger_fix.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/passenger_fix.rb</li>
+ <li>Last modified: 2012-12-27 12:08:52 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/postgresql_limit_fix_rb.html b/doc/code/files/config/initializers/postgresql_limit_fix_rb.html
new file mode 100644
index 00000000000..e205ecf04c8
--- /dev/null
+++ b/doc/code/files/config/initializers/postgresql_limit_fix_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>postgresql_limit_fix.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ postgresql_limit_fix.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/postgresql_limit_fix.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/secret_token_rb.html b/doc/code/files/config/initializers/secret_token_rb.html
new file mode 100644
index 00000000000..8e4ed070925
--- /dev/null
+++ b/doc/code/files/config/initializers/secret_token_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>secret_token.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ secret_token.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/secret_token.rb</li>
+ <li>Last modified: 2011-12-02 02:40:22 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/session_store_rb.html b/doc/code/files/config/initializers/session_store_rb.html
new file mode 100644
index 00000000000..7105222d301
--- /dev/null
+++ b/doc/code/files/config/initializers/session_store_rb.html
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>session_store.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ session_store.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/session_store.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/initializers/wrap_parameters_rb.html b/doc/code/files/config/initializers/wrap_parameters_rb.html
new file mode 100644
index 00000000000..704f6f0235e
--- /dev/null
+++ b/doc/code/files/config/initializers/wrap_parameters_rb.html
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>wrap_parameters.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ wrap_parameters.rb
+ </h1>
+ <ul class="files">
+ <li>config/initializers/wrap_parameters.rb</li>
+ <li>Last modified: 2011-12-02 02:40:22 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>Be sure to restart your server when you modify this file.</p>
+
+<p>This file contains settings for ActionController::ParamsWrapper which is
+enabled by default.</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/routes_rb.html b/doc/code/files/config/routes_rb.html
new file mode 100644
index 00000000000..df59e4d7aab
--- /dev/null
+++ b/doc/code/files/config/routes_rb.html
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>routes.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ routes.rb
+ </h1>
+ <ul class="files">
+ <li>config/routes.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>api</li>
+
+ <li>resque/server</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/config/unicorn_rb.html b/doc/code/files/config/unicorn_rb.html
new file mode 100644
index 00000000000..14da5f0ebfe
--- /dev/null
+++ b/doc/code/files/config/unicorn_rb.html
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>unicorn.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ unicorn.rb
+ </h1>
+ <ul class="files">
+ <li>config/unicorn.rb</li>
+ <li>Last modified: 2012-03-31 15:35:21 +0300</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/entities_rb.html b/doc/code/files/lib/api/entities_rb.html
new file mode 100644
index 00000000000..da20f2d3bf0
--- /dev/null
+++ b/doc/code/files/lib/api/entities_rb.html
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>entities.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ entities.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/entities.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab/Entities.html">Gitlab::Entities</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/Hook.html">Gitlab::Entities::Hook</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/Issue.html">Gitlab::Entities::Issue</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/MRNote.html">Gitlab::Entities::MRNote</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/MergeRequest.html">Gitlab::Entities::MergeRequest</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/Milestone.html">Gitlab::Entities::Milestone</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/Note.html">Gitlab::Entities::Note</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/Project.html">Gitlab::Entities::Project</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/ProjectMember.html">Gitlab::Entities::ProjectMember</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/ProjectSnippet.html">Gitlab::Entities::ProjectSnippet</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/RepoCommit.html">Gitlab::Entities::RepoCommit</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/RepoObject.html">Gitlab::Entities::RepoObject</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/SSHKey.html">Gitlab::Entities::SSHKey</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/User.html">Gitlab::Entities::User</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/UserBasic.html">Gitlab::Entities::UserBasic</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Entities/UserLogin.html">Gitlab::Entities::UserLogin</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/helpers_rb.html b/doc/code/files/lib/api/helpers_rb.html
new file mode 100644
index 00000000000..e8d05b928ee
--- /dev/null
+++ b/doc/code/files/lib/api/helpers_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>helpers.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ helpers.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/helpers.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab/APIHelpers.html">Gitlab::APIHelpers</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/issues_rb.html b/doc/code/files/lib/api/issues_rb.html
new file mode 100644
index 00000000000..5aac1d3f7ce
--- /dev/null
+++ b/doc/code/files/lib/api/issues_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>issues.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ issues.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/issues.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Issues.html">Gitlab::Issues</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/merge_requests_rb.html b/doc/code/files/lib/api/merge_requests_rb.html
new file mode 100644
index 00000000000..3fdcf008483
--- /dev/null
+++ b/doc/code/files/lib/api/merge_requests_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_requests.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_requests.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/merge_requests.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/MergeRequests.html">Gitlab::MergeRequests</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/milestones_rb.html b/doc/code/files/lib/api/milestones_rb.html
new file mode 100644
index 00000000000..a37be49c9b3
--- /dev/null
+++ b/doc/code/files/lib/api/milestones_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>milestones.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ milestones.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/milestones.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Milestones.html">Gitlab::Milestones</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/notes_rb.html b/doc/code/files/lib/api/notes_rb.html
new file mode 100644
index 00000000000..3c540290b57
--- /dev/null
+++ b/doc/code/files/lib/api/notes_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>notes.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ notes.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/notes.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Notes.html">Gitlab::Notes</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/projects_rb.html b/doc/code/files/lib/api/projects_rb.html
new file mode 100644
index 00000000000..70af8a34824
--- /dev/null
+++ b/doc/code/files/lib/api/projects_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>projects.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ projects.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/projects.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Projects.html">Gitlab::Projects</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/session_rb.html b/doc/code/files/lib/api/session_rb.html
new file mode 100644
index 00000000000..8faa1a53165
--- /dev/null
+++ b/doc/code/files/lib/api/session_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>session.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ session.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/session.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Session.html">Gitlab::Session</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api/users_rb.html b/doc/code/files/lib/api/users_rb.html
new file mode 100644
index 00000000000..7bf16c733f0
--- /dev/null
+++ b/doc/code/files/lib/api/users_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>users.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ users.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api/users.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Users.html">Gitlab::Users</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/api_rb.html b/doc/code/files/lib/api_rb.html
new file mode 100644
index 00000000000..48b1b65c0ba
--- /dev/null
+++ b/doc/code/files/lib/api_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>api.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ api.rb
+ </h1>
+ <ul class="files">
+ <li>lib/api.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/Gitlab/API.html">Gitlab::API</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/event_filter_rb.html b/doc/code/files/lib/event_filter_rb.html
new file mode 100644
index 00000000000..7f54400a4ce
--- /dev/null
+++ b/doc/code/files/lib/event_filter_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>event_filter.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ event_filter.rb
+ </h1>
+ <ul class="files">
+ <li>lib/event_filter.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/EventFilter.html">EventFilter</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/extracts_path_rb.html b/doc/code/files/lib/extracts_path_rb.html
new file mode 100644
index 00000000000..11a0dd2d999
--- /dev/null
+++ b/doc/code/files/lib/extracts_path_rb.html
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>extracts_path.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ extracts_path.rb
+ </h1>
+ <ul class="files">
+ <li>lib/extracts_path.rb</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div 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>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../classes/ExtractsPath.html">ExtractsPath</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/ExtractsPath/InvalidPathError.html">ExtractsPath::InvalidPathError</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/file_size_validator_rb.html b/doc/code/files/lib/file_size_validator_rb.html
new file mode 100644
index 00000000000..985c23a5628
--- /dev/null
+++ b/doc/code/files/lib/file_size_validator_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>file_size_validator.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../css/github.css" type="text/css" media="screen" />
+<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ file_size_validator.rb
+ </h1>
+ <ul class="files">
+ <li>lib/file_size_validator.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/FileSizeValidator.html">FileSizeValidator</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../classes/FileSizeValidator/Helper.html">FileSizeValidator::Helper</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/app_logger_rb.html b/doc/code/files/lib/gitlab/app_logger_rb.html
new file mode 100644
index 00000000000..c53c4e86e52
--- /dev/null
+++ b/doc/code/files/lib/gitlab/app_logger_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>app_logger.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ app_logger.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/app_logger.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/AppLogger.html">Gitlab::AppLogger</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/auth_rb.html b/doc/code/files/lib/gitlab/auth_rb.html
new file mode 100644
index 00000000000..651a1268e28
--- /dev/null
+++ b/doc/code/files/lib/gitlab/auth_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>auth.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ auth.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/auth.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Auth.html">Gitlab::Auth</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/backend/gitolite_config_rb.html b/doc/code/files/lib/gitlab/backend/gitolite_config_rb.html
new file mode 100644
index 00000000000..b66613c3cd2
--- /dev/null
+++ b/doc/code/files/lib/gitlab/backend/gitolite_config_rb.html
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gitolite_config.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gitolite_config.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/backend/gitolite_config.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>gitolite</li>
+
+ <li>timeout</li>
+
+ <li>fileutils</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/GitoliteConfig.html">Gitlab::GitoliteConfig</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/GitoliteConfig/PullError.html">Gitlab::GitoliteConfig::PullError</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/GitoliteConfig/PushError.html">Gitlab::GitoliteConfig::PushError</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/backend/gitolite_rb.html b/doc/code/files/lib/gitlab/backend/gitolite_rb.html
new file mode 100644
index 00000000000..d1743456a94
--- /dev/null
+++ b/doc/code/files/lib/gitlab/backend/gitolite_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gitolite.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gitolite.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/backend/gitolite.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Gitolite.html">Gitlab::Gitolite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Gitolite/AccessDenied.html">Gitlab::Gitolite::AccessDenied</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/backend/grack_auth_rb.html b/doc/code/files/lib/gitlab/backend/grack_auth_rb.html
new file mode 100644
index 00000000000..db7541dd7c6
--- /dev/null
+++ b/doc/code/files/lib/gitlab/backend/grack_auth_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>grack_auth.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ grack_auth.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/backend/grack_auth.rb</li>
+ <li>Last modified: 2012-12-30 12:06:28 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Grack.html">Grack</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Grack/Auth.html">Grack::Auth</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/git_logger_rb.html b/doc/code/files/lib/gitlab/git_logger_rb.html
new file mode 100644
index 00000000000..0e8e013f85f
--- /dev/null
+++ b/doc/code/files/lib/gitlab/git_logger_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>git_logger.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ git_logger.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/git_logger.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/GitLogger.html">Gitlab::GitLogger</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/git_stats_rb.html b/doc/code/files/lib/gitlab/git_stats_rb.html
new file mode 100644
index 00000000000..405a2c755ec
--- /dev/null
+++ b/doc/code/files/lib/gitlab/git_stats_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>git_stats.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ git_stats.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/git_stats.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/GitStats.html">Gitlab::GitStats</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/graph/commit_rb.html b/doc/code/files/lib/gitlab/graph/commit_rb.html
new file mode 100644
index 00000000000..1df6b794deb
--- /dev/null
+++ b/doc/code/files/lib/gitlab/graph/commit_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>commit.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ commit.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/graph/commit.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>grit</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Graph.html">Gitlab::Graph</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Graph/Commit.html">Gitlab::Graph::Commit</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/graph/json_builder_rb.html b/doc/code/files/lib/gitlab/graph/json_builder_rb.html
new file mode 100644
index 00000000000..848bb0a12eb
--- /dev/null
+++ b/doc/code/files/lib/gitlab/graph/json_builder_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>json_builder.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ json_builder.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/graph/json_builder.rb</li>
+ <li>Last modified: 2012-12-27 11:32:29 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+ <!-- File only: requires -->
+ <div class="sectiontitle">Required Files</div>
+ <ul>
+
+ <li>grit</li>
+
+ </ul>
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Graph.html">Gitlab::Graph</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Graph/JsonBuilder.html">Gitlab::Graph::JsonBuilder</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/inline_diff_rb.html b/doc/code/files/lib/gitlab/inline_diff_rb.html
new file mode 100644
index 00000000000..708dcefc974
--- /dev/null
+++ b/doc/code/files/lib/gitlab/inline_diff_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>inline_diff.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ inline_diff.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/inline_diff.rb</li>
+ <li>Last modified: 2012-10-29 21:33:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/InlineDiff.html">Gitlab::InlineDiff</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/logger_rb.html b/doc/code/files/lib/gitlab/logger_rb.html
new file mode 100644
index 00000000000..8924ca8a170
--- /dev/null
+++ b/doc/code/files/lib/gitlab/logger_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>logger.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ logger.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/logger.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Logger.html">Gitlab::Logger</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/markdown_rb.html b/doc/code/files/lib/gitlab/markdown_rb.html
new file mode 100644
index 00000000000..bd5f5e2ec92
--- /dev/null
+++ b/doc/code/files/lib/gitlab/markdown_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>markdown.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ markdown.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/markdown.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab/Markdown.html">Gitlab::Markdown</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/project_mover_rb.html b/doc/code/files/lib/gitlab/project_mover_rb.html
new file mode 100644
index 00000000000..6acee13f91c
--- /dev/null
+++ b/doc/code/files/lib/gitlab/project_mover_rb.html
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>project_mover.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ project_mover.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/project_mover.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>ProjectMover class</p>
+
+<p>Used for moving project repositories from one subdir to another</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/ProjectMover.html">Gitlab::ProjectMover</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/ProjectMover/ProjectMoveError.html">Gitlab::ProjectMover::ProjectMoveError</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/regex_rb.html b/doc/code/files/lib/gitlab/regex_rb.html
new file mode 100644
index 00000000000..dfdab455fef
--- /dev/null
+++ b/doc/code/files/lib/gitlab/regex_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>regex.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ regex.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/regex.rb</li>
+ <li>Last modified: 2012-12-28 09:30:09 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab/Regex.html">Gitlab::Regex</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/satellite/action_rb.html b/doc/code/files/lib/gitlab/satellite/action_rb.html
new file mode 100644
index 00000000000..3c1e84487b7
--- /dev/null
+++ b/doc/code/files/lib/gitlab/satellite/action_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>action.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ action.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/satellite/action.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Satellite.html">Gitlab::Satellite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Satellite/Action.html">Gitlab::Satellite::Action</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/satellite/edit_file_action_rb.html b/doc/code/files/lib/gitlab/satellite/edit_file_action_rb.html
new file mode 100644
index 00000000000..e4a473ec76c
--- /dev/null
+++ b/doc/code/files/lib/gitlab/satellite/edit_file_action_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>edit_file_action.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ edit_file_action.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/satellite/edit_file_action.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Satellite.html">Gitlab::Satellite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Satellite/EditFileAction.html">Gitlab::Satellite::EditFileAction</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/satellite/merge_action_rb.html b/doc/code/files/lib/gitlab/satellite/merge_action_rb.html
new file mode 100644
index 00000000000..6bbc8483203
--- /dev/null
+++ b/doc/code/files/lib/gitlab/satellite/merge_action_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>merge_action.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ merge_action.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/satellite/merge_action.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Satellite.html">Gitlab::Satellite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Satellite/MergeAction.html">Gitlab::Satellite::MergeAction</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/satellite/satellite_rb.html b/doc/code/files/lib/gitlab/satellite/satellite_rb.html
new file mode 100644
index 00000000000..54c513f7d6f
--- /dev/null
+++ b/doc/code/files/lib/gitlab/satellite/satellite_rb.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>satellite.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ satellite.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/satellite/satellite.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../../classes/Gitlab/Satellite.html">Gitlab::Satellite</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Gitlab/Satellite/Satellite.html">Gitlab::Satellite::Satellite</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/seeder_rb.html b/doc/code/files/lib/gitlab/seeder_rb.html
new file mode 100644
index 00000000000..f02fde65f84
--- /dev/null
+++ b/doc/code/files/lib/gitlab/seeder_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>seeder.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ seeder.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/seeder.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Seeder.html">Gitlab::Seeder</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/gitlab/theme_rb.html b/doc/code/files/lib/gitlab/theme_rb.html
new file mode 100644
index 00000000000..97dccfd7110
--- /dev/null
+++ b/doc/code/files/lib/gitlab/theme_rb.html
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>theme.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ theme.rb
+ </h1>
+ <ul class="files">
+ <li>lib/gitlab/theme.rb</li>
+ <li>Last modified: 2012-12-23 12:16:43 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">MODULE</span>
+ <a href="../../../classes/Gitlab.html">Gitlab</a>
+ </li>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../classes/Gitlab/Theme.html">Gitlab::Theme</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/hooks/post-receive.html b/doc/code/files/lib/hooks/post-receive.html
new file mode 100644
index 00000000000..a99c19fac17
--- /dev/null
+++ b/doc/code/files/lib/hooks/post-receive.html
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>post-receive</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ post-receive
+ </h1>
+ <ul class="files">
+ <li>lib/hooks/post-receive</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+ <div class="description">
+
+<p>#!/usr/bin/env bash</p>
+
+<p># This file was placed here by GitLab. It makes sure that your pushed
+commits # will be processed properly.</p>
+
+<p>while read oldrev newrev ref do</p>
+
+<pre class="ruby"><span class="ruby-comment"># For every branch or tag that was pushed, create a Resque job in redis.</span>
+<span class="ruby-identifier">repo_path</span>=<span class="ruby-value">%xpwd`</span>
+<span class="ruby-identifier">env</span> <span class="ruby-operator">-</span><span class="ruby-identifier">i</span> <span class="ruby-identifier">redis</span><span class="ruby-operator">-</span><span class="ruby-identifier">cli</span> <span class="ruby-identifier">rpush</span> <span class="ruby-string">&quot;resque:gitlab:queue:post_receive&quot;</span> <span class="ruby-string">&quot;{\&quot;class\&quot;:\&quot;PostReceive\&quot;,\&quot;args\&quot;:[\&quot;$repo_path\&quot;,\&quot;$oldrev\&quot;,\&quot;$newrev\&quot;,\&quot;$ref\&quot;,\&quot;$GL_USER\&quot;]}&quot;</span> <span class="ruby-operator">&gt;</span> <span class="ruby-regexp">%rdev/</span><span class="ruby-identifier">ull</span> <span class="ruby-value">2</span><span class="ruby-operator">&gt;</span>&amp;<span class="ruby-value">1</span>
+</pre>
+
+<p>done</p>
+
+ </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/files/lib/redcarpet/render/gitlab_html_rb.html b/doc/code/files/lib/redcarpet/render/gitlab_html_rb.html
new file mode 100644
index 00000000000..33bb541b3a2
--- /dev/null
+++ b/doc/code/files/lib/redcarpet/render/gitlab_html_rb.html
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>gitlab_html.rb</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="../../../../css/github.css" type="text/css" media="screen" />
+<script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
+<script src="../../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
+
+</head>
+
+<body>
+ <div class="banner">
+
+ <h1>
+ gitlab_html.rb
+ </h1>
+ <ul class="files">
+ <li>lib/redcarpet/render/gitlab_html.rb</li>
+ <li>Last modified: 2012-12-23 14:02:47 +0200</li>
+ </ul>
+ </div>
+
+ <div id="bodyContent">
+ <div id="content">
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Namespace -->
+ <div class="sectiontitle">Namespace</div>
+ <ul>
+
+ <li>
+ <span class="type">CLASS</span>
+ <a href="../../../../classes/Redcarpet/Render/GitlabHTML.html">Redcarpet::Render::GitlabHTML</a>
+ </li>
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <!-- Methods -->
+ </div>
+
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/i/arrows.png b/doc/code/i/arrows.png
new file mode 100755
index 00000000000..e54060f44ce
--- /dev/null
+++ b/doc/code/i/arrows.png
Binary files differ
diff --git a/doc/code/i/results_bg.png b/doc/code/i/results_bg.png
new file mode 100755
index 00000000000..199ba692349
--- /dev/null
+++ b/doc/code/i/results_bg.png
Binary files differ
diff --git a/doc/code/i/tree_bg.png b/doc/code/i/tree_bg.png
new file mode 100755
index 00000000000..7d236633d72
--- /dev/null
+++ b/doc/code/i/tree_bg.png
Binary files differ
diff --git a/doc/code/index.html b/doc/code/index.html
new file mode 100644
index 00000000000..c7011386dd7
--- /dev/null
+++ b/doc/code/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>RDoc Documentation</title>
+</head>
+<frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
+ <frame src="panel/index.html" title="Search" name="panel" />
+ <frame src="files/app/assets/fonts/OFL_txt.html" name="docwin" />
+</frameset>
+</html>
diff --git a/doc/code/js/highlight.pack.js b/doc/code/js/highlight.pack.js
new file mode 100755
index 00000000000..01b59273464
--- /dev/null
+++ b/doc/code/js/highlight.pack.js
@@ -0,0 +1 @@
+var hljs=new function(){function l(o){return o.replace(/&/gm,"&amp;").replace(/</gm,"&lt;")}function c(q,p,o){return RegExp(p,"m"+(q.cI?"i":"")+(o?"g":""))}function i(q){for(var o=0;o<q.childNodes.length;o++){var p=q.childNodes[o];if(p.nodeName=="CODE"){return p}if(!(p.nodeType==3&&p.nodeValue.match(/\s+/))){break}}}function g(s,r){var q="";for(var p=0;p<s.childNodes.length;p++){if(s.childNodes[p].nodeType==3){var o=s.childNodes[p].nodeValue;if(r){o=o.replace(/\n/g,"")}q+=o}else{if(s.childNodes[p].nodeName=="BR"){q+="\n"}else{q+=g(s.childNodes[p])}}}if(/MSIE [678]/.test(navigator.userAgent)){q=q.replace(/\r/g,"\n")}return q}function a(r){var p=r.className.split(/\s+/);p=p.concat(r.parentNode.className.split(/\s+/));for(var o=0;o<p.length;o++){var q=p[o].replace(/^language-/,"");if(d[q]||q=="no-highlight"){return q}}}function b(o){var p=[];(function(r,s){for(var q=0;q<r.childNodes.length;q++){if(r.childNodes[q].nodeType==3){s+=r.childNodes[q].nodeValue.length}else{if(r.childNodes[q].nodeName=="BR"){s+=1}else{p.push({event:"start",offset:s,node:r.childNodes[q]});s=arguments.callee(r.childNodes[q],s);p.push({event:"stop",offset:s,node:r.childNodes[q]})}}}return s})(o,0);return p}function k(x,y,w){var q=0;var v="";var s=[];function t(){if(x.length&&y.length){if(x[0].offset!=y[0].offset){return(x[0].offset<y[0].offset)?x:y}else{return y[0].event=="start"?x:y}}else{return x.length?x:y}}function r(B){var C="<"+B.nodeName.toLowerCase();for(var z=0;z<B.attributes.length;z++){var A=B.attributes[z];C+=" "+A.nodeName.toLowerCase();if(A.nodeValue!=undefined){C+='="'+l(A.nodeValue)+'"'}}return C+">"}while(x.length||y.length){var u=t().splice(0,1)[0];v+=l(w.substr(q,u.offset-q));q=u.offset;if(u.event=="start"){v+=r(u.node);s.push(u.node)}else{if(u.event=="stop"){var p=s.length;do{p--;var o=s[p];v+=("</"+o.nodeName.toLowerCase()+">")}while(o!=u.node);s.splice(p,1);while(p<s.length){v+=r(s[p]);p++}}}}v+=w.substr(q);return v}function f(I,C){function y(r,L){for(var K=0;K<L.c.length;K++){if(L.c[K].bR.test(r)){return L.c[K]}}}function v(K,r){if(B[K].e&&B[K].eR.test(r)){return 1}if(B[K].eW){var L=v(K-1,r);return L?L+1:0}return 0}function w(r,K){return K.iR&&K.iR.test(r)}function z(N,M){var L=[];for(var K=0;K<N.c.length;K++){L.push(N.c[K].b)}var r=B.length-1;do{if(B[r].e){L.push(B[r].e)}r--}while(B[r+1].eW);if(N.i){L.push(N.i)}return c(M,"("+L.join("|")+")",true)}function q(L,K){var M=B[B.length-1];if(!M.t){M.t=z(M,G)}M.t.lastIndex=K;var r=M.t.exec(L);if(r){return[L.substr(K,r.index-K),r[0],false]}else{return[L.substr(K),"",true]}}function o(N,r){var K=G.cI?r[0].toLowerCase():r[0];for(var M in N.kG){if(!N.kG.hasOwnProperty(M)){continue}var L=N.kG[M].hasOwnProperty(K);if(L){return[M,L]}}return false}function E(L,N){if(!N.k){return l(L)}var M="";var O=0;N.lR.lastIndex=0;var K=N.lR.exec(L);while(K){M+=l(L.substr(O,K.index-O));var r=o(N,K);if(r){s+=r[1];M+='<span class="'+r[0]+'">'+l(K[0])+"</span>"}else{M+=l(K[0])}O=N.lR.lastIndex;K=N.lR.exec(L)}M+=l(L.substr(O,L.length-O));return M}function J(r,L){if(L.sL&&d[L.sL]){var K=f(L.sL,r);s+=K.keyword_count;return K.value}else{return E(r,L)}}function H(L,r){var K=L.cN?'<span class="'+L.cN+'">':"";if(L.rB){p+=K;L.buffer=""}else{if(L.eB){p+=l(r)+K;L.buffer=""}else{p+=K;L.buffer=r}}B.push(L);A+=L.r}function D(N,K,P){var Q=B[B.length-1];if(P){p+=J(Q.buffer+N,Q);return false}var L=y(K,Q);if(L){p+=J(Q.buffer+N,Q);H(L,K);return L.rB}var r=v(B.length-1,K);if(r){var M=Q.cN?"</span>":"";if(Q.rE){p+=J(Q.buffer+N,Q)+M}else{if(Q.eE){p+=J(Q.buffer+N,Q)+M+l(K)}else{p+=J(Q.buffer+N+K,Q)+M}}while(r>1){M=B[B.length-2].cN?"</span>":"";p+=M;r--;B.length--}var O=B[B.length-1];B.length--;B[B.length-1].buffer="";if(O.starts){H(O.starts,"")}return Q.rE}if(w(K,Q)){throw"Illegal"}}var G=d[I];var B=[G.dM];var A=0;var s=0;var p="";try{var u=0;G.dM.buffer="";do{var x=q(C,u);var t=D(x[0],x[1],x[2]);u+=x[0].length;if(!t){u+=x[1].length}}while(!x[2]);if(B.length>1){throw"Illegal"}return{language:I,r:A,keyword_count:s,value:p}}catch(F){if(F=="Illegal"){return{language:null,r:0,keyword_count:0,value:l(C)}}else{throw F}}}function h(){function o(t,s,u){if(t.compiled){return}if(!u){t.bR=c(s,t.b?t.b:"\\B|\\b");if(!t.e&&!t.eW){t.e="\\B|\\b"}if(t.e){t.eR=c(s,t.e)}}if(t.i){t.iR=c(s,t.i)}if(t.r==undefined){t.r=1}if(t.k){t.lR=c(s,t.l||hljs.IR,true)}for(var r in t.k){if(!t.k.hasOwnProperty(r)){continue}if(t.k[r] instanceof Object){t.kG=t.k}else{t.kG={keyword:t.k}}break}if(!t.c){t.c=[]}t.compiled=true;for(var q=0;q<t.c.length;q++){o(t.c[q],s,false)}if(t.starts){o(t.starts,s,false)}}for(var p in d){if(!d.hasOwnProperty(p)){continue}o(d[p].dM,d[p],true)}}function e(){if(e.called){return}e.called=true;h()}function n(t,y,p){e();var A=g(t,p);var r=a(t);if(r=="no-highlight"){return}if(r){var w=f(r,A)}else{var w={language:"",keyword_count:0,r:0,value:l(A)};var x=w;for(var z in d){if(!d.hasOwnProperty(z)){continue}var u=f(z,A);if(u.keyword_count+u.r>x.keyword_count+x.r){x=u}if(u.keyword_count+u.r>w.keyword_count+w.r){x=w;w=u}}}var s=t.className;if(!s.match(w.language)){s=s?(s+" "+w.language):w.language}var o=b(t);if(o.length){var q=document.createElement("pre");q.innerHTML=w.value;w.value=k(o,b(q),A)}if(y){w.value=w.value.replace(/^((<[^>]+>|\t)+)/gm,function(B,E,D,C){return E.replace(/\t/g,y)})}if(p){w.value=w.value.replace(/\n/g,"<br>")}if(/MSIE [678]/.test(navigator.userAgent)&&t.tagName=="CODE"&&t.parentNode.tagName=="PRE"){var q=t.parentNode;var v=document.createElement("div");v.innerHTML="<pre><code>"+w.value+"</code></pre>";t=v.firstChild.firstChild;v.firstChild.cN=q.cN;q.parentNode.replaceChild(v.firstChild,q)}else{t.innerHTML=w.value}t.className=s;t.dataset={};t.dataset.result={language:w.language,kw:w.keyword_count,re:w.r};if(x&&x.language){t.dataset.second_best={language:x.language,kw:x.keyword_count,re:x.r}}}function j(){if(j.called){return}j.called=true;e();var q=document.getElementsByTagName("pre");for(var o=0;o<q.length;o++){var p=i(q[o]);if(p){n(p,hljs.tabReplace)}}}function m(){var o=arguments;var p=function(){j.apply(null,o)};if(window.addEventListener){window.addEventListener("DOMContentLoaded",p,false);window.addEventListener("load",p,false)}else{if(window.attachEvent){window.attachEvent("onload",p)}else{window.onload=p}}}var d={};this.LANGUAGES=d;this.initHighlightingOnLoad=m;this.highlightBlock=n;this.initHighlighting=j;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\.",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE],r:0};this.CLCM={cN:"comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.inherit=function(o,r){var q={};for(var p in o){q[p]=o[p]}if(r){for(var p in r){q[p]=r[p]}}return q}}();hljs.LANGUAGES.ruby=function(){var g="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var a="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var n={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,include:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}};var h={cN:"yardoctag",b:"@[A-Za-z]+"};var d={cN:"comment",b:"#",e:"$",c:[h]};var c={cN:"comment",b:"^\\=begin",e:"^\\=end",c:[h],r:10};var b={cN:"comment",b:"^__END__",e:"\\n$"};var u={cN:"subst",b:"#\\{",e:"}",l:g,k:n};var p=[hljs.BE,u];var s={cN:"string",b:"'",e:"'",c:p,r:0};var r={cN:"string",b:'"',e:'"',c:p,r:0};var q={cN:"string",b:"%[qw]?\\(",e:"\\)",c:p,r:10};var o={cN:"string",b:"%[qw]?\\[",e:"\\]",c:p,r:10};var m={cN:"string",b:"%[qw]?{",e:"}",c:p,r:10};var l={cN:"string",b:"%[qw]?<",e:">",c:p,r:10};var k={cN:"string",b:"%[qw]?/",e:"/",c:p,r:10};var j={cN:"string",b:"%[qw]?%",e:"%",c:p,r:10};var i={cN:"string",b:"%[qw]?-",e:"-",c:p,r:10};var t={cN:"string",b:"%[qw]?\\|",e:"\\|",c:p,r:10};var e={cN:"function",b:"\\bdef\\s+",e:" |$|;",l:g,k:n,c:[{cN:"title",b:a,l:g,k:n},{cN:"params",b:"\\(",e:"\\)",l:g,k:n},d,c,b]};var f={cN:"identifier",b:g,l:g,k:n,r:0};var v=[d,c,b,s,r,q,o,m,l,k,j,i,t,{cN:"class",b:"\\b(class|module)\\b",e:"$|;",k:{"class":1,module:1},c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR}]},d,c,b]},e,{cN:"constant",b:"(::)?([A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[s,r,q,o,m,l,k,j,i,t,f],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"number",b:"\\?\\w"},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},f,{b:"("+hljs.RSR+")\\s*",c:[d,c,b,{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:[hljs.BE]}],r:0}];u.c=v;e.c[1].c=v;return{dM:{l:g,k:n,c:v}}}();hljs.LANGUAGES.javascript={dM:{k:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}},c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM,hljs.CNM,{b:"("+hljs.RSR+"|case|return|throw)\\s*",k:{"return":1,"throw":1,"case":1},c:[hljs.CLCM,hljs.CBLCLM,{cN:"regexp",b:"/.*?[^\\\\/]/[gim]*"}],r:0},{cN:"function",b:"\\bfunction\\b",e:"{",k:{"function":1},c:[{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*"},{cN:"params",b:"\\(",e:"\\)",c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM]}]}]}};hljs.LANGUAGES.css=function(){var a={cN:"function",b:hljs.IR+"\\(",e:"\\)",c:[{eW:true,eE:true,c:[hljs.NM,hljs.ASM,hljs.QSM]}]};return{cI:true,dM:{i:"[=/|']",c:[hljs.CBLCLM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@font-face",l:"[a-z-]+",k:{"font-face":1}},{cN:"at_rule",b:"@",e:"[{;]",eE:true,k:{"import":1,page:1,media:1,charset:1},c:[a,hljs.ASM,hljs.QSM,hljs.NM]},{cN:"tag",b:hljs.IR,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[hljs.CBLCLM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[a,hljs.NM,hljs.QSM,hljs.ASM,hljs.CBLCLM,{cN:"hexcolor",b:"\\#[0-9A-F]+"},{cN:"important",b:"!important"}]}}]}]}]}}}();hljs.LANGUAGES.xml=function(){var b="[A-Za-z0-9\\._:-]+";var a={eW:true,c:[{cN:"attribute",b:b,r:0},{b:'="',rB:true,e:'"',c:[{cN:"value",b:'"',eW:true}]},{b:"='",rB:true,e:"'",c:[{cN:"value",b:"'",eW:true}]},{b:"=",c:[{cN:"value",b:"[^\\s/>]+"}]}]};return{cI:true,dM:{c:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},{cN:"doctype",b:"<!DOCTYPE",e:">",r:10},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style",e:">",k:{title:{style:1}},c:[a],starts:{cN:"css",e:"</style>",rE:true,sL:"css"}},{cN:"tag",b:"<script",e:">",k:{title:{script:1}},c:[a],starts:{cN:"javascript",e:"<\/script>",rE:true,sL:"javascript"}},{cN:"vbscript",b:"<%",e:"%>",sL:"vbscript"},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:"[^ />]+"},a]}]}}}();hljs.LANGUAGES.cpp=function(){var b={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,virtual:1,operator:2,sizeof:2,dynamic_cast:2,typedef:2,const_cast:2,"const":1,struct:1,"for":1,static_cast:2,union:1,namespace:1,unsigned:1,"long":1,"throw":1,"volatile":2,"static":1,"protected":1,bool:1,template:1,mutable:1,"if":1,"public":1,friend:2,"do":1,"return":1,"goto":1,auto:1,"void":2,"enum":1,"else":1,"break":1,"new":1,extern:1,using:1,"true":1,"class":1,asm:1,"case":1,typeid:1,"short":1,reinterpret_cast:2,"default":1,"double":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,"delete":1,alignof:1,char16_t:1,char32_t:1,constexpr:1,decltype:1,noexcept:1,nullptr:1,static_assert:1,thread_local:1},built_in:{std:1,string:1,cin:1,cout:1,cerr:1,clog:1,stringstream:1,istringstream:1,ostringstream:1,auto_ptr:1,deque:1,list:1,queue:1,stack:1,vector:1,map:1,set:1,bitset:1,multiset:1,multimap:1,unordered_set:1,unordered_map:1,unordered_multiset:1,unordered_multimap:1,array:1,shared_ptr:1}};var a={cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b.built_in,r:10};a.c=[a];return{dM:{k:b,i:"</",c:[hljs.CLCM,hljs.CBLCLM,hljs.QSM,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},hljs.CNM,{cN:"preprocessor",b:"#",e:"$"},a]}}}(); \ No newline at end of file
diff --git a/doc/code/js/jquery-1.3.2.min.js b/doc/code/js/jquery-1.3.2.min.js
new file mode 100755
index 00000000000..b1ae21d8b23
--- /dev/null
+++ b/doc/code/js/jquery-1.3.2.min.js
@@ -0,0 +1,19 @@
+/*
+ * jQuery JavaScript Library v1.3.2
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
+ * Revision: 6246
+ */
+(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
+/*
+ * Sizzle CSS Selector Engine - v0.9.3
+ * Copyright 2009, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ * More information: http://sizzlejs.com/
+ */
+(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<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>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); \ No newline at end of file
diff --git a/doc/code/js/jquery-effect.js b/doc/code/js/jquery-effect.js
new file mode 100755
index 00000000000..5b25307cc6d
--- /dev/null
+++ b/doc/code/js/jquery-effect.js
@@ -0,0 +1,593 @@
+/*
+ * jQuery UI Effects 1.6rc6
+ *
+ * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * http://docs.jquery.com/UI/Effects/
+ */
+;(function($) {
+
+$.effects = $.effects || {}; //Add the 'effects' scope
+
+$.extend($.effects, {
+ version: "1.6rc6",
+
+ // Saves a set of properties in a data storage
+ save: function(element, set) {
+ for(var i=0; i < set.length; i++) {
+ if(set[i] !== null) element.data("ec.storage."+set[i], element[0].style[set[i]]);
+ }
+ },
+
+ // Restores a set of previously saved properties from a data storage
+ restore: function(element, set) {
+ for(var i=0; i < set.length; i++) {
+ if(set[i] !== null) element.css(set[i], element.data("ec.storage."+set[i]));
+ }
+ },
+
+ setMode: function(el, mode) {
+ if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle
+ return mode;
+ },
+
+ getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value
+ // this should be a little more flexible in the future to handle a string & hash
+ var y, x;
+ switch (origin[0]) {
+ case 'top': y = 0; break;
+ case 'middle': y = 0.5; break;
+ case 'bottom': y = 1; break;
+ default: y = origin[0] / original.height;
+ };
+ switch (origin[1]) {
+ case 'left': x = 0; break;
+ case 'center': x = 0.5; break;
+ case 'right': x = 1; break;
+ default: x = origin[1] / original.width;
+ };
+ return {x: x, y: y};
+ },
+
+ // Wraps the element around a wrapper that copies position properties
+ createWrapper: function(element) {
+
+ //if the element is already wrapped, return it
+ if (element.parent().is('.ui-effects-wrapper'))
+ return element.parent();
+
+ //Cache width,height and float properties of the element, and create a wrapper around it
+ var props = { width: element.outerWidth(true), height: element.outerHeight(true), 'float': element.css('float') };
+ element.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');
+ var wrapper = element.parent();
+
+ //Transfer the positioning of the element to the wrapper
+ if (element.css('position') == 'static') {
+ wrapper.css({ position: 'relative' });
+ element.css({ position: 'relative'} );
+ } else {
+ var top = element.css('top'); if(isNaN(parseInt(top,10))) top = 'auto';
+ var left = element.css('left'); if(isNaN(parseInt(left,10))) left = 'auto';
+ wrapper.css({ position: element.css('position'), top: top, left: left, zIndex: element.css('z-index') }).show();
+ element.css({position: 'relative', top: 0, left: 0 });
+ }
+
+ wrapper.css(props);
+ return wrapper;
+ },
+
+ removeWrapper: function(element) {
+ if (element.parent().is('.ui-effects-wrapper'))
+ return element.parent().replaceWith(element);
+ return element;
+ },
+
+ setTransition: function(element, list, factor, value) {
+ value = value || {};
+ $.each(list, function(i, x){
+ unit = element.cssUnit(x);
+ if (unit[0] > 0) value[x] = unit[0] * factor + unit[1];
+ });
+ return value;
+ },
+
+ //Base function to animate from one class to another in a seamless transition
+ animateClass: function(value, duration, easing, callback) {
+
+ var cb = (typeof easing == "function" ? easing : (callback ? callback : null));
+ var ea = (typeof easing == "string" ? easing : null);
+
+ return this.each(function() {
+
+ var offset = {}; var that = $(this); var oldStyleAttr = that.attr("style") || '';
+ if(typeof oldStyleAttr == 'object') oldStyleAttr = oldStyleAttr["cssText"]; /* Stupidly in IE, style is a object.. */
+ if(value.toggle) { that.hasClass(value.toggle) ? value.remove = value.toggle : value.add = value.toggle; }
+
+ //Let's get a style offset
+ var oldStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle));
+ if(value.add) that.addClass(value.add); if(value.remove) that.removeClass(value.remove);
+ var newStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle));
+ if(value.add) that.removeClass(value.add); if(value.remove) that.addClass(value.remove);
+
+ // The main function to form the object for animation
+ for(var n in newStyle) {
+ if( typeof newStyle[n] != "function" && newStyle[n] /* No functions and null properties */
+ && n.indexOf("Moz") == -1 && n.indexOf("length") == -1 /* No mozilla spezific render properties. */
+ && newStyle[n] != oldStyle[n] /* Only values that have changed are used for the animation */
+ && (n.match(/color/i) || (!n.match(/color/i) && !isNaN(parseInt(newStyle[n],10)))) /* Only things that can be parsed to integers or colors */
+ && (oldStyle.position != "static" || (oldStyle.position == "static" && !n.match(/left|top|bottom|right/))) /* No need for positions when dealing with static positions */
+ ) offset[n] = newStyle[n];
+ }
+
+ that.animate(offset, duration, ea, function() { // Animate the newly constructed offset object
+ // Change style attribute back to original. For stupid IE, we need to clear the damn object.
+ if(typeof $(this).attr("style") == 'object') { $(this).attr("style")["cssText"] = ""; $(this).attr("style")["cssText"] = oldStyleAttr; } else $(this).attr("style", oldStyleAttr);
+ if(value.add) $(this).addClass(value.add); if(value.remove) $(this).removeClass(value.remove);
+ if(cb) cb.apply(this, arguments);
+ });
+
+ });
+ }
+});
+
+
+function _normalizeArguments(a, m) {
+
+ var o = a[1] && a[1].constructor == Object ? a[1] : {}; if(m) o.mode = m;
+ var speed = a[1] && a[1].constructor != Object ? a[1] : o.duration; //either comes from options.duration or the second argument
+ speed = $.fx.off ? 0 : typeof speed === "number" ? speed : $.fx.speeds[speed] || $.fx.speeds._default;
+ var callback = o.callback || ( $.isFunction(a[2]) && a[2] ) || ( $.isFunction(a[3]) && a[3] );
+
+ return [a[0], o, speed, callback];
+
+}
+
+//Extend the methods of jQuery
+$.fn.extend({
+
+ //Save old methods
+ _show: $.fn.show,
+ _hide: $.fn.hide,
+ __toggle: $.fn.toggle,
+ _addClass: $.fn.addClass,
+ _removeClass: $.fn.removeClass,
+ _toggleClass: $.fn.toggleClass,
+
+ // New effect methods
+ effect: function(fx, options, speed, callback) {
+ return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: options || {}, duration: speed, callback: callback }) : null;
+ },
+
+ show: function() {
+ if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])))
+ return this._show.apply(this, arguments);
+ else {
+ return this.effect.apply(this, _normalizeArguments(arguments, 'show'));
+ }
+ },
+
+ hide: function() {
+ if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])))
+ return this._hide.apply(this, arguments);
+ else {
+ return this.effect.apply(this, _normalizeArguments(arguments, 'hide'));
+ }
+ },
+
+ toggle: function(){
+ if(!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])) || (arguments[0].constructor == Function))
+ return this.__toggle.apply(this, arguments);
+ else {
+ return this.effect.apply(this, _normalizeArguments(arguments, 'toggle'));
+ }
+ },
+
+ addClass: function(classNames, speed, easing, callback) {
+ return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames);
+ },
+ removeClass: function(classNames,speed,easing,callback) {
+ return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames);
+ },
+ toggleClass: function(classNames,speed,easing,callback) {
+ return ( (typeof speed !== "boolean") && speed ) ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames, speed);
+ },
+ morph: function(remove,add,speed,easing,callback) {
+ return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]);
+ },
+ switchClass: function() {
+ return this.morph.apply(this, arguments);
+ },
+
+ // helper functions
+ cssUnit: function(key) {
+ var style = this.css(key), val = [];
+ $.each( ['em','px','%','pt'], function(i, unit){
+ if(style.indexOf(unit) > 0)
+ val = [parseFloat(style), unit];
+ });
+ return val;
+ }
+});
+
+/*
+ * jQuery Color Animations
+ * Copyright 2007 John Resig
+ * Released under the MIT and GPL licenses.
+ */
+
+// We override the animation for all of these color styles
+$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){
+ $.fx.step[attr] = function(fx) {
+ if ( fx.state == 0 ) {
+ fx.start = getColor( fx.elem, attr );
+ fx.end = getRGB( fx.end );
+ }
+
+ fx.elem.style[attr] = "rgb(" + [
+ Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0],10), 255), 0),
+ Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1],10), 255), 0),
+ Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2],10), 255), 0)
+ ].join(",") + ")";
+ };
+});
+
+// Color Conversion functions from highlightFade
+// By Blair Mitchelmore
+// http://jquery.offput.ca/highlightFade/
+
+// Parse strings looking for color tuples [255,255,255]
+function getRGB(color) {
+ var result;
+
+ // Check if we're already dealing with an array of colors
+ if ( color && color.constructor == Array && color.length == 3 )
+ return color;
+
+ // Look for rgb(num,num,num)
+ if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
+ return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)];
+
+ // Look for rgb(num%,num%,num%)
+ if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
+ return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
+
+ // Look for #a0b1c2
+ if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
+ return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
+
+ // Look for #fff
+ if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
+ return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
+
+ // Look for rgba(0, 0, 0, 0) == transparent in Safari 3
+ if (result = /rgba\(0, 0, 0, 0\)/.exec(color))
+ return colors['transparent'];
+
+ // Otherwise, we're most likely dealing with a named color
+ return colors[$.trim(color).toLowerCase()];
+}
+
+function getColor(elem, attr) {
+ var color;
+
+ do {
+ color = $.curCSS(elem, attr);
+
+ // Keep going until we find an element that has color, or we hit the body
+ if ( color != '' && color != 'transparent' || $.nodeName(elem, "body") )
+ break;
+
+ attr = "backgroundColor";
+ } while ( elem = elem.parentNode );
+
+ return getRGB(color);
+};
+
+// Some named colors to work with
+// From Interface by Stefan Petre
+// http://interface.eyecon.ro/
+
+var colors = {
+ aqua:[0,255,255],
+ azure:[240,255,255],
+ beige:[245,245,220],
+ black:[0,0,0],
+ blue:[0,0,255],
+ brown:[165,42,42],
+ cyan:[0,255,255],
+ darkblue:[0,0,139],
+ darkcyan:[0,139,139],
+ darkgrey:[169,169,169],
+ darkgreen:[0,100,0],
+ darkkhaki:[189,183,107],
+ darkmagenta:[139,0,139],
+ darkolivegreen:[85,107,47],
+ darkorange:[255,140,0],
+ darkorchid:[153,50,204],
+ darkred:[139,0,0],
+ darksalmon:[233,150,122],
+ darkviolet:[148,0,211],
+ fuchsia:[255,0,255],
+ gold:[255,215,0],
+ green:[0,128,0],
+ indigo:[75,0,130],
+ khaki:[240,230,140],
+ lightblue:[173,216,230],
+ lightcyan:[224,255,255],
+ lightgreen:[144,238,144],
+ lightgrey:[211,211,211],
+ lightpink:[255,182,193],
+ lightyellow:[255,255,224],
+ lime:[0,255,0],
+ magenta:[255,0,255],
+ maroon:[128,0,0],
+ navy:[0,0,128],
+ olive:[128,128,0],
+ orange:[255,165,0],
+ pink:[255,192,203],
+ purple:[128,0,128],
+ violet:[128,0,128],
+ red:[255,0,0],
+ silver:[192,192,192],
+ white:[255,255,255],
+ yellow:[255,255,0],
+ transparent: [255,255,255]
+};
+
+/*
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
+ *
+ * Uses the built in easing capabilities added In jQuery 1.1
+ * to offer multiple easing options
+ *
+ * TERMS OF USE - jQuery Easing
+ *
+ * Open source under the BSD License.
+ *
+ * Copyright 2008 George McGinley Smith
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this list of
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list
+ * of conditions and the following disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the author nor the names of contributors may be used to endorse
+ * or promote products derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
+
+// t: current time, b: begInnIng value, c: change In value, d: duration
+$.easing.jswing = $.easing.swing;
+
+$.extend($.easing,
+{
+ def: 'easeOutQuad',
+ swing: function (x, t, b, c, d) {
+ //alert($.easing.default);
+ return $.easing[$.easing.def](x, t, b, c, d);
+ },
+ easeInQuad: function (x, t, b, c, d) {
+ return c*(t/=d)*t + b;
+ },
+ easeOutQuad: function (x, t, b, c, d) {
+ return -c *(t/=d)*(t-2) + b;
+ },
+ easeInOutQuad: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return c/2*t*t + b;
+ return -c/2 * ((--t)*(t-2) - 1) + b;
+ },
+ easeInCubic: function (x, t, b, c, d) {
+ return c*(t/=d)*t*t + b;
+ },
+ easeOutCubic: function (x, t, b, c, d) {
+ return c*((t=t/d-1)*t*t + 1) + b;
+ },
+ easeInOutCubic: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
+ return c/2*((t-=2)*t*t + 2) + b;
+ },
+ easeInQuart: function (x, t, b, c, d) {
+ return c*(t/=d)*t*t*t + b;
+ },
+ easeOutQuart: function (x, t, b, c, d) {
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
+ },
+ easeInOutQuart: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
+ },
+ easeInQuint: function (x, t, b, c, d) {
+ return c*(t/=d)*t*t*t*t + b;
+ },
+ easeOutQuint: function (x, t, b, c, d) {
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
+ },
+ easeInOutQuint: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
+ },
+ easeInSine: function (x, t, b, c, d) {
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
+ },
+ easeOutSine: function (x, t, b, c, d) {
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
+ },
+ easeInOutSine: function (x, t, b, c, d) {
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
+ },
+ easeInExpo: function (x, t, b, c, d) {
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
+ },
+ easeOutExpo: function (x, t, b, c, d) {
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
+ },
+ easeInOutExpo: function (x, t, b, c, d) {
+ if (t==0) return b;
+ if (t==d) return b+c;
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
+ },
+ easeInCirc: function (x, t, b, c, d) {
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
+ },
+ easeOutCirc: function (x, t, b, c, d) {
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
+ },
+ easeInOutCirc: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
+ },
+ easeInElastic: function (x, t, b, c, d) {
+ var s=1.70158;var p=0;var a=c;
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
+ },
+ easeOutElastic: function (x, t, b, c, d) {
+ var s=1.70158;var p=0;var a=c;
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
+ },
+ easeInOutElastic: function (x, t, b, c, d) {
+ var s=1.70158;var p=0;var a=c;
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
+ },
+ easeInBack: function (x, t, b, c, d, s) {
+ if (s == undefined) s = 1.70158;
+ return c*(t/=d)*t*((s+1)*t - s) + b;
+ },
+ easeOutBack: function (x, t, b, c, d, s) {
+ if (s == undefined) s = 1.70158;
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
+ },
+ easeInOutBack: function (x, t, b, c, d, s) {
+ if (s == undefined) s = 1.70158;
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
+ },
+ easeInBounce: function (x, t, b, c, d) {
+ return c - $.easing.easeOutBounce (x, d-t, 0, c, d) + b;
+ },
+ easeOutBounce: function (x, t, b, c, d) {
+ if ((t/=d) < (1/2.75)) {
+ return c*(7.5625*t*t) + b;
+ } else if (t < (2/2.75)) {
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
+ } else if (t < (2.5/2.75)) {
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
+ } else {
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
+ }
+ },
+ easeInOutBounce: function (x, t, b, c, d) {
+ if (t < d/2) return $.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
+ return $.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
+ }
+});
+/*
+ *
+ * TERMS OF USE - EASING EQUATIONS
+ *
+ * Open source under the BSD License.
+ *
+ * Copyright 2001 Robert Penner
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this list of
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list
+ * of conditions and the following disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the author nor the names of contributors may be used to endorse
+ * or promote products derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+})(jQuery);
+
+/*
+ * jQuery UI Effects Highlight 1.6rc6
+ *
+ * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * http://docs.jquery.com/UI/Effects/Highlight
+ *
+ * Depends:
+ * effects.core.js
+ */
+(function($) {
+
+$.effects.highlight = function(o) {
+
+ return this.queue(function() {
+
+ // Create element
+ var el = $(this), props = ['backgroundImage','backgroundColor','opacity'];
+
+ // Set options
+ var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
+ var color = o.options.color || "#ffff99"; // Default highlight color
+ var oldColor = el.css("backgroundColor");
+
+ // Adjust
+ $.effects.save(el, props); el.show(); // Save & Show
+ el.css({backgroundImage: 'none', backgroundColor: color}); // Shift
+
+ // Animation
+ var animation = {backgroundColor: oldColor };
+ if (mode == "hide") animation['opacity'] = 0;
+
+ // Animate
+ el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
+ if(mode == "hide") el.hide();
+ $.effects.restore(el, props);
+ if (mode == "show" && $.browser.msie) this.style.removeAttribute('filter');
+ if(o.callback) o.callback.apply(this, arguments);
+ el.dequeue();
+ }});
+
+ });
+
+};
+
+})(jQuery); \ No newline at end of file
diff --git a/doc/code/js/main.js b/doc/code/js/main.js
new file mode 100755
index 00000000000..859772b91d9
--- /dev/null
+++ b/doc/code/js/main.js
@@ -0,0 +1,24 @@
+function toggleSource(id)
+{
+ var src = $('#' + id).toggle();
+ var isVisible = src.is(':visible');
+ $('#l_' + id).html(isVisible ? 'hide' : 'show');
+ if (!src.data('syntax-higlighted')) {
+ src.data('syntax-higlighted', 1);
+ hljs.highlightBlock(src[0]);
+ }
+}
+
+window.highlight = function(url) {
+ var hash = url.match(/#([^#]+)$/)
+ if(hash) {
+ $('a[name=' + hash[1] + ']').parent().effect('highlight', {}, 'slow')
+ }
+}
+
+$(function() {
+ highlight('#' + location.hash);
+ $('.description pre').each(function() {
+ hljs.highlightBlock(this);
+ });
+});
diff --git a/doc/app/js/navigation.js b/doc/code/js/navigation.js
index e41268123ea..e41268123ea 100644
--- a/doc/app/js/navigation.js
+++ b/doc/code/js/navigation.js
diff --git a/doc/code/js/search_index.js b/doc/code/js/search_index.js
new file mode 100644
index 00000000000..7fda2f97640
--- /dev/null
+++ b/doc/code/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","dashboardhelper","deploykeyscontroller","errorscontroller","event","eventdecorator","eventfilter","eventshelper","extractspath","invalidpatherror","filesizevalidator","helper","githost","gitlab","api","apihelpers","applogger","auth","entities","hook","issue","mrnote","mergerequest","milestone","note","project","projectmember","projectsnippet","repocommit","repoobject","sshkey","user","userbasic","userlogin","gitlogger","gitstats","gitolite","accessdenied","gitoliteconfig","pullerror","pusherror","graph","commit","jsonbuilder","inlinediff","issues","logger","markdown","mergerequests","milestones","notes","projectmover","projectmoveerror","projects","regex","satellite","action","editfileaction","mergeaction","satellite","seeder","session","theme","users","gitlabciservice","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","namespace","namespacedproject","namespaceshelper","note","noteevent","noteobserver","notes","createcontext","loadcontext","notescontroller","noteshelper","notify","omniauthcallbackscontroller","postreceive","profilehelper","profilescontroller","project","transfererror","projecthook","projectobserver","projectresourcecontroller","projectupdatecontext","projectscontroller","projectshelper","protectedbranch","protectedbranchescontroller","pushevent","pushobserver","redcarpet","render","gitlabhtml","refscontroller","repositoriescontroller","repository","searchcontext","searchcontroller","service","servicehook","servicescontroller","snippet","snippetscontroller","snippetshelper","staticmodel","classmethods","systemhook","systemhookobserver","systemhookworker","tabhelper","tagshelper","team","teammemberscontroller","testhookcontext","tree","treecontroller","treedecorator","treehelper","user","userdecorator","userobserver","usersproject","usersprojectobserver","votes","webhook","wiki","wikiscontroller","==()","[]()","_indexes_of_changed_lines()","abilities()","abilities()","abilities()","abilities()","access_denied!()","access_options()","access_roles()","account()","action_name()","activated?()","active()","active?()","add_abilities()","add_access()","add_refs()","add_user_id_to_team()","add_user_to_team()","add_users_ids_to_team()","add_users_into_projects()","add_users_to_project_teams()","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()","after_update()","all_hooks_fire()","allow_read_for?()","allowed()","allowed_tree_edit?()","app_theme()","apply()","apply_filter()","apply_import()","archive()","archive_repo()","assign_ref_vars()","async_execute()","attributes_for_keys()","authbutton()","authenticate!()","authenticate_admin!()","authenticated_as_admin!()","author()","author_email()","author_id()","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!()","authorize_read_group!()","authorized_for()","authorized_groups()","authorized_projects()","authors()","authors_count()","automerge()","automerge!()","automerge_check()","avatar_image()","base_class()","base_space()","block()","block()","block_code()","branch?()","branch_from()","branch_name()","branch_names()","branch_to()","branches()","branches()","branches_tab_class()","breadcrumbs()","breadcrumbs()","broken_diffs?()","build()","build_commit_note()","build_graph()","build_line_anchor()","build_page()","bulk_delete()","bulk_import()","bulk_update()","bulk_update()","can?()","can?()","can?()","can?()","can?()","can_be_closed?()","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!()","chief()","ci_build_details_path()","ci_status()","clean_repo()","clear_and_update!()","closed?()","closed_event()","closed_items_count()","code()","collect_authors()","collect_commits()","comments()","commit()","commit()","commit!()","commit_author()","commit_badge_path()","commit_from()","commit_line_notes()","commit_notes()","commit_status()","commit_status_path()","commit_to()","commit_to_html()","commits()","commits()","commits()","commits()","commits_between()","commits_between()","commits_count()","commits_count()","commits_since()","commits_since()","commits_with_refs()","commits_with_refs()","committer_email()","committer_link()","committer_name()","common_notes()","compare()","compose_service_hook()","config()","content_types()","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()","dashboard_filter()","dashboard_filter_path()","data()","default_filter()","default_regex()","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_project()","destroy_project!()","destroy_repository()","destroyed?()","determine_action()","dev_access_for?()","dev_tools()","diff_line_content()","different_committer?()","diffs()","diffs()","dir_exists?()","discover_default_branch()","downvote?()","downvotes()","downvotes_in_percent()","each_diff_line()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","edit()","emoji_autocomplete_source()","empty?()","empty_repo?()","enable_automerge()","ensure_dir_exist()","entities_per_project()","error()","event_action_name()","event_filter()","event_filter_link()","event_image()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute()","execute_hooks()","execute_services()","exists?()","expired?()","expired?()","expires_at()","extract_ref()","failure_message()","feed_summary()","feed_title()","feed_url()","file_name()","file_name()","files()","files_count()","filter()","find_all_by_branch()","find_all_by_milestone()","find_for_ldap_auth()","find_for_ldap_auth()","find_free_space()","find_or_first()","find_or_new_for_omniauth()","find_or_new_for_omniauth()","find_project()","find_with_namespace()","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_ci?()","gitlab_markdown?()","global_id()","graph()","graph()","gravatar_icon()","group()","group_abilities()","grouped_options_refs()","grouper_project_members()","guest_access_for?()","has_commits?()","has_post_receive_file?()","heads()","help()","hexdigest()","history()","history()","hook_file()","http_url_to_repo()","human_name()","human_name()","human_state()","identification_type()","identifier()","image_diff_class()","import_team()","in_locked_and_timed_satellite()","index()","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()","is_empty?()","issue()","issue()","issue?()","issue_css_classes()","issue_status_changed_email()","issue_tags()","issues()","issues()","issues_active_milestones()","issues_filter()","issues_filtered()","issues_labels()","items_for()","joined?()","labels_autocomplete_source()","last_activity()","last_activity_date()","last_activity_project()","last_commit()","last_commit()","last_commit()","last_commit_for()","last_commit_short_sha()","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_member()","link_to_project()","loading_more_notes?()","loading_new_notes?()","lock()","lock_file()","log()","log()","log_exception()","log_info()","log_info()","log_info()","logs_tree()","mark_as_merged!()","mark_as_unchecked()","mark_as_unmergable()","mark_reserved()","markdown()","markup?()","master_access_for?()","max_count()","md_ref?()","membership_changed?()","merge!()","merge!()","merge_event()","merge_request()","merge_request()","merge_request?()","merge_requests()","merge_requests()","merged()","merged?()","merged?()","method_missing()","method_missing()","milestone()","milestone?()","mode()","module_enabled()","module_enabled()","module_enabled()","module_enabled()","move_dir()","move_repository()","mr_and_commit_notes()","mr_css_classes()","my_own_projects()","name()","name_with_namespace()","namespace_dir()","namespace_full_path()","namespace_id()","namespace_owner()","namespaces()","namespaces_options()","nav_link()","nav_tab()","new()","new()","new()","new()","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!()","not_in_project()","note?()","note_commit?()","note_commit_email()","note_commit_id()","note_for_main_target?()","note_issue_email()","note_merge_request_email()","note_short_commit_id()","note_target()","note_target_id()","note_target_type()","note_wall_email()","noteable()","noteable_type_name()","notes()","notify_only_author?()","notify_team()","oauth_active_class()","observe_push()","open?()","open?()","open_branches()","open_for()","open_items_count()","options()","pages()","paginate()","parent_commit()","parents_count()","participants()","path()","path_regex()","path_to_repo()","path_with_namespace()","people()","percent_complete()","perform()","perform()","persisted?()","person_link()","place_chain()","plain_text_readme?()","post_receive_data()","postprocess()","prepare_satellite!()","prev_commit()","prev_commit_id()","preview()","primary_key()","private?()","probably_merged?()","processing()","project()","project()","project_abilities()","project_access_granted_email()","project_access_human()","project_admin_rules()","project_dev_rules()","project_guest_rules()","project_id()","project_ids()","project_ids()","project_issues_filter_path()","project_last_activity()","project_master_rules()","project_name()","project_name_regex()","project_report_rules()","project_tab_class()","project_teams_update()","project_title()","project_update()","project_was_moved_email()","projects()","projects()","projects()","projects_limit_percent()","projects_sorted_by_activity()","proper?()","protected_branch?()","public?()","push()","push?()","push_action_name()","push_to_branch?()","push_with_commits?()","quiet()","raw()","read_latest()","read_latest_for()","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_403()","render_404()","render_api_error!()","render_tree()","reopened?()","replace_markers()","repo()","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_dir()","rm_key()","rm_ref?()","role_access()","root_ref()","root_ref?()","safe_message()","satellite()","saved?()","search()","search()","search()","search()","search()","search()","search()","search_autocomplete_source()","send_move_instructions()","send_notify_mails()","send_reassigned_email()","send_reassigned_email()","send_update_instructions()","services()","set_current_user_for_observers()","set_identifier()","set_key()","set_slug()","several_namespaces?()","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()","skip_git?()","snippet()","sort()","ssh_url_to_repo()","stats()","store_dir()","strip_white_space()","switch()","tag?()","tag_list()","tag_name()","tag_names()","tag_path()","tags()","tags()","take_left_leaves()","target_title()","team()","team_member_by_id()","team_member_by_name_or_email()","team_members()","team_update()","team_update()","team_without_note_author()","test()","test()","test()","title()","tm_of()","tm_path()","to_diff()","to_diff()","to_graph_hash()","to_json()","to_param()","to_param()","to_param()","to_param()","to_patch()","today?()","token()","total_items_count()","transfer()","tree()","tree_hex_class()","tree_icon()","tree_join()","trigger_post_receive()","truncate_team()","truncate_team()","truncate_teams()","truncate_teams()","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_gitolite()","update_merge_requests()","update_password()","update_project()","update_project!()","update_project_config()","update_projects()","update_repositories()","update_repository()","update_repository()","update_repository()","update_repository()","update_username()","update_users_ids_to_role()","upvote?()","upvotes()","upvotes_in_percent()","url_to_repo()","url_to_repo()","user_bulk_import()","user_color_scheme_class()","user_project()","username_regex()","users()","valid?()","valid_diffs?()","valid_hook_file()","valid_post_receive_file?()","valid_push?()","valid_repo?()","validate_branches()","validate_each()","validate_get_request()","validate_post_request()","validates_merge_request()","votes_count()","wall()","wall_note?()","web_app_url()","web_url()","without_projects()","write_key()","ofl","post-receive"],"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","dashboardhelper","deploykeyscontroller","errorscontroller","event","eventdecorator","eventfilter","eventshelper","extractspath","extractspath::invalidpatherror","filesizevalidator","filesizevalidator::helper","githost","gitlab","gitlab::api","gitlab::apihelpers","gitlab::applogger","gitlab::auth","gitlab::entities","gitlab::entities::hook","gitlab::entities::issue","gitlab::entities::mrnote","gitlab::entities::mergerequest","gitlab::entities::milestone","gitlab::entities::note","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::gitlogger","gitlab::gitstats","gitlab::gitolite","gitlab::gitolite::accessdenied","gitlab::gitoliteconfig","gitlab::gitoliteconfig::pullerror","gitlab::gitoliteconfig::pusherror","gitlab::graph","gitlab::graph::commit","gitlab::graph::jsonbuilder","gitlab::inlinediff","gitlab::issues","gitlab::logger","gitlab::markdown","gitlab::mergerequests","gitlab::milestones","gitlab::notes","gitlab::projectmover","gitlab::projectmover::projectmoveerror","gitlab::projects","gitlab::regex","gitlab::satellite","gitlab::satellite::action","gitlab::satellite::editfileaction","gitlab::satellite::mergeaction","gitlab::satellite::satellite","gitlab::seeder","gitlab::session","gitlab::theme","gitlab::users","gitlabciservice","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","namespace","namespacedproject","namespaceshelper","note","noteevent","noteobserver","notes","notes::createcontext","notes::loadcontext","notescontroller","noteshelper","notify","omniauthcallbackscontroller","postreceive","profilehelper","profilescontroller","project","project::transfererror","projecthook","projectobserver","projectresourcecontroller","projectupdatecontext","projectscontroller","projectshelper","protectedbranch","protectedbranchescontroller","pushevent","pushobserver","redcarpet","redcarpet::render","redcarpet::render::gitlabhtml","refscontroller","repositoriescontroller","repository","searchcontext","searchcontroller","service","servicehook","servicescontroller","snippet","snippetscontroller","snippetshelper","staticmodel","staticmodel::classmethods","systemhook","systemhookobserver","systemhookworker","tabhelper","tagshelper","team","teammemberscontroller","testhookcontext","tree","treecontroller","treedecorator","treehelper","user","userdecorator","userobserver","usersproject","usersprojectobserver","votes","webhook","wiki","wikiscontroller","staticmodel#==()","staticmodel#[]()","gitlab::inlinediff::_indexes_of_changed_lines()","account#abilities()","applicationcontroller#abilities()","basecontext#abilities()","grack::auth#abilities()","applicationcontroller#access_denied!()","project::access_options()","usersproject::access_roles()","profilescontroller#account()","event#action_name()","gitlabciservice#activated?()","project::active()","eventfilter#active?()","applicationcontroller#add_abilities()","authority#add_access()","gitlab::graph::commit#add_refs()","team#add_user_id_to_team()","team#add_user_to_team()","team#add_users_ids_to_team()","usersproject::add_users_into_projects()","group#add_users_to_project_teams()","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()","userobserver#after_save()","applicationcontroller#after_sign_in_path_for()","issueobserver#after_update()","mergerequestobserver#after_update()","projectobserver#after_update()","systemhook::all_hooks_fire()","authority#allow_read_for?()","ability::allowed()","treehelper#allowed_tree_edit?()","applicationhelper#app_theme()","gitlab::gitoliteconfig#apply()","eventfilter#apply_filter()","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()","milestone#author_id()","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!()","groupscontroller#authorize_read_group!()","project::authorized_for()","account#authorized_groups()","account#authorized_projects()","gitlab::gitstats#authors()","gitlab::gitstats#authors_count()","mergerequestscontroller#automerge()","mergerequest#automerge!()","mergerequestscontroller#automerge_check()","userdecorator#avatar_image()","staticmodel::classmethods#base_class()","gitlab::graph::jsonbuilder#base_space()","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()","treehelper#breadcrumbs()","mergerequest#broken_diffs?()","gitlab::logger::build()","project#build_commit_note()","gitlab::gitstats#build_graph()","commitshelper#build_line_anchor()","gitlabciservice#build_page()","usersproject::bulk_delete()","usersproject::bulk_import()","issuescontroller#bulk_update()","usersproject::bulk_update()","account#can?()","applicationcontroller#can?()","basecontext#can?()","gitlab::apihelpers#can?()","grack::auth#can?()","milestone#can_be_closed?()","gitlab::satellite::mergeaction#can_be_merged?()","mergerequest#can_be_merged?()","account#can_create_group?()","account#can_create_project?()","gitlab::satellite::editfileaction#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!()","namespacedproject#chief()","mergerequestshelper#ci_build_details_path()","mergerequestscontroller#ci_status()","gitlab::gitoliteconfig#clean_repo()","gitlab::satellite::satellite#clear_and_update!()","event#closed?()","mergerequest#closed_event()","milestone#closed_items_count()","project#code()","gitlab::gitstats#collect_authors()","gitlab::graph::jsonbuilder#collect_commits()","eventfilter::comments()","protectedbranch#commit()","repository#commit()","gitlab::satellite::editfileaction#commit!()","note#commit_author()","gitlabciservice#commit_badge_path()","pushevent#commit_from()","project#commit_line_notes()","project#commit_notes()","gitlabciservice#commit_status()","gitlabciservice#commit_status_path()","pushevent#commit_to()","commitshelper#commit_to_html()","commit::commits()","mergerequest#commits()","pushevent#commits()","repository#commits()","commit::commits_between()","repository#commits_between()","gitlab::gitstats#commits_count()","pushevent#commits_count()","commit::commits_since()","repository#commits_since()","commit::commits_with_refs()","repository#commits_with_refs()","commit#committer_email()","commitdecorator#committer_link()","commit#committer_name()","project#common_notes()","commit::compare()","gitlabciservice#compose_service_hook()","gitlab::gitolite#config()","snippet::content_types()","admin::groupscontroller#create()","admin::hookscontroller#create()","admin::userscontroller#create()","comparecontroller#create()","deploykeyscontroller#create()","gitlab::satellite::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()","dashboardcontroller#dashboard_filter()","dashboardhelper#dashboard_filter_path()","snippet#data()","eventfilter::default_filter()","gitlab::regex#default_regex()","mergerequestscontroller#define_show_vars()","refscontroller#define_tree_vars()","team#delete_users_ids_from_team()","commitdecorator#description()","profilescontroller#design()","admin::groupscontroller#destroy()","admin::hookscontroller#destroy()","admin::projectscontroller#destroy()","admin::teammemberscontroller#destroy()","admin::userscontroller#destroy()","deploykeyscontroller#destroy()","hookscontroller#destroy()","keyscontroller#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?()","event::determine_action()","authority#dev_access_for?()","applicationcontroller#dev_tools()","commitshelper#diff_line_content()","commit#different_committer?()","mergerequest#diffs()","mergerequestscontroller#diffs()","namespace#dir_exists?()","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()","servicescontroller#edit()","snippetscontroller#edit()","treecontroller#edit()","wikiscontroller#edit()","applicationhelper#emoji_autocomplete_source()","tree#empty?()","repository#empty_repo?()","gitlab::gitolite#enable_automerge()","namespace#ensure_dir_exist()","dashboardhelper#entities_per_project()","gitlab::logger::error()","eventshelper#event_action_name()","dashboardcontroller#event_filter()","eventshelper#event_filter_link()","eventshelper#event_image()","commitloadcontext#execute()","gitlab::projectmover#execute()","issuesbulkupdatecontext#execute()","issueslistcontext#execute()","mergerequestsloadcontext#execute()","notes::createcontext#execute()","notes::loadcontext#execute()","projectupdatecontext#execute()","searchcontext#execute()","testhookcontext#execute()","webhook#execute()","pushobserver#execute_hooks()","pushobserver#execute_services()","gitlab::satellite::satellite#exists?()","milestone#expired?()","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()","gitlab::gitstats#files_count()","user::filter()","mergerequest::find_all_by_branch()","mergerequest::find_all_by_milestone()","gitlab::auth#find_for_ldap_auth()","user::find_for_ldap_auth()","gitlab::graph::jsonbuilder#find_free_space()","commit::find_or_first()","gitlab::auth#find_or_new_for_omniauth()","user::find_or_new_for_omniauth()","gitlab::apihelpers#find_project()","project::find_with_namespace()","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()","project#gitlab_ci?()","treehelper#gitlab_markdown?()","namespace::global_id()","gitlab::gitstats#graph()","projectscontroller#graph()","applicationhelper#gravatar_icon()","groupscontroller#group()","ability::group_abilities()","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()","profilescontroller#history()","wikiscontroller#history()","repository#hook_file()","repository#http_url_to_repo()","group#human_name()","namespace#human_name()","mergerequest#human_state()","commitshelper#identification_type()","account#identifier()","commitshelper#image_diff_class()","usersproject::import_team()","gitlab::satellite::action#in_locked_and_timed_satellite()","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()","servicescontroller#index()","snippetscontroller#index()","teammemberscontroller#index()","gitlab::graph::jsonbuilder#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()","milestone#is_empty?()","event#issue()","issuescontroller#issue()","event#issue?()","issueshelper#issue_css_classes()","notify#issue_status_changed_email()","issueshelper#issue_tags()","dashboardcontroller#issues()","groupscontroller#issues()","issueshelper#issues_active_milestones()","issueshelper#issues_filter()","issuescontroller#issues_filtered()","project#issues_labels()","project#items_for()","event#joined?()","issueshelper#labels_autocomplete_source()","project#last_activity()","project#last_activity_date()","account#last_activity_project()","applicationhelper#last_commit()","mergerequest#last_commit()","pushevent#last_commit()","repository#last_commit_for()","mergerequest#last_commit_short_sha()","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()","projectshelper#link_to_member()","projectshelper#link_to_project()","noteshelper#loading_more_notes?()","noteshelper#loading_new_notes?()","gitlab::satellite::satellite#lock()","gitlab::satellite::satellite#lock_file()","gitlab::auth#log()","gitlab::gitoliteconfig#log()","applicationcontroller#log_exception()","gitlab::projectmover#log_info()","projectobserver#log_info()","userobserver#log_info()","refscontroller#logs_tree()","mergerequest#mark_as_merged!()","mergerequest#mark_as_unchecked()","mergerequest#mark_as_unmergable()","gitlab::graph::jsonbuilder#mark_reserved()","gitlabmarkdownhelper#markdown()","treehelper#markup?()","authority#master_access_for?()","gitlab::graph::jsonbuilder::max_count()","pushevent#md_ref?()","event#membership_changed?()","gitlab::satellite::mergeaction#merge!()","mergerequest#merge!()","mergerequest#merge_event()","event#merge_request()","mergerequestscontroller#merge_request()","event#merge_request?()","dashboardcontroller#merge_requests()","groupscontroller#merge_requests()","eventfilter::merged()","event#merged?()","mergerequest#merged?()","applicationcontroller#method_missing()","gitlab::graph::commit#method_missing()","milestonescontroller#milestone()","event#milestone?()","snippet#mode()","issuescontroller#module_enabled()","labelscontroller#module_enabled()","mergerequestscontroller#module_enabled()","milestonescontroller#module_enabled()","namespace#move_dir()","gitlab::gitolite#move_repository()","mergerequest#mr_and_commit_notes()","mergerequestshelper#mr_css_classes()","account#my_own_projects()","snippet#name()","namespacedproject#name_with_namespace()","repository#namespace_dir()","namespace#namespace_full_path()","account#namespace_id()","namespacedproject#namespace_owner()","account#namespaces()","namespaceshelper#namespaces_options()","tabhelper#nav_link()","tabhelper#nav_tab()","admin::groupscontroller#new()","admin::userscontroller#new()","basecontext::new()","commit::new()","deploykeyscontroller#new()","eventfilter::new()","filesizevalidator::new()","gitlab::gitstats::new()","gitlab::graph::commit::new()","gitlab::graph::jsonbuilder::new()","gitlab::projectmover::new()","gitlab::satellite::action::new()","gitlab::satellite::editfileaction::new()","gitlab::satellite::mergeaction::new()","gitlab::satellite::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!()","user::not_in_project()","event#note?()","noteevent#note_commit?()","notify#note_commit_email()","noteevent#note_commit_id()","noteshelper#note_for_main_target?()","notify#note_issue_email()","notify#note_merge_request_email()","noteevent#note_short_commit_id()","noteevent#note_target()","noteevent#note_target_id()","noteevent#note_target_type()","notify#note_wall_email()","note#noteable()","note#noteable_type_name()","notescontroller#notes()","note#notify_only_author?()","noteobserver#notify_team()","profilehelper#oauth_active_class()","pushobserver#observe_push()","mergerequest#open?()","milestone#open?()","repository#open_branches()","issue::open_for()","milestone#open_items_count()","eventfilter#options()","wikiscontroller#pages()","gitlab::apihelpers#paginate()","pushevent#parent_commit()","commit#parents_count()","milestone#participants()","gitlab::satellite::satellite#path()","gitlab::regex#path_regex()","repository#path_to_repo()","namespacedproject#path_with_namespace()","groupscontroller#people()","milestone#percent_complete()","postreceive::perform()","systemhookworker::perform()","staticmodel#persisted?()","commitdecorator#person_link()","gitlab::graph::jsonbuilder#place_chain()","treehelper#plain_text_readme?()","pushobserver#post_receive_data()","redcarpet::render::gitlabhtml#postprocess()","gitlab::satellite::action#prepare_satellite!()","commit#prev_commit()","commit#prev_commit_id()","notescontroller#preview()","staticmodel::classmethods#primary_key()","project#private?()","mergerequest#probably_merged?()","gitlab::inlinediff::processing()","admin::projectscontroller#project()","applicationcontroller#project()","ability::project_abilities()","notify#project_access_granted_email()","usersproject#project_access_human()","ability::project_admin_rules()","ability::project_dev_rules()","ability::project_guest_rules()","project#project_id()","account#project_ids()","groupscontroller#project_ids()","issueshelper#project_issues_filter_path()","applicationhelper#project_last_activity()","ability::project_master_rules()","event#project_name()","gitlab::regex#project_name_regex()","ability::project_report_rules()","tabhelper#project_tab_class()","admin::groupscontroller#project_teams_update()","projectshelper#project_title()","admin::groupscontroller#project_update()","notify#project_was_moved_email()","dashboardcontroller#projects()","groupscontroller#projects()","key#projects()","account#projects_limit_percent()","account#projects_sorted_by_activity()","event#proper?()","repository#protected_branch?()","project#public?()","eventfilter::push()","event#push?()","pushevent#push_action_name()","pushobserver#push_to_branch?()","pushevent#push_with_commits?()","gitlab::seeder::quiet()","snippetscontroller#raw()","gitlab::logger::read_latest()","gitlab::logger::read_latest_for()","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_403()","applicationcontroller#render_404()","gitlab::apihelpers#render_api_error!()","treehelper#render_tree()","event#reopened?()","gitlab::inlinediff::replace_markers()","gitlab::satellite::satellite#repo()","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()","profilescontroller#reset_private_token()","searchcontext#result()","namespace#rm_dir()","gitlab::gitoliteconfig#rm_key()","pushevent#rm_ref?()","usersproject#role_access()","repository#root_ref()","repository#root_ref?()","commit#safe_message()","repository#satellite()","project#saved?()","groupscontroller#search()","issuecommonality::classmethods#search()","issuescontroller#search()","namespace::search()","project::search()","user::search()","wiki::search()","applicationhelper#search_autocomplete_source()","project#send_move_instructions()","noteobserver#send_notify_mails()","issueobserver#send_reassigned_email()","mergerequestobserver#send_reassigned_email()","namespace#send_update_instructions()","project#services()","applicationcontroller#set_current_user_for_observers()","key#set_identifier()","gitlab::gitolite#set_key()","wiki#set_slug()","account#several_namespaces?()","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()","profilescontroller#show()","projectscontroller#show()","repositoriescontroller#show()","searchcontroller#show()","snippetscontroller#show()","teammemberscontroller#show()","treecontroller#show()","wikiscontroller#show()","applicationhelper#show_last_push_widget?()","snippet#size()","usersproject#skip_git?()","snippetscontroller#snippet()","issuescontroller#sort()","repository#ssh_url_to_repo()","repositoriescontroller#stats()","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::graph::jsonbuilder#take_left_leaves()","event#target_title()","eventfilter::team()","team#team_member_by_id()","team#team_member_by_name_or_email()","groupscontroller#team_members()","admin::projectscontroller#team_update()","admin::userscontroller#team_update()","noteobserver#team_without_note_author()","admin::hookscontroller#test()","hookscontroller#test()","servicescontroller#test()","commitdecorator#title()","userdecorator#tm_of()","projectshelper#tm_path()","commit#to_diff()","mergerequest#to_diff()","gitlab::graph::commit#to_graph_hash()","gitlab::graph::jsonbuilder#to_json()","namespace#to_param()","project#to_param()","staticmodel#to_param()","wiki#to_param()","mergerequest#to_patch()","issuecommonality#today?()","profilescontroller#token()","milestone#total_items_count()","namespacedproject#transfer()","repository#tree()","treehelper#tree_hex_class()","treehelper#tree_icon()","treehelper#tree_join()","pushobserver#trigger_post_receive()","team#truncate_team()","usersproject::truncate_team()","group#truncate_teams()","usersproject::truncate_teams()","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()","issuescontroller#update()","mergerequestscontroller#update()","milestonescontroller#update()","profilescontroller#update()","projectscontroller#update()","servicescontroller#update()","snippetscontroller#update()","teammemberscontroller#update()","treecontroller#update()","namespace#update_gitolite()","pushobserver#update_merge_requests()","profilescontroller#update_password()","gitlab::gitoliteconfig#update_project()","gitlab::gitoliteconfig#update_project!()","gitlab::gitoliteconfig#update_project_config()","gitlab::gitoliteconfig#update_projects()","gitlab::gitolite#update_repositories()","gitlab::gitolite#update_repository()","protectedbranch#update_repository()","repository#update_repository()","usersproject#update_repository()","profilescontroller#update_username()","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()","applicationhelper#user_color_scheme_class()","gitlab::apihelpers#user_project()","gitlab::regex#username_regex()","group#users()","grack::auth#valid?()","mergerequest#valid_diffs?()","repository#valid_hook_file()","repository#valid_post_receive_file?()","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()","noteevent#wall_note?()","applicationhelper#web_app_url()","project#web_url()","user::without_projects()","gitlab::gitoliteconfig#write_key()","",""],"info":[["Ability","","classes/Ability.html","",""],["Account","","classes/Account.html","",""],["ActivityObserver","","classes/ActivityObserver.html","",""],["Admin","","classes/Admin.html","",""],["Admin::DashboardController","","classes/Admin/DashboardController.html","",""],["Admin::GroupsController","","classes/Admin/GroupsController.html","",""],["Admin::HooksController","","classes/Admin/HooksController.html","",""],["Admin::LogsController","","classes/Admin/LogsController.html","",""],["Admin::ProjectsController","","classes/Admin/ProjectsController.html","",""],["Admin::ResqueController","","classes/Admin/ResqueController.html","",""],["Admin::TeamMembersController","","classes/Admin/TeamMembersController.html","",""],["Admin::UsersController","","classes/Admin/UsersController.html","",""],["AdminController","","classes/AdminController.html","","<p>Provides a base class for Admin controllers to subclass\n<p>Automatically sets the layout and ensures an administrator …\n"],["ApplicationController","","classes/ApplicationController.html","",""],["ApplicationDecorator","","classes/ApplicationDecorator.html","",""],["ApplicationHelper","","classes/ApplicationHelper.html","",""],["AttachmentUploader","","classes/AttachmentUploader.html","",""],["Authority","","classes/Authority.html","",""],["BaseContext","","classes/BaseContext.html","",""],["BlameController","","classes/BlameController.html","","<p>Controller for viewing a file’s blame\n"],["BlobController","","classes/BlobController.html","","<p>Controller for viewing a file’s blame\n"],["Commit","","classes/Commit.html","",""],["CommitController","","classes/CommitController.html","","<p>Controller for a specific Commit\n<p>Not to be confused with CommitsController, plural.\n"],["CommitDecorator","","classes/CommitDecorator.html","",""],["CommitLoadContext","","classes/CommitLoadContext.html","",""],["CommitsController","","classes/CommitsController.html","",""],["CommitsHelper","","classes/CommitsHelper.html","",""],["CompareController","","classes/CompareController.html","",""],["DashboardController","","classes/DashboardController.html","",""],["DashboardHelper","","classes/DashboardHelper.html","",""],["DeployKeysController","","classes/DeployKeysController.html","",""],["ErrorsController","","classes/ErrorsController.html","",""],["Event","","classes/Event.html","","<p>Schema Information\n<p>Table name: events\n\n<pre>id :integer not null, primary key\ntarget_type :string(255) ...</pre>\n"],["EventDecorator","","classes/EventDecorator.html","",""],["EventFilter","","classes/EventFilter.html","",""],["EventsHelper","","classes/EventsHelper.html","",""],["ExtractsPath","","classes/ExtractsPath.html","","<p>Module providing methods for dealing with separating a tree-ish string and\na file path string when combined …\n"],["ExtractsPath::InvalidPathError","","classes/ExtractsPath/InvalidPathError.html","","<p>Raised when given an invalid file path\n"],["FileSizeValidator","","classes/FileSizeValidator.html","",""],["FileSizeValidator::Helper","","classes/FileSizeValidator/Helper.html","",""],["GitHost","","classes/GitHost.html","",""],["Gitlab","","classes/Gitlab.html","","<p>ProjectMover class\n<p>Used for moving project repositories from one subdir to another\n"],["Gitlab::API","","classes/Gitlab/API.html","",""],["Gitlab::APIHelpers","","classes/Gitlab/APIHelpers.html","",""],["Gitlab::AppLogger","","classes/Gitlab/AppLogger.html","",""],["Gitlab::Auth","","classes/Gitlab/Auth.html","",""],["Gitlab::Entities","","classes/Gitlab/Entities.html","",""],["Gitlab::Entities::Hook","","classes/Gitlab/Entities/Hook.html","",""],["Gitlab::Entities::Issue","","classes/Gitlab/Entities/Issue.html","",""],["Gitlab::Entities::MRNote","","classes/Gitlab/Entities/MRNote.html","",""],["Gitlab::Entities::MergeRequest","","classes/Gitlab/Entities/MergeRequest.html","",""],["Gitlab::Entities::Milestone","","classes/Gitlab/Entities/Milestone.html","",""],["Gitlab::Entities::Note","","classes/Gitlab/Entities/Note.html","",""],["Gitlab::Entities::Project","","classes/Gitlab/Entities/Project.html","",""],["Gitlab::Entities::ProjectMember","","classes/Gitlab/Entities/ProjectMember.html","",""],["Gitlab::Entities::ProjectSnippet","","classes/Gitlab/Entities/ProjectSnippet.html","",""],["Gitlab::Entities::RepoCommit","","classes/Gitlab/Entities/RepoCommit.html","",""],["Gitlab::Entities::RepoObject","","classes/Gitlab/Entities/RepoObject.html","",""],["Gitlab::Entities::SSHKey","","classes/Gitlab/Entities/SSHKey.html","",""],["Gitlab::Entities::User","","classes/Gitlab/Entities/User.html","",""],["Gitlab::Entities::UserBasic","","classes/Gitlab/Entities/UserBasic.html","",""],["Gitlab::Entities::UserLogin","","classes/Gitlab/Entities/UserLogin.html","",""],["Gitlab::GitLogger","","classes/Gitlab/GitLogger.html","",""],["Gitlab::GitStats","","classes/Gitlab/GitStats.html","",""],["Gitlab::Gitolite","","classes/Gitlab/Gitolite.html","",""],["Gitlab::Gitolite::AccessDenied","","classes/Gitlab/Gitolite/AccessDenied.html","",""],["Gitlab::GitoliteConfig","","classes/Gitlab/GitoliteConfig.html","",""],["Gitlab::GitoliteConfig::PullError","","classes/Gitlab/GitoliteConfig/PullError.html","",""],["Gitlab::GitoliteConfig::PushError","","classes/Gitlab/GitoliteConfig/PushError.html","",""],["Gitlab::Graph","","classes/Gitlab/Graph.html","",""],["Gitlab::Graph::Commit","","classes/Gitlab/Graph/Commit.html","",""],["Gitlab::Graph::JsonBuilder","","classes/Gitlab/Graph/JsonBuilder.html","",""],["Gitlab::InlineDiff","","classes/Gitlab/InlineDiff.html","",""],["Gitlab::Issues","","classes/Gitlab/Issues.html","","<p>Issues API\n"],["Gitlab::Logger","","classes/Gitlab/Logger.html","",""],["Gitlab::Markdown","","classes/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::MergeRequests","","classes/Gitlab/MergeRequests.html","","<p>MergeRequest API\n"],["Gitlab::Milestones","","classes/Gitlab/Milestones.html","","<p>Milestones API\n"],["Gitlab::Notes","","classes/Gitlab/Notes.html","","<p>Notes API\n"],["Gitlab::ProjectMover","","classes/Gitlab/ProjectMover.html","",""],["Gitlab::ProjectMover::ProjectMoveError","","classes/Gitlab/ProjectMover/ProjectMoveError.html","",""],["Gitlab::Projects","","classes/Gitlab/Projects.html","","<p>Projects API\n"],["Gitlab::Regex","","classes/Gitlab/Regex.html","",""],["Gitlab::Satellite","","classes/Gitlab/Satellite.html","",""],["Gitlab::Satellite::Action","","classes/Gitlab/Satellite/Action.html","",""],["Gitlab::Satellite::EditFileAction","","classes/Gitlab/Satellite/EditFileAction.html","","<p>GitLab server-side file update and commit\n"],["Gitlab::Satellite::MergeAction","","classes/Gitlab/Satellite/MergeAction.html","","<p>GitLab server-side merge\n"],["Gitlab::Satellite::Satellite","","classes/Gitlab/Satellite/Satellite.html","",""],["Gitlab::Seeder","","classes/Gitlab/Seeder.html","",""],["Gitlab::Session","","classes/Gitlab/Session.html","","<p>Users API\n"],["Gitlab::Theme","","classes/Gitlab/Theme.html","",""],["Gitlab::Users","","classes/Gitlab/Users.html","","<p>Users API\n"],["GitlabCiService","","classes/GitlabCiService.html","","<p>Schema Information\n<p>Table name: services\n\n<pre>id :integer not null, primary key\ntype ...</pre>\n"],["GitlabMarkdownHelper","","classes/GitlabMarkdownHelper.html","",""],["Grack","","classes/Grack.html","",""],["Grack::Auth","","classes/Grack/Auth.html","",""],["Group","","classes/Group.html","","<p>Schema Information\n<p>Table name: namespaces\n\n<pre>id :integer not null, primary key\nname ...</pre>\n"],["GroupsController","","classes/GroupsController.html","",""],["HelpController","","classes/HelpController.html","",""],["HooksController","","classes/HooksController.html","",""],["Issue","","classes/Issue.html","","<p>Schema Information\n<p>Table name: issues\n\n<pre>id :integer not null, primary key\ntitle ...</pre>\n"],["IssueCommonality","","classes/IssueCommonality.html","","<p>Contains common functionality shared between Issues and MergeRequests\n"],["IssueCommonality::ClassMethods","","classes/IssueCommonality/ClassMethods.html","",""],["IssueObserver","","classes/IssueObserver.html","",""],["IssuesBulkUpdateContext","","classes/IssuesBulkUpdateContext.html","",""],["IssuesController","","classes/IssuesController.html","",""],["IssuesHelper","","classes/IssuesHelper.html","",""],["IssuesListContext","","classes/IssuesListContext.html","",""],["Key","","classes/Key.html","",""],["KeyObserver","","classes/KeyObserver.html","",""],["KeysController","","classes/KeysController.html","",""],["LabelsController","","classes/LabelsController.html","",""],["MergeRequest","","classes/MergeRequest.html","",""],["MergeRequestObserver","","classes/MergeRequestObserver.html","",""],["MergeRequestsController","","classes/MergeRequestsController.html","",""],["MergeRequestsHelper","","classes/MergeRequestsHelper.html","",""],["MergeRequestsLoadContext","","classes/MergeRequestsLoadContext.html","","<p>Build collection of Merge Requests based on filtering passed via params for\n@project\n"],["Milestone","","classes/Milestone.html","","<p>Schema Information\n<p>Table name: milestones\n\n<pre>id :integer not null, primary key\ntitle ...</pre>\n"],["MilestonesController","","classes/MilestonesController.html","",""],["Namespace","","classes/Namespace.html","","<p>Schema Information\n<p>Table name: namespaces\n\n<pre>id :integer not null, primary key\nname ...</pre>\n"],["NamespacedProject","","classes/NamespacedProject.html","",""],["NamespacesHelper","","classes/NamespacesHelper.html","",""],["Note","","classes/Note.html","",""],["NoteEvent","","classes/NoteEvent.html","",""],["NoteObserver","","classes/NoteObserver.html","",""],["Notes","","classes/Notes.html","",""],["Notes::CreateContext","","classes/Notes/CreateContext.html","",""],["Notes::LoadContext","","classes/Notes/LoadContext.html","",""],["NotesController","","classes/NotesController.html","",""],["NotesHelper","","classes/NotesHelper.html","",""],["Notify","","classes/Notify.html","",""],["OmniauthCallbacksController","","classes/OmniauthCallbacksController.html","",""],["PostReceive","","classes/PostReceive.html","",""],["ProfileHelper","","classes/ProfileHelper.html","",""],["ProfilesController","","classes/ProfilesController.html","",""],["Project","","classes/Project.html","",""],["Project::TransferError","","classes/Project/TransferError.html","",""],["ProjectHook","","classes/ProjectHook.html","","<p>Schema Information\n<p>Table name: web_hooks\n\n<pre>id :integer not null, primary key\nurl ...</pre>\n"],["ProjectObserver","","classes/ProjectObserver.html","",""],["ProjectResourceController","","classes/ProjectResourceController.html","",""],["ProjectUpdateContext","","classes/ProjectUpdateContext.html","",""],["ProjectsController","","classes/ProjectsController.html","",""],["ProjectsHelper","","classes/ProjectsHelper.html","",""],["ProtectedBranch","","classes/ProtectedBranch.html","","<p>Schema Information\n<p>Table name: protected_branches\n\n<pre>id :integer not null, primary key\nproject_id ...</pre>\n"],["ProtectedBranchesController","","classes/ProtectedBranchesController.html","",""],["PushEvent","","classes/PushEvent.html","",""],["PushObserver","","classes/PushObserver.html","","<p>Includes methods for handling Git Push events\n<p>Triggered by PostReceive job\n"],["Redcarpet","","classes/Redcarpet.html","",""],["Redcarpet::Render","","classes/Redcarpet/Render.html","",""],["Redcarpet::Render::GitlabHTML","","classes/Redcarpet/Render/GitlabHTML.html","",""],["RefsController","","classes/RefsController.html","",""],["RepositoriesController","","classes/RepositoriesController.html","",""],["Repository","","classes/Repository.html","",""],["SearchContext","","classes/SearchContext.html","",""],["SearchController","","classes/SearchController.html","",""],["Service","","classes/Service.html","","<p>Schema Information\n<p>Table name: services\n\n<pre>id :integer not null, primary key\ntype ...</pre>\n"],["ServiceHook","","classes/ServiceHook.html","","<p>Schema Information\n<p>Table name: web_hooks\n\n<pre>id :integer not null, primary key\nurl ...</pre>\n"],["ServicesController","","classes/ServicesController.html","",""],["Snippet","","classes/Snippet.html","","<p>Schema Information\n<p>Table name: snippets\n\n<pre>id :integer not null, primary key\ntitle :string(255) ...</pre>\n"],["SnippetsController","","classes/SnippetsController.html","",""],["SnippetsHelper","","classes/SnippetsHelper.html","",""],["StaticModel","","classes/StaticModel.html","","<p>Provides an ActiveRecord-like interface to a model whose data is not\npersisted to a database.\n"],["StaticModel::ClassMethods","","classes/StaticModel/ClassMethods.html","",""],["SystemHook","","classes/SystemHook.html","","<p>Schema Information\n<p>Table name: web_hooks\n\n<pre>id :integer not null, primary key\nurl ...</pre>\n"],["SystemHookObserver","","classes/SystemHookObserver.html","",""],["SystemHookWorker","","classes/SystemHookWorker.html","",""],["TabHelper","","classes/TabHelper.html","",""],["TagsHelper","","classes/TagsHelper.html","",""],["Team","","classes/Team.html","",""],["TeamMembersController","","classes/TeamMembersController.html","",""],["TestHookContext","","classes/TestHookContext.html","",""],["Tree","","classes/Tree.html","",""],["TreeController","","classes/TreeController.html","","<p>Controller for viewing a repository’s file structure\n"],["TreeDecorator","","classes/TreeDecorator.html","",""],["TreeHelper","","classes/TreeHelper.html","",""],["User","","classes/User.html","","<p>Schema Information\n<p>Table name: users\n\n<pre>id :integer not null, primary key\nemail ...</pre>\n"],["UserDecorator","","classes/UserDecorator.html","",""],["UserObserver","","classes/UserObserver.html","",""],["UsersProject","","classes/UsersProject.html","","<p>Schema Information\n<p>Table name: users_projects\n\n<pre>id :integer not null, primary key\nuser_id ...</pre>\n"],["UsersProjectObserver","","classes/UsersProjectObserver.html","",""],["Votes","","classes/Votes.html","",""],["WebHook","","classes/WebHook.html","","<p>Schema Information\n<p>Table name: web_hooks\n\n<pre>id :integer not null, primary key\nurl ...</pre>\n"],["Wiki","","classes/Wiki.html","","<p>Schema Information\n<p>Table name: wikis\n\n<pre>id :integer not null, primary key\ntitle :string(255) ...</pre>\n"],["WikisController","","classes/WikisController.html","",""],["==","StaticModel","classes/StaticModel.html#method-i-3D-3D","(other)",""],["[]","StaticModel","classes/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","classes/Gitlab/InlineDiff.html#method-c-_indexes_of_changed_lines","(diff_arr)",""],["abilities","Account","classes/Account.html#method-i-abilities","()",""],["abilities","ApplicationController","classes/ApplicationController.html#method-i-abilities","()",""],["abilities","BaseContext","classes/BaseContext.html#method-i-abilities","()",""],["abilities","Grack::Auth","classes/Grack/Auth.html#method-i-abilities","()",""],["access_denied!","ApplicationController","classes/ApplicationController.html#method-i-access_denied-21","()",""],["access_options","Project","classes/Project.html#method-c-access_options","()",""],["access_roles","UsersProject","classes/UsersProject.html#method-c-access_roles","()",""],["account","ProfilesController","classes/ProfilesController.html#method-i-account","()",""],["action_name","Event","classes/Event.html#method-i-action_name","()",""],["activated?","GitlabCiService","classes/GitlabCiService.html#method-i-activated-3F","()",""],["active","Project","classes/Project.html#method-c-active","()",""],["active?","EventFilter","classes/EventFilter.html#method-i-active-3F","(key)",""],["add_abilities","ApplicationController","classes/ApplicationController.html#method-i-add_abilities","()",""],["add_access","Authority","classes/Authority.html#method-i-add_access","(user, *access)","<p>Compatible with all access rights Should be rewrited for new access rights\n"],["add_refs","Gitlab::Graph::Commit","classes/Gitlab/Graph/Commit.html#method-i-add_refs","(ref_cache, repo)",""],["add_user_id_to_team","Team","classes/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","classes/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","classes/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_into_projects","UsersProject","classes/UsersProject.html#method-c-add_users_into_projects","(project_ids, user_ids, project_access)",""],["add_users_to_project_teams","Group","classes/Group.html#method-i-add_users_to_project_teams","(user_ids, project_access)",""],["add_users_to_team","Team","classes/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","classes/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","classes/Gitlab/GitoliteConfig.html#method-i-admin_all_repo-21","()",""],["after_commit","UsersProjectObserver","classes/UsersProjectObserver.html#method-i-after_commit","(users_project)",""],["after_create","ActivityObserver","classes/ActivityObserver.html#method-i-after_create","(record)",""],["after_create","IssueObserver","classes/IssueObserver.html#method-i-after_create","(issue)",""],["after_create","MergeRequestObserver","classes/MergeRequestObserver.html#method-i-after_create","(merge_request)",""],["after_create","NoteObserver","classes/NoteObserver.html#method-i-after_create","(note)",""],["after_create","ProjectObserver","classes/ProjectObserver.html#method-i-after_create","(project)",""],["after_create","SystemHookObserver","classes/SystemHookObserver.html#method-i-after_create","(model)",""],["after_create","UserObserver","classes/UserObserver.html#method-i-after_create","(user)",""],["after_create","UsersProjectObserver","classes/UsersProjectObserver.html#method-i-after_create","(users_project)",""],["after_destroy","KeyObserver","classes/KeyObserver.html#method-i-after_destroy","(key)",""],["after_destroy","ProjectObserver","classes/ProjectObserver.html#method-i-after_destroy","(project)",""],["after_destroy","SystemHookObserver","classes/SystemHookObserver.html#method-i-after_destroy","(model)",""],["after_destroy","UserObserver","classes/UserObserver.html#method-i-after_destroy","(user)",""],["after_destroy","UsersProjectObserver","classes/UsersProjectObserver.html#method-i-after_destroy","(users_project)",""],["after_save","ActivityObserver","classes/ActivityObserver.html#method-i-after_save","(record)",""],["after_save","KeyObserver","classes/KeyObserver.html#method-i-after_save","(key)",""],["after_save","UserObserver","classes/UserObserver.html#method-i-after_save","(user)",""],["after_sign_in_path_for","ApplicationController","classes/ApplicationController.html#method-i-after_sign_in_path_for","(resource)",""],["after_update","IssueObserver","classes/IssueObserver.html#method-i-after_update","(issue)",""],["after_update","MergeRequestObserver","classes/MergeRequestObserver.html#method-i-after_update","(merge_request)",""],["after_update","ProjectObserver","classes/ProjectObserver.html#method-i-after_update","(project)",""],["all_hooks_fire","SystemHook","classes/SystemHook.html#method-c-all_hooks_fire","(data)",""],["allow_read_for?","Authority","classes/Authority.html#method-i-allow_read_for-3F","(user)",""],["allowed","Ability","classes/Ability.html#method-c-allowed","(object, subject)",""],["allowed_tree_edit?","TreeHelper","classes/TreeHelper.html#method-i-allowed_tree_edit-3F","()",""],["app_theme","ApplicationHelper","classes/ApplicationHelper.html#method-i-app_theme","()",""],["apply","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-apply","()",""],["apply_filter","EventFilter","classes/EventFilter.html#method-i-apply_filter","(events)",""],["apply_import","TeamMembersController","classes/TeamMembersController.html#method-i-apply_import","()",""],["archive","RepositoriesController","classes/RepositoriesController.html#method-i-archive","()",""],["archive_repo","Repository","classes/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","classes/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","classes/SystemHook.html#method-i-async_execute","(data)",""],["attributes_for_keys","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-attributes_for_keys","(keys)",""],["authbutton","ApplicationHelper","classes/ApplicationHelper.html#method-i-authbutton","(provider, size = 64)",""],["authenticate!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-authenticate-21","()",""],["authenticate_admin!","AdminController","classes/AdminController.html#method-i-authenticate_admin-21","()",""],["authenticated_as_admin!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-authenticated_as_admin-21","()",""],["author","Event","classes/Event.html#method-i-author","()",""],["author_email","Commit","classes/Commit.html#method-i-author_email","()",""],["author_id","Milestone","classes/Milestone.html#method-i-author_id","()",""],["author_link","CommitDecorator","classes/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","classes/Commit.html#method-i-author_name","()",""],["authorize!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-authorize-21","(action, subject)",""],["authorize_admin_issue!","IssuesController","classes/IssuesController.html#method-i-authorize_admin_issue-21","()",""],["authorize_admin_merge_request!","MergeRequestsController","classes/MergeRequestsController.html#method-i-authorize_admin_merge_request-21","()",""],["authorize_admin_milestone!","MilestonesController","classes/MilestonesController.html#method-i-authorize_admin_milestone-21","()",""],["authorize_admin_snippet!","SnippetsController","classes/SnippetsController.html#method-i-authorize_admin_snippet-21","()",""],["authorize_code_access!","ApplicationController","classes/ApplicationController.html#method-i-authorize_code_access-21","()",""],["authorize_modify_issue!","IssuesController","classes/IssuesController.html#method-i-authorize_modify_issue-21","()",""],["authorize_modify_merge_request!","MergeRequestsController","classes/MergeRequestsController.html#method-i-authorize_modify_merge_request-21","()",""],["authorize_modify_snippet!","SnippetsController","classes/SnippetsController.html#method-i-authorize_modify_snippet-21","()",""],["authorize_project!","ApplicationController","classes/ApplicationController.html#method-i-authorize_project-21","(action)",""],["authorize_read_group!","GroupsController","classes/GroupsController.html#method-i-authorize_read_group-21","()","<p>Dont allow unauthorized access to group\n"],["authorized_for","Project","classes/Project.html#method-c-authorized_for","(user)",""],["authorized_groups","Account","classes/Account.html#method-i-authorized_groups","()",""],["authorized_projects","Account","classes/Account.html#method-i-authorized_projects","()",""],["authors","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-authors","()",""],["authors_count","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-authors_count","()",""],["automerge","MergeRequestsController","classes/MergeRequestsController.html#method-i-automerge","()",""],["automerge!","MergeRequest","classes/MergeRequest.html#method-i-automerge-21","(current_user)",""],["automerge_check","MergeRequestsController","classes/MergeRequestsController.html#method-i-automerge_check","()",""],["avatar_image","UserDecorator","classes/UserDecorator.html#method-i-avatar_image","(size = 16)",""],["base_class","StaticModel::ClassMethods","classes/StaticModel/ClassMethods.html#method-i-base_class","()","<p>Used by ActiveRecord’s polymorphic association to set object_type\n"],["base_space","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-base_space","(leaves, map)",""],["block","Account","classes/Account.html#method-i-block","()","<p>Remove user from all projects and set blocked attribute to true\n"],["block","Admin::UsersController","classes/Admin/UsersController.html#method-i-block","()",""],["block_code","Redcarpet::Render::GitlabHTML","classes/Redcarpet/Render/GitlabHTML.html#method-i-block_code","(code, language)",""],["branch?","PushEvent","classes/PushEvent.html#method-i-branch-3F","()",""],["branch_from","MergeRequestsController","classes/MergeRequestsController.html#method-i-branch_from","()",""],["branch_name","PushEvent","classes/PushEvent.html#method-i-branch_name","()",""],["branch_names","Repository","classes/Repository.html#method-i-branch_names","()","<p>Returns an Array of branch names\n"],["branch_to","MergeRequestsController","classes/MergeRequestsController.html#method-i-branch_to","()",""],["branches","RepositoriesController","classes/RepositoriesController.html#method-i-branches","()",""],["branches","Repository","classes/Repository.html#method-i-branches","()","<p>Returns an Array of Branches\n"],["branches_tab_class","TabHelper","classes/TabHelper.html#method-i-branches_tab_class","()",""],["breadcrumbs","TreeDecorator","classes/TreeDecorator.html#method-i-breadcrumbs","(max_links = 2)",""],["breadcrumbs","TreeHelper","classes/TreeHelper.html#method-i-breadcrumbs","()","<p>Breadcrumb links for a Project and, if applicable, a tree path\n"],["broken_diffs?","MergeRequest","classes/MergeRequest.html#method-i-broken_diffs-3F","()",""],["build","Gitlab::Logger","classes/Gitlab/Logger.html#method-c-build","()",""],["build_commit_note","Project","classes/Project.html#method-i-build_commit_note","(commit)",""],["build_graph","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-build_graph","(n = 4)",""],["build_line_anchor","CommitsHelper","classes/CommitsHelper.html#method-i-build_line_anchor","(index, line_new, line_old)",""],["build_page","GitlabCiService","classes/GitlabCiService.html#method-i-build_page","(sha)",""],["bulk_delete","UsersProject","classes/UsersProject.html#method-c-bulk_delete","(project, user_ids)",""],["bulk_import","UsersProject","classes/UsersProject.html#method-c-bulk_import","(project, user_ids, project_access)","<p>TODO: depreceate in future in favor of add_users_into_projects\n"],["bulk_update","IssuesController","classes/IssuesController.html#method-i-bulk_update","()",""],["bulk_update","UsersProject","classes/UsersProject.html#method-c-bulk_update","(project, user_ids, project_access)",""],["can?","Account","classes/Account.html#method-i-can-3F","(action, subject)",""],["can?","ApplicationController","classes/ApplicationController.html#method-i-can-3F","(object, action, subject)",""],["can?","BaseContext","classes/BaseContext.html#method-i-can-3F","(object, action, subject)",""],["can?","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-can-3F","(object, action, subject)",""],["can?","Grack::Auth","classes/Grack/Auth.html#method-i-can-3F","(object, action, subject)",""],["can_be_closed?","Milestone","classes/Milestone.html#method-i-can_be_closed-3F","()",""],["can_be_merged?","Gitlab::Satellite::MergeAction","classes/Gitlab/Satellite/MergeAction.html#method-i-can_be_merged-3F","()","<p>Checks if a merge request can be executed without user interaction\n"],["can_be_merged?","MergeRequest","classes/MergeRequest.html#method-i-can_be_merged-3F","()",""],["can_create_group?","Account","classes/Account.html#method-i-can_create_group-3F","()",""],["can_create_project?","Account","classes/Account.html#method-i-can_create_project-3F","()",""],["can_edit?","Gitlab::Satellite::EditFileAction","classes/Gitlab/Satellite/EditFileAction.html#method-i-can_edit-3F","(last_commit)",""],["cared_merge_requests","Account","classes/Account.html#method-i-cared_merge_requests","()",""],["changed_issue?","Event","classes/Event.html#method-i-changed_issue-3F","()",""],["changed_merge_request?","Event","classes/Event.html#method-i-changed_merge_request-3F","()",""],["check_if_can_be_merged","MergeRequest","classes/MergeRequest.html#method-i-check_if_can_be_merged","()",""],["check_limit","Project","classes/Project.html#method-i-check_limit","()",""],["check_validity!","FileSizeValidator","classes/FileSizeValidator.html#method-i-check_validity-21","()",""],["chief","NamespacedProject","classes/NamespacedProject.html#method-i-chief","()",""],["ci_build_details_path","MergeRequestsHelper","classes/MergeRequestsHelper.html#method-i-ci_build_details_path","(merge_request)",""],["ci_status","MergeRequestsController","classes/MergeRequestsController.html#method-i-ci_status","()",""],["clean_repo","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-clean_repo","(repo_name)",""],["clear_and_update!","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-clear_and_update-21","()",""],["closed?","Event","classes/Event.html#method-i-closed-3F","()",""],["closed_event","MergeRequest","classes/MergeRequest.html#method-i-closed_event","()",""],["closed_items_count","Milestone","classes/Milestone.html#method-i-closed_items_count","()",""],["code","Project","classes/Project.html#method-i-code","()","<p>For compatibility with old code\n"],["collect_authors","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-collect_authors","()",""],["collect_commits","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-collect_commits","()","<p>Get commits from repository\n"],["comments","EventFilter","classes/EventFilter.html#method-c-comments","()",""],["commit","ProtectedBranch","classes/ProtectedBranch.html#method-i-commit","()",""],["commit","Repository","classes/Repository.html#method-i-commit","(commit_id = nil)",""],["commit!","Gitlab::Satellite::EditFileAction","classes/Gitlab/Satellite/EditFileAction.html#method-i-commit-21","(content, commit_message, last_commit)","<p>Updates the files content and creates a new commit for it\n<p>Returns false if the ref has been updated while …\n"],["commit_author","Note","classes/Note.html#method-i-commit_author","()",""],["commit_badge_path","GitlabCiService","classes/GitlabCiService.html#method-i-commit_badge_path","(sha)",""],["commit_from","PushEvent","classes/PushEvent.html#method-i-commit_from","()",""],["commit_line_notes","Project","classes/Project.html#method-i-commit_line_notes","(commit)",""],["commit_notes","Project","classes/Project.html#method-i-commit_notes","(commit)",""],["commit_status","GitlabCiService","classes/GitlabCiService.html#method-i-commit_status","(sha)",""],["commit_status_path","GitlabCiService","classes/GitlabCiService.html#method-i-commit_status_path","(sha)",""],["commit_to","PushEvent","classes/PushEvent.html#method-i-commit_to","()",""],["commit_to_html","CommitsHelper","classes/CommitsHelper.html#method-i-commit_to_html","(commit)",""],["commits","Commit","classes/Commit.html#method-c-commits","(repo, ref, path = nil, limit = nil, offset = nil)",""],["commits","MergeRequest","classes/MergeRequest.html#method-i-commits","()",""],["commits","PushEvent","classes/PushEvent.html#method-i-commits","()","<p>Max 20 commits from push DESC\n"],["commits","Repository","classes/Repository.html#method-i-commits","(ref, path = nil, limit = nil, offset = nil)",""],["commits_between","Commit","classes/Commit.html#method-c-commits_between","(repo, from, to)",""],["commits_between","Repository","classes/Repository.html#method-i-commits_between","(from, to)",""],["commits_count","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-commits_count","()",""],["commits_count","PushEvent","classes/PushEvent.html#method-i-commits_count","()",""],["commits_since","Commit","classes/Commit.html#method-c-commits_since","(repo, date)",""],["commits_since","Repository","classes/Repository.html#method-i-commits_since","(date)",""],["commits_with_refs","Commit","classes/Commit.html#method-c-commits_with_refs","(repo, n = 20)",""],["commits_with_refs","Repository","classes/Repository.html#method-i-commits_with_refs","(n = 20)",""],["committer_email","Commit","classes/Commit.html#method-i-committer_email","()",""],["committer_link","CommitDecorator","classes/CommitDecorator.html#method-i-committer_link","(options = {})","<p>Just like #author_link but for the committer.\n"],["committer_name","Commit","classes/Commit.html#method-i-committer_name","()",""],["common_notes","Project","classes/Project.html#method-i-common_notes","()",""],["compare","Commit","classes/Commit.html#method-c-compare","(project, from, to)",""],["compose_service_hook","GitlabCiService","classes/GitlabCiService.html#method-i-compose_service_hook","()",""],["config","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-config","()",""],["content_types","Snippet","classes/Snippet.html#method-c-content_types","()",""],["create","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-create","()",""],["create","Admin::HooksController","classes/Admin/HooksController.html#method-i-create","()",""],["create","Admin::UsersController","classes/Admin/UsersController.html#method-i-create","()",""],["create","CompareController","classes/CompareController.html#method-i-create","()",""],["create","DeployKeysController","classes/DeployKeysController.html#method-i-create","()",""],["create","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-create","()",""],["create","HooksController","classes/HooksController.html#method-i-create","()",""],["create","IssuesController","classes/IssuesController.html#method-i-create","()",""],["create","KeysController","classes/KeysController.html#method-i-create","()",""],["create","MergeRequestsController","classes/MergeRequestsController.html#method-i-create","()",""],["create","MilestonesController","classes/MilestonesController.html#method-i-create","()",""],["create","NotesController","classes/NotesController.html#method-i-create","()",""],["create","ProjectsController","classes/ProjectsController.html#method-i-create","()",""],["create","ProtectedBranchesController","classes/ProtectedBranchesController.html#method-i-create","()",""],["create","SnippetsController","classes/SnippetsController.html#method-i-create","()",""],["create","TeamMembersController","classes/TeamMembersController.html#method-i-create","()",""],["create","WikisController","classes/WikisController.html#method-i-create","()",""],["create_by_user","Project","classes/Project.html#method-c-create_by_user","(params, user)",""],["create_from_omniauth","Gitlab::Auth","classes/Gitlab/Auth.html#method-i-create_from_omniauth","(auth, ldap = false)",""],["create_from_omniauth","User","classes/User.html#method-c-create_from_omniauth","(auth, ldap = false)",""],["create_repository","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-create_repository","(project)",""],["create_status_change_note","Note","classes/Note.html#method-c-create_status_change_note","(noteable, author, status)",""],["created_at","Commit","classes/Commit.html#method-i-created_at","()",""],["css_class_by_id","Gitlab::Theme","classes/Gitlab/Theme.html#method-c-css_class_by_id","(id)",""],["current_action?","ApplicationHelper","classes/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","classes/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","classes/Grack/Auth.html#method-i-current_ref","()",""],["current_user","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-current_user","()",""],["dashboard_filter","DashboardController","classes/DashboardController.html#method-i-dashboard_filter","(items)",""],["dashboard_filter_path","DashboardHelper","classes/DashboardHelper.html#method-i-dashboard_filter_path","(entity, options={})",""],["data","Snippet","classes/Snippet.html#method-i-data","()",""],["default_filter","EventFilter","classes/EventFilter.html#method-c-default_filter","()",""],["default_regex","Gitlab::Regex","classes/Gitlab/Regex.html#method-i-default_regex","()",""],["define_show_vars","MergeRequestsController","classes/MergeRequestsController.html#method-i-define_show_vars","()",""],["define_tree_vars","RefsController","classes/RefsController.html#method-i-define_tree_vars","()",""],["delete_users_ids_from_team","Team","classes/Team.html#method-i-delete_users_ids_from_team","(users_ids)","<p>Delete multiple users from project by user ids\n"],["description","CommitDecorator","classes/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","ProfilesController","classes/ProfilesController.html#method-i-design","()",""],["destroy","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-destroy","()",""],["destroy","Admin::HooksController","classes/Admin/HooksController.html#method-i-destroy","()",""],["destroy","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-destroy","()",""],["destroy","Admin::TeamMembersController","classes/Admin/TeamMembersController.html#method-i-destroy","()",""],["destroy","Admin::UsersController","classes/Admin/UsersController.html#method-i-destroy","()",""],["destroy","DeployKeysController","classes/DeployKeysController.html#method-i-destroy","()",""],["destroy","HooksController","classes/HooksController.html#method-i-destroy","()",""],["destroy","KeysController","classes/KeysController.html#method-i-destroy","()",""],["destroy","MilestonesController","classes/MilestonesController.html#method-i-destroy","()",""],["destroy","NotesController","classes/NotesController.html#method-i-destroy","()",""],["destroy","ProjectsController","classes/ProjectsController.html#method-i-destroy","()",""],["destroy","ProtectedBranchesController","classes/ProtectedBranchesController.html#method-i-destroy","()",""],["destroy","SnippetsController","classes/SnippetsController.html#method-i-destroy","()",""],["destroy","TeamMembersController","classes/TeamMembersController.html#method-i-destroy","()",""],["destroy","WikisController","classes/WikisController.html#method-i-destroy","()",""],["destroy_project","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-destroy_project","(project)",""],["destroy_project!","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-destroy_project-21","(project)",""],["destroy_repository","Repository","classes/Repository.html#method-i-destroy_repository","()",""],["destroyed?","StaticModel","classes/StaticModel.html#method-i-destroyed-3F","()",""],["determine_action","Event","classes/Event.html#method-c-determine_action","(record)",""],["dev_access_for?","Authority","classes/Authority.html#method-i-dev_access_for-3F","(user)",""],["dev_tools","ApplicationController","classes/ApplicationController.html#method-i-dev_tools","()",""],["diff_line_content","CommitsHelper","classes/CommitsHelper.html#method-i-diff_line_content","(line)",""],["different_committer?","Commit","classes/Commit.html#method-i-different_committer-3F","()","<p>Was this commit committed by a different person than the original author?\n"],["diffs","MergeRequest","classes/MergeRequest.html#method-i-diffs","()",""],["diffs","MergeRequestsController","classes/MergeRequestsController.html#method-i-diffs","()",""],["dir_exists?","Namespace","classes/Namespace.html#method-i-dir_exists-3F","()",""],["discover_default_branch","Repository","classes/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","classes/Note.html#method-i-downvote-3F","()","<p>Returns true if this is a downvote note, otherwise false is returned\n"],["downvotes","Votes","classes/Votes.html#method-i-downvotes","()","<p>Return the number of -1 comments (downvotes)\n"],["downvotes_in_percent","Votes","classes/Votes.html#method-i-downvotes_in_percent","()",""],["each_diff_line","CommitsHelper","classes/CommitsHelper.html#method-i-each_diff_line","(diff_arr, index)",""],["edit","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-edit","()",""],["edit","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-edit","()",""],["edit","Admin::TeamMembersController","classes/Admin/TeamMembersController.html#method-i-edit","()",""],["edit","Admin::UsersController","classes/Admin/UsersController.html#method-i-edit","()",""],["edit","IssuesController","classes/IssuesController.html#method-i-edit","()",""],["edit","MergeRequestsController","classes/MergeRequestsController.html#method-i-edit","()",""],["edit","MilestonesController","classes/MilestonesController.html#method-i-edit","()",""],["edit","ProjectsController","classes/ProjectsController.html#method-i-edit","()",""],["edit","ServicesController","classes/ServicesController.html#method-i-edit","()",""],["edit","SnippetsController","classes/SnippetsController.html#method-i-edit","()",""],["edit","TreeController","classes/TreeController.html#method-i-edit","()",""],["edit","WikisController","classes/WikisController.html#method-i-edit","()",""],["emoji_autocomplete_source","ApplicationHelper","classes/ApplicationHelper.html#method-i-emoji_autocomplete_source","()",""],["empty?","Tree","classes/Tree.html#method-i-empty-3F","()",""],["empty_repo?","Repository","classes/Repository.html#method-i-empty_repo-3F","()",""],["enable_automerge","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-enable_automerge","()",""],["ensure_dir_exist","Namespace","classes/Namespace.html#method-i-ensure_dir_exist","()",""],["entities_per_project","DashboardHelper","classes/DashboardHelper.html#method-i-entities_per_project","(project, entity)",""],["error","Gitlab::Logger","classes/Gitlab/Logger.html#method-c-error","(message)",""],["event_action_name","EventsHelper","classes/EventsHelper.html#method-i-event_action_name","(event)",""],["event_filter","DashboardController","classes/DashboardController.html#method-i-event_filter","()",""],["event_filter_link","EventsHelper","classes/EventsHelper.html#method-i-event_filter_link","(key, tooltip)",""],["event_image","EventsHelper","classes/EventsHelper.html#method-i-event_image","(event)",""],["execute","CommitLoadContext","classes/CommitLoadContext.html#method-i-execute","()",""],["execute","Gitlab::ProjectMover","classes/Gitlab/ProjectMover.html#method-i-execute","()",""],["execute","IssuesBulkUpdateContext","classes/IssuesBulkUpdateContext.html#method-i-execute","()",""],["execute","IssuesListContext","classes/IssuesListContext.html#method-i-execute","()",""],["execute","MergeRequestsLoadContext","classes/MergeRequestsLoadContext.html#method-i-execute","()",""],["execute","Notes::CreateContext","classes/Notes/CreateContext.html#method-i-execute","()",""],["execute","Notes::LoadContext","classes/Notes/LoadContext.html#method-i-execute","()",""],["execute","ProjectUpdateContext","classes/ProjectUpdateContext.html#method-i-execute","(role = :default)",""],["execute","SearchContext","classes/SearchContext.html#method-i-execute","()",""],["execute","TestHookContext","classes/TestHookContext.html#method-i-execute","()",""],["execute","WebHook","classes/WebHook.html#method-i-execute","(data)",""],["execute_hooks","PushObserver","classes/PushObserver.html#method-i-execute_hooks","(data)",""],["execute_services","PushObserver","classes/PushObserver.html#method-i-execute_services","(data)",""],["exists?","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-exists-3F","()",""],["expired?","Milestone","classes/Milestone.html#method-i-expired-3F","()",""],["expired?","Snippet","classes/Snippet.html#method-i-expired-3F","()",""],["expires_at","Milestone","classes/Milestone.html#method-i-expires_at","()",""],["extract_ref","ExtractsPath","classes/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","classes/OmniauthCallbacksController.html#method-i-failure_message","()","<p>Extend the standard message generation to accept our custom exception\n"],["feed_summary","EventDecorator","classes/EventDecorator.html#method-i-feed_summary","()",""],["feed_title","EventDecorator","classes/EventDecorator.html#method-i-feed_title","()",""],["feed_url","EventDecorator","classes/EventDecorator.html#method-i-feed_url","()",""],["file_name","Gitlab::AppLogger","classes/Gitlab/AppLogger.html#method-c-file_name","()",""],["file_name","Gitlab::GitLogger","classes/Gitlab/GitLogger.html#method-c-file_name","()",""],["files","ProjectsController","classes/ProjectsController.html#method-i-files","()",""],["files_count","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-files_count","()",""],["filter","User","classes/User.html#method-c-filter","(filter_name)",""],["find_all_by_branch","MergeRequest","classes/MergeRequest.html#method-c-find_all_by_branch","(branch_name)",""],["find_all_by_milestone","MergeRequest","classes/MergeRequest.html#method-c-find_all_by_milestone","(milestone)",""],["find_for_ldap_auth","Gitlab::Auth","classes/Gitlab/Auth.html#method-i-find_for_ldap_auth","(auth, signed_in_resource = nil)",""],["find_for_ldap_auth","User","classes/User.html#method-c-find_for_ldap_auth","(auth, signed_in_resource = nil)",""],["find_free_space","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-find_free_space","(leaves, map)",""],["find_or_first","Commit","classes/Commit.html#method-c-find_or_first","(repo, commit_id = nil, root_ref)",""],["find_or_new_for_omniauth","Gitlab::Auth","classes/Gitlab/Auth.html#method-i-find_or_new_for_omniauth","(auth)",""],["find_or_new_for_omniauth","User","classes/User.html#method-c-find_or_new_for_omniauth","(auth)",""],["find_project","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-find_project","()",""],["find_with_namespace","Project","classes/Project.html#method-c-find_with_namespace","(id)",""],["fingerprintable_key","Key","classes/Key.html#method-i-fingerprintable_key","()",""],["first_name","Account","classes/Account.html#method-i-first_name","()",""],["for_commit?","Note","classes/Note.html#method-i-for_commit-3F","()",""],["for_diff_line?","Note","classes/Note.html#method-i-for_diff_line-3F","()",""],["forbidden!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-forbidden-21","()","<p>error helpers\n"],["format_message","Gitlab::AppLogger","classes/Gitlab/AppLogger.html#method-i-format_message","(severity, timestamp, progname, msg)",""],["format_message","Gitlab::GitLogger","classes/Gitlab/GitLogger.html#method-i-format_message","(severity, timestamp, progname, msg)",""],["fresh_commits","Commit","classes/Commit.html#method-c-fresh_commits","(repo, n = 10)",""],["fresh_commits","Repository","classes/Repository.html#method-i-fresh_commits","(n = 10)",""],["generate_password","User","classes/User.html#method-i-generate_password","()",""],["gfm","Gitlab::Markdown","classes/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","classes/Project.html#method-i-git_error-3F","()",""],["git_host","GitHost","classes/GitHost.html#method-i-git_host","()",""],["git_not_found!","ApplicationController","classes/ApplicationController.html#method-i-git_not_found-21","()",""],["githost","ErrorsController","classes/ErrorsController.html#method-i-githost","()",""],["gitlab_auth","User","classes/User.html#method-c-gitlab_auth","()",""],["gitlab_ci?","Project","classes/Project.html#method-i-gitlab_ci-3F","()",""],["gitlab_markdown?","TreeHelper","classes/TreeHelper.html#method-i-gitlab_markdown-3F","(filename)",""],["global_id","Namespace","classes/Namespace.html#method-c-global_id","()",""],["graph","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-i-graph","()",""],["graph","ProjectsController","classes/ProjectsController.html#method-i-graph","()",""],["gravatar_icon","ApplicationHelper","classes/ApplicationHelper.html#method-i-gravatar_icon","(user_email = '', size = nil)",""],["group","GroupsController","classes/GroupsController.html#method-i-group","()",""],["group_abilities","Ability","classes/Ability.html#method-c-group_abilities","(user, group)",""],["grouped_options_refs","ApplicationHelper","classes/ApplicationHelper.html#method-i-grouped_options_refs","(destination = :tree)",""],["grouper_project_members","ProjectsHelper","classes/ProjectsHelper.html#method-i-grouper_project_members","(project)",""],["guest_access_for?","Authority","classes/Authority.html#method-i-guest_access_for-3F","(user)",""],["has_commits?","Repository","classes/Repository.html#method-i-has_commits-3F","()",""],["has_post_receive_file?","Repository","classes/Repository.html#method-i-has_post_receive_file-3F","()",""],["heads","Repository","classes/Repository.html#method-i-heads","()",""],["help","FileSizeValidator","classes/FileSizeValidator.html#method-i-help","()",""],["hexdigest","ApplicationHelper","classes/ApplicationHelper.html#method-i-hexdigest","(string)",""],["history","ProfilesController","classes/ProfilesController.html#method-i-history","()",""],["history","WikisController","classes/WikisController.html#method-i-history","()",""],["hook_file","Repository","classes/Repository.html#method-i-hook_file","()",""],["http_url_to_repo","Repository","classes/Repository.html#method-i-http_url_to_repo","()",""],["human_name","Group","classes/Group.html#method-i-human_name","()",""],["human_name","Namespace","classes/Namespace.html#method-i-human_name","()",""],["human_state","MergeRequest","classes/MergeRequest.html#method-i-human_state","()",""],["identification_type","CommitsHelper","classes/CommitsHelper.html#method-i-identification_type","(line)",""],["identifier","Account","classes/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","classes/CommitsHelper.html#method-i-image_diff_class","(diff)",""],["import_team","UsersProject","classes/UsersProject.html#method-c-import_team","(source_project, target_project)",""],["in_locked_and_timed_satellite","Gitlab::Satellite::Action","classes/Gitlab/Satellite/Action.html#method-i-in_locked_and_timed_satellite","()","<p>Sets a 30s timeout for Git\n<p>Locks the satellite repo\n<p>Yields the prepared satellite repo\n"],["index","Admin::DashboardController","classes/Admin/DashboardController.html#method-i-index","()",""],["index","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-index","()",""],["index","Admin::HooksController","classes/Admin/HooksController.html#method-i-index","()",""],["index","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-index","()",""],["index","Admin::UsersController","classes/Admin/UsersController.html#method-i-index","()",""],["index","CompareController","classes/CompareController.html#method-i-index","()",""],["index","DashboardController","classes/DashboardController.html#method-i-index","()",""],["index","DeployKeysController","classes/DeployKeysController.html#method-i-index","()",""],["index","HelpController","classes/HelpController.html#method-i-index","()",""],["index","HooksController","classes/HooksController.html#method-i-index","()",""],["index","IssuesController","classes/IssuesController.html#method-i-index","()",""],["index","KeysController","classes/KeysController.html#method-i-index","()",""],["index","LabelsController","classes/LabelsController.html#method-i-index","()",""],["index","MergeRequestsController","classes/MergeRequestsController.html#method-i-index","()",""],["index","MilestonesController","classes/MilestonesController.html#method-i-index","()",""],["index","NotesController","classes/NotesController.html#method-i-index","()",""],["index","ProtectedBranchesController","classes/ProtectedBranchesController.html#method-i-index","()",""],["index","ServicesController","classes/ServicesController.html#method-i-index","()",""],["index","SnippetsController","classes/SnippetsController.html#method-i-index","()",""],["index","TeamMembersController","classes/TeamMembersController.html#method-i-index","()",""],["index_commits","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-index_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","classes/Gitlab/Logger.html#method-c-info","(message)",""],["invalid?","Tree","classes/Tree.html#method-i-invalid-3F","()",""],["is_admin?","Account","classes/Account.html#method-i-is_admin-3F","()",""],["is_assigned?","IssueCommonality","classes/IssueCommonality.html#method-i-is_assigned-3F","()",""],["is_being_closed?","IssueCommonality","classes/IssueCommonality.html#method-i-is_being_closed-3F","()",""],["is_being_reassigned?","IssueCommonality","classes/IssueCommonality.html#method-i-is_being_reassigned-3F","()",""],["is_being_reopened?","IssueCommonality","classes/IssueCommonality.html#method-i-is_being_reopened-3F","()",""],["is_blob?","Tree","classes/Tree.html#method-i-is_blob-3F","()",""],["is_deploy_key","Key","classes/Key.html#method-i-is_deploy_key","()",""],["is_empty?","Milestone","classes/Milestone.html#method-i-is_empty-3F","()",""],["issue","Event","classes/Event.html#method-i-issue","()",""],["issue","IssuesController","classes/IssuesController.html#method-i-issue","()",""],["issue?","Event","classes/Event.html#method-i-issue-3F","()",""],["issue_css_classes","IssuesHelper","classes/IssuesHelper.html#method-i-issue_css_classes","(issue)",""],["issue_status_changed_email","Notify","classes/Notify.html#method-i-issue_status_changed_email","(recipient_id, issue_id, status, updated_by_user_id)",""],["issue_tags","IssuesHelper","classes/IssuesHelper.html#method-i-issue_tags","()",""],["issues","DashboardController","classes/DashboardController.html#method-i-issues","()","<p>Get only assigned issues\n"],["issues","GroupsController","classes/GroupsController.html#method-i-issues","()","<p>Get only assigned issues\n"],["issues_active_milestones","IssuesHelper","classes/IssuesHelper.html#method-i-issues_active_milestones","()",""],["issues_filter","IssuesHelper","classes/IssuesHelper.html#method-i-issues_filter","()",""],["issues_filtered","IssuesController","classes/IssuesController.html#method-i-issues_filtered","()",""],["issues_labels","Project","classes/Project.html#method-i-issues_labels","()",""],["items_for","Project","classes/Project.html#method-i-items_for","(entity)",""],["joined?","Event","classes/Event.html#method-i-joined-3F","()",""],["labels_autocomplete_source","IssuesHelper","classes/IssuesHelper.html#method-i-labels_autocomplete_source","()",""],["last_activity","Project","classes/Project.html#method-i-last_activity","()",""],["last_activity_date","Project","classes/Project.html#method-i-last_activity_date","()",""],["last_activity_project","Account","classes/Account.html#method-i-last_activity_project","()",""],["last_commit","ApplicationHelper","classes/ApplicationHelper.html#method-i-last_commit","(project)",""],["last_commit","MergeRequest","classes/MergeRequest.html#method-i-last_commit","()",""],["last_commit","PushEvent","classes/PushEvent.html#method-i-last_commit","()",""],["last_commit_for","Repository","classes/Repository.html#method-i-last_commit_for","(ref, path = nil)",""],["last_commit_short_sha","MergeRequest","classes/MergeRequest.html#method-i-last_commit_short_sha","()",""],["last_deploy?","Key","classes/Key.html#method-i-last_deploy-3F","()",""],["last_push_to_non_root?","PushEvent","classes/PushEvent.html#method-i-last_push_to_non_root-3F","()",""],["ldap","OmniauthCallbacksController","classes/OmniauthCallbacksController.html#method-i-ldap","()",""],["ldap_enable?","ApplicationHelper","classes/ApplicationHelper.html#method-i-ldap_enable-3F","()",""],["left?","Event","classes/Event.html#method-i-left-3F","()",""],["lifetime_select_options","SnippetsHelper","classes/SnippetsHelper.html#method-i-lifetime_select_options","()",""],["link_title","CommitDecorator","classes/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","classes/EventsHelper.html#method-i-link_to_author","(event)",""],["link_to_commit_diff_line_note","NotesHelper","classes/NotesHelper.html#method-i-link_to_commit_diff_line_note","(note)",""],["link_to_gfm","GitlabMarkdownHelper","classes/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_member","ProjectsHelper","classes/ProjectsHelper.html#method-i-link_to_member","(project, author)",""],["link_to_project","ProjectsHelper","classes/ProjectsHelper.html#method-i-link_to_project","(project)",""],["loading_more_notes?","NotesHelper","classes/NotesHelper.html#method-i-loading_more_notes-3F","()",""],["loading_new_notes?","NotesHelper","classes/NotesHelper.html#method-i-loading_new_notes-3F","()",""],["lock","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-lock","()","<p>Locks the satellite\n<p>Changes the current directory to the satellite’s working dir\n<p>Yields\n"],["lock_file","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-lock_file","()",""],["log","Gitlab::Auth","classes/Gitlab/Auth.html#method-i-log","()",""],["log","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-log","(message)",""],["log_exception","ApplicationController","classes/ApplicationController.html#method-i-log_exception","(exception)",""],["log_info","Gitlab::ProjectMover","classes/Gitlab/ProjectMover.html#method-i-log_info","(message)",""],["log_info","ProjectObserver","classes/ProjectObserver.html#method-i-log_info","(message)",""],["log_info","UserObserver","classes/UserObserver.html#method-i-log_info","(message)",""],["logs_tree","RefsController","classes/RefsController.html#method-i-logs_tree","()",""],["mark_as_merged!","MergeRequest","classes/MergeRequest.html#method-i-mark_as_merged-21","()",""],["mark_as_unchecked","MergeRequest","classes/MergeRequest.html#method-i-mark_as_unchecked","()",""],["mark_as_unmergable","MergeRequest","classes/MergeRequest.html#method-i-mark_as_unmergable","()",""],["mark_reserved","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-mark_reserved","(time_range, space)",""],["markdown","GitlabMarkdownHelper","classes/GitlabMarkdownHelper.html#method-i-markdown","(text)",""],["markup?","TreeHelper","classes/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","classes/Authority.html#method-i-master_access_for-3F","(user)",""],["max_count","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-c-max_count","()",""],["md_ref?","PushEvent","classes/PushEvent.html#method-i-md_ref-3F","()",""],["membership_changed?","Event","classes/Event.html#method-i-membership_changed-3F","()",""],["merge!","Gitlab::Satellite::MergeAction","classes/Gitlab/Satellite/MergeAction.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","classes/MergeRequest.html#method-i-merge-21","(user_id)",""],["merge_event","MergeRequest","classes/MergeRequest.html#method-i-merge_event","()",""],["merge_request","Event","classes/Event.html#method-i-merge_request","()",""],["merge_request","MergeRequestsController","classes/MergeRequestsController.html#method-i-merge_request","()",""],["merge_request?","Event","classes/Event.html#method-i-merge_request-3F","()",""],["merge_requests","DashboardController","classes/DashboardController.html#method-i-merge_requests","()","<p>Get authored or assigned open merge requests\n"],["merge_requests","GroupsController","classes/GroupsController.html#method-i-merge_requests","()","<p>Get authored or assigned open merge requests\n"],["merged","EventFilter","classes/EventFilter.html#method-c-merged","()",""],["merged?","Event","classes/Event.html#method-i-merged-3F","()",""],["merged?","MergeRequest","classes/MergeRequest.html#method-i-merged-3F","()",""],["method_missing","ApplicationController","classes/ApplicationController.html#method-i-method_missing","(method_sym, *arguments, &block)",""],["method_missing","Gitlab::Graph::Commit","classes/Gitlab/Graph/Commit.html#method-i-method_missing","(m, *args, &block)",""],["milestone","MilestonesController","classes/MilestonesController.html#method-i-milestone","()",""],["milestone?","Event","classes/Event.html#method-i-milestone-3F","()",""],["mode","Snippet","classes/Snippet.html#method-i-mode","()",""],["module_enabled","IssuesController","classes/IssuesController.html#method-i-module_enabled","()",""],["module_enabled","LabelsController","classes/LabelsController.html#method-i-module_enabled","()",""],["module_enabled","MergeRequestsController","classes/MergeRequestsController.html#method-i-module_enabled","()",""],["module_enabled","MilestonesController","classes/MilestonesController.html#method-i-module_enabled","()",""],["move_dir","Namespace","classes/Namespace.html#method-i-move_dir","()",""],["move_repository","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-move_repository","(old_repo, project)",""],["mr_and_commit_notes","MergeRequest","classes/MergeRequest.html#method-i-mr_and_commit_notes","()",""],["mr_css_classes","MergeRequestsHelper","classes/MergeRequestsHelper.html#method-i-mr_css_classes","(mr)",""],["my_own_projects","Account","classes/Account.html#method-i-my_own_projects","()",""],["name","Snippet","classes/Snippet.html#method-i-name","()",""],["name_with_namespace","NamespacedProject","classes/NamespacedProject.html#method-i-name_with_namespace","()",""],["namespace_dir","Repository","classes/Repository.html#method-i-namespace_dir","()",""],["namespace_full_path","Namespace","classes/Namespace.html#method-i-namespace_full_path","()",""],["namespace_id","Account","classes/Account.html#method-i-namespace_id","()",""],["namespace_owner","NamespacedProject","classes/NamespacedProject.html#method-i-namespace_owner","()",""],["namespaces","Account","classes/Account.html#method-i-namespaces","()",""],["namespaces_options","NamespacesHelper","classes/NamespacesHelper.html#method-i-namespaces_options","(selected = :current_user, scope = :default)",""],["nav_link","TabHelper","classes/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"],["nav_tab","TabHelper","classes/TabHelper.html#method-i-nav_tab","(key, value, &block)","<p>Use nav_tab for save controller/action but different params\n"],["new","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-new","()",""],["new","Admin::UsersController","classes/Admin/UsersController.html#method-i-new","()",""],["new","BaseContext","classes/BaseContext.html#method-c-new","(project, user, params)",""],["new","Commit","classes/Commit.html#method-c-new","(raw_commit, head = nil)",""],["new","DeployKeysController","classes/DeployKeysController.html#method-i-new","()",""],["new","EventFilter","classes/EventFilter.html#method-c-new","(params)",""],["new","FileSizeValidator","classes/FileSizeValidator.html#method-c-new","(options)",""],["new","Gitlab::GitStats","classes/Gitlab/GitStats.html#method-c-new","(repo, ref)",""],["new","Gitlab::Graph::Commit","classes/Gitlab/Graph/Commit.html#method-c-new","(commit)",""],["new","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-c-new","(project)",""],["new","Gitlab::ProjectMover","classes/Gitlab/ProjectMover.html#method-c-new","(project, old_dir, new_dir)",""],["new","Gitlab::Satellite::Action","classes/Gitlab/Satellite/Action.html#method-c-new","(user, project, options = {})",""],["new","Gitlab::Satellite::EditFileAction","classes/Gitlab/Satellite/EditFileAction.html#method-c-new","(user, project, ref, file_path)",""],["new","Gitlab::Satellite::MergeAction","classes/Gitlab/Satellite/MergeAction.html#method-c-new","(user, merge_request)",""],["new","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-c-new","(project)",""],["new","IssuesController","classes/IssuesController.html#method-i-new","()",""],["new","KeysController","classes/KeysController.html#method-i-new","()",""],["new","MergeRequestsController","classes/MergeRequestsController.html#method-i-new","()",""],["new","MilestonesController","classes/MilestonesController.html#method-i-new","()",""],["new","ProjectsController","classes/ProjectsController.html#method-i-new","()",""],["new","Redcarpet::Render::GitlabHTML","classes/Redcarpet/Render/GitlabHTML.html#method-c-new","(template, options = {})",""],["new","SearchContext","classes/SearchContext.html#method-c-new","(project_ids, params)",""],["new","SnippetsController","classes/SnippetsController.html#method-i-new","()",""],["new","TeamMembersController","classes/TeamMembersController.html#method-i-new","()",""],["new","Tree","classes/Tree.html#method-c-new","(raw_tree, project, ref = nil, path = nil)",""],["new?","IssueCommonality","classes/IssueCommonality.html#method-i-new-3F","()",""],["new_branch?","PushEvent","classes/PushEvent.html#method-i-new_branch-3F","()",""],["new_issue?","Event","classes/Event.html#method-i-new_issue-3F","()",""],["new_issue_email","Notify","classes/Notify.html#method-i-new_issue_email","(issue_id)","<p>Issue\n"],["new_merge_request?","Event","classes/Event.html#method-i-new_merge_request-3F","()",""],["new_merge_request_email","Notify","classes/Notify.html#method-i-new_merge_request_email","(merge_request_id)","<p>Merge Request\n"],["new_mr_path_from_push_event","MergeRequestsHelper","classes/MergeRequestsHelper.html#method-i-new_mr_path_from_push_event","(event)",""],["new_record?","StaticModel","classes/StaticModel.html#method-i-new_record-3F","()",""],["new_ref?","PushEvent","classes/PushEvent.html#method-i-new_ref-3F","()",""],["new_user_email","Notify","classes/Notify.html#method-i-new_user_email","(user_id, password)","<p>User\n"],["no_cache_headers","ApplicationController","classes/ApplicationController.html#method-i-no_cache_headers","()",""],["no_commit_message","CommitDecorator","classes/CommitDecorator.html#method-i-no_commit_message","()",""],["not_allowed!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-not_allowed-21","()",""],["not_found!","ApplicationController","classes/ApplicationController.html#method-i-not_found-21","()",""],["not_found!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-not_found-21","(resource = nil)",""],["not_in_project","User","classes/User.html#method-c-not_in_project","(project)",""],["note?","Event","classes/Event.html#method-i-note-3F","()",""],["note_commit?","NoteEvent","classes/NoteEvent.html#method-i-note_commit-3F","()",""],["note_commit_email","Notify","classes/Notify.html#method-i-note_commit_email","(recipient_id, note_id)","<p>Note\n"],["note_commit_id","NoteEvent","classes/NoteEvent.html#method-i-note_commit_id","()",""],["note_for_main_target?","NotesHelper","classes/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","classes/Notify.html#method-i-note_issue_email","(recipient_id, note_id)",""],["note_merge_request_email","Notify","classes/Notify.html#method-i-note_merge_request_email","(recipient_id, note_id)",""],["note_short_commit_id","NoteEvent","classes/NoteEvent.html#method-i-note_short_commit_id","()",""],["note_target","NoteEvent","classes/NoteEvent.html#method-i-note_target","()",""],["note_target_id","NoteEvent","classes/NoteEvent.html#method-i-note_target_id","()",""],["note_target_type","NoteEvent","classes/NoteEvent.html#method-i-note_target_type","()",""],["note_wall_email","Notify","classes/Notify.html#method-i-note_wall_email","(recipient_id, note_id)",""],["noteable","Note","classes/Note.html#method-i-noteable","()","<p>override to return commits, which are not active record\n"],["noteable_type_name","Note","classes/Note.html#method-i-noteable_type_name","()",""],["notes","NotesController","classes/NotesController.html#method-i-notes","()",""],["notify_only_author?","Note","classes/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","classes/NoteObserver.html#method-i-notify_team","(note)","<p>Notifies the whole team except the author of note\n"],["oauth_active_class","ProfileHelper","classes/ProfileHelper.html#method-i-oauth_active_class","(provider)",""],["observe_push","PushObserver","classes/PushObserver.html#method-i-observe_push","(data)",""],["open?","MergeRequest","classes/MergeRequest.html#method-i-open-3F","()",""],["open?","Milestone","classes/Milestone.html#method-i-open-3F","()",""],["open_branches","Repository","classes/Repository.html#method-i-open_branches","()",""],["open_for","Issue","classes/Issue.html#method-c-open_for","(user)",""],["open_items_count","Milestone","classes/Milestone.html#method-i-open_items_count","()",""],["options","EventFilter","classes/EventFilter.html#method-i-options","(key)",""],["pages","WikisController","classes/WikisController.html#method-i-pages","()",""],["paginate","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-paginate","(object)",""],["parent_commit","PushEvent","classes/PushEvent.html#method-i-parent_commit","()",""],["parents_count","Commit","classes/Commit.html#method-i-parents_count","()",""],["participants","Milestone","classes/Milestone.html#method-i-participants","()",""],["path","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-path","()",""],["path_regex","Gitlab::Regex","classes/Gitlab/Regex.html#method-i-path_regex","()",""],["path_to_repo","Repository","classes/Repository.html#method-i-path_to_repo","()",""],["path_with_namespace","NamespacedProject","classes/NamespacedProject.html#method-i-path_with_namespace","()",""],["people","GroupsController","classes/GroupsController.html#method-i-people","()",""],["percent_complete","Milestone","classes/Milestone.html#method-i-percent_complete","()",""],["perform","PostReceive","classes/PostReceive.html#method-c-perform","(repo_path, oldrev, newrev, ref, identifier)",""],["perform","SystemHookWorker","classes/SystemHookWorker.html#method-c-perform","(hook_id, data)",""],["persisted?","StaticModel","classes/StaticModel.html#method-i-persisted-3F","()",""],["person_link","CommitDecorator","classes/CommitDecorator.html#method-i-person_link","(options = {})","<p>Private: Returns a link to a person. If the person has a matching user and\nis a member of the current …\n"],["place_chain","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-place_chain","(commit, map, parent_time = nil)","<p>Add space mark on commit and its parents\n<p>@param [Graph::Commit] the commit object. @param [Hash&lt;String …\n"],["plain_text_readme?","TreeHelper","classes/TreeHelper.html#method-i-plain_text_readme-3F","(filename)",""],["post_receive_data","PushObserver","classes/PushObserver.html#method-i-post_receive_data","(oldrev, newrev, ref, user)","<p>Produce a hash of post-receive data\n<p>data = {\n\n<pre>before: String,\nafter: String,\nref: String,\nuser_id: String, ...</pre>\n"],["postprocess","Redcarpet::Render::GitlabHTML","classes/Redcarpet/Render/GitlabHTML.html#method-i-postprocess","(full_document)",""],["prepare_satellite!","Gitlab::Satellite::Action","classes/Gitlab/Satellite/Action.html#method-i-prepare_satellite-21","(repo)","<p>Clears the satellite\n<p>Updates the satellite from Gitolite\n<p>Sets up Git variables for the user\n"],["prev_commit","Commit","classes/Commit.html#method-i-prev_commit","()",""],["prev_commit_id","Commit","classes/Commit.html#method-i-prev_commit_id","()",""],["preview","NotesController","classes/NotesController.html#method-i-preview","()",""],["primary_key","StaticModel::ClassMethods","classes/StaticModel/ClassMethods.html#method-i-primary_key","()","<p>Used by ActiveRecord’s polymorphic association to set object_id\n"],["private?","Project","classes/Project.html#method-i-private-3F","()",""],["probably_merged?","MergeRequest","classes/MergeRequest.html#method-i-probably_merged-3F","()",""],["processing","Gitlab::InlineDiff","classes/Gitlab/InlineDiff.html#method-c-processing","(diff_arr)",""],["project","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-project","()",""],["project","ApplicationController","classes/ApplicationController.html#method-i-project","()",""],["project_abilities","Ability","classes/Ability.html#method-c-project_abilities","(user, project)",""],["project_access_granted_email","Notify","classes/Notify.html#method-i-project_access_granted_email","(user_project_id)","<p>Project\n"],["project_access_human","UsersProject","classes/UsersProject.html#method-i-project_access_human","()",""],["project_admin_rules","Ability","classes/Ability.html#method-c-project_admin_rules","()",""],["project_dev_rules","Ability","classes/Ability.html#method-c-project_dev_rules","()",""],["project_guest_rules","Ability","classes/Ability.html#method-c-project_guest_rules","()",""],["project_id","Project","classes/Project.html#method-i-project_id","()",""],["project_ids","Account","classes/Account.html#method-i-project_ids","()",""],["project_ids","GroupsController","classes/GroupsController.html#method-i-project_ids","()",""],["project_issues_filter_path","IssuesHelper","classes/IssuesHelper.html#method-i-project_issues_filter_path","(project, params = {})",""],["project_last_activity","ApplicationHelper","classes/ApplicationHelper.html#method-i-project_last_activity","(project)",""],["project_master_rules","Ability","classes/Ability.html#method-c-project_master_rules","()",""],["project_name","Event","classes/Event.html#method-i-project_name","()",""],["project_name_regex","Gitlab::Regex","classes/Gitlab/Regex.html#method-i-project_name_regex","()",""],["project_report_rules","Ability","classes/Ability.html#method-c-project_report_rules","()",""],["project_tab_class","TabHelper","classes/TabHelper.html#method-i-project_tab_class","()",""],["project_teams_update","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-project_teams_update","()",""],["project_title","ProjectsHelper","classes/ProjectsHelper.html#method-i-project_title","(project)",""],["project_update","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-project_update","()",""],["project_was_moved_email","Notify","classes/Notify.html#method-i-project_was_moved_email","(user_project_id)",""],["projects","DashboardController","classes/DashboardController.html#method-i-projects","()",""],["projects","GroupsController","classes/GroupsController.html#method-i-projects","()",""],["projects","Key","classes/Key.html#method-i-projects","()","<p>projects that has this key\n"],["projects_limit_percent","Account","classes/Account.html#method-i-projects_limit_percent","()",""],["projects_sorted_by_activity","Account","classes/Account.html#method-i-projects_sorted_by_activity","()",""],["proper?","Event","classes/Event.html#method-i-proper-3F","()",""],["protected_branch?","Repository","classes/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","classes/Project.html#method-i-public-3F","()",""],["push","EventFilter","classes/EventFilter.html#method-c-push","()",""],["push?","Event","classes/Event.html#method-i-push-3F","()",""],["push_action_name","PushEvent","classes/PushEvent.html#method-i-push_action_name","()",""],["push_to_branch?","PushObserver","classes/PushObserver.html#method-i-push_to_branch-3F","(ref, oldrev)",""],["push_with_commits?","PushEvent","classes/PushEvent.html#method-i-push_with_commits-3F","()",""],["quiet","Gitlab::Seeder","classes/Gitlab/Seeder.html#method-c-quiet","()",""],["raw","SnippetsController","classes/SnippetsController.html#method-i-raw","()",""],["read_latest","Gitlab::Logger","classes/Gitlab/Logger.html#method-c-read_latest","()",""],["read_latest_for","Gitlab::Logger","classes/Gitlab/Logger.html#method-c-read_latest_for","(filename)",""],["readme","TreeDecorator","classes/TreeDecorator.html#method-i-readme","()",""],["reassigned_issue_email","Notify","classes/Notify.html#method-i-reassigned_issue_email","(recipient_id, issue_id, previous_assignee_id)",""],["reassigned_merge_request_email","Notify","classes/Notify.html#method-i-reassigned_merge_request_email","(recipient_id, merge_request_id, previous_assignee_id)",""],["recent_push","Account","classes/Account.html#method-i-recent_push","(project_id = nil)",""],["ref","RefsController","classes/RefsController.html#method-i-ref","()",""],["ref_name","PushEvent","classes/PushEvent.html#method-i-ref_name","()",""],["ref_names","Repository","classes/Repository.html#method-i-ref_names","()","<p>Returns an Array of branch and tag names\n"],["ref_type","PushEvent","classes/PushEvent.html#method-i-ref_type","()",""],["regenerate_from","Wiki","classes/Wiki.html#method-c-regenerate_from","(wiki)",""],["reject_blocked!","ApplicationController","classes/ApplicationController.html#method-i-reject_blocked-21","()",""],["reload_code","MergeRequest","classes/MergeRequest.html#method-i-reload_code","()",""],["reloaded_commits","MergeRequest","classes/MergeRequest.html#method-i-reloaded_commits","()",""],["reloaded_diffs","MergeRequest","classes/MergeRequest.html#method-i-reloaded_diffs","()",""],["remove_from_team_message","ProjectsHelper","classes/ProjectsHelper.html#method-i-remove_from_team_message","(project, member)",""],["remove_key","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-remove_key","(key_id, projects)",""],["remove_project","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-remove_project","()",""],["remove_repository","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-remove_repository","(project)",""],["render_403","ApplicationController","classes/ApplicationController.html#method-i-render_403","()",""],["render_404","ApplicationController","classes/ApplicationController.html#method-i-render_404","()",""],["render_api_error!","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-render_api_error-21","(message, status)",""],["render_tree","TreeHelper","classes/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","classes/Event.html#method-i-reopened-3F","()",""],["replace_markers","Gitlab::InlineDiff","classes/Gitlab/InlineDiff.html#method-c-replace_markers","(line)",""],["repo","Gitlab::Satellite::Satellite","classes/Gitlab/Satellite/Satellite.html#method-i-repo","()",""],["repo","Repository","classes/Repository.html#method-i-repo","()",""],["repo_access_human","UsersProject","classes/UsersProject.html#method-i-repo_access_human","()",""],["repo_exists?","Repository","classes/Repository.html#method-i-repo_exists-3F","()",""],["repo_name","Project","classes/Project.html#method-i-repo_name","()",""],["report_access_for?","Authority","classes/Authority.html#method-i-report_access_for-3F","(user)",""],["repository_masters","Authority","classes/Authority.html#method-i-repository_masters","()",""],["repository_readers","Authority","classes/Authority.html#method-i-repository_readers","()",""],["repository_writers","Authority","classes/Authority.html#method-i-repository_writers","()",""],["request_protocol","ApplicationHelper","classes/ApplicationHelper.html#method-i-request_protocol","()",""],["require_non_empty_project","ApplicationController","classes/ApplicationController.html#method-i-require_non_empty_project","()",""],["require_ssh_key?","Account","classes/Account.html#method-i-require_ssh_key-3F","()",""],["reset_access","Authority","classes/Authority.html#method-i-reset_access","(user)",""],["reset_private_token","ProfilesController","classes/ProfilesController.html#method-i-reset_private_token","()",""],["result","SearchContext","classes/SearchContext.html#method-i-result","()",""],["rm_dir","Namespace","classes/Namespace.html#method-i-rm_dir","()",""],["rm_key","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-rm_key","(user)",""],["rm_ref?","PushEvent","classes/PushEvent.html#method-i-rm_ref-3F","()",""],["role_access","UsersProject","classes/UsersProject.html#method-i-role_access","()",""],["root_ref","Repository","classes/Repository.html#method-i-root_ref","()",""],["root_ref?","Repository","classes/Repository.html#method-i-root_ref-3F","(branch)",""],["safe_message","Commit","classes/Commit.html#method-i-safe_message","()",""],["satellite","Repository","classes/Repository.html#method-i-satellite","()",""],["saved?","Project","classes/Project.html#method-i-saved-3F","()",""],["search","GroupsController","classes/GroupsController.html#method-i-search","()",""],["search","IssueCommonality::ClassMethods","classes/IssueCommonality/ClassMethods.html#method-i-search","(query)",""],["search","IssuesController","classes/IssuesController.html#method-i-search","()",""],["search","Namespace","classes/Namespace.html#method-c-search","(query)",""],["search","Project","classes/Project.html#method-c-search","(query)",""],["search","User","classes/User.html#method-c-search","(query)",""],["search","Wiki","classes/Wiki.html#method-c-search","(query)",""],["search_autocomplete_source","ApplicationHelper","classes/ApplicationHelper.html#method-i-search_autocomplete_source","()",""],["send_move_instructions","Project","classes/Project.html#method-i-send_move_instructions","()",""],["send_notify_mails","NoteObserver","classes/NoteObserver.html#method-i-send_notify_mails","(note)",""],["send_reassigned_email","IssueObserver","classes/IssueObserver.html#method-i-send_reassigned_email","(issue)",""],["send_reassigned_email","MergeRequestObserver","classes/MergeRequestObserver.html#method-i-send_reassigned_email","(merge_request)",""],["send_update_instructions","Namespace","classes/Namespace.html#method-i-send_update_instructions","()",""],["services","Project","classes/Project.html#method-i-services","()",""],["set_current_user_for_observers","ApplicationController","classes/ApplicationController.html#method-i-set_current_user_for_observers","()",""],["set_identifier","Key","classes/Key.html#method-i-set_identifier","()",""],["set_key","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-set_key","(key_id, key_content, projects)",""],["set_slug","Wiki","classes/Wiki.html#method-i-set_slug","()",""],["several_namespaces?","Account","classes/Account.html#method-i-several_namespaces-3F","()",""],["short_id","Commit","classes/Commit.html#method-i-short_id","(length = 10)",""],["show","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-show","()",""],["show","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-show","()",""],["show","Admin::ResqueController","classes/Admin/ResqueController.html#method-i-show","()",""],["show","Admin::UsersController","classes/Admin/UsersController.html#method-i-show","()",""],["show","BlameController","classes/BlameController.html#method-i-show","()",""],["show","BlobController","classes/BlobController.html#method-i-show","()",""],["show","CommitController","classes/CommitController.html#method-i-show","()",""],["show","CommitsController","classes/CommitsController.html#method-i-show","()",""],["show","CompareController","classes/CompareController.html#method-i-show","()",""],["show","DeployKeysController","classes/DeployKeysController.html#method-i-show","()",""],["show","GroupsController","classes/GroupsController.html#method-i-show","()",""],["show","IssuesController","classes/IssuesController.html#method-i-show","()",""],["show","KeysController","classes/KeysController.html#method-i-show","()",""],["show","MergeRequestsController","classes/MergeRequestsController.html#method-i-show","()",""],["show","MilestonesController","classes/MilestonesController.html#method-i-show","()",""],["show","ProfilesController","classes/ProfilesController.html#method-i-show","()",""],["show","ProjectsController","classes/ProjectsController.html#method-i-show","()",""],["show","RepositoriesController","classes/RepositoriesController.html#method-i-show","()",""],["show","SearchController","classes/SearchController.html#method-i-show","()",""],["show","SnippetsController","classes/SnippetsController.html#method-i-show","()",""],["show","TeamMembersController","classes/TeamMembersController.html#method-i-show","()",""],["show","TreeController","classes/TreeController.html#method-i-show","()",""],["show","WikisController","classes/WikisController.html#method-i-show","()",""],["show_last_push_widget?","ApplicationHelper","classes/ApplicationHelper.html#method-i-show_last_push_widget-3F","(event)",""],["size","Snippet","classes/Snippet.html#method-i-size","()",""],["skip_git?","UsersProject","classes/UsersProject.html#method-i-skip_git-3F","()",""],["snippet","SnippetsController","classes/SnippetsController.html#method-i-snippet","()",""],["sort","IssuesController","classes/IssuesController.html#method-i-sort","()",""],["ssh_url_to_repo","Repository","classes/Repository.html#method-i-ssh_url_to_repo","()",""],["stats","RepositoriesController","classes/RepositoriesController.html#method-i-stats","()",""],["store_dir","AttachmentUploader","classes/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","classes/Key.html#method-i-strip_white_space","()",""],["switch","RefsController","classes/RefsController.html#method-i-switch","()",""],["tag?","PushEvent","classes/PushEvent.html#method-i-tag-3F","()",""],["tag_list","TagsHelper","classes/TagsHelper.html#method-i-tag_list","(project)",""],["tag_name","PushEvent","classes/PushEvent.html#method-i-tag_name","()",""],["tag_names","Repository","classes/Repository.html#method-i-tag_names","()","<p>Returns an Array of tag names\n"],["tag_path","TagsHelper","classes/TagsHelper.html#method-i-tag_path","(tag)",""],["tags","RepositoriesController","classes/RepositoriesController.html#method-i-tags","()",""],["tags","Repository","classes/Repository.html#method-i-tags","()","<p>Returns an Array of Tags\n"],["take_left_leaves","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-take_left_leaves","(commit, map)","<p>Takes most left subtree branch of commits which don’t have space mark yet.\n<p>@param [Graph::Commit] the …\n"],["target_title","Event","classes/Event.html#method-i-target_title","()",""],["team","EventFilter","classes/EventFilter.html#method-c-team","()",""],["team_member_by_id","Team","classes/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","classes/Team.html#method-i-team_member_by_name_or_email","(name = nil, email = nil)",""],["team_members","GroupsController","classes/GroupsController.html#method-i-team_members","()",""],["team_update","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-team_update","()",""],["team_update","Admin::UsersController","classes/Admin/UsersController.html#method-i-team_update","()",""],["team_without_note_author","NoteObserver","classes/NoteObserver.html#method-i-team_without_note_author","(note)",""],["test","Admin::HooksController","classes/Admin/HooksController.html#method-i-test","()",""],["test","HooksController","classes/HooksController.html#method-i-test","()",""],["test","ServicesController","classes/ServicesController.html#method-i-test","()",""],["title","CommitDecorator","classes/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"],["tm_of","UserDecorator","classes/UserDecorator.html#method-i-tm_of","(project)",""],["tm_path","ProjectsHelper","classes/ProjectsHelper.html#method-i-tm_path","(team_member)",""],["to_diff","Commit","classes/Commit.html#method-i-to_diff","()","<p>Shows the diff between the commit’s parent and the commit.\n<p>Cuts out the header and stats from #to_patch …\n"],["to_diff","MergeRequest","classes/MergeRequest.html#method-i-to_diff","()","<p>Returns the raw diff for this merge request\n<p>see “git diff”\n"],["to_graph_hash","Gitlab::Graph::Commit","classes/Gitlab/Graph/Commit.html#method-i-to_graph_hash","()",""],["to_json","Gitlab::Graph::JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html#method-i-to_json","(*args)",""],["to_param","Namespace","classes/Namespace.html#method-i-to_param","()",""],["to_param","Project","classes/Project.html#method-i-to_param","()",""],["to_param","StaticModel","classes/StaticModel.html#method-i-to_param","()",""],["to_param","Wiki","classes/Wiki.html#method-i-to_param","()",""],["to_patch","MergeRequest","classes/MergeRequest.html#method-i-to_patch","()","<p>Returns the commit as a series of email patches.\n<p>see “git format-patch”\n"],["today?","IssueCommonality","classes/IssueCommonality.html#method-i-today-3F","()",""],["token","ProfilesController","classes/ProfilesController.html#method-i-token","()",""],["total_items_count","Milestone","classes/Milestone.html#method-i-total_items_count","()",""],["transfer","NamespacedProject","classes/NamespacedProject.html#method-i-transfer","(new_namespace)",""],["tree","Repository","classes/Repository.html#method-i-tree","(fcommit, path = nil)",""],["tree_hex_class","TreeHelper","classes/TreeHelper.html#method-i-tree_hex_class","(content)",""],["tree_icon","TreeHelper","classes/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","classes/TreeHelper.html#method-i-tree_join","(*args)","<p>Simple shortcut to File.join\n"],["trigger_post_receive","PushObserver","classes/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"],["truncate_team","Team","classes/Team.html#method-i-truncate_team","()","<p>Remove all users from project team\n"],["truncate_team","UsersProject","classes/UsersProject.html#method-c-truncate_team","(project)",""],["truncate_teams","Group","classes/Group.html#method-i-truncate_teams","()",""],["truncate_teams","UsersProject","classes/UsersProject.html#method-c-truncate_teams","(project_ids)",""],["unassigned_filter","IssuesHelper","classes/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","classes/Gitlab/APIHelpers.html#method-i-unauthorized-21","()",""],["unblock","Admin::UsersController","classes/Admin/UsersController.html#method-i-unblock","()",""],["unchecked?","MergeRequest","classes/MergeRequest.html#method-i-unchecked-3F","()",""],["unique_key","Key","classes/Key.html#method-i-unique_key","()",""],["unmerged_commits","MergeRequest","classes/MergeRequest.html#method-i-unmerged_commits","()",""],["unmerged_diffs","MergeRequest","classes/MergeRequest.html#method-i-unmerged_diffs","()",""],["up_dir?","TreeDecorator","classes/TreeDecorator.html#method-i-up_dir-3F","()",""],["up_dir_path","TreeDecorator","classes/TreeDecorator.html#method-i-up_dir_path","()",""],["update","Admin::GroupsController","classes/Admin/GroupsController.html#method-i-update","()",""],["update","Admin::ProjectsController","classes/Admin/ProjectsController.html#method-i-update","()",""],["update","Admin::TeamMembersController","classes/Admin/TeamMembersController.html#method-i-update","()",""],["update","Admin::UsersController","classes/Admin/UsersController.html#method-i-update","()",""],["update","IssuesController","classes/IssuesController.html#method-i-update","()",""],["update","MergeRequestsController","classes/MergeRequestsController.html#method-i-update","()",""],["update","MilestonesController","classes/MilestonesController.html#method-i-update","()",""],["update","ProfilesController","classes/ProfilesController.html#method-i-update","()",""],["update","ProjectsController","classes/ProjectsController.html#method-i-update","()",""],["update","ServicesController","classes/ServicesController.html#method-i-update","()",""],["update","SnippetsController","classes/SnippetsController.html#method-i-update","()",""],["update","TeamMembersController","classes/TeamMembersController.html#method-i-update","()",""],["update","TreeController","classes/TreeController.html#method-i-update","()",""],["update_gitolite","Namespace","classes/Namespace.html#method-i-update_gitolite","()",""],["update_merge_requests","PushObserver","classes/PushObserver.html#method-i-update_merge_requests","(oldrev, newrev, ref, user)",""],["update_password","ProfilesController","classes/ProfilesController.html#method-i-update_password","()",""],["update_project","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-update_project","(project)","<p>update or create\n"],["update_project!","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-update_project-21","( project)",""],["update_project_config","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-update_project_config","(project, conf)",""],["update_projects","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-update_projects","(projects)","<p>Updates many projects and uses project.path_with_namespace as the repo path\nAn order of magnitude faster …\n"],["update_repositories","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-update_repositories","(projects)",""],["update_repository","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-update_repository","(project)",""],["update_repository","ProtectedBranch","classes/ProtectedBranch.html#method-i-update_repository","()",""],["update_repository","Repository","classes/Repository.html#method-i-update_repository","()",""],["update_repository","UsersProject","classes/UsersProject.html#method-i-update_repository","()",""],["update_username","ProfilesController","classes/ProfilesController.html#method-i-update_username","()",""],["update_users_ids_to_role","Team","classes/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","classes/Note.html#method-i-upvote-3F","()","<p>Returns true if this is an upvote note, otherwise false is returned\n"],["upvotes","Votes","classes/Votes.html#method-i-upvotes","()","<p>Return the number of +1 comments (upvotes)\n"],["upvotes_in_percent","Votes","classes/Votes.html#method-i-upvotes_in_percent","()",""],["url_to_repo","Gitlab::Gitolite","classes/Gitlab/Gitolite.html#method-i-url_to_repo","(path)",""],["url_to_repo","Repository","classes/Repository.html#method-i-url_to_repo","()",""],["user_bulk_import","UsersProject","classes/UsersProject.html#method-c-user_bulk_import","(user, project_ids, project_access)","<p>TODO: depreceate in future in favor of add_users_into_projects\n"],["user_color_scheme_class","ApplicationHelper","classes/ApplicationHelper.html#method-i-user_color_scheme_class","()",""],["user_project","Gitlab::APIHelpers","classes/Gitlab/APIHelpers.html#method-i-user_project","()",""],["username_regex","Gitlab::Regex","classes/Gitlab/Regex.html#method-i-username_regex","()",""],["users","Group","classes/Group.html#method-i-users","()",""],["valid?","Grack::Auth","classes/Grack/Auth.html#method-i-valid-3F","()",""],["valid_diffs?","MergeRequest","classes/MergeRequest.html#method-i-valid_diffs-3F","()",""],["valid_hook_file","Repository","classes/Repository.html#method-i-valid_hook_file","()",""],["valid_post_receive_file?","Repository","classes/Repository.html#method-i-valid_post_receive_file-3F","()",""],["valid_push?","PushEvent","classes/PushEvent.html#method-i-valid_push-3F","()",""],["valid_repo?","Repository","classes/Repository.html#method-i-valid_repo-3F","()",""],["validate_branches","MergeRequest","classes/MergeRequest.html#method-i-validate_branches","()",""],["validate_each","FileSizeValidator","classes/FileSizeValidator.html#method-i-validate_each","(record, attribute, value)",""],["validate_get_request","Grack::Auth","classes/Grack/Auth.html#method-i-validate_get_request","()",""],["validate_post_request","Grack::Auth","classes/Grack/Auth.html#method-i-validate_post_request","()",""],["validates_merge_request","MergeRequestsController","classes/MergeRequestsController.html#method-i-validates_merge_request","()",""],["votes_count","Votes","classes/Votes.html#method-i-votes_count","()","<p>Return the total number of votes\n"],["wall","ProjectsController","classes/ProjectsController.html#method-i-wall","()","<p>Wall\n"],["wall_note?","NoteEvent","classes/NoteEvent.html#method-i-wall_note-3F","()",""],["web_app_url","ApplicationHelper","classes/ApplicationHelper.html#method-i-web_app_url","()",""],["web_url","Project","classes/Project.html#method-i-web_url","()",""],["without_projects","User","classes/User.html#method-c-without_projects","()",""],["write_key","Gitlab::GitoliteConfig","classes/Gitlab/GitoliteConfig.html#method-i-write_key","(id, key)",""],["OFL","","files/app/assets/fonts/OFL_txt.html","","<p>Copyright © 2010, Jan Gerner (post@yanone.de) This Font Software is\nlicensed under the SIL Open Font …\n"],["post-receive","","files/lib/hooks/post-receive.html","","<p>#!/usr/bin/env bash\n<p># This file was placed here by GitLab. It makes sure that your pushed\ncommits # will …\n"]]}} \ No newline at end of file
diff --git a/doc/code/js/searchdoc.js b/doc/code/js/searchdoc.js
new file mode 100755
index 00000000000..77910c4b5fe
--- /dev/null
+++ b/doc/code/js/searchdoc.js
@@ -0,0 +1,449 @@
+Searchdoc = {};
+
+// navigation.js ------------------------------------------
+
+Searchdoc.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:
+ case 73: // i - qwerty
+ case 74: // j
+ case 75: // k
+ case 76: // l
+ case 67: // c - dvorak
+ case 72: // h
+ case 84: // t
+ case 78: // n
+ this.clearMoveTimeout();
+ break;
+ }
+ }
+
+ this.onkeydown = function(e) {
+ if (!this.navigationActive) return;
+ switch(e.keyCode) {
+ case 37: //Event.KEY_LEFT:
+ case 74: // j (qwerty)
+ case 72: // h (dvorak)
+ if (this.moveLeft()) e.preventDefault();
+ break;
+ case 38: //Event.KEY_UP:
+ case 73: // i (qwerty)
+ case 67: // c (dvorak)
+ if (e.keyCode == 38 || e.ctrlKey) {
+ if (this.moveUp()) e.preventDefault();
+ this.startMoveTimeout(false);
+ }
+ break;
+ case 39: //Event.KEY_RIGHT:
+ case 76: // l (qwerty)
+ case 78: // n (dvorak)
+ if (this.moveRight()) e.preventDefault();
+ break;
+ case 40: //Event.KEY_DOWN:
+ case 75: // k (qwerty)
+ case 84: // t (dvorak)
+ if (e.keyCode == 40 || e.ctrlKey) {
+ if (this.moveDown()) e.preventDefault();
+ this.startMoveTimeout(true);
+ }
+ break;
+ case 9: //Event.KEY_TAB:
+ case 13: //Event.KEY_RETURN:
+ if (this.$current) this.select(this.$current);
+ break;
+ case 83: // s (qwerty)
+ case 79: // o (dvorak)
+ if (e.ctrlKey) {
+ $('#search').focus();
+ e.preventDefault();
+ }
+ 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);
+ }
+}
+
+
+// scrollIntoView.js --------------------------------------
+
+function scrollIntoView(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;
+ }
+}
+
+// panel.js -----------------------------------------------
+
+Searchdoc.Panel = function(element, data, tree, frame) {
+ this.$element = $(element);
+ this.$input = $('input', element).eq(0);
+ this.$result = $('.result ul', element).eq(0);
+ this.frame = frame;
+ this.$current = null;
+ this.$view = this.$result.parent();
+ this.data = data;
+ this.searcher = new Searcher(data.index);
+
+ this.tree = new Searchdoc.Tree($('.tree', element), tree, this);
+ this.init();
+}
+
+Searchdoc.Panel.prototype = $.extend({}, Searchdoc.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.$result.click(function(e) {
+ _this.$current.removeClass('current');
+ _this.$current = $(e.target).closest('li').addClass('current');
+ _this.select();
+ _this.$input.focus();
+ });
+
+ this.initNavigation();
+ this.setNavigationActive(false);
+ }
+
+ this.search = function(value, selectFirstMatch) {
+ value = jQuery.trim(value).toLowerCase();
+ this.selectFirstMatch = selectFirstMatch;
+ if (value) {
+ this.$element.removeClass('panel_tree').addClass('panel_results');
+ this.tree.setNavigationActive(false);
+ this.setNavigationActive(true);
+ } else {
+ this.$element.addClass('panel_tree').removeClass('panel_results');
+ this.tree.setNavigationActive(true);
+ this.setNavigationActive(false);
+ }
+ 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(renderItem.call(this, results[i]));
+ };
+ if (this.firstRun && results.length > 0) {
+ this.firstRun = false;
+ this.$current = $(target.firstChild);
+ this.$current.addClass('current');
+ if (this.selectFirstMatch) this.select();
+ scrollIntoView(this.$current[0], this.$view[0])
+ }
+ if (jQuery.browser.msie) this.$element[0].className += '';
+ }
+
+ this.open = function(src) {
+ this.frame.location.href = '../' + src;
+ if (this.frame.highlight) this.frame.highlight(src);
+ }
+
+ this.select = function() {
+ this.open(this.$current.data('path'));
+ }
+
+ 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');
+ scrollIntoView($next[0], this.$view[0]);
+ this.$current = $next;
+ }
+ return true;
+ }
+
+ function renderItem(result) {
+ var li = document.createElement('li'),
+ html = '', badge = result.badge;
+ html += '<h1>' + hlt(result.title);
+ if (result.params) html += '<i>' + result.params + '</i>';
+ html += '</h1>';
+ html += '<p>';
+ if (typeof badge != 'undefined') {
+ html += '<span class="badge badge_' + (badge % 6 + 1) + '">' + escapeHTML(this.data.badges[badge] || 'unknown') + '</span>';
+ }
+ html += hlt(result.namespace) + '</p>';
+ if (result.snippet) html += '<p class="snippet">' + escapeHTML(result.snippet) + '</p>';
+ li.innerHTML = html;
+ jQuery.data(li, 'path', result.path);
+ return li;
+ }
+
+ function hlt(html) {
+ return escapeHTML(html).replace(/\u0001/g, '<b>').replace(/\u0002/g, '</b>')
+ }
+
+ function escapeHTML(html) {
+ return html.replace(/[&<>]/g, function(c) {
+ return '&#' + c.charCodeAt(0) + ';';
+ });
+ }
+
+});
+
+// tree.js ------------------------------------------------
+
+Searchdoc.Tree = function(element, tree, panel) {
+ this.$element = $(element);
+ this.$list = $('ul', element);
+ this.tree = tree;
+ this.panel = panel;
+ this.init();
+}
+
+Searchdoc.Tree.prototype = $.extend({}, Searchdoc.Navigation, new function() {
+ this.init = function() {
+ var stopper = document.createElement('li');
+ stopper.className = 'stopper';
+ this.$list[0].appendChild(stopper);
+ for (var i=0, l = this.tree.length; i < l; i++) {
+ buildAndAppendItem.call(this, this.tree[i], 0, stopper);
+ };
+ var _this = this;
+ this.$list.click(function(e) {
+ var $target = $(e.target),
+ $li = $target.closest('li');
+ if ($target.hasClass('icon')) {
+ _this.toggle($li);
+ } else {
+ _this.select($li);
+ }
+ })
+
+ this.initNavigation();
+ if (jQuery.browser.msie) document.body.className += '';
+ }
+
+ this.select = function($li) {
+ this.highlight($li);
+ var path = $li[0].searchdoc_tree_data.path;
+ if (path) this.panel.open(path);
+ }
+
+ this.highlight = function($li) {
+ if (this.$current) this.$current.removeClass('current');
+ this.$current = $li.addClass('current');
+ }
+
+ this.toggle = function($li) {
+ var closed = !$li.hasClass('closed'),
+ children = $li[0].searchdoc_tree_data.children;
+ $li.toggleClass('closed');
+ for (var i=0, l = children.length; i < l; i++) {
+ toggleVis.call(this, $(children[i].li), !closed);
+ };
+ }
+
+ this.moveRight = function() {
+ if (!this.$current) {
+ this.highlight(this.$list.find('li:first'));
+ return;
+ }
+ if (this.$current.hasClass('closed')) {
+ this.toggle(this.$current);
+ }
+ }
+
+ this.moveLeft = function() {
+ if (!this.$current) {
+ this.highlight(this.$list.find('li:first'));
+ return;
+ }
+ if (!this.$current.hasClass('closed')) {
+ this.toggle(this.$current);
+ } else {
+ var level = this.$current[0].searchdoc_tree_data.level;
+ if (level == 0) return;
+ var $next = this.$current.prevAll('li.level_' + (level - 1) + ':visible:first');
+ this.$current.removeClass('current');
+ $next.addClass('current');
+ scrollIntoView($next[0], this.$element[0]);
+ this.$current = $next;
+ }
+ }
+
+ this.move = function(isDown) {
+ if (!this.$current) {
+ this.highlight(this.$list.find('li:first'));
+ return true;
+ }
+ var next = this.$current[0];
+ if (isDown) {
+ do {
+ next = next.nextSibling;
+ if (next && next.style && next.style.display != 'none') break;
+ } while(next);
+ } else {
+ do {
+ next = next.previousSibling;
+ if (next && next.style && next.style.display != 'none') break;
+ } while(next);
+ }
+ if (next && next.className.indexOf('stopper') == -1) {
+ this.$current.removeClass('current');
+ $(next).addClass('current');
+ scrollIntoView(next, this.$element[0]);
+ this.$current = $(next);
+ }
+ return true;
+ }
+
+ function toggleVis($li, show) {
+ var closed = $li.hasClass('closed'),
+ children = $li[0].searchdoc_tree_data.children;
+ $li.css('display', show ? '' : 'none')
+ if (!show && this.$current && $li[0] == this.$current[0]) {
+ this.$current.removeClass('current');
+ this.$current = null;
+ }
+ for (var i=0, l = children.length; i < l; i++) {
+ toggleVis.call(this, $(children[i].li), show && !closed);
+ };
+ }
+
+ function buildAndAppendItem(item, level, before) {
+ var li = renderItem(item, level),
+ list = this.$list[0];
+ item.li = li;
+ list.insertBefore(li, before);
+ for (var i=0, l = item[3].length; i < l; i++) {
+ buildAndAppendItem.call(this, item[3][i], level + 1, before);
+ };
+ return li;
+ }
+
+ function renderItem(item, level) {
+ var li = document.createElement('li'),
+ cnt = document.createElement('div'),
+ h1 = document.createElement('h1'),
+ p = document.createElement('p'),
+ icon, i;
+
+ li.appendChild(cnt);
+ li.style.paddingLeft = getOffset(level);
+ cnt.className = 'content';
+ if (!item[1]) li.className = 'empty ';
+ cnt.appendChild(h1);
+ // cnt.appendChild(p);
+ h1.appendChild(document.createTextNode(item[0]));
+ // p.appendChild(document.createTextNode(item[4]));
+ if (item[2]) {
+ i = document.createElement('i');
+ i.appendChild(document.createTextNode(item[2]));
+ h1.appendChild(i);
+ }
+ if (item[3].length > 0) {
+ icon = document.createElement('div');
+ icon.className = 'icon';
+ cnt.appendChild(icon);
+ }
+
+ // user direct assignement instead of $()
+ // it's 8x faster
+ // $(li).data('path', item[1])
+ // .data('children', item[3])
+ // .data('level', level)
+ // .css('display', level == 0 ? '' : 'none')
+ // .addClass('level_' + level)
+ // .addClass('closed');
+ li.searchdoc_tree_data = {
+ path: item[1],
+ children: item[3],
+ level: level
+ }
+ li.style.display = level == 0 ? '' : 'none';
+ li.className += 'level_' + level + ' closed';
+ return li;
+ }
+
+ function getOffset(level) {
+ return 5 + 18*level + 'px';
+ }
+});
diff --git a/doc/app/js/searcher.js b/doc/code/js/searcher.js
index f854b541d03..f854b541d03 100644
--- a/doc/app/js/searcher.js
+++ b/doc/code/js/searcher.js
diff --git a/doc/code/panel/index.html b/doc/code/panel/index.html
new file mode 100755
index 00000000000..f815a113245
--- /dev/null
+++ b/doc/code/panel/index.html
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <title>search index</title>
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="../css/panel.css" type="text/css" media="screen" charset="utf-8" />
+ <script src="../js/search_index.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../js/searcher.js" type="text/javascript" charset="utf-8"></script>
+ <script src="tree.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../js/searchdoc.js" type="text/javascript" charset="utf-8"></script>
+ <script type="text/javascript" charset="utf-8">
+ function placeholder() {
+ if ($('<input type="text">')[0].placeholder !== undefined) return;
+
+ $('#search-label').click(function() {
+ $('#search').focus();
+ $('#search-label').hide();
+ });
+
+ $('#search').focus(function() {
+ $('#search-label').hide();
+ });
+ $('#search').blur(function() {
+ this.value == '' && $('#search-label').show()
+ });
+
+ $('#search')[0].value == '' && $('#search-label').show();
+ }
+ $(function() {
+ placeholder();
+ $('#links').hide();
+ var panel = new Searchdoc.Panel($('#panel'), search_data, tree, window.parent.frames[1]);
+ $('#search').focus();
+
+ var s = window.parent.location.search.match(/\?q=([^&]+)/);
+ if (s) {
+ s = decodeURIComponent(s[1]).replace(/\+/g, ' ');
+ if (s.length > 0)
+ {
+ $('#search').val(s);
+ panel.search(s, true);
+ }
+ }
+ })
+ </script>
+</head>
+<body>
+ <div class="panel panel_tree" id="panel">
+ <div class="header">
+ <div>
+ <label for="search" id="search-label" style="display: none">Search</label>
+ <table>
+ <tr><td>
+ <input type="Search" placeholder="Search" autosave="searchdoc" results="10" id="search" autocomplete="off"/>
+ </td></tr>
+ </table></div>
+ </div>
+ <div class="tree">
+ <ul>
+ </ul>
+ </div>
+ <div class="result">
+ <ul>
+ </ul>
+ </div>
+ </div>
+ <a href="links.html" id="links">index</a>
+</body>
+</html>
diff --git a/doc/code/panel/links.html b/doc/code/panel/links.html
new file mode 100644
index 00000000000..5c356c741a7
--- /dev/null
+++ b/doc/code/panel/links.html
@@ -0,0 +1,314 @@
+<html>
+ <head>File index</head>
+ <body>
+
+ <a href="../files/app/assets/fonts/OFL_txt.html">app/assets/fonts/OFL.txt</a>
+
+ <a href="../files/app/contexts/base_context_rb.html">app/contexts/base_context.rb</a>
+
+ <a href="../files/app/contexts/commit_load_context_rb.html">app/contexts/commit_load_context.rb</a>
+
+ <a href="../files/app/contexts/issues_bulk_update_context_rb.html">app/contexts/issues_bulk_update_context.rb</a>
+
+ <a href="../files/app/contexts/issues_list_context_rb.html">app/contexts/issues_list_context.rb</a>
+
+ <a href="../files/app/contexts/merge_requests_load_context_rb.html">app/contexts/merge_requests_load_context.rb</a>
+
+ <a href="../files/app/contexts/notes/create_context_rb.html">app/contexts/notes/create_context.rb</a>
+
+ <a href="../files/app/contexts/notes/load_context_rb.html">app/contexts/notes/load_context.rb</a>
+
+ <a href="../files/app/contexts/project_update_context_rb.html">app/contexts/project_update_context.rb</a>
+
+ <a href="../files/app/contexts/search_context_rb.html">app/contexts/search_context.rb</a>
+
+ <a href="../files/app/contexts/test_hook_context_rb.html">app/contexts/test_hook_context.rb</a>
+
+ <a href="../files/app/controllers/admin/dashboard_controller_rb.html">app/controllers/admin/dashboard_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/groups_controller_rb.html">app/controllers/admin/groups_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/hooks_controller_rb.html">app/controllers/admin/hooks_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/logs_controller_rb.html">app/controllers/admin/logs_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/projects_controller_rb.html">app/controllers/admin/projects_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/resque_controller_rb.html">app/controllers/admin/resque_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/team_members_controller_rb.html">app/controllers/admin/team_members_controller.rb</a>
+
+ <a href="../files/app/controllers/admin/users_controller_rb.html">app/controllers/admin/users_controller.rb</a>
+
+ <a href="../files/app/controllers/admin_controller_rb.html">app/controllers/admin_controller.rb</a>
+
+ <a href="../files/app/controllers/application_controller_rb.html">app/controllers/application_controller.rb</a>
+
+ <a href="../files/app/controllers/blame_controller_rb.html">app/controllers/blame_controller.rb</a>
+
+ <a href="../files/app/controllers/blob_controller_rb.html">app/controllers/blob_controller.rb</a>
+
+ <a href="../files/app/controllers/commit_controller_rb.html">app/controllers/commit_controller.rb</a>
+
+ <a href="../files/app/controllers/commits_controller_rb.html">app/controllers/commits_controller.rb</a>
+
+ <a href="../files/app/controllers/compare_controller_rb.html">app/controllers/compare_controller.rb</a>
+
+ <a href="../files/app/controllers/dashboard_controller_rb.html">app/controllers/dashboard_controller.rb</a>
+
+ <a href="../files/app/controllers/deploy_keys_controller_rb.html">app/controllers/deploy_keys_controller.rb</a>
+
+ <a href="../files/app/controllers/errors_controller_rb.html">app/controllers/errors_controller.rb</a>
+
+ <a href="../files/app/controllers/groups_controller_rb.html">app/controllers/groups_controller.rb</a>
+
+ <a href="../files/app/controllers/help_controller_rb.html">app/controllers/help_controller.rb</a>
+
+ <a href="../files/app/controllers/hooks_controller_rb.html">app/controllers/hooks_controller.rb</a>
+
+ <a href="../files/app/controllers/issues_controller_rb.html">app/controllers/issues_controller.rb</a>
+
+ <a href="../files/app/controllers/keys_controller_rb.html">app/controllers/keys_controller.rb</a>
+
+ <a href="../files/app/controllers/labels_controller_rb.html">app/controllers/labels_controller.rb</a>
+
+ <a href="../files/app/controllers/merge_requests_controller_rb.html">app/controllers/merge_requests_controller.rb</a>
+
+ <a href="../files/app/controllers/milestones_controller_rb.html">app/controllers/milestones_controller.rb</a>
+
+ <a href="../files/app/controllers/notes_controller_rb.html">app/controllers/notes_controller.rb</a>
+
+ <a href="../files/app/controllers/omniauth_callbacks_controller_rb.html">app/controllers/omniauth_callbacks_controller.rb</a>
+
+ <a href="../files/app/controllers/profiles_controller_rb.html">app/controllers/profiles_controller.rb</a>
+
+ <a href="../files/app/controllers/project_resource_controller_rb.html">app/controllers/project_resource_controller.rb</a>
+
+ <a href="../files/app/controllers/projects_controller_rb.html">app/controllers/projects_controller.rb</a>
+
+ <a href="../files/app/controllers/protected_branches_controller_rb.html">app/controllers/protected_branches_controller.rb</a>
+
+ <a href="../files/app/controllers/refs_controller_rb.html">app/controllers/refs_controller.rb</a>
+
+ <a href="../files/app/controllers/repositories_controller_rb.html">app/controllers/repositories_controller.rb</a>
+
+ <a href="../files/app/controllers/search_controller_rb.html">app/controllers/search_controller.rb</a>
+
+ <a href="../files/app/controllers/services_controller_rb.html">app/controllers/services_controller.rb</a>
+
+ <a href="../files/app/controllers/snippets_controller_rb.html">app/controllers/snippets_controller.rb</a>
+
+ <a href="../files/app/controllers/team_members_controller_rb.html">app/controllers/team_members_controller.rb</a>
+
+ <a href="../files/app/controllers/tree_controller_rb.html">app/controllers/tree_controller.rb</a>
+
+ <a href="../files/app/controllers/wikis_controller_rb.html">app/controllers/wikis_controller.rb</a>
+
+ <a href="../files/app/decorators/application_decorator_rb.html">app/decorators/application_decorator.rb</a>
+
+ <a href="../files/app/decorators/commit_decorator_rb.html">app/decorators/commit_decorator.rb</a>
+
+ <a href="../files/app/decorators/event_decorator_rb.html">app/decorators/event_decorator.rb</a>
+
+ <a href="../files/app/decorators/tree_decorator_rb.html">app/decorators/tree_decorator.rb</a>
+
+ <a href="../files/app/decorators/user_decorator_rb.html">app/decorators/user_decorator.rb</a>
+
+ <a href="../files/app/helpers/application_helper_rb.html">app/helpers/application_helper.rb</a>
+
+ <a href="../files/app/helpers/commits_helper_rb.html">app/helpers/commits_helper.rb</a>
+
+ <a href="../files/app/helpers/dashboard_helper_rb.html">app/helpers/dashboard_helper.rb</a>
+
+ <a href="../files/app/helpers/events_helper_rb.html">app/helpers/events_helper.rb</a>
+
+ <a href="../files/app/helpers/gitlab_markdown_helper_rb.html">app/helpers/gitlab_markdown_helper.rb</a>
+
+ <a href="../files/app/helpers/issues_helper_rb.html">app/helpers/issues_helper.rb</a>
+
+ <a href="../files/app/helpers/merge_requests_helper_rb.html">app/helpers/merge_requests_helper.rb</a>
+
+ <a href="../files/app/helpers/namespaces_helper_rb.html">app/helpers/namespaces_helper.rb</a>
+
+ <a href="../files/app/helpers/notes_helper_rb.html">app/helpers/notes_helper.rb</a>
+
+ <a href="../files/app/helpers/profile_helper_rb.html">app/helpers/profile_helper.rb</a>
+
+ <a href="../files/app/helpers/projects_helper_rb.html">app/helpers/projects_helper.rb</a>
+
+ <a href="../files/app/helpers/snippets_helper_rb.html">app/helpers/snippets_helper.rb</a>
+
+ <a href="../files/app/helpers/tab_helper_rb.html">app/helpers/tab_helper.rb</a>
+
+ <a href="../files/app/helpers/tags_helper_rb.html">app/helpers/tags_helper.rb</a>
+
+ <a href="../files/app/helpers/tree_helper_rb.html">app/helpers/tree_helper.rb</a>
+
+ <a href="../files/app/mailers/notify_rb.html">app/mailers/notify.rb</a>
+
+ <a href="../files/app/models/ability_rb.html">app/models/ability.rb</a>
+
+ <a href="../files/app/models/commit_rb.html">app/models/commit.rb</a>
+
+ <a href="../files/app/models/event_rb.html">app/models/event.rb</a>
+
+ <a href="../files/app/models/gitlab_ci_service_rb.html">app/models/gitlab_ci_service.rb</a>
+
+ <a href="../files/app/models/group_rb.html">app/models/group.rb</a>
+
+ <a href="../files/app/models/issue_rb.html">app/models/issue.rb</a>
+
+ <a href="../files/app/models/key_rb.html">app/models/key.rb</a>
+
+ <a href="../files/app/models/merge_request_rb.html">app/models/merge_request.rb</a>
+
+ <a href="../files/app/models/milestone_rb.html">app/models/milestone.rb</a>
+
+ <a href="../files/app/models/namespace_rb.html">app/models/namespace.rb</a>
+
+ <a href="../files/app/models/note_rb.html">app/models/note.rb</a>
+
+ <a href="../files/app/models/project_rb.html">app/models/project.rb</a>
+
+ <a href="../files/app/models/project_hook_rb.html">app/models/project_hook.rb</a>
+
+ <a href="../files/app/models/protected_branch_rb.html">app/models/protected_branch.rb</a>
+
+ <a href="../files/app/models/service_rb.html">app/models/service.rb</a>
+
+ <a href="../files/app/models/service_hook_rb.html">app/models/service_hook.rb</a>
+
+ <a href="../files/app/models/snippet_rb.html">app/models/snippet.rb</a>
+
+ <a href="../files/app/models/system_hook_rb.html">app/models/system_hook.rb</a>
+
+ <a href="../files/app/models/tree_rb.html">app/models/tree.rb</a>
+
+ <a href="../files/app/models/user_rb.html">app/models/user.rb</a>
+
+ <a href="../files/app/models/users_project_rb.html">app/models/users_project.rb</a>
+
+ <a href="../files/app/models/web_hook_rb.html">app/models/web_hook.rb</a>
+
+ <a href="../files/app/models/wiki_rb.html">app/models/wiki.rb</a>
+
+ <a href="../files/app/observers/activity_observer_rb.html">app/observers/activity_observer.rb</a>
+
+ <a href="../files/app/observers/issue_observer_rb.html">app/observers/issue_observer.rb</a>
+
+ <a href="../files/app/observers/key_observer_rb.html">app/observers/key_observer.rb</a>
+
+ <a href="../files/app/observers/merge_request_observer_rb.html">app/observers/merge_request_observer.rb</a>
+
+ <a href="../files/app/observers/note_observer_rb.html">app/observers/note_observer.rb</a>
+
+ <a href="../files/app/observers/project_observer_rb.html">app/observers/project_observer.rb</a>
+
+ <a href="../files/app/observers/system_hook_observer_rb.html">app/observers/system_hook_observer.rb</a>
+
+ <a href="../files/app/observers/user_observer_rb.html">app/observers/user_observer.rb</a>
+
+ <a href="../files/app/observers/users_project_observer_rb.html">app/observers/users_project_observer.rb</a>
+
+ <a href="../files/app/roles/account_rb.html">app/roles/account.rb</a>
+
+ <a href="../files/app/roles/authority_rb.html">app/roles/authority.rb</a>
+
+ <a href="../files/app/roles/git_host_rb.html">app/roles/git_host.rb</a>
+
+ <a href="../files/app/roles/issue_commonality_rb.html">app/roles/issue_commonality.rb</a>
+
+ <a href="../files/app/roles/namespaced_project_rb.html">app/roles/namespaced_project.rb</a>
+
+ <a href="../files/app/roles/note_event_rb.html">app/roles/note_event.rb</a>
+
+ <a href="../files/app/roles/push_event_rb.html">app/roles/push_event.rb</a>
+
+ <a href="../files/app/roles/push_observer_rb.html">app/roles/push_observer.rb</a>
+
+ <a href="../files/app/roles/repository_rb.html">app/roles/repository.rb</a>
+
+ <a href="../files/app/roles/static_model_rb.html">app/roles/static_model.rb</a>
+
+ <a href="../files/app/roles/team_rb.html">app/roles/team.rb</a>
+
+ <a href="../files/app/roles/votes_rb.html">app/roles/votes.rb</a>
+
+ <a href="../files/app/uploaders/attachment_uploader_rb.html">app/uploaders/attachment_uploader.rb</a>
+
+ <a href="../files/app/workers/post_receive_rb.html">app/workers/post_receive.rb</a>
+
+ <a href="../files/app/workers/system_hook_worker_rb.html">app/workers/system_hook_worker.rb</a>
+
+ <a href="../files/lib/api_rb.html">lib/api.rb</a>
+
+ <a href="../files/lib/api/entities_rb.html">lib/api/entities.rb</a>
+
+ <a href="../files/lib/api/helpers_rb.html">lib/api/helpers.rb</a>
+
+ <a href="../files/lib/api/issues_rb.html">lib/api/issues.rb</a>
+
+ <a href="../files/lib/api/merge_requests_rb.html">lib/api/merge_requests.rb</a>
+
+ <a href="../files/lib/api/milestones_rb.html">lib/api/milestones.rb</a>
+
+ <a href="../files/lib/api/notes_rb.html">lib/api/notes.rb</a>
+
+ <a href="../files/lib/api/projects_rb.html">lib/api/projects.rb</a>
+
+ <a href="../files/lib/api/session_rb.html">lib/api/session.rb</a>
+
+ <a href="../files/lib/api/users_rb.html">lib/api/users.rb</a>
+
+ <a href="../files/lib/event_filter_rb.html">lib/event_filter.rb</a>
+
+ <a href="../files/lib/extracts_path_rb.html">lib/extracts_path.rb</a>
+
+ <a href="../files/lib/file_size_validator_rb.html">lib/file_size_validator.rb</a>
+
+ <a href="../files/lib/gitlab/app_logger_rb.html">lib/gitlab/app_logger.rb</a>
+
+ <a href="../files/lib/gitlab/auth_rb.html">lib/gitlab/auth.rb</a>
+
+ <a href="../files/lib/gitlab/backend/gitolite_rb.html">lib/gitlab/backend/gitolite.rb</a>
+
+ <a href="../files/lib/gitlab/backend/gitolite_config_rb.html">lib/gitlab/backend/gitolite_config.rb</a>
+
+ <a href="../files/lib/gitlab/backend/grack_auth_rb.html">lib/gitlab/backend/grack_auth.rb</a>
+
+ <a href="../files/lib/gitlab/git_logger_rb.html">lib/gitlab/git_logger.rb</a>
+
+ <a href="../files/lib/gitlab/git_stats_rb.html">lib/gitlab/git_stats.rb</a>
+
+ <a href="../files/lib/gitlab/graph/commit_rb.html">lib/gitlab/graph/commit.rb</a>
+
+ <a href="../files/lib/gitlab/graph/json_builder_rb.html">lib/gitlab/graph/json_builder.rb</a>
+
+ <a href="../files/lib/gitlab/inline_diff_rb.html">lib/gitlab/inline_diff.rb</a>
+
+ <a href="../files/lib/gitlab/logger_rb.html">lib/gitlab/logger.rb</a>
+
+ <a href="../files/lib/gitlab/markdown_rb.html">lib/gitlab/markdown.rb</a>
+
+ <a href="../files/lib/gitlab/project_mover_rb.html">lib/gitlab/project_mover.rb</a>
+
+ <a href="../files/lib/gitlab/regex_rb.html">lib/gitlab/regex.rb</a>
+
+ <a href="../files/lib/gitlab/satellite/action_rb.html">lib/gitlab/satellite/action.rb</a>
+
+ <a href="../files/lib/gitlab/satellite/edit_file_action_rb.html">lib/gitlab/satellite/edit_file_action.rb</a>
+
+ <a href="../files/lib/gitlab/satellite/merge_action_rb.html">lib/gitlab/satellite/merge_action.rb</a>
+
+ <a href="../files/lib/gitlab/satellite/satellite_rb.html">lib/gitlab/satellite/satellite.rb</a>
+
+ <a href="../files/lib/gitlab/seeder_rb.html">lib/gitlab/seeder.rb</a>
+
+ <a href="../files/lib/gitlab/theme_rb.html">lib/gitlab/theme.rb</a>
+
+ <a href="../files/lib/hooks/post-receive.html">lib/hooks/post-receive</a>
+
+ <a href="../files/lib/redcarpet/render/gitlab_html_rb.html">lib/redcarpet/render/gitlab_html.rb</a>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/code/panel/tree.js b/doc/code/panel/tree.js
new file mode 100644
index 00000000000..eeb049224a8
--- /dev/null
+++ b/doc/code/panel/tree.js
@@ -0,0 +1 @@
+var tree = [["","","files",[["","","app",[["","","assets",[["","","fonts",[["OFL.txt","files/app/assets/fonts/OFL_txt.html","",[]]]]]],["","","contexts",[["base_context.rb","files/app/contexts/base_context_rb.html","",[]],["commit_load_context.rb","files/app/contexts/commit_load_context_rb.html","",[]],["issues_bulk_update_context.rb","files/app/contexts/issues_bulk_update_context_rb.html","",[]],["issues_list_context.rb","files/app/contexts/issues_list_context_rb.html","",[]],["merge_requests_load_context.rb","files/app/contexts/merge_requests_load_context_rb.html","",[]],["","","notes",[["create_context.rb","files/app/contexts/notes/create_context_rb.html","",[]],["load_context.rb","files/app/contexts/notes/load_context_rb.html","",[]]]],["project_update_context.rb","files/app/contexts/project_update_context_rb.html","",[]],["search_context.rb","files/app/contexts/search_context_rb.html","",[]],["test_hook_context.rb","files/app/contexts/test_hook_context_rb.html","",[]]]],["","","controllers",[["","","admin",[["dashboard_controller.rb","files/app/controllers/admin/dashboard_controller_rb.html","",[]],["groups_controller.rb","files/app/controllers/admin/groups_controller_rb.html","",[]],["hooks_controller.rb","files/app/controllers/admin/hooks_controller_rb.html","",[]],["logs_controller.rb","files/app/controllers/admin/logs_controller_rb.html","",[]],["projects_controller.rb","files/app/controllers/admin/projects_controller_rb.html","",[]],["resque_controller.rb","files/app/controllers/admin/resque_controller_rb.html","",[]],["team_members_controller.rb","files/app/controllers/admin/team_members_controller_rb.html","",[]],["users_controller.rb","files/app/controllers/admin/users_controller_rb.html","",[]]]],["admin_controller.rb","files/app/controllers/admin_controller_rb.html","",[]],["application_controller.rb","files/app/controllers/application_controller_rb.html","",[]],["blame_controller.rb","files/app/controllers/blame_controller_rb.html","",[]],["blob_controller.rb","files/app/controllers/blob_controller_rb.html","",[]],["commit_controller.rb","files/app/controllers/commit_controller_rb.html","",[]],["commits_controller.rb","files/app/controllers/commits_controller_rb.html","",[]],["compare_controller.rb","files/app/controllers/compare_controller_rb.html","",[]],["dashboard_controller.rb","files/app/controllers/dashboard_controller_rb.html","",[]],["deploy_keys_controller.rb","files/app/controllers/deploy_keys_controller_rb.html","",[]],["errors_controller.rb","files/app/controllers/errors_controller_rb.html","",[]],["groups_controller.rb","files/app/controllers/groups_controller_rb.html","",[]],["help_controller.rb","files/app/controllers/help_controller_rb.html","",[]],["hooks_controller.rb","files/app/controllers/hooks_controller_rb.html","",[]],["issues_controller.rb","files/app/controllers/issues_controller_rb.html","",[]],["keys_controller.rb","files/app/controllers/keys_controller_rb.html","",[]],["labels_controller.rb","files/app/controllers/labels_controller_rb.html","",[]],["merge_requests_controller.rb","files/app/controllers/merge_requests_controller_rb.html","",[]],["milestones_controller.rb","files/app/controllers/milestones_controller_rb.html","",[]],["notes_controller.rb","files/app/controllers/notes_controller_rb.html","",[]],["omniauth_callbacks_controller.rb","files/app/controllers/omniauth_callbacks_controller_rb.html","",[]],["profiles_controller.rb","files/app/controllers/profiles_controller_rb.html","",[]],["project_resource_controller.rb","files/app/controllers/project_resource_controller_rb.html","",[]],["projects_controller.rb","files/app/controllers/projects_controller_rb.html","",[]],["protected_branches_controller.rb","files/app/controllers/protected_branches_controller_rb.html","",[]],["refs_controller.rb","files/app/controllers/refs_controller_rb.html","",[]],["repositories_controller.rb","files/app/controllers/repositories_controller_rb.html","",[]],["search_controller.rb","files/app/controllers/search_controller_rb.html","",[]],["services_controller.rb","files/app/controllers/services_controller_rb.html","",[]],["snippets_controller.rb","files/app/controllers/snippets_controller_rb.html","",[]],["team_members_controller.rb","files/app/controllers/team_members_controller_rb.html","",[]],["tree_controller.rb","files/app/controllers/tree_controller_rb.html","",[]],["wikis_controller.rb","files/app/controllers/wikis_controller_rb.html","",[]]]],["","","decorators",[["application_decorator.rb","files/app/decorators/application_decorator_rb.html","",[]],["commit_decorator.rb","files/app/decorators/commit_decorator_rb.html","",[]],["event_decorator.rb","files/app/decorators/event_decorator_rb.html","",[]],["tree_decorator.rb","files/app/decorators/tree_decorator_rb.html","",[]],["user_decorator.rb","files/app/decorators/user_decorator_rb.html","",[]]]],["","","helpers",[["application_helper.rb","files/app/helpers/application_helper_rb.html","",[]],["commits_helper.rb","files/app/helpers/commits_helper_rb.html","",[]],["dashboard_helper.rb","files/app/helpers/dashboard_helper_rb.html","",[]],["events_helper.rb","files/app/helpers/events_helper_rb.html","",[]],["gitlab_markdown_helper.rb","files/app/helpers/gitlab_markdown_helper_rb.html","",[]],["issues_helper.rb","files/app/helpers/issues_helper_rb.html","",[]],["merge_requests_helper.rb","files/app/helpers/merge_requests_helper_rb.html","",[]],["namespaces_helper.rb","files/app/helpers/namespaces_helper_rb.html","",[]],["notes_helper.rb","files/app/helpers/notes_helper_rb.html","",[]],["profile_helper.rb","files/app/helpers/profile_helper_rb.html","",[]],["projects_helper.rb","files/app/helpers/projects_helper_rb.html","",[]],["snippets_helper.rb","files/app/helpers/snippets_helper_rb.html","",[]],["tab_helper.rb","files/app/helpers/tab_helper_rb.html","",[]],["tags_helper.rb","files/app/helpers/tags_helper_rb.html","",[]],["tree_helper.rb","files/app/helpers/tree_helper_rb.html","",[]]]],["","","mailers",[["notify.rb","files/app/mailers/notify_rb.html","",[]]]],["","","models",[["ability.rb","files/app/models/ability_rb.html","",[]],["commit.rb","files/app/models/commit_rb.html","",[]],["event.rb","files/app/models/event_rb.html","",[]],["gitlab_ci_service.rb","files/app/models/gitlab_ci_service_rb.html","",[]],["group.rb","files/app/models/group_rb.html","",[]],["issue.rb","files/app/models/issue_rb.html","",[]],["key.rb","files/app/models/key_rb.html","",[]],["merge_request.rb","files/app/models/merge_request_rb.html","",[]],["milestone.rb","files/app/models/milestone_rb.html","",[]],["namespace.rb","files/app/models/namespace_rb.html","",[]],["note.rb","files/app/models/note_rb.html","",[]],["project.rb","files/app/models/project_rb.html","",[]],["project_hook.rb","files/app/models/project_hook_rb.html","",[]],["protected_branch.rb","files/app/models/protected_branch_rb.html","",[]],["service.rb","files/app/models/service_rb.html","",[]],["service_hook.rb","files/app/models/service_hook_rb.html","",[]],["snippet.rb","files/app/models/snippet_rb.html","",[]],["system_hook.rb","files/app/models/system_hook_rb.html","",[]],["tree.rb","files/app/models/tree_rb.html","",[]],["user.rb","files/app/models/user_rb.html","",[]],["users_project.rb","files/app/models/users_project_rb.html","",[]],["web_hook.rb","files/app/models/web_hook_rb.html","",[]],["wiki.rb","files/app/models/wiki_rb.html","",[]]]],["","","observers",[["activity_observer.rb","files/app/observers/activity_observer_rb.html","",[]],["issue_observer.rb","files/app/observers/issue_observer_rb.html","",[]],["key_observer.rb","files/app/observers/key_observer_rb.html","",[]],["merge_request_observer.rb","files/app/observers/merge_request_observer_rb.html","",[]],["note_observer.rb","files/app/observers/note_observer_rb.html","",[]],["project_observer.rb","files/app/observers/project_observer_rb.html","",[]],["system_hook_observer.rb","files/app/observers/system_hook_observer_rb.html","",[]],["user_observer.rb","files/app/observers/user_observer_rb.html","",[]],["users_project_observer.rb","files/app/observers/users_project_observer_rb.html","",[]]]],["","","roles",[["account.rb","files/app/roles/account_rb.html","",[]],["authority.rb","files/app/roles/authority_rb.html","",[]],["git_host.rb","files/app/roles/git_host_rb.html","",[]],["issue_commonality.rb","files/app/roles/issue_commonality_rb.html","",[]],["namespaced_project.rb","files/app/roles/namespaced_project_rb.html","",[]],["note_event.rb","files/app/roles/note_event_rb.html","",[]],["push_event.rb","files/app/roles/push_event_rb.html","",[]],["push_observer.rb","files/app/roles/push_observer_rb.html","",[]],["repository.rb","files/app/roles/repository_rb.html","",[]],["static_model.rb","files/app/roles/static_model_rb.html","",[]],["team.rb","files/app/roles/team_rb.html","",[]],["votes.rb","files/app/roles/votes_rb.html","",[]]]],["","","uploaders",[["attachment_uploader.rb","files/app/uploaders/attachment_uploader_rb.html","",[]]]],["","","workers",[["post_receive.rb","files/app/workers/post_receive_rb.html","",[]],["system_hook_worker.rb","files/app/workers/system_hook_worker_rb.html","",[]]]]]],["","","lib",[["","","api",[["entities.rb","files/lib/api/entities_rb.html","",[]],["helpers.rb","files/lib/api/helpers_rb.html","",[]],["issues.rb","files/lib/api/issues_rb.html","",[]],["merge_requests.rb","files/lib/api/merge_requests_rb.html","",[]],["milestones.rb","files/lib/api/milestones_rb.html","",[]],["notes.rb","files/lib/api/notes_rb.html","",[]],["projects.rb","files/lib/api/projects_rb.html","",[]],["session.rb","files/lib/api/session_rb.html","",[]],["users.rb","files/lib/api/users_rb.html","",[]]]],["api.rb","files/lib/api_rb.html","",[]],["event_filter.rb","files/lib/event_filter_rb.html","",[]],["extracts_path.rb","files/lib/extracts_path_rb.html","",[]],["file_size_validator.rb","files/lib/file_size_validator_rb.html","",[]],["","","gitlab",[["app_logger.rb","files/lib/gitlab/app_logger_rb.html","",[]],["auth.rb","files/lib/gitlab/auth_rb.html","",[]],["","","backend",[["gitolite.rb","files/lib/gitlab/backend/gitolite_rb.html","",[]],["gitolite_config.rb","files/lib/gitlab/backend/gitolite_config_rb.html","",[]],["grack_auth.rb","files/lib/gitlab/backend/grack_auth_rb.html","",[]]]],["git_logger.rb","files/lib/gitlab/git_logger_rb.html","",[]],["git_stats.rb","files/lib/gitlab/git_stats_rb.html","",[]],["","","graph",[["commit.rb","files/lib/gitlab/graph/commit_rb.html","",[]],["json_builder.rb","files/lib/gitlab/graph/json_builder_rb.html","",[]]]],["inline_diff.rb","files/lib/gitlab/inline_diff_rb.html","",[]],["logger.rb","files/lib/gitlab/logger_rb.html","",[]],["markdown.rb","files/lib/gitlab/markdown_rb.html","",[]],["project_mover.rb","files/lib/gitlab/project_mover_rb.html","",[]],["regex.rb","files/lib/gitlab/regex_rb.html","",[]],["","","satellite",[["action.rb","files/lib/gitlab/satellite/action_rb.html","",[]],["edit_file_action.rb","files/lib/gitlab/satellite/edit_file_action_rb.html","",[]],["merge_action.rb","files/lib/gitlab/satellite/merge_action_rb.html","",[]],["satellite.rb","files/lib/gitlab/satellite/satellite_rb.html","",[]]]],["seeder.rb","files/lib/gitlab/seeder_rb.html","",[]],["theme.rb","files/lib/gitlab/theme_rb.html","",[]]]],["","","hooks",[["post-receive","files/lib/hooks/post-receive.html","",[]]]],["","","redcarpet",[["","","render",[["gitlab_html.rb","files/lib/redcarpet/render/gitlab_html_rb.html","",[]]]]]]]]]],["Ability","classes/Ability.html"," < Object",[]],["Account","classes/Account.html","",[]],["ActivityObserver","classes/ActivityObserver.html"," < ActiveRecord::Observer",[]],["Admin","classes/Admin.html","",[["DashboardController","classes/Admin/DashboardController.html"," < AdminController",[]],["GroupsController","classes/Admin/GroupsController.html"," < AdminController",[]],["HooksController","classes/Admin/HooksController.html"," < AdminController",[]],["LogsController","classes/Admin/LogsController.html"," < AdminController",[]],["ProjectsController","classes/Admin/ProjectsController.html"," < AdminController",[]],["ResqueController","classes/Admin/ResqueController.html"," < AdminController",[]],["TeamMembersController","classes/Admin/TeamMembersController.html"," < AdminController",[]],["UsersController","classes/Admin/UsersController.html"," < AdminController",[]]]],["AdminController","classes/AdminController.html"," < ApplicationController",[]],["ApplicationController","classes/ApplicationController.html"," < ActionController::Base",[]],["ApplicationDecorator","classes/ApplicationDecorator.html"," < Draper::Base",[]],["ApplicationHelper","classes/ApplicationHelper.html","",[]],["AttachmentUploader","classes/AttachmentUploader.html"," < CarrierWave::Uploader::Base",[]],["Authority","classes/Authority.html","",[]],["BaseContext","classes/BaseContext.html"," < Object",[]],["BlameController","classes/BlameController.html"," < ProjectResourceController",[]],["BlobController","classes/BlobController.html"," < ProjectResourceController",[]],["Commit","classes/Commit.html"," < Object",[]],["CommitController","classes/CommitController.html"," < ProjectResourceController",[]],["CommitDecorator","classes/CommitDecorator.html"," < ApplicationDecorator",[]],["CommitLoadContext","classes/CommitLoadContext.html"," < BaseContext",[]],["CommitsController","classes/CommitsController.html"," < ProjectResourceController",[]],["CommitsHelper","classes/CommitsHelper.html","",[]],["CompareController","classes/CompareController.html"," < ProjectResourceController",[]],["DashboardController","classes/DashboardController.html"," < ApplicationController",[]],["DashboardHelper","classes/DashboardHelper.html","",[]],["DeployKeysController","classes/DeployKeysController.html"," < ProjectResourceController",[]],["ErrorsController","classes/ErrorsController.html"," < ApplicationController",[]],["Event","classes/Event.html"," < ActiveRecord::Base",[]],["EventDecorator","classes/EventDecorator.html"," < ApplicationDecorator",[]],["EventFilter","classes/EventFilter.html"," < Object",[]],["EventsHelper","classes/EventsHelper.html","",[]],["ExtractsPath","classes/ExtractsPath.html","",[["InvalidPathError","classes/ExtractsPath/InvalidPathError.html"," < StandardError",[]]]],["FileSizeValidator","classes/FileSizeValidator.html"," < ActiveModel::EachValidator",[["Helper","classes/FileSizeValidator/Helper.html"," < Object",[]]]],["GitHost","classes/GitHost.html","",[]],["Gitlab","classes/Gitlab.html","",[["API","classes/Gitlab/API.html"," < Grape::API",[]],["APIHelpers","classes/Gitlab/APIHelpers.html","",[]],["AppLogger","classes/Gitlab/AppLogger.html"," < Gitlab::Logger",[]],["Auth","classes/Gitlab/Auth.html"," < Object",[]],["Entities","classes/Gitlab/Entities.html","",[["Hook","classes/Gitlab/Entities/Hook.html"," < Grape::Entity",[]],["Issue","classes/Gitlab/Entities/Issue.html"," < Grape::Entity",[]],["MRNote","classes/Gitlab/Entities/MRNote.html"," < Grape::Entity",[]],["MergeRequest","classes/Gitlab/Entities/MergeRequest.html"," < Grape::Entity",[]],["Milestone","classes/Gitlab/Entities/Milestone.html"," < Grape::Entity",[]],["Note","classes/Gitlab/Entities/Note.html"," < Grape::Entity",[]],["Project","classes/Gitlab/Entities/Project.html"," < Grape::Entity",[]],["ProjectMember","classes/Gitlab/Entities/ProjectMember.html"," < Gitlab::Entities::UserBasic",[]],["ProjectSnippet","classes/Gitlab/Entities/ProjectSnippet.html"," < Grape::Entity",[]],["RepoCommit","classes/Gitlab/Entities/RepoCommit.html"," < Grape::Entity",[]],["RepoObject","classes/Gitlab/Entities/RepoObject.html"," < Grape::Entity",[]],["SSHKey","classes/Gitlab/Entities/SSHKey.html"," < Grape::Entity",[]],["User","classes/Gitlab/Entities/User.html"," < Grape::Entity",[]],["UserBasic","classes/Gitlab/Entities/UserBasic.html"," < Grape::Entity",[]],["UserLogin","classes/Gitlab/Entities/UserLogin.html"," < Gitlab::Entities::UserBasic",[]]]],["GitLogger","classes/Gitlab/GitLogger.html"," < Gitlab::Logger",[]],["GitStats","classes/Gitlab/GitStats.html"," < Object",[]],["Gitolite","classes/Gitlab/Gitolite.html"," < Object",[["AccessDenied","classes/Gitlab/Gitolite/AccessDenied.html"," < StandardError",[]]]],["GitoliteConfig","classes/Gitlab/GitoliteConfig.html"," < Object",[["PullError","classes/Gitlab/GitoliteConfig/PullError.html"," < StandardError",[]],["PushError","classes/Gitlab/GitoliteConfig/PushError.html"," < StandardError",[]]]],["Graph","classes/Gitlab/Graph.html","",[["Commit","classes/Gitlab/Graph/Commit.html"," < Object",[]],["JsonBuilder","classes/Gitlab/Graph/JsonBuilder.html"," < Object",[]]]],["InlineDiff","classes/Gitlab/InlineDiff.html"," < Object",[]],["Issues","classes/Gitlab/Issues.html"," < Grape::API",[]],["Logger","classes/Gitlab/Logger.html"," < Logger",[]],["Markdown","classes/Gitlab/Markdown.html","",[]],["MergeRequests","classes/Gitlab/MergeRequests.html"," < Grape::API",[]],["Milestones","classes/Gitlab/Milestones.html"," < Grape::API",[]],["Notes","classes/Gitlab/Notes.html"," < Grape::API",[]],["ProjectMover","classes/Gitlab/ProjectMover.html"," < Object",[["ProjectMoveError","classes/Gitlab/ProjectMover/ProjectMoveError.html"," < StandardError",[]]]],["Projects","classes/Gitlab/Projects.html"," < Grape::API",[]],["Regex","classes/Gitlab/Regex.html","",[]],["Satellite","classes/Gitlab/Satellite.html","",[["Action","classes/Gitlab/Satellite/Action.html"," < Object",[]],["EditFileAction","classes/Gitlab/Satellite/EditFileAction.html"," < Action",[]],["MergeAction","classes/Gitlab/Satellite/MergeAction.html"," < Action",[]],["Satellite","classes/Gitlab/Satellite/Satellite.html"," < Object",[]]]],["Seeder","classes/Gitlab/Seeder.html"," < Object",[]],["Session","classes/Gitlab/Session.html"," < Grape::API",[]],["Theme","classes/Gitlab/Theme.html"," < Object",[]],["Users","classes/Gitlab/Users.html"," < Grape::API",[]]]],["GitlabCiService","classes/GitlabCiService.html"," < Service",[]],["GitlabMarkdownHelper","classes/GitlabMarkdownHelper.html","",[]],["Grack","classes/Grack.html","",[["Auth","classes/Grack/Auth.html"," < Rack::Auth::Basic",[]]]],["Group","classes/Group.html"," < Namespace",[]],["GroupsController","classes/GroupsController.html"," < ApplicationController",[]],["HelpController","classes/HelpController.html"," < ApplicationController",[]],["HooksController","classes/HooksController.html"," < ProjectResourceController",[]],["Issue","classes/Issue.html"," < ActiveRecord::Base",[]],["IssueCommonality","classes/IssueCommonality.html","",[["ClassMethods","classes/IssueCommonality/ClassMethods.html","",[]]]],["IssueObserver","classes/IssueObserver.html"," < ActiveRecord::Observer",[]],["IssuesBulkUpdateContext","classes/IssuesBulkUpdateContext.html"," < BaseContext",[]],["IssuesController","classes/IssuesController.html"," < ProjectResourceController",[]],["IssuesHelper","classes/IssuesHelper.html","",[]],["IssuesListContext","classes/IssuesListContext.html"," < BaseContext",[]],["Key","classes/Key.html"," < ActiveRecord::Base",[]],["KeyObserver","classes/KeyObserver.html"," < ActiveRecord::Observer",[]],["KeysController","classes/KeysController.html"," < ApplicationController",[]],["LabelsController","classes/LabelsController.html"," < ProjectResourceController",[]],["MergeRequest","classes/MergeRequest.html"," < ActiveRecord::Base",[]],["MergeRequestObserver","classes/MergeRequestObserver.html"," < ActiveRecord::Observer",[]],["MergeRequestsController","classes/MergeRequestsController.html"," < ProjectResourceController",[]],["MergeRequestsHelper","classes/MergeRequestsHelper.html","",[]],["MergeRequestsLoadContext","classes/MergeRequestsLoadContext.html"," < BaseContext",[]],["Milestone","classes/Milestone.html"," < ActiveRecord::Base",[]],["MilestonesController","classes/MilestonesController.html"," < ProjectResourceController",[]],["Namespace","classes/Namespace.html"," < ActiveRecord::Base",[]],["NamespacedProject","classes/NamespacedProject.html","",[]],["NamespacesHelper","classes/NamespacesHelper.html","",[]],["Note","classes/Note.html"," < ActiveRecord::Base",[]],["NoteEvent","classes/NoteEvent.html","",[]],["NoteObserver","classes/NoteObserver.html"," < ActiveRecord::Observer",[]],["Notes","classes/Notes.html","",[["CreateContext","classes/Notes/CreateContext.html"," < BaseContext",[]],["LoadContext","classes/Notes/LoadContext.html"," < BaseContext",[]]]],["NotesController","classes/NotesController.html"," < ProjectResourceController",[]],["NotesHelper","classes/NotesHelper.html","",[]],["Notify","classes/Notify.html"," < ActionMailer::Base",[]],["OmniauthCallbacksController","classes/OmniauthCallbacksController.html"," < Devise::OmniauthCallbacksController",[]],["PostReceive","classes/PostReceive.html"," < Object",[]],["ProfileHelper","classes/ProfileHelper.html","",[]],["ProfilesController","classes/ProfilesController.html"," < ApplicationController",[]],["Project","classes/Project.html"," < ActiveRecord::Base",[["TransferError","classes/Project/TransferError.html"," < StandardError",[]]]],["ProjectHook","classes/ProjectHook.html"," < WebHook",[]],["ProjectObserver","classes/ProjectObserver.html"," < ActiveRecord::Observer",[]],["ProjectResourceController","classes/ProjectResourceController.html"," < ApplicationController",[]],["ProjectUpdateContext","classes/ProjectUpdateContext.html"," < BaseContext",[]],["ProjectsController","classes/ProjectsController.html"," < ProjectResourceController",[]],["ProjectsHelper","classes/ProjectsHelper.html","",[]],["ProtectedBranch","classes/ProtectedBranch.html"," < ActiveRecord::Base",[]],["ProtectedBranchesController","classes/ProtectedBranchesController.html"," < ProjectResourceController",[]],["PushEvent","classes/PushEvent.html","",[]],["PushObserver","classes/PushObserver.html","",[]],["Redcarpet","classes/Redcarpet.html","",[["Render","classes/Redcarpet/Render.html","",[["GitlabHTML","classes/Redcarpet/Render/GitlabHTML.html"," < Redcarpet::Render::HTML",[]]]]]],["RefsController","classes/RefsController.html"," < ProjectResourceController",[]],["RepositoriesController","classes/RepositoriesController.html"," < ProjectResourceController",[]],["Repository","classes/Repository.html","",[]],["SearchContext","classes/SearchContext.html"," < Object",[]],["SearchController","classes/SearchController.html"," < ApplicationController",[]],["Service","classes/Service.html"," < ActiveRecord::Base",[]],["ServiceHook","classes/ServiceHook.html"," < WebHook",[]],["ServicesController","classes/ServicesController.html"," < ProjectResourceController",[]],["Snippet","classes/Snippet.html"," < ActiveRecord::Base",[]],["SnippetsController","classes/SnippetsController.html"," < ProjectResourceController",[]],["SnippetsHelper","classes/SnippetsHelper.html","",[]],["StaticModel","classes/StaticModel.html","",[["ClassMethods","classes/StaticModel/ClassMethods.html","",[]]]],["SystemHook","classes/SystemHook.html"," < WebHook",[]],["SystemHookObserver","classes/SystemHookObserver.html"," < ActiveRecord::Observer",[]],["SystemHookWorker","classes/SystemHookWorker.html"," < Object",[]],["TabHelper","classes/TabHelper.html","",[]],["TagsHelper","classes/TagsHelper.html","",[]],["Team","classes/Team.html","",[]],["TeamMembersController","classes/TeamMembersController.html"," < ProjectResourceController",[]],["TestHookContext","classes/TestHookContext.html"," < BaseContext",[]],["Tree","classes/Tree.html"," < Object",[]],["TreeController","classes/TreeController.html"," < ProjectResourceController",[]],["TreeDecorator","classes/TreeDecorator.html"," < ApplicationDecorator",[]],["TreeHelper","classes/TreeHelper.html","",[]],["User","classes/User.html"," < ActiveRecord::Base",[]],["UserDecorator","classes/UserDecorator.html"," < ApplicationDecorator",[]],["UserObserver","classes/UserObserver.html"," < ActiveRecord::Observer",[]],["UsersProject","classes/UsersProject.html"," < ActiveRecord::Base",[]],["UsersProjectObserver","classes/UsersProjectObserver.html"," < ActiveRecord::Observer",[]],["Votes","classes/Votes.html","",[]],["WebHook","classes/WebHook.html"," < ActiveRecord::Base",[]],["Wiki","classes/Wiki.html"," < ActiveRecord::Base",[]],["WikisController","classes/WikisController.html"," < ProjectResourceController",[]]] \ No newline at end of file
diff --git a/doc/install/installation.md b/doc/install/installation.md
index b872ceaf2bd..7fb5e48cdc9 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -19,7 +19,7 @@ following the contribution guide (see `CONTRIBUTING.md`).
# Overview
-The GitLab installation consists of setting up th following components:
+The GitLab installation consists of setting up the following components:
1. Packages / Dependencies
2. Ruby
@@ -149,6 +149,23 @@ Fix the directory permissions for the repositories:
sudo chmod -R ug+rwXs,o-rwx /home/git/repositories/
sudo chown -R git:git /home/git/repositories/
+
+## Disable StrictHostKeyChecking for localhost and your domain
+
+ echo "Host localhost
+ StrictHostKeyChecking no
+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
+
+ echo "Host YOUR_DOMAIN_NAME
+ StrictHostKeyChecking no
+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
+
+ # If gitolite domain differs
+ echo "Host YOUR_GITOLITE_DOMAIN
+ StrictHostKeyChecking no
+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
+
+
## Test if everything works so far
# Clone the admin repo so SSH adds localhost to known_hosts ...
@@ -176,11 +193,17 @@ See `doc/install/databases.md`
## Clone the Source
- # Clone the latest stable release
- sudo -u gitlab -H git clone -b stable https://github.com/gitlabhq/gitlabhq.git gitlab
+ # Clone GitLab repository
+ sudo -u gitlab -H git clone https://github.com/gitlabhq/gitlabhq.git gitlab
+
+ # Go to gitlab dir
+ cd /home/gitlab/gitlab
+
+ # Checkout to stable release
+ sudo -u gitlab -H git checkout 4-0-stable
**Note:**
-You can change `stable` to `master` if you want the *bleeding edge* version, but
+You can change `4-0-stable` to `master` if you want the *bleeding edge* version, but
do so with caution!
## Configure it
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index bbfeeb716fa..9b42afa7ca0 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -4,7 +4,7 @@ Creates a backup archive of the database and all repositories. This archive will
The filename will be `[TIMESTAMP]_gitlab_backup.tar`. This timestamp can be used to restore an specific backup.
```
-bundle exec rake gitlab:backup:create
+bundle exec rake gitlab:backup:create RAILS_ENV=production
```
Example output:
@@ -40,7 +40,7 @@ Deleting old backups... [SKIPPING]
### Restore a previously created backup
```
-bundle exec rake gitlab:backup:restore
+bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
Options:
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md
new file mode 100644
index 00000000000..ad9e5a613b0
--- /dev/null
+++ b/doc/raketasks/cleanup.md
@@ -0,0 +1,20 @@
+### Remove grabage from gitolite config and filesystem. Important! Data loss!
+
+Remove projects from gitolite config if they dont exist in GitLab database
+
+```
+bundle exec rake gitlab:cleanup:config RAILS_ENV=production
+```
+
+Remove namespaces(dirs) from /home/git/repositories if they dont exist in GitLab database
+
+```
+bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production
+```
+
+Remove repositories (global only for now) from /home/git/repositories if they dont exist in GitLab database
+
+```
+bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
+```
+
diff --git a/doc/raketasks/features.md b/doc/raketasks/features.md
index 7a2a4b668bd..7f7daaf046c 100644
--- a/doc/raketasks/features.md
+++ b/doc/raketasks/features.md
@@ -13,7 +13,7 @@ Old path: `git@example.org:myrepo.git`
New path: `git@example.org:username/myrepo.git` or `git@example.org:groupname/myrepo.git`
```
-bundle exec rake gitlab:enable_namespaces
+bundle exec rake gitlab:enable_namespaces RAILS_ENV=production
```
@@ -22,7 +22,7 @@ bundle exec rake gitlab:enable_namespaces
This command will enable the auto merge feature. After this you will be able to **merge a merge request** via GitLab and use the **online editor**.
```
-bundle exec rake gitlab:enable_automerge
+bundle exec rake gitlab:enable_automerge RAILS_ENV=production
```
Example output:
diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md
index bb8e1ed29f7..758580b6832 100644
--- a/doc/raketasks/maintenance.md
+++ b/doc/raketasks/maintenance.md
@@ -7,7 +7,7 @@ Runs the following rake tasks:
* gitlab:app:enable_automerge (see "Features")
```
-bundle exec rake gitlab:app:setup
+bundle exec rake gitlab:app:setup RAILS_ENV=production
```
@@ -17,7 +17,7 @@ This command gathers information about your GitLab installation and the System
it runs on. These may be useful when asking for help or reporting issues.
```
-bundle exec rake gitlab:env:info
+bundle exec rake gitlab:env:info RAILS_ENV=production
```
Example output:
@@ -68,7 +68,7 @@ It will check that each component was setup according to the installation guide
You may also have a look at our [Trouble Shooting Guide](https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide).
```
-bundle exec rake gitlab:check
+bundle exec rake gitlab:check RAILS_ENV=production
```
Example output:
@@ -145,7 +145,7 @@ This will create satellite repos for all your projects.
If necessary, remove the `tmp/repo_satellites` directory and rerun the command below.
```
-bundle exec rake gitlab:satellites:create
+bundle exec rake gitlab:satellites:create RAILS_ENV=production
```
@@ -154,7 +154,7 @@ bundle exec rake gitlab:satellites:create
This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects.
```
-bundle exec rake gitlab:gitolite:update_keys
+bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production
```
@@ -163,7 +163,7 @@ bundle exec rake gitlab:gitolite:update_keys
This makes sure that all projects are present in gitolite and can be accessed.
```
-bundle exec rake gitlab:gitolite:update_repos
+bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production
```
### Import bare repositories into GitLab project instance
diff --git a/features/admin/groups.feature b/features/admin/groups.feature
index e5eab8e6ecb..28f35e3a831 100644
--- a/features/admin/groups.feature
+++ b/features/admin/groups.feature
@@ -1,6 +1,8 @@
Feature: Admin Groups
Background:
Given I sign in as an admin
+ And I have group with projects
+ And Create gitlab user "John"
And I visit admin groups page
Scenario: Create a group
@@ -8,3 +10,8 @@ Feature: Admin Groups
And submit form with new group info
Then I should be redirected to group page
And I should see newly created group
+
+ Scenario: Add user into projects in group
+ When I visit admin group page
+ When I select user "John" from user list as "Reporter"
+ Then I should see "John" in team list in every project as "Reporter"
diff --git a/features/admin/logs.feature b/features/admin/logs.feature
new file mode 100644
index 00000000000..d07f0048080
--- /dev/null
+++ b/features/admin/logs.feature
@@ -0,0 +1,7 @@
+Feature: Admin Logs
+ Background:
+ Given I sign in as an admin
+
+ Scenario: On Admin Logs
+ Given I visit admin logs page
+ Then I should see tabs with available logs
diff --git a/features/admin/projects.feature b/features/admin/projects.feature
new file mode 100644
index 00000000000..4a4ee1c11e0
--- /dev/null
+++ b/features/admin/projects.feature
@@ -0,0 +1,13 @@
+Feature: Admin Projects
+ Background:
+ Given I sign in as an admin
+ And there are projects in system
+
+ Scenario: Projects list
+ When I visit admin projects page
+ Then I should see all projects
+
+ Scenario: Projects show
+ When I visit admin projects page
+ And I click on first project
+ Then I should see project details
diff --git a/features/admin/users.feature b/features/admin/users.feature
new file mode 100644
index 00000000000..03ac86a367b
--- /dev/null
+++ b/features/admin/users.feature
@@ -0,0 +1,8 @@
+Feature: Admin Users
+ Background:
+ Given I sign in as an admin
+ And system has users
+
+ Scenario: On Admin Users
+ Given I visit admin users page
+ Then I should see all users
diff --git a/features/dashboard/dashboard.feature b/features/dashboard/dashboard.feature
index 972f8e36609..759843692b8 100644
--- a/features/dashboard/dashboard.feature
+++ b/features/dashboard/dashboard.feature
@@ -5,6 +5,7 @@ Feature: Dashboard
And project "Shop" has push event
And I visit dashboard page
+ @javascript
Scenario: I should see projects list
Then I should see "New Project" link
Then I should see "Shop" project link
@@ -26,11 +27,13 @@ Feature: Dashboard
And I click "Create Merge Request" link
Then I see prefilled new Merge Request page
+ @javascript
Scenario: I should see User joined Project event
Given user with name "John Doe" joined project "Shop"
When I visit dashboard page
Then I should see "John Doe joined project at Shop" event
+ @javascript
Scenario: I should see User left Project event
Given user with name "John Doe" joined project "Shop"
And user with name "John Doe" left project "Shop"
diff --git a/features/dashboard/event_filters.feature b/features/dashboard/event_filters.feature
new file mode 100644
index 00000000000..e0c6b84b008
--- /dev/null
+++ b/features/dashboard/event_filters.feature
@@ -0,0 +1,51 @@
+Feature: Event filters
+ Background:
+ Given I sign in as a user
+ And I own a project
+ And this project has push event
+ And this project has new member event
+ And this project has merge request event
+ And I visit dashboard page
+
+ @javascript
+ Scenario: I should see all events
+ Then I should see push event
+ And I should see new member event
+ And I should see merge request event
+
+ @javascript
+ Scenario: I should see only pushed events
+ When I click "push" event filter
+ Then I should see push event
+ And I should not see new member event
+ And I should not see merge request event
+
+ @javascript
+ Scenario: I should see only joined events
+ When I click "team" event filter
+ Then I should see new member event
+ And I should not see push event
+ And I should not see merge request event
+
+ @javascript
+ Scenario: I should see only merged events
+ When I click "merge" event filter
+ Then I should see merge request event
+ And I should not see push event
+ And I should not see new member event
+
+ @javascript
+ Scenario: I should see only selected events while page reloaded
+ When I click "push" event filter
+ And I visit dashboard page
+ Then I should see push event
+ And I should not see new member event
+ When I click "team" event filter
+ And I visit dashboard page
+ Then I should see push event
+ And I should see new member event
+ And I should not see merge request event
+ When I click "push" event filter
+ Then I should not see push event
+ And I should see new member event
+ And I should not see merge request event
diff --git a/features/group/group.feature b/features/group/group.feature
index 07308112270..a4a55a7fc26 100644
--- a/features/group/group.feature
+++ b/features/group/group.feature
@@ -3,6 +3,7 @@ Feature: Groups
Given I sign in as a user
And I have group with projects
+ @javascript
Scenario: I should see group dashboard list
When I visit group page
Then I should see projects list
@@ -17,3 +18,9 @@ Feature: Groups
Given project from group has merge requests assigned to me
When I visit group merge requests page
Then I should see merge requests from this group assigned to me
+
+ Scenario: I should add user to projects in Group
+ Given I have new user "John"
+ When I visit group people page
+ And I select user "John" from list with role "Reporter"
+ Then I should see user "John" in team list
diff --git a/features/project/project.feature b/features/project/project.feature
index 1c9f201df50..ad3d06bb41f 100644
--- a/features/project/project.feature
+++ b/features/project/project.feature
@@ -1,14 +1,23 @@
Feature: Projects
Background:
- Given I signin as a user
+ Given I sign in as a user
And I own project "Shop"
+ And project "Shop" has push event
And I visit project "Shop" page
- # @wip
- # Scenario: I should see project activity
+ Scenario: I should see project activity
+ When I visit project "Shop" page
+ Then I should see project "Shop" activity feed
- # @wip
- # Scenario: I edit project
+ Scenario: I visit edit project
+ When I visit edit project "Shop" page
+ Then I should see project settings
+
+ Scenario: I edit project
+ When I visit edit project "Shop" page
+ And change project settings
+ And I save project
+ Then I should see project with new settings
# @wip
# Scenario: I visit attachments
diff --git a/features/project/service.feature b/features/project/service.feature
new file mode 100644
index 00000000000..ca8a4756056
--- /dev/null
+++ b/features/project/service.feature
@@ -0,0 +1,14 @@
+Feature: Project Services
+ Background:
+ Given I sign in as a user
+ And I own project "Shop"
+
+ Scenario: I should see project services
+ When I visit project "Shop" services page
+ Then I should see list of available services
+
+ Scenario: Activate gitlab-ci service
+ When I visit project "Shop" services page
+ And I click gitlab-ci service link
+ And I fill gitlab-ci settings
+ Then I should see service settings saved
diff --git a/features/steps/admin/admin_active_tab.rb b/features/steps/admin/admin_active_tab.rb
index 05a9a686e01..48ec7bac0d6 100644
--- a/features/steps/admin/admin_active_tab.rb
+++ b/features/steps/admin/admin_active_tab.rb
@@ -28,6 +28,6 @@ class AdminActiveTab < Spinach::FeatureSteps
end
Then 'the active main tab should be Resque' do
- ensure_active_main_tab('Resque')
+ ensure_active_main_tab('Background Jobs')
end
end
diff --git a/features/steps/admin/admin_groups.rb b/features/steps/admin/admin_groups.rb
index 5386f473320..cbca2daa701 100644
--- a/features/steps/admin/admin_groups.rb
+++ b/features/steps/admin/admin_groups.rb
@@ -3,10 +3,26 @@ class AdminGroups < Spinach::FeatureSteps
include SharedPaths
include SharedActiveTab
+ When 'I visit admin group page' do
+ visit admin_group_path(current_group)
+ end
+
When 'I click new group link' do
click_link "New Group"
end
+ And 'I have group with projects' do
+ @group = create(:group)
+ @project = create(:project, group: @group)
+ @event = create(:closed_issue_event, project: @project)
+
+ @project.team << [current_user, :master]
+ end
+
+ And 'Create gitlab user "John"' do
+ create(:user, :name => "John")
+ end
+
And 'submit form with new group info' do
fill_in 'group_name', :with => 'gitlab'
click_button "Create group"
@@ -19,5 +35,25 @@ class AdminGroups < Spinach::FeatureSteps
Then 'I should be redirected to group page' do
current_path.should == admin_group_path(Group.last)
end
-end
+ When 'I select user "John" from user list as "Reporter"' do
+ user = User.find_by_name("John")
+ within "#new_team_member" do
+ select user.name, :from => "user_ids"
+ select "Reporter", :from => "project_access"
+ end
+ click_button "Add user to projects in group"
+ end
+
+ Then 'I should see "John" in team list in every project as "Reporter"' do
+ user = User.find_by_name("John")
+ projects_with_access = find(".user_#{user.id} .projects_access")
+ projects_with_access.should have_link("Reporter")
+ end
+
+ protected
+
+ def current_group
+ @group ||= Group.first
+ end
+end
diff --git a/features/steps/admin/admin_logs.rb b/features/steps/admin/admin_logs.rb
new file mode 100644
index 00000000000..83958545c4d
--- /dev/null
+++ b/features/steps/admin/admin_logs.rb
@@ -0,0 +1,11 @@
+class AdminLogs < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedAdmin
+
+ Then 'I should see tabs with available logs' do
+ page.should have_content 'production.log'
+ page.should have_content 'githost.log'
+ page.should have_content 'application.log'
+ end
+end
diff --git a/features/steps/admin/admin_projects.rb b/features/steps/admin/admin_projects.rb
new file mode 100644
index 00000000000..dd6b4e9810b
--- /dev/null
+++ b/features/steps/admin/admin_projects.rb
@@ -0,0 +1,24 @@
+class AdminProjects < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedAdmin
+
+ And 'I should see all projects' do
+ Project.all.each do |p|
+ page.should have_content p.name_with_namespace
+ end
+ end
+
+ And 'I click on first project' do
+ click_link Project.first.name_with_namespace
+ end
+
+ Then 'I should see project details' do
+ project = Project.first
+ current_path.should == admin_project_path(project)
+
+ page.should have_content(project.name_with_namespace)
+ page.should have_content(project.creator.name)
+ page.should have_content('Add new team member')
+ end
+end
diff --git a/features/steps/admin/admin_users.rb b/features/steps/admin/admin_users.rb
new file mode 100644
index 00000000000..1828ae705ce
--- /dev/null
+++ b/features/steps/admin/admin_users.rb
@@ -0,0 +1,11 @@
+class AdminUsers < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedAdmin
+
+ Then 'I should see all users' do
+ User.all.each do |user|
+ page.should have_content user.name
+ end
+ end
+end
diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb
index 775a721f1a4..4bcefba76de 100644
--- a/features/steps/dashboard/dashboard.rb
+++ b/features/steps/dashboard/dashboard.rb
@@ -1,6 +1,7 @@
class Dashboard < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
+ include SharedProject
Then 'I should see "New Project" link' do
page.should have_link "New Project"
@@ -10,11 +11,6 @@ class Dashboard < Spinach::FeatureSteps
page.should have_link "Shop"
end
- Then 'I should see project "Shop" activity feed' do
- project = Project.find_by_name("Shop")
- page.should have_content "#{@user.name} pushed new branch new_design at #{project.name}"
- end
-
Then 'I should see last push widget' do
page.should have_content "You pushed to new_design"
page.should have_link "Create Merge Request"
@@ -59,43 +55,12 @@ class Dashboard < Spinach::FeatureSteps
page.should have_content "John Doe left project at Shop"
end
- And 'I own project "Shop"' do
- @project = create :project, name: 'Shop'
- @project.add_access(@user, :admin)
- end
-
And 'I have group with projects' do
@group = create(:group)
@project = create(:project, group: @group)
@event = create(:closed_issue_event, project: @project)
- @project.add_access current_user, :admin
- end
-
- And 'project "Shop" has push event' do
- @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
- }
- }
-
- @event = Event.create(
- project: @project,
- action: Event::Pushed,
- data: data,
- author_id: @user.id
- )
+ @project.team << [current_user, :master]
end
Then 'I should see groups list' do
@@ -112,5 +77,4 @@ class Dashboard < Spinach::FeatureSteps
Then 'I should see 1 project at group list' do
page.find('span.last_activity/span').should have_content('1')
end
-
end
diff --git a/features/steps/dashboard/dashboard_event_filters.rb b/features/steps/dashboard/dashboard_event_filters.rb
new file mode 100644
index 00000000000..bfc053631ab
--- /dev/null
+++ b/features/steps/dashboard/dashboard_event_filters.rb
@@ -0,0 +1,87 @@
+class EventFilters < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedProject
+
+ Then 'I should see push event' do
+ page.should have_selector('span.pushed')
+ end
+
+ Then 'I should not see push event' do
+ page.should_not have_selector('span.pushed')
+ end
+
+ Then 'I should see new member event' do
+ page.should have_selector('span.joined')
+ end
+
+ And 'I should not see new member event' do
+ page.should_not have_selector('span.joined')
+ end
+
+ Then 'I should see merge request event' do
+ page.should have_selector('span.merged')
+ end
+
+ And 'I should not see merge request event' do
+ page.should_not have_selector('span.merged')
+ end
+
+ And 'this project has push event' do
+ 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
+ }
+ }
+
+ @event = Event.create(
+ project: @project,
+ action: Event::Pushed,
+ data: data,
+ author_id: @user.id
+ )
+ end
+
+ And 'this project has new member event' do
+ user = create(:user, {name: "John Doe"})
+ Event.create(
+ project: @project,
+ author_id: user.id,
+ action: Event::Joined
+ )
+ end
+
+ And 'this project has merge request event' do
+ merge_request = create :merge_request, author: @user, project: @project
+ Event.create(
+ project: @project,
+ action: Event::Merged,
+ target_id: merge_request.id,
+ target_type: "MergeRequest",
+ author_id: @user.id
+ )
+ end
+
+ When 'I click "push" event filter' do
+ click_link("push_event_filter")
+ end
+
+ When 'I click "team" event filter' do
+ click_link("team_event_filter")
+ end
+
+ When 'I click "merge" event filter' do
+ click_link("merged_event_filter")
+ end
+
+end
+
diff --git a/features/steps/dashboard/dashboard_issues.rb b/features/steps/dashboard/dashboard_issues.rb
index 5ace88023f0..fcf4296ad11 100644
--- a/features/steps/dashboard/dashboard_issues.rb
+++ b/features/steps/dashboard/dashboard_issues.rb
@@ -13,7 +13,7 @@ class DashboardIssues < Spinach::FeatureSteps
And 'I have assigned issues' do
project = create :project
- project.add_access(@user, :read, :write)
+ project.team << [@user, :master]
2.times { create :issue, author: @user, assignee: @user, project: project }
end
diff --git a/features/steps/dashboard/dashboard_merge_requests.rb b/features/steps/dashboard/dashboard_merge_requests.rb
index 485a4ccc113..7cfa8a13ff8 100644
--- a/features/steps/dashboard/dashboard_merge_requests.rb
+++ b/features/steps/dashboard/dashboard_merge_requests.rb
@@ -14,8 +14,8 @@ class DashboardMergeRequests < Spinach::FeatureSteps
project1 = create :project
project2 = create :project
- project1.add_access(@user, :read, :write)
- project2.add_access(@user, :read, :write)
+ project1.team << [@user, :master]
+ project2.team << [@user, :master]
merge_request1 = create :merge_request, author: @user, project: project1
merge_request2 = create :merge_request, author: @user, project: project2
diff --git a/features/steps/dashboard/dashboard_search.rb b/features/steps/dashboard/dashboard_search.rb
index a34c14d0c5f..9c8c879479d 100644
--- a/features/steps/dashboard/dashboard_search.rb
+++ b/features/steps/dashboard/dashboard_search.rb
@@ -1,6 +1,7 @@
class DashboardSearch < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
+ include SharedProject
Given 'I search for "Sho"' do
fill_in "dashboard_search", with: "Sho"
@@ -11,11 +12,6 @@ class DashboardSearch < Spinach::FeatureSteps
page.should have_link "Shop"
end
- And 'I own project "Shop"' do
- @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"
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 4de260ec33e..04d8c874b3e 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -3,17 +3,17 @@ class Groups < Spinach::FeatureSteps
include SharedPaths
Then 'I should see projects list' do
- current_user.projects.each do |project|
+ current_user.authorized_projects.each do |project|
page.should have_link project.name
end
end
And 'I have group with projects' do
- @group = create(:group)
+ @group = create(:group, owner: current_user)
@project = create(:project, group: @group)
@event = create(:closed_issue_event, project: @project)
- @project.add_access current_user, :admin
+ @project.team << [current_user, :master]
end
And 'I should see projects activity feed' do
@@ -32,6 +32,24 @@ class Groups < Spinach::FeatureSteps
end
end
+ Given 'I have new user "John"' do
+ create(:user, name: "John")
+ end
+
+ And 'I select user "John" from list with role "Reporter"' do
+ user = User.find_by_name("John")
+ within "#new_team_member" do
+ select user.name, :from => "user_ids"
+ select "Reporter", :from => "project_access"
+ end
+ click_button "Add"
+ end
+
+ Then 'I should see user "John" in team list' do
+ projects_with_access = find(".ui-box .well-list")
+ projects_with_access.should have_content("John")
+ end
+
Given 'project from group has issues assigned to me' do
create :issue,
project: project,
diff --git a/features/steps/project/create_project.rb b/features/steps/project/create_project.rb
index b9b4534ed68..0d9727732c7 100644
--- a/features/steps/project/create_project.rb
+++ b/features/steps/project/create_project.rb
@@ -3,13 +3,13 @@ class CreateProject < Spinach::FeatureSteps
include SharedPaths
And 'fill project form with valid data' do
- fill_in 'project_name', :with => 'NewProject'
+ fill_in 'project_name', with: 'Empty'
click_button "Create project"
end
Then 'I should see project page' do
current_path.should == project_path(Project.last)
- page.should have_content "NewProject"
+ page.should have_content "Empty"
end
And 'I should see empty project instuctions' do
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index f33f12eb0a8..7a85f57a218 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -2,4 +2,17 @@ class Projects < Spinach::FeatureSteps
include SharedAuthentication
include SharedProject
include SharedPaths
+
+ And 'change project settings' do
+ fill_in 'project_name', with: 'NewName'
+ uncheck 'project_issues_enabled'
+ end
+
+ And 'I save project' do
+ click_button 'Save'
+ end
+
+ Then 'I should see project with new settings' do
+ find_field('project_name').value.should == 'NewName'
+ end
end
diff --git a/features/steps/project/project_browse_commits.rb b/features/steps/project/project_browse_commits.rb
index 2c03ce14fc1..3433c2ba5f6 100644
--- a/features/steps/project/project_browse_commits.rb
+++ b/features/steps/project/project_browse_commits.rb
@@ -4,7 +4,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
include SharedPaths
Then 'I see project commits' do
- commit = @project.commit
+ commit = @project.repository.commit
page.should have_content(@project.name)
page.should have_content(commit.message)
page.should have_content(commit.id.to_s[0..5])
@@ -15,7 +15,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
end
Then 'I see commits atom feed' do
- commit = CommitDecorator.decorate(@project.commit)
+ commit = CommitDecorator.decorate(@project.repository.commit)
page.response_headers['Content-Type'].should have_content("application/atom+xml")
page.body.should have_selector("title", :text => "Recent commits to #{@project.name}")
page.body.should have_selector("author email", :text => commit.author_email)
@@ -48,7 +48,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
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:first a')['href'].should match(/#{@project.path_with_namespace}\/commits\/master\z/)
find('ul.breadcrumb li:last a')['href'].should match(%r{master/app/models/project\.rb\z})
end
diff --git a/features/steps/project/project_merge_requests.rb b/features/steps/project/project_merge_requests.rb
index 5248a5c469c..f5b51737c8c 100644
--- a/features/steps/project/project_merge_requests.rb
+++ b/features/steps/project/project_merge_requests.rb
@@ -56,10 +56,10 @@ class ProjectMergeRequests < Spinach::FeatureSteps
end
And 'I submit new merge request "Wiki Feature"' do
- fill_in "merge_request_title", with: "Wiki Feature"
- select "master", from: "merge_request_source_branch"
- select "stable", from: "merge_request_target_branch"
- click_button "Save"
+ fill_in "merge_request_title", :with => "Wiki Feature"
+ select "master", :from => "merge_request_source_branch"
+ select "stable", :from => "merge_request_target_branch"
+ click_button "Submit merge request"
end
And 'project "Shop" have "Bug NS-04" open merge request' do
diff --git a/features/steps/project/project_milestones.rb b/features/steps/project/project_milestones.rb
index 1c9ad6da651..1350938ee9a 100644
--- a/features/steps/project/project_milestones.rb
+++ b/features/steps/project/project_milestones.rb
@@ -50,12 +50,12 @@ class ProjectMilestones < Spinach::FeatureSteps
end
Then "I should see 3 issues" do
- page.should have_selector('.milestone-issue-filter tbody tr', count: 4)
- page.should have_selector('.milestone-issue-filter tbody tr.hide', count: 1)
+ page.should have_selector('.milestone-issue-filter .well-list li', count: 4)
+ page.should have_selector('.milestone-issue-filter .well-list li.hide', count: 1)
end
Then "I should see 4 issues" do
- page.should have_selector('.milestone-issue-filter tbody tr', count: 4)
- page.should_not have_selector('.milestone-issue-filter tbody tr.hide')
+ page.should have_selector('.milestone-issue-filter .well-list li', count: 4)
+ page.should_not have_selector('.milestone-issue-filter .well-list li.hide')
end
end
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb
index 6fde532f1a2..77149bfe2c3 100644
--- a/features/steps/project/project_network_graph.rb
+++ b/features/steps/project/project_network_graph.rb
@@ -6,7 +6,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
page.should have_content "Project Network Graph"
within ".graph" do
page.should have_content "master"
- page.should have_content "scss_refactor..."
end
end
diff --git a/features/steps/project/project_services.rb b/features/steps/project/project_services.rb
new file mode 100644
index 00000000000..b1668ff7207
--- /dev/null
+++ b/features/steps/project/project_services.rb
@@ -0,0 +1,30 @@
+class ProjectServices < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedProject
+ include SharedPaths
+
+ When 'I visit project "Shop" services page' do
+ visit project_services_path(@project)
+ end
+
+ Then 'I should see list of available services' do
+ page.should have_content 'Services'
+ page.should have_content 'Jenkins'
+ page.should have_content 'GitLab CI'
+ end
+
+ And 'I click gitlab-ci service link' do
+ click_link 'GitLab CI'
+ end
+
+ And 'I fill gitlab-ci settings' do
+ check 'Active'
+ fill_in 'Project URL', with: 'http://ci.gitlab.org/projects/3'
+ fill_in 'CI Project token', with: 'verySecret'
+ click_button 'Save'
+ end
+
+ Then 'I should see service settings saved' do
+ find_field('Project URL').value.should == 'http://ci.gitlab.org/projects/3'
+ end
+end
diff --git a/features/steps/project/project_team_management.rb b/features/steps/project/project_team_management.rb
index 6bde0b64dfa..91b3ffeee9a 100644
--- a/features/steps/project/project_team_management.rb
+++ b/features/steps/project/project_team_management.rb
@@ -84,18 +84,18 @@ class ProjectTeamManagement < Spinach::FeatureSteps
And '"Sam" is "Shop" developer' do
user = User.find_by_name("Sam")
project = Project.find_by_name("Shop")
- project.add_access(user, :write)
+ project.team << [user, :developer]
end
Given 'I own project "Website"' do
@project = create(:project, :name => "Website")
- @project.add_access(@user, :admin)
+ @project.team << [@user, :master]
end
And '"Mike" is "Website" reporter' do
user = User.find_by_name("Mike")
project = Project.find_by_name("Website")
- project.add_access(user, :read)
+ project.team << [user, :reporter]
end
And 'I click link "Import team from another project"' do
diff --git a/features/steps/shared/admin.rb b/features/steps/shared/admin.rb
new file mode 100644
index 00000000000..1b712dc6d04
--- /dev/null
+++ b/features/steps/shared/admin.rb
@@ -0,0 +1,12 @@
+module SharedAdmin
+ include Spinach::DSL
+
+ And 'there are projects in system' do
+ 2.times { create(:project) }
+ end
+
+ And 'system has users' do
+ 2.times { create(:user) }
+ end
+end
+
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index bf20d5f8442..c046c4e63e6 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -21,6 +21,10 @@ module SharedPaths
visit merge_requests_group_path(current_group)
end
+ When 'I visit group people page' do
+ visit people_group_path(current_group)
+ end
+
# ----------------------------------------
# Dashboard
# ----------------------------------------
@@ -110,15 +114,15 @@ module SharedPaths
end
Given "I visit my project's files page" do
- visit project_tree_path(@project, @project.root_ref)
+ visit project_tree_path(@project, root_ref)
end
Given "I visit my project's commits page" do
- visit project_commits_path(@project, @project.root_ref, {limit: 5})
+ visit project_commits_path(@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})
+ visit project_commits_path(@project, root_ref + "/app/models/project.rb", {limit: 5})
end
Given 'I visit my project\'s commits stats page' do
@@ -161,6 +165,11 @@ module SharedPaths
visit project_path(project)
end
+ When 'I visit edit project "Shop" page' do
+ project = Project.find_by_name("Shop")
+ visit edit_project_path(project)
+ end
+
Given 'I visit project branches page' do
visit branches_project_repository_path(@project)
end
@@ -170,7 +179,7 @@ module SharedPaths
end
Given 'I visit project commits page' do
- visit project_commits_path(@project, @project.root_ref, {limit: 5})
+ visit project_commits_path(@project, root_ref, {limit: 5})
end
Given 'I visit project commits page for stable branch' do
@@ -178,7 +187,7 @@ module SharedPaths
end
Given 'I visit project source page' do
- visit project_tree_path(@project, @project.root_ref)
+ visit project_tree_path(@project, root_ref)
end
Given 'I visit blob file from repo' do
@@ -241,4 +250,8 @@ module SharedPaths
Given 'I visit project wiki page' do
visit project_wiki_path(@project, :index)
end
+
+ def root_ref
+ @project.repository.root_ref
+ end
end
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index dfc8ce9d99c..3150be5ef18 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -4,13 +4,51 @@ module SharedProject
# Create a project without caring about what it's called
And "I own a project" do
@project = create(:project)
- @project.add_access(@user, :admin)
+ @project.team << [@user, :master]
end
# Create a specific project called "Shop"
And 'I own project "Shop"' do
- @project = create(:project, :name => "Shop")
- @project.add_access(@user, :admin)
+ @project = create(:project, name: "Shop")
+ @project.team << [@user, :master]
+ end
+
+ And 'project "Shop" has push event' do
+ @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
+ }
+ }
+
+ @event = Event.create(
+ project: @project,
+ action: Event::Pushed,
+ data: data,
+ author_id: @user.id
+ )
+ end
+
+ Then 'I should see project "Shop" activity feed' do
+ project = Project.find_by_name("Shop")
+ page.should have_content "#{@user.name} pushed new branch new_design at #{project.name}"
+ end
+
+ Then 'I should see project settings' do
+ current_path.should == edit_project_path(@project)
+ page.should have_content("Project name is")
+ page.should have_content("Advanced settings:")
+ page.should have_content("Features:")
end
def current_project
diff --git a/features/support/env.rb b/features/support/env.rb
index 500de0f3e20..be10ad1b8b9 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,9 +1,13 @@
+require 'simplecov' unless ENV['CI']
+
ENV['RAILS_ENV'] = 'test'
require './config/environment'
require 'rspec'
require 'database_cleaner'
require 'spinach/capybara'
+require 'sidekiq/testing/inline'
+
%w(gitolite_stub stubbed_repository valid_commit).each do |f|
require Rails.root.join('spec', 'support', f)
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index 3be558816b5..4d832fbe593 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -78,6 +78,7 @@ module Gitlab
attrs = attributes_for_keys [:title, :description, :assignee_id, :milestone_id, :closed]
attrs[:label_list] = params[:labels] if params[:labels].present?
+ IssueObserver.current_user = current_user
if @issue.update_attributes attrs
present @issue, with: Entities::Issue
else
diff --git a/lib/api/notes.rb b/lib/api/notes.rb
index 4875ac4c03e..4613db54578 100644
--- a/lib/api/notes.rb
+++ b/lib/api/notes.rb
@@ -13,7 +13,7 @@ module Gitlab
# Example Request:
# GET /projects/:id/notes
get ":id/notes" do
- @notes = user_project.common_notes
+ @notes = user_project.notes.common
present paginate(@notes), with: Entities::Note
end
@@ -25,7 +25,7 @@ module Gitlab
# Example Request:
# GET /projects/:id/notes/:note_id
get ":id/notes/:note_id" do
- @note = user_project.common_notes.find(params[:note_id])
+ @note = user_project.notes.common.find(params[:note_id])
present @note, with: Entities::Note
end
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index fb01524da39..55c81f3158a 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -9,7 +9,7 @@ module Gitlab
# Example Request:
# GET /projects
get do
- @projects = paginate current_user.projects
+ @projects = paginate current_user.authorized_projects
present @projects, with: Entities::Project
end
@@ -257,7 +257,7 @@ module Gitlab
per_page = params[:per_page] || 20
ref = params[:ref_name] || user_project.try(:default_branch) || 'master'
- commits = user_project.commits(ref, nil, per_page, page * per_page)
+ commits = user_project.repository.commits(ref, nil, per_page, page * per_page)
present CommitDecorator.decorate(commits), with: Entities::RepoCommit
end
@@ -375,10 +375,10 @@ module Gitlab
ref = params[:sha]
- commit = user_project.commit ref
+ commit = user_project.repository.commit ref
not_found! "Commit" unless commit
- tree = Tree.new commit.tree, user_project, ref, params[:filepath]
+ tree = Tree.new commit.tree, ref, params[:filepath]
not_found! "File" unless tree.try(:tree)
content_type tree.mime_type
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb
index b60dfd036e1..270a0aaa87a 100644
--- a/lib/extracts_path.rb
+++ b/lib/extracts_path.rb
@@ -33,6 +33,9 @@ module ExtractsPath
# extract_ref("v2.0.0/README.md")
# # => ['v2.0.0', 'README.md']
#
+ # extract_ref('/gitlab/vagrant/tree/master/app/models/project.rb')
+ # # => ['master', 'app/models/project.rb']
+ #
# extract_ref('issues/1234/app/models/project.rb')
# # => ['issues/1234', 'app/models/project.rb']
#
@@ -47,6 +50,13 @@ module ExtractsPath
return pair unless @project
+ # Remove project, actions and all other staff from path
+ input.gsub!(/^\/#{Regexp.escape(@project.path_with_namespace)}/, "")
+ input.gsub!(/^\/(tree|commits|blame|blob|refs)\//, "") # remove actions
+ input.gsub!(/\?.*$/, "") # remove stamps suffix
+ input.gsub!(/.atom$/, "") # remove rss feed
+ input.gsub!(/\/edit$/, "") # remove edit route part
+
if input.match(/^([[:alnum:]]{40})(.+)/)
# If the ref appears to be a SHA, we're done, just split the string
pair = $~.captures
@@ -58,7 +68,7 @@ module ExtractsPath
id = input
id += '/' unless id.ends_with?('/')
- valid_refs = @project.ref_names
+ valid_refs = @project.repository.ref_names
valid_refs.select! { |v| id.start_with?("#{v}/") }
if valid_refs.length != 1
@@ -98,13 +108,15 @@ module ExtractsPath
request.format = :atom
end
- @ref, @path = extract_ref(params[:id])
+ path = CGI::unescape(request.fullpath.dup)
+
+ @ref, @path = extract_ref(path)
@id = File.join(@ref, @path)
- @commit = CommitDecorator.decorate(@project.commit(@ref))
+ @commit = CommitDecorator.decorate(@project.repository.commit(@ref))
- @tree = Tree.new(@commit.tree, @project, @ref, @path)
+ @tree = Tree.new(@commit.tree, @ref, @path)
@tree = TreeDecorator.new(@tree)
raise InvalidPathError if @tree.invalid?
diff --git a/lib/gitlab/backend/gitolite_config.rb b/lib/gitlab/backend/gitolite_config.rb
index a2bc4ca8d74..10e527eac73 100644
--- a/lib/gitlab/backend/gitolite_config.rb
+++ b/lib/gitlab/backend/gitolite_config.rb
@@ -82,7 +82,7 @@ module Gitlab
end
def destroy_project(project)
- FileUtils.rm_rf(project.path_to_repo)
+ FileUtils.rm_rf(project.repository.path_to_repo)
conf.rm_repo(project.path_with_namespace)
end
@@ -138,9 +138,9 @@ module Gitlab
::Gitolite::Config::Repo.new(repo_name)
end
- name_readers = project.repository_readers
- name_writers = project.repository_writers
- name_masters = project.repository_masters
+ name_readers = project.team.repository_readers
+ name_writers = project.team.repository_writers
+ name_masters = project.team.repository_masters
pr_br = project.protected_branches.map(&:name).join("$ ")
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb
index 7c31117f01d..cfad532a06c 100644
--- a/lib/gitlab/backend/grack_auth.rb
+++ b/lib/gitlab/backend/grack_auth.rb
@@ -17,10 +17,6 @@ module Grack
# Pass Gitolite update hook
ENV['GL_BYPASS_UPDATE_HOOK'] = "true"
- # Need this patch due to the rails mount
- @env['PATH_INFO'] = @request.path
- @env['SCRIPT_NAME'] = ""
-
# Find project by PATH_INFO from env
if m = /^\/([\w\.\/-]+)\.git/.match(@request.path_info).to_a
self.project = Project.find_with_namespace(m.last)
diff --git a/lib/gitlab/graph/commit.rb b/lib/gitlab/graph/commit.rb
index 3d82c34432f..a6bf23a2381 100644
--- a/lib/gitlab/graph/commit.rb
+++ b/lib/gitlab/graph/commit.rb
@@ -22,14 +22,16 @@ module Gitlab
h[:parents] = self.parents.collect do |p|
[p.id,0,0]
end
- h[:author] = author.name
+ h[:author] = {
+ name: author.name,
+ email: author.email
+ }
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] = message
- h[:login] = author.email
h
end
diff --git a/lib/gitlab/graph/json_builder.rb b/lib/gitlab/graph/json_builder.rb
index a5914363393..4a48b3b5675 100644
--- a/lib/gitlab/graph/json_builder.rb
+++ b/lib/gitlab/graph/json_builder.rb
@@ -17,14 +17,14 @@ module Gitlab
@commits = collect_commits
@days = index_commits
end
-
+
def to_json(*args)
{
days: @days.compact.map { |d| [d.day, d.strftime("%b")] },
commits: @commits.map(&:to_graph_hash)
}.to_json(*args)
end
-
+
protected
# Get commits from repository
@@ -97,7 +97,7 @@ module Gitlab
if leaves.empty?
return
end
- space = find_free_space(leaves.last.time..leaves.first.time)
+ space = find_free_space(leaves, map)
leaves.each{|l| l.space = space}
# and mark it as reserved
min_time = leaves.last.time
@@ -119,7 +119,7 @@ module Gitlab
# Visit branching chains
leaves.each do |l|
- parents = l.parents.collect.select{|p| map.include? p.id and map[p.id].space == 0}
+ parents = l.parents.collect.select{|p| map.include? p.id and map[p.id].space.zero?}
for p in parents
place_chain(map[p.id], map, l.time)
end
@@ -132,18 +132,29 @@ module Gitlab
end
end
- def find_free_space(time_range)
+ def find_free_space(leaves, map)
+ time_range = leaves.last.time..leaves.first.time
reserved = []
for day in time_range
reserved += @_reserved[day]
end
- space = 1
+ space = base_space(leaves, map)
while reserved.include? space do
space += 1
end
space
end
+ def base_space(leaves, map)
+ parents = []
+ leaves.each do |l|
+ parents.concat l.parents.collect.select{|p| map.include? p.id and map[p.id].space.nonzero?}
+ end
+
+ space = parents.map{|p| map[p.id].space}.max || 0
+ space += 1
+ end
+
# Takes most left subtree branch of commits
# which don't have space mark yet.
#
@@ -156,13 +167,13 @@ module Gitlab
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 commit.parents.count.zero?
+ return leaves unless map.include? commit.parents.first.id
+
+ commit = map[commit.parents.first.id]
- return leaves if parent.count.zero?
+ return leaves unless commit.space.zero?
- commit = map[parent.first.id]
leaves.push(commit)
end
end
diff --git a/lib/gitlab/markdown.rb b/lib/gitlab/markdown.rb
index c947e69aa4c..d3f678cfcbc 100644
--- a/lib/gitlab/markdown.rb
+++ b/lib/gitlab/markdown.rb
@@ -170,7 +170,7 @@ module Gitlab
end
def reference_commit(identifier)
- if @project.valid_repo? && commit = @project.commit(identifier)
+ if @project.valid_repo? && commit = @project.repository.commit(identifier)
link_to(identifier, project_commit_path(@project, commit), html_options.merge(title: CommitDecorator.new(commit).link_title, class: "gfm gfm-commit #{html_options[:class]}"))
end
end
diff --git a/lib/gitlab/project_mover.rb b/lib/gitlab/project_mover.rb
index def6e90001b..207e585f572 100644
--- a/lib/gitlab/project_mover.rb
+++ b/lib/gitlab/project_mover.rb
@@ -16,7 +16,7 @@ module Gitlab
def execute
# Create new dir if missing
new_dir_path = File.join(Gitlab.config.gitolite.repos_path, new_dir)
- system("mkdir -m 770 #{new_dir_path}") unless File.exists?(new_dir_path)
+ FileUtils.mkdir( new_dir_path, mode: 0770 ) unless File.exists?(new_dir_path)
old_path = File.join(Gitlab.config.gitolite.repos_path, old_dir, "#{project.path}.git")
new_path = File.join(new_dir_path, "#{project.path}.git")
@@ -25,17 +25,18 @@ module Gitlab
raise ProjectMoveError.new("Destination #{new_path} already exists")
end
- if system("mv #{old_path} #{new_path}")
+ begin
+ FileUtils.mv( old_path, new_path )
log_info "Project #{project.name} was moved from #{old_path} to #{new_path}"
true
- else
+ rescue Exception => e
message = "Project #{project.name} cannot be moved from #{old_path} to #{new_path}"
- log_info "Error! #{message}"
+ log_info "Error! #{message} (#{e.message})"
raise ProjectMoveError.new(message)
end
end
- protected
+ protected
def log_info message
Gitlab::AppLogger.info message
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb
index a3f38b1c360..483042205ea 100644
--- a/lib/gitlab/regex.rb
+++ b/lib/gitlab/regex.rb
@@ -6,6 +6,10 @@ module Gitlab
default_regex
end
+ def project_name_regex
+ /\A[a-zA-Z][a-zA-Z0-9_\-\. ]*\z/
+ end
+
def path_regex
default_regex
end
diff --git a/lib/gitlab/satellite/merge_action.rb b/lib/gitlab/satellite/merge_action.rb
index 832db6621c4..556a1e2d52f 100644
--- a/lib/gitlab/satellite/merge_action.rb
+++ b/lib/gitlab/satellite/merge_action.rb
@@ -31,7 +31,7 @@ module Gitlab
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)
+ if merge_request.should_remove_source_branch && !project.repository.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
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb
index 91c83d81029..a0abf1918ca 100644
--- a/lib/gitlab/satellite/satellite.rb
+++ b/lib/gitlab/satellite/satellite.rb
@@ -1,4 +1,6 @@
module Gitlab
+ class SatelliteNotExistError < StandardError; end
+
module Satellite
class Satellite
PARKING_BRANCH = "__parking_branch"
@@ -9,8 +11,12 @@ module Gitlab
@project = project
end
+ def raise_no_satellite
+ raise SatelliteNotExistError.new("Satellite doesn't exist")
+ end
+
def clear_and_update!
- raise "Satellite doesn't exist" unless exists?
+ raise_no_satellite unless exists?
delete_heads!
clear_working_dir!
@@ -18,7 +24,13 @@ module Gitlab
end
def create
- `git clone #{project.url_to_repo} #{path}`
+ create_cmd = "git clone #{project.url_to_repo} #{path}"
+ if system(create_cmd)
+ true
+ else
+ Gitlab::GitLogger.error("Failed to create satellite for #{project.name_with_namespace}")
+ false
+ end
end
def exists?
@@ -29,7 +41,7 @@ module Gitlab
# * Changes the current directory to the satellite's working dir
# * Yields
def lock
- raise "Satellite doesn't exist" unless exists?
+ raise_no_satellite unless exists?
File.open(lock_file, "w+") do |f|
f.flock(File::LOCK_EX)
@@ -49,7 +61,7 @@ module Gitlab
end
def repo
- raise "Satellite doesn't exist" unless exists?
+ raise_no_satellite unless exists?
@repo ||= Grit::Repo.new(path)
end
diff --git a/lib/gitolited.rb b/lib/gitolited.rb
new file mode 100644
index 00000000000..68b9b625525
--- /dev/null
+++ b/lib/gitolited.rb
@@ -0,0 +1,11 @@
+# == Gitolited mixin
+#
+# Provide a shortcut to Gitlab::Gitolite instance by gitolite
+#
+# Used by Project, UsersProject, etc
+#
+module Gitolited
+ def gitolite
+ Gitlab::Gitolite.new
+ end
+end
diff --git a/lib/hooks/post-receive b/lib/hooks/post-receive
index ebd9e1a028a..6944d3e3f72 100755
--- a/lib/hooks/post-receive
+++ b/lib/hooks/post-receive
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
+# Version 4.1
# This file was placed here by GitLab. It makes sure that your pushed commits
# will be processed properly.
diff --git a/app/roles/static_model.rb b/lib/static_model.rb
index 5b64be1f041..185921d8fbe 100644
--- a/app/roles/static_model.rb
+++ b/lib/static_model.rb
@@ -38,7 +38,7 @@ module StaticModel
end
def ==(other)
- if other.is_a? StaticModel
+ if other.is_a? ::StaticModel
id == other.id
else
super
diff --git a/lib/support/rewrite-hooks.sh b/lib/support/rewrite-hooks.sh
index 6688785a179..b8fd36b9a1e 100755
--- a/lib/support/rewrite-hooks.sh
+++ b/lib/support/rewrite-hooks.sh
@@ -11,9 +11,22 @@ do
continue
fi
- project_hook="$src/$dir/hooks/post-receive"
- gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
+ if [[ "$dir" =~ ^.*.git$ ]]
+ then
+ project_hook="$src/$dir/hooks/post-receive"
+ gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
+
+ ln -s -f $gitolite_hook $project_hook
+ else
+ for subdir in `ls "$src/$dir/"`
+ do
+ if [ -d "$src/$dir/$subdir" ] && [[ "$subdir" =~ ^.*.git$ ]]; then
+ project_hook="$src/$dir/$subdir/hooks/post-receive"
+ gitolite_hook="/home/git/.gitolite/hooks/common/post-receive"
- ln -s -f $gitolite_hook $project_hook
+ ln -s -f $gitolite_hook $project_hook
+ fi
+ done
+ fi
fi
done
diff --git a/lib/support/truncate_repositories.sh b/lib/support/truncate_repositories.sh
new file mode 100755
index 00000000000..3b14e2ee362
--- /dev/null
+++ b/lib/support/truncate_repositories.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+echo "Danger!!! Data Loss"
+while true; do
+ read -p "Do you wish to all directories except gitolite-admin.git from /home/git/repositories/ (y/n) ?: " yn
+ case $yn in
+ [Yy]* ) sh -c "find /home/git/repositories/. -maxdepth 1 -not -name 'gitolite-admin.git' -not -name '.' | xargs sudo rm -rf"; break;;
+ [Nn]* ) exit;;
+ * ) echo "Please answer yes or no.";;
+ esac
+done
diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
index 44da6d671e0..ae2b1bb793f 100644
--- a/lib/tasks/gitlab/backup.rake
+++ b/lib/tasks/gitlab/backup.rake
@@ -5,6 +5,8 @@ namespace :gitlab do
# Create backup of GitLab system
desc "GITLAB | Create a backup of the GitLab system"
task :create => :environment do
+ warn_user_is_not_gitlab
+
Rake::Task["gitlab:backup:db:create"].invoke
Rake::Task["gitlab:backup:repo:create"].invoke
@@ -22,23 +24,23 @@ namespace :gitlab do
end
# create archive
- print "Creating backup archive: #{Time.now.to_i}_gitlab_backup.tar "
+ print "Creating backup archive: #{Time.now.to_i}_gitlab_backup.tar ... "
if Kernel.system("tar -cf #{Time.now.to_i}_gitlab_backup.tar repositories/ db/ backup_information.yml")
- puts "[DONE]".green
+ puts "done".green
else
- puts "[FAILED]".red
+ puts "failed".red
end
# cleanup: remove tmp files
- print "Deleting tmp directories..."
+ print "Deleting tmp directories ... "
if Kernel.system("rm -rf repositories/ db/ backup_information.yml")
- puts "[DONE]".green
+ puts "done".green
else
- puts "[FAILED]".red
+ puts "failed".red
end
# delete backups
- print "Deleting old backups... "
+ print "Deleting old backups ... "
if Gitlab.config.backup.keep_time > 0
file_list = Dir.glob("*_gitlab_backup.tar").map { |f| f.split(/_/).first.to_i }
file_list.sort.each do |timestamp|
@@ -46,15 +48,17 @@ namespace :gitlab do
%x{rm #{timestamp}_gitlab_backup.tar}
end
end
- puts "[DONE]".green
+ puts "done".green
else
- puts "[SKIPPING]".yellow
+ puts "skipping".yellow
end
end
# Restore backup of GitLab system
desc "GITLAB | Restore a previously created backup"
task :restore => :environment do
+ warn_user_is_not_gitlab
+
Dir.chdir(Gitlab.config.backup.path)
# check for existing backups in the backup dir
@@ -63,22 +67,22 @@ namespace :gitlab do
if file_list.count > 1 && ENV["BACKUP"].nil?
puts "Found more than one backup, please specify which one you want to restore:"
puts "rake gitlab:backup:restore BACKUP=timestamp_of_backup"
- exit 1;
+ exit 1
end
tar_file = ENV["BACKUP"].nil? ? File.join("#{file_list.first}_gitlab_backup.tar") : File.join(ENV["BACKUP"] + "_gitlab_backup.tar")
unless File.exists?(tar_file)
puts "The specified backup doesn't exist!"
- exit 1;
+ exit 1
end
- print "Unpacking backup... "
+ print "Unpacking backup ... "
unless Kernel.system("tar -xf #{tar_file}")
- puts "[FAILED]".red
+ puts "failed".red
exit 1
else
- puts "[DONE]".green
+ puts "done".green
end
settings = YAML.load_file("backup_information.yml")
@@ -86,7 +90,7 @@ namespace :gitlab do
# restoring mismatching backups can lead to unexpected problems
if settings[:gitlab_version] != %x{git rev-parse HEAD}.gsub(/\n/,"")
- puts "gitlab_version mismatch:".red
+ 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
@@ -97,11 +101,11 @@ namespace :gitlab do
Rake::Task["gitlab:backup:repo:restore"].invoke
# cleanup: remove tmp files
- print "Deleting tmp directories..."
+ print "Deleting tmp directories ... "
if Kernel.system("rm -rf repositories/ db/ backup_information.yml")
- puts "[DONE]".green
+ puts "done".green
else
- puts "[FAILED]".red
+ puts "failed".red
end
end
@@ -114,12 +118,23 @@ namespace :gitlab do
task :create => :environment do
backup_path_repo = File.join(Gitlab.config.backup.path, "repositories")
FileUtils.mkdir_p(backup_path_repo) until Dir.exists?(backup_path_repo)
- puts "Dumping repositories:"
- project = Project.all.map { |n| [n.path, n.path_to_repo] }
- project << ["gitolite-admin.git", File.join(Gitlab.config.git_base_path, "gitolite-admin.git")]
- project.each do |project|
- print "- Dumping repository #{project.first}... "
- if Kernel.system("cd #{project.second} > /dev/null 2>&1 && git bundle create #{backup_path_repo}/#{project.first}.bundle --all > /dev/null 2>&1")
+ puts "Dumping repositories ...".blue
+
+ Project.find_each(:batch_size => 1000) do |project|
+ print " * #{project.path_with_namespace} ... "
+
+ if project.empty_repo?
+ puts "[SKIPPED]".cyan
+ next
+ end
+
+ # Create namespace dir if missing
+ FileUtils.mkdir_p(File.join(backup_path_repo, project.namespace.path)) if project.namespace
+
+ # Build a destination path for backup
+ path_to_bundle = File.join(backup_path_repo, project.path_with_namespace + ".bundle")
+
+ if Kernel.system("cd #{project.repository.path_to_repo} > /dev/null 2>&1 && git bundle create #{path_to_bundle} --all > /dev/null 2>&1")
puts "[DONE]".green
else
puts "[FAILED]".red
@@ -129,18 +144,21 @@ namespace :gitlab do
task :restore => :environment do
backup_path_repo = File.join(Gitlab.config.backup.path, "repositories")
- puts "Restoring repositories:"
- project = Project.all.map { |n| [n.path, n.path_to_repo] }
- project << ["gitolite-admin.git", File.join(File.dirname(project.first.second), "gitolite-admin.git")]
- project.each do |project|
- print "- Restoring repository #{project.first}... "
- FileUtils.rm_rf(project.second) if File.dirname(project.second) # delete old stuff
- if Kernel.system("cd #{File.dirname(project.second)} > /dev/null 2>&1 && git clone --bare #{backup_path_repo}/#{project.first}.bundle #{project.first}.git > /dev/null 2>&1")
- permission_commands = [
- "sudo chmod -R g+rwX #{Gitlab.config.git_base_path}",
- "sudo chown -R #{Gitlab.config.ssh_user}:#{Gitlab.config.ssh_user} #{Gitlab.config.git_base_path}"
- ]
- permission_commands.each { |command| Kernel.system(command) }
+ repos_path = Gitlab.config.gitolite.repos_path
+
+ puts "Restoring repositories ... "
+
+ Project.find_each(:batch_size => 1000) do |project|
+ print "#{project.path_with_namespace} ... "
+
+ if project.namespace
+ project.namespace.ensure_dir_exist
+ end
+
+ # Build a backup path
+ path_to_bundle = File.join(backup_path_repo, project.path_with_namespace + ".bundle")
+
+ if Kernel.system("git clone --bare #{path_to_bundle} #{project.repository.path_to_repo} > /dev/null 2>&1")
puts "[DONE]".green
else
puts "[FAILED]".red
@@ -156,9 +174,9 @@ namespace :gitlab do
backup_path_db = File.join(Gitlab.config.backup.path, "db")
FileUtils.mkdir_p(backup_path_db) unless Dir.exists?(backup_path_db)
- puts "Dumping database tables:"
+ puts "Dumping database tables ... ".blue
ActiveRecord::Base.connection.tables.each do |tbl|
- print "- Dumping table #{tbl}... "
+ print " * #{tbl.yellow} ... "
count = 1
File.open(File.join(backup_path_db, tbl + ".yml"), "w+") do |file|
ActiveRecord::Base.connection.select_all("SELECT * FROM `#{tbl}`").each do |line|
@@ -167,25 +185,25 @@ namespace :gitlab do
file << output.to_yaml.gsub(/^---\n/,'') + "\n"
count += 1
end
- puts "[DONE]".green
+ puts "done".green
end
end
end
- task :restore=> :environment do
+ task :restore => :environment do
backup_path_db = File.join(Gitlab.config.backup.path, "db")
- puts "Restoring database tables:"
+ puts "Restoring database tables (loading fixtures) ... "
Rake::Task["db:reset"].invoke
Dir.glob(File.join(backup_path_db, "*.yml") ).each do |dir|
fixture_file = File.basename(dir, ".*" )
- print "- Loading fixture #{fixture_file}..."
+ print "#{fixture_file.yellow} ... "
if File.size(dir) > 0
ActiveRecord::Fixtures.create_fixtures(backup_path_db, fixture_file)
- puts "[DONE]".green
+ puts "done".green
else
- puts "[SKIPPING]".yellow
+ puts "skipping".yellow
end
end
end
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index baa706d2bee..5d850a17fe3 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -48,24 +48,24 @@ namespace :gitlab do
see_database_guide,
"http://guides.rubyonrails.org/getting_started.html#configuring-a-database"
)
- check_failed
+ fix_and_rerun
end
end
def check_database_is_not_sqlite
- print "Database is not SQLite ... "
+ print "Database is SQLite ... "
database_config_file = Rails.root.join("config", "database.yml")
- unless File.read(database_config_file) =~ /sqlite/
- puts "yes".green
+ unless File.read(database_config_file) =~ /adapter:\s+sqlite/
+ puts "no".green
else
- puts "no".red
+ puts "yes".red
for_more_information(
"https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL",
see_database_guide
)
- check_failed
+ fix_and_rerun
end
end
@@ -85,7 +85,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "GitLab"
)
- check_failed
+ fix_and_rerun
end
end
@@ -98,7 +98,7 @@ namespace :gitlab do
end
# omniauth or ldap could have been deleted from the file
- unless Gitlab.config.pre_40_config
+ unless Gitlab.config['git_host']
puts "no".green
else
puts "yes".red
@@ -110,7 +110,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "GitLab"
)
- check_failed
+ fix_and_rerun
end
end
@@ -129,7 +129,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Install Init Script"
)
- check_failed
+ fix_and_rerun
end
end
@@ -155,7 +155,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Install Init Script"
)
- check_failed
+ fix_and_rerun
end
end
@@ -171,7 +171,7 @@ namespace :gitlab do
try_fixing_it(
"sudo -u gitlab -H bundle exec rake db:migrate"
)
- check_failed
+ fix_and_rerun
end
end
@@ -189,6 +189,8 @@ namespace :gitlab do
if project.satellite.exists?
puts "yes".green
+ elsif project.empty_repo?
+ puts "can't create, repository is empty".magenta
else
puts "no".red
try_fixing_it(
@@ -199,7 +201,7 @@ namespace :gitlab do
for_more_information(
"doc/raketasks/maintenance.md "
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -220,7 +222,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "GitLab"
)
- check_failed
+ fix_and_rerun
end
end
@@ -240,7 +242,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "GitLab"
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -254,7 +256,7 @@ namespace :gitlab do
start_checking "Environment"
check_gitlab_in_git_group
- check_issue_1056_shell_profile_error
+ check_issue_1059_shell_profile_error
check_gitlab_git_config
check_python2_exists
check_python2_version
@@ -288,7 +290,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "GitLab"
)
- check_failed
+ fix_and_rerun
end
end
@@ -306,16 +308,16 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "System Users"
)
- check_failed
+ fix_and_rerun
end
end
# see https://github.com/gitlabhq/gitlabhq/issues/1059
- def check_issue_1056_shell_profile_error
+ def check_issue_1059_shell_profile_error
gitolite_ssh_user = Gitlab.config.gitolite.ssh_user
print "Has no \"-e\" in ~#{gitolite_ssh_user}/.profile ... "
- profile_file = File.expand_path("~#{Gitlab.config.gitolite.ssh_user}/.profile")
+ profile_file = File.join(gitolite_home, ".profile")
unless File.read(profile_file) =~ /^-e PATH/
puts "yes".green
@@ -330,7 +332,7 @@ namespace :gitlab do
see_installation_guide_section("Gitolite"),
"https://github.com/gitlabhq/gitlabhq/issues/1059"
)
- check_failed
+ fix_and_rerun
end
end
@@ -350,7 +352,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Packages / Dependencies"
)
- check_failed
+ fix_and_rerun
end
end
@@ -376,7 +378,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Packages / Dependencies"
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -396,6 +398,7 @@ namespace :gitlab do
check_dot_gitolite_user_and_group
check_dot_gitolite_permissions
check_repo_base_exists
+ check_repo_base_is_not_symlink
check_repo_base_user_and_group
check_repo_base_permissions
check_can_clone_gitolite_admin
@@ -432,7 +435,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
# assumes #check_can_clone_gitolite_admin has been run before
@@ -464,7 +467,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
ensure
FileUtils.rm_rf("/tmp/gitolite_gitlab_test")
end
@@ -472,7 +475,7 @@ namespace :gitlab do
def check_dot_gitolite_exists
print "Config directory exists? ... "
- gitolite_config_path = File.expand_path("~#{Gitlab.config.gitolite.ssh_user}/.gitolite")
+ gitolite_config_path = File.join(gitolite_home, ".gitolite")
if File.directory?(gitolite_config_path)
puts "yes".green
@@ -486,14 +489,14 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
def check_dot_gitolite_permissions
print "Config directory access is drwxr-x---? ... "
- gitolite_config_path = File.expand_path("~#{Gitlab.config.gitolite.ssh_user}/.gitolite")
+ gitolite_config_path = File.join(gitolite_home, ".gitolite")
unless File.exists?(gitolite_config_path)
puts "can't check because of previous errors".magenta
return
@@ -503,14 +506,13 @@ namespace :gitlab do
puts "yes".green
else
puts "no".red
- puts "#{gitolite_config_path} is not writable".red
try_fixing_it(
"sudo chmod 750 #{gitolite_config_path}"
)
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
@@ -518,7 +520,7 @@ namespace :gitlab do
gitolite_ssh_user = Gitlab.config.gitolite.ssh_user
print "Config directory owned by #{gitolite_ssh_user}:#{gitolite_ssh_user} ... "
- gitolite_config_path = File.expand_path("~#{gitolite_ssh_user}/.gitolite")
+ gitolite_config_path = File.join(gitolite_home, ".gitolite")
unless File.exists?(gitolite_config_path)
puts "can't check because of previous errors".magenta
return
@@ -536,13 +538,13 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
def check_gitolite_is_up_to_date
print "Using recommended version ... "
- if gitolite_version.try(:start_with?, "v3.04")
+ if gitolite_version.try(:start_with?, "v3.2")
puts "yes".green
else
puts "no".red
@@ -581,7 +583,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
@@ -610,7 +612,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
@@ -634,7 +636,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Setup GitLab Hooks"
)
- check_failed
+ fix_and_rerun
end
end
@@ -644,7 +646,6 @@ namespace :gitlab do
hook_file = "post-receive"
gitolite_hooks_path = File.join(Gitlab.config.gitolite.hooks_path, "common")
gitolite_hook_file = File.join(gitolite_hooks_path, hook_file)
- gitolite_hook_content = File.read(gitolite_hook_file)
gitolite_ssh_user = Gitlab.config.gitolite.ssh_user
unless File.exists?(gitolite_hook_file)
@@ -652,6 +653,7 @@ namespace :gitlab do
return
end
+ gitolite_hook_content = File.read(gitolite_hook_file)
gitlab_hook_file = Rails.root.join.join("lib", "hooks", hook_file)
gitlab_hook_content = File.read(gitlab_hook_file)
@@ -665,7 +667,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Setup GitLab Hooks"
)
- check_failed
+ fix_and_rerun
end
end
@@ -687,7 +689,27 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
+ end
+ end
+
+ def check_repo_base_is_not_symlink
+ print "Repo base directory is a symlink? ... "
+
+ repo_base_path = Gitlab.config.gitolite.repos_path
+ unless File.exists?(repo_base_path)
+ puts "can't check because of previous errors".magenta
+ return
+ end
+
+ unless File.symlink?(repo_base_path)
+ puts "no".green
+ else
+ puts "yes".red
+ try_fixing_it(
+ "Make sure it's set to the real directory in config/gitlab.yml"
+ )
+ fix_and_rerun
end
end
@@ -711,7 +733,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
@@ -737,7 +759,7 @@ namespace :gitlab do
for_more_information(
see_installation_guide_section "Gitolite"
)
- check_failed
+ fix_and_rerun
end
end
@@ -758,7 +780,7 @@ namespace :gitlab do
print "#{project.name_with_namespace.yellow} ... "
correct_options = options.map do |name, value|
- run("git --git-dir=\"#{project.path_to_repo}\" config --get #{name}").try(:chomp) == value
+ run("git --git-dir=\"#{project.repository.path_to_repo}\" config --get #{name}").try(:chomp) == value
end
if correct_options.all?
@@ -771,7 +793,7 @@ namespace :gitlab do
for_more_information(
"doc/raketasks/maintenance.md"
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -797,7 +819,7 @@ namespace :gitlab do
Project.find_each(batch_size: 100) do |project|
print "#{project.name_with_namespace.yellow} ... "
- project_hook_file = File.join(project.path_to_repo, "hooks", hook_file)
+ project_hook_file = File.join(project.repository.path_to_repo, "hooks", hook_file)
unless File.exists?(project_hook_file)
puts "missing".red
@@ -807,7 +829,7 @@ namespace :gitlab do
for_more_information(
"lib/support/rewrite-hooks.sh"
)
- check_failed
+ fix_and_rerun
next
end
@@ -821,7 +843,7 @@ namespace :gitlab do
for_more_information(
"lib/support/rewrite-hooks.sh"
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -849,7 +871,7 @@ namespace :gitlab do
namespace :resque do
- desc "GITLAB | Check the configuration of Resque"
+ desc "GITLAB | Check the configuration of Sidekiq"
task check: :environment do
warn_user_is_not_gitlab
start_checking "Resque"
@@ -866,7 +888,7 @@ namespace :gitlab do
def check_resque_running
print "Running? ... "
- if run_and_match("ps aux | grep -i resque", /resque-[\d\.]+:.+$/)
+ if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d\.\d\.\d.+$/)
puts "yes".green
else
puts "no".red
@@ -877,9 +899,9 @@ namespace :gitlab do
)
for_more_information(
see_installation_guide_section("Install Init Script"),
- "see log/resque.log for possible errors"
+ "see log/sidekiq.log for possible errors"
)
- check_failed
+ fix_and_rerun
end
end
end
@@ -888,7 +910,7 @@ namespace :gitlab do
# Helper methods
##########################
- def check_failed
+ def fix_and_rerun
puts " Please #{"fix the error above"} and rerun the checks.".red
end
@@ -907,29 +929,6 @@ namespace :gitlab do
puts ""
end
- # Runs the given command
- #
- # Returns nil if the command was not found
- # Returns the output of the command otherwise
- #
- # see also #run_and_match
- def run(command)
- unless `#{command} 2>/dev/null`.blank?
- `#{command}`
- end
- end
-
- # Runs the given command and matches the output agains the given pattern
- #
- # Returns nil if nothing matched
- # Retunrs the MatchData if the pattern matched
- #
- # see also #run
- # see also String#match
- def run_and_match(command, pattern)
- run(command).try(:match, pattern)
- end
-
def see_database_guide
"doc/install/databases.md"
end
@@ -951,18 +950,4 @@ namespace :gitlab do
puts " #{step}"
end
end
-
- def warn_user_is_not_gitlab
- unless @warned_user_not_gitlab
- current_user = run("whoami").chomp
- unless current_user == "gitlab"
- puts "#{Colored.color(:black)+Colored.color(:on_yellow)} Warning #{Colored.extra(:clear)}"
- puts " You are running as user #{current_user.magenta}, we hope you know what you are doing."
- puts " Some tests may pass\/fail for the wrong reason."
- puts " For meaningful results you should run this as user #{"gitlab".magenta}."
- puts ""
- end
- @warned_user_not_gitlab = true
- end
- end
end
diff --git a/lib/tasks/gitlab/cleanup.rake b/lib/tasks/gitlab/cleanup.rake
new file mode 100644
index 00000000000..2a0ffe0f4bd
--- /dev/null
+++ b/lib/tasks/gitlab/cleanup.rake
@@ -0,0 +1,128 @@
+namespace :gitlab do
+ namespace :cleanup do
+ desc "GITLAB | Cleanup | Clean gitolite config"
+ task :config => :environment do
+ warn_user_is_not_gitlab
+
+ real_repos = Project.all.map(&:path_with_namespace)
+ real_repos << "gitolite-admin"
+ real_repos << "@all"
+
+ remove_flag = ENV['REMOVE']
+
+ puts "Looking for repositories to remove... "
+ Gitlab::GitoliteConfig.new.apply do |config|
+ all_repos = []
+ garbage_repos = []
+
+ all_repos = config.conf.repos.keys
+ garbage_repos = all_repos - real_repos
+
+ garbage_repos.each do |repo_name|
+ if remove_flag
+ config.conf.rm_repo(repo_name)
+ print "to remove...".red
+ end
+
+ puts repo_name.red
+ end
+ end
+
+ unless remove_flag
+ puts "To cleanup repositories run this command with REMOVE=true".yellow
+ end
+ end
+
+ desc "GITLAB | Cleanup | Clean namespaces"
+ task :dirs => :environment do
+ warn_user_is_not_gitlab
+ remove_flag = ENV['REMOVE']
+
+
+ namespaces = Namespace.pluck(:path)
+ git_base_path = Gitlab.config.gitolite.repos_path
+ all_dirs = Dir.glob(git_base_path + '/*')
+
+ puts git_base_path.yellow
+ puts "Looking for directories to remove... "
+
+ all_dirs.reject! do |dir|
+ # skip if git repo
+ dir =~ /.git$/
+ end
+
+ all_dirs.reject! do |dir|
+ dir_name = File.basename dir
+
+ # skip if namespace present
+ namespaces.include?(dir_name)
+ end
+
+ all_dirs.each do |dir_path|
+
+ if remove_flag
+ if FileUtils.rm_rf dir_path
+ puts "Removed...#{dir_path}".red
+ else
+ puts "Cannot remove #{dir_path}".red
+ end
+ else
+ puts "Can be removed: #{dir_path}".red
+ end
+ end
+
+ unless remove_flag
+ puts "To cleanup this directories run this command with REMOVE=true".yellow
+ end
+ end
+
+ desc "GITLAB | Cleanup | Clean respositories"
+ task :repos => :environment do
+ warn_user_is_not_gitlab
+ remove_flag = ENV['REMOVE']
+
+ git_base_path = Gitlab.config.gitolite.repos_path
+ all_dirs = Dir.glob(git_base_path + '/*')
+
+ global_projects = Project.where(namespace_id: nil).pluck(:path)
+
+ puts git_base_path.yellow
+ puts "Looking for global repos to remove... "
+
+ # skip non git repo
+ all_dirs.select! do |dir|
+ dir =~ /.git$/
+ end
+
+ # skip existing repos
+ all_dirs.reject! do |dir|
+ repo_name = File.basename dir
+ path = repo_name.gsub(/\.git$/, "")
+ global_projects.include?(path)
+ end
+
+ # skip gitolite admin
+ all_dirs.reject! do |dir|
+ repo_name = File.basename dir
+ repo_name == 'gitolite-admin.git'
+ end
+
+
+ all_dirs.each do |dir_path|
+ if remove_flag
+ if FileUtils.rm_rf dir_path
+ puts "Removed...#{dir_path}".red
+ else
+ puts "Cannot remove #{dir_path}".red
+ end
+ else
+ puts "Can be removed: #{dir_path}".red
+ end
+ end
+
+ unless remove_flag
+ puts "To cleanup this directories run this command with REMOVE=true".yellow
+ end
+ end
+ end
+end
diff --git a/lib/tasks/gitlab/enable_automerge.rake b/lib/tasks/gitlab/enable_automerge.rake
index ed3d6368a99..e92da81021f 100644
--- a/lib/tasks/gitlab/enable_automerge.rake
+++ b/lib/tasks/gitlab/enable_automerge.rake
@@ -1,16 +1,42 @@
namespace :gitlab do
desc "GITLAB | Enable auto merge"
task :enable_automerge => :environment do
+ warn_user_is_not_gitlab
+
+ puts "Updating repo permissions ..."
Gitlab::Gitolite.new.enable_automerge
+ puts "... #{"done".green}"
+ puts ""
+
+ print "Creating satellites for ..."
+ unless Project.count > 0
+ puts "skipping, because you have no projects".magenta
+ next
+ end
+ puts ""
+
+ Project.find_each(batch_size: 100) do |project|
+ print "#{project.name_with_namespace.yellow} ... "
- Project.find_each do |project|
- if project.repo_exists? && !project.satellite.exists?
- puts "Creating satellite for #{project.name}...".green
+ unless project.repo_exists?
+ puts "skipping, because the repo is empty".magenta
+ next
+ end
+
+ if project.satellite.exists?
+ puts "exists already".green
+ else
+ puts ""
project.satellite.create
+
+ print "... "
+ if $?.success?
+ puts "created".green
+ else
+ puts "error".red
+ end
end
end
-
- puts "Done!".green
end
namespace :satellites do
diff --git a/lib/tasks/gitlab/enable_namespaces.rake b/lib/tasks/gitlab/enable_namespaces.rake
index 1be9ba6469d..aa76a2f7d83 100644
--- a/lib/tasks/gitlab/enable_namespaces.rake
+++ b/lib/tasks/gitlab/enable_namespaces.rake
@@ -1,67 +1,116 @@
namespace :gitlab do
desc "GITLAB | Enable usernames and namespaces for user projects"
task enable_namespaces: :environment do
- print "\nUsernames for users:".yellow
+ warn_user_is_not_gitlab
+ migrate_user_namespaces
+ migrate_groups
+ migrate_projects
+
+ puts "Rebuild Gitolite ... "
+ gitolite = Gitlab::Gitolite.new
+ gitolite.update_repositories(Project.where('namespace_id IS NOT NULL'))
+ puts "... #{"done".green}"
+ end
+
+ def migrate_user_namespaces
+ puts "\nGenerate usernames for users without one: ".blue
User.find_each(batch_size: 500) do |user|
- next if user.namespace
+ if user.namespace
+ print '-'.cyan
+ next
+ end
- User.transaction do
- username = user.email.match(/^[^@]*/)[0]
- if user.update_attributes!(username: username)
+ username = if user.username.present?
+ # if user already has username filled
+ user.username
+ else
+ build_username(user)
+ end
+
+ begin
+ User.transaction do
+ user.update_attributes!(username: username)
print '.'.green
- else
- print 'F'.red
end
+ rescue
+ print 'F'.red
end
end
+ puts "\nDone"
+ end
+
+ def build_username(user)
+ username = nil
+
+ # generate username
+ username = user.email.match(/^[^@]*/)[0]
+ username.gsub!("+", ".")
+
+ # return username if no mathes
+ return username unless User.find_by_username(username)
+
+ # look for same username
+ (1..10).each do |i|
+ suffixed_username = "#{username}#{i}"
+
+ return suffixed_username unless User.find_by_username(suffixed_username)
+ end
+ end
- print "\n\nDirs for groups:".yellow
+ def migrate_groups
+ puts "\nCreate directories for groups: ".blue
Group.find_each(batch_size: 500) do |group|
- if group.ensure_dir_exist
- print '.'.green
- else
+ begin
+ if group.dir_exists?
+ print '-'.cyan
+ else
+ if group.ensure_dir_exist
+ print '.'.green
+ else
+ print 'F'.red
+ end
+ end
+ rescue
print 'F'.red
end
end
+ puts "\nDone"
+ end
- print "\n\nMove projects from groups under groups dirs:".yellow
+ def migrate_projects
git_path = Gitlab.config.gitolite.repos_path
-
+ puts "\nMove projects in groups into respective directories ... ".blue
Project.where('namespace_id IS NOT NULL').find_each(batch_size: 500) do |project|
next unless project.group
group = project.group
- puts "\n"
- print " * #{project.name}: "
+ print "#{project.name_with_namespace.yellow} ... "
new_path = File.join(git_path, project.path_with_namespace + '.git')
if File.exists?(new_path)
- print "ok. already at #{new_path}".cyan
+ puts "already at #{new_path}".green
next
end
old_path = File.join(git_path, project.path + '.git')
unless File.exists?(old_path)
- print "missing. not found at #{old_path}".red
+ puts "couldn't find it at #{old_path}".red
next
end
begin
Gitlab::ProjectMover.new(project, '', group.path).execute
- print "ok. Moved to #{new_path}".green
+ puts "moved to #{new_path}".green
rescue
- print "Failed moving to #{new_path}".red
+ puts "failed moving to #{new_path}".red
end
end
- print "\n\nRebuild gitolite:".yellow
- gitolite = Gitlab::Gitolite.new
- gitolite.update_repositories(Project.where('namespace_id IS NOT NULL'))
- puts "\n"
+ puts "\nDone"
end
end
diff --git a/lib/tasks/gitlab/generate_docs.rake b/lib/tasks/gitlab/generate_docs.rake
new file mode 100644
index 00000000000..58795fac4af
--- /dev/null
+++ b/lib/tasks/gitlab/generate_docs.rake
@@ -0,0 +1,7 @@
+namespace :gitlab do
+ desc "GITLAB | Generate sdocs for project"
+ task generate_docs: :environment do
+ system("bundle exec sdoc -o doc/code app lib")
+ end
+end
+
diff --git a/lib/tasks/gitlab/gitolite_rebuild.rake b/lib/tasks/gitlab/gitolite_rebuild.rake
index fce10eb5b69..af2a2127ee2 100644
--- a/lib/tasks/gitlab/gitolite_rebuild.rake
+++ b/lib/tasks/gitlab/gitolite_rebuild.rake
@@ -1,24 +1,27 @@
namespace :gitlab do
namespace :gitolite do
- desc "GITLAB | Rebuild each project at gitolite config"
+ desc "GITLAB | Rebuild each project in Gitolite config"
task :update_repos => :environment do
- puts "Starting Projects"
+ warn_user_is_not_gitlab
+
+ puts "Rebuilding projects ... "
Project.find_each(:batch_size => 100) do |project|
- puts "\n=== #{project.name}"
+ puts "#{project.name_with_namespace.yellow} ... "
project.update_repository
- puts
+ puts "... #{"done".green}"
end
- puts "Done with projects"
end
- desc "GITLAB | Rebuild each key at gitolite config"
+ desc "GITLAB | Rebuild each user key in Gitolite config"
task :update_keys => :environment do
- puts "Starting Key"
+ warn_user_is_not_gitlab
+
+ puts "Rebuilding keys ... "
Key.find_each(:batch_size => 100) do |key|
+ puts "#{key.identifier.yellow} ... "
Gitlab::Gitolite.new.set_key(key.identifier, key.key, key.projects)
- print '.'
+ puts "... #{"done".green}"
end
- puts "Done with keys"
end
end
end
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
index 81f66e2e406..4bf9110508e 100644
--- a/lib/tasks/gitlab/import.rake
+++ b/lib/tasks/gitlab/import.rake
@@ -15,15 +15,23 @@ namespace :gitlab do
git_base_path = Gitlab.config.gitolite.repos_path
repos_to_import = Dir.glob(git_base_path + '/*')
+ namespaces = Namespace.pluck(:path)
+
repos_to_import.each do |repo_path|
repo_name = File.basename repo_path
+ # Skip if group or user
+ next if namespaces.include?(repo_name)
+
+ # skip if not git repo
+ next unless repo_name =~ /.git$/
+
# skip gitolite admin
next if repo_name == 'gitolite-admin.git'
path = repo_name.sub(/\.git$/, '')
- project = Project.find_by_path(path)
+ project = Project.find_with_namespace(path)
puts "Processing #{repo_name}".yellow
@@ -34,8 +42,6 @@ namespace :gitlab do
project_params = {
:name => path,
- :code => path,
- :path => path,
}
project = Project.create_by_user(project_params, user)
diff --git a/lib/tasks/gitlab/info.rake b/lib/tasks/gitlab/info.rake
index 85458fe2c43..fd3e83e8338 100644
--- a/lib/tasks/gitlab/info.rake
+++ b/lib/tasks/gitlab/info.rake
@@ -12,7 +12,10 @@ namespace :gitlab do
debian_version = File.read('/etc/debian_version')
"Debian #{debian_version}"
end
- os_name.squish!
+ os_name ||= if File.readable?('/etc/SuSE-release')
+ File.read('/etc/SuSE-release')
+ end
+ os_name.try(:squish!)
# check if there is an RVM environment
rvm_version = run_and_match("rvm --version", /[\d\.]+/).try(:to_s)
@@ -80,31 +83,5 @@ namespace :gitlab do
puts "Git:\t\t#{Gitlab.config.git.bin_path}"
end
-
-
- # Helper methods
-
- # Runs the given command and matches the output agains the given pattern
- #
- # Returns nil if nothing matched
- # Retunrs the MatchData if the pattern matched
- #
- # see also #run
- # see also String#match
- def run_and_match(command, regexp)
- run(command).try(:match, regexp)
- end
-
- # Runs the given command
- #
- # Returns nil if the command was not found
- # Returns the output of the command otherwise
- #
- # see also #run_and_match
- def run(command)
- unless `#{command} 2>/dev/null`.blank?
- `#{command}`
- end
- end
end
end
diff --git a/lib/tasks/gitlab/task_helpers.rake b/lib/tasks/gitlab/task_helpers.rake
new file mode 100644
index 00000000000..c9635f058ee
--- /dev/null
+++ b/lib/tasks/gitlab/task_helpers.rake
@@ -0,0 +1,39 @@
+namespace :gitlab do
+
+ # Runs the given command and matches the output agains the given pattern
+ #
+ # Returns nil if nothing matched
+ # Retunrs the MatchData if the pattern matched
+ #
+ # see also #run
+ # see also String#match
+ def run_and_match(command, regexp)
+ run(command).try(:match, regexp)
+ end
+
+ # Runs the given command
+ #
+ # Returns nil if the command was not found
+ # Returns the output of the command otherwise
+ #
+ # see also #run_and_match
+ def run(command)
+ unless `#{command} 2>/dev/null`.blank?
+ `#{command}`
+ end
+ end
+
+ def warn_user_is_not_gitlab
+ unless @warned_user_not_gitlab
+ current_user = run("whoami").chomp
+ unless current_user == "gitlab"
+ puts "#{Colored.color(:black)+Colored.color(:on_yellow)} Warning #{Colored.extra(:clear)}"
+ puts " You are running as user #{current_user.magenta}, we hope you know what you are doing."
+ puts " Things may work\/fail for the wrong reasons."
+ puts " For correct results you should run this as user #{"gitlab".magenta}."
+ puts ""
+ end
+ @warned_user_not_gitlab = true
+ end
+ end
+end
diff --git a/lib/tasks/resque.rake b/lib/tasks/resque.rake
deleted file mode 100644
index 0825324a424..00000000000
--- a/lib/tasks/resque.rake
+++ /dev/null
@@ -1,10 +0,0 @@
-require 'resque/tasks'
-
-task "resque:setup" => :environment do
- Resque.after_fork do
- Resque.redis.client.reconnect
- end
-end
-
-desc "Alias for resque:work (To run workers on Heroku)"
-task "jobs:work" => "resque:work"
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake
new file mode 100644
index 00000000000..6bbcb3da4bc
--- /dev/null
+++ b/lib/tasks/sidekiq.rake
@@ -0,0 +1,23 @@
+namespace :sidekiq do
+ desc "GITLAB | Stop sidekiq"
+ task :stop do
+ run "bundle exec sidekiqctl stop #{pidfile}"
+ end
+
+ desc "GITLAB | Start sidekiq"
+ task :start do
+ run "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,common,default -e #{rails_env} -P #{pidfile} >> #{root_path}/log/sidekiq.log 2>&1 &"
+ end
+
+ def root_path
+ @root_path ||= File.join(File.expand_path(File.dirname(__FILE__)), "../..")
+ end
+
+ def pidfile
+ "#{root_path}/tmp/pids/sidekiq.pid"
+ end
+
+ def rails_env
+ ENV['RAILS_ENV'] || "production"
+ end
+end
diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake
index e04bfbaf1c0..6b434830803 100644
--- a/lib/tasks/travis.rake
+++ b/lib/tasks/travis.rake
@@ -1,7 +1,5 @@
-task :travis do
- ["rake spinach", "rake spec"].each do |cmd|
- puts "Starting to run #{cmd}..."
- system("export DISPLAY=:99.0 && bundle exec #{cmd}")
- raise "#{cmd} failed!" unless $?.exitstatus == 0
- end
-end
+desc "Travis run tests"
+task :travis => [
+ :spinach,
+ :spec
+]
diff --git a/resque.sh b/resque.sh
deleted file mode 100755
index 0ebf319efc1..00000000000
--- a/resque.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-mkdir -p tmp/pids
-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
deleted file mode 100755
index b250caa9aee..00000000000
--- a/resque_dev.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-mkdir -p tmp/pids
-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/script/check b/script/check
new file mode 100755
index 00000000000..d2eb4a2f6d8
--- /dev/null
+++ b/script/check
@@ -0,0 +1,2 @@
+#!/bin/sh
+sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
diff --git a/spec/controllers/commit_controller_spec.rb b/spec/controllers/commit_controller_spec.rb
index 5aef4c676ee..7bf13822829 100644
--- a/spec/controllers/commit_controller_spec.rb
+++ b/spec/controllers/commit_controller_spec.rb
@@ -3,12 +3,12 @@ require 'spec_helper'
describe CommitController do
let(:project) { create(:project) }
let(:user) { create(:user) }
- let(:commit) { project.last_commit_for("master") }
+ let(:commit) { project.repository.last_commit_for("master") }
before do
sign_in(user)
- project.add_access(user, :read, :admin)
+ project.team << [user, :master]
end
describe "#show" do
diff --git a/spec/controllers/commits_controller_spec.rb b/spec/controllers/commits_controller_spec.rb
index da33fd8a2b5..1d5d99df802 100644
--- a/spec/controllers/commits_controller_spec.rb
+++ b/spec/controllers/commits_controller_spec.rb
@@ -7,7 +7,7 @@ describe CommitsController do
before do
sign_in(user)
- project.add_access(user, :read, :admin)
+ project.team << [user, :master]
end
describe "GET show" do
diff --git a/spec/controllers/merge_requests_controller_spec.rb b/spec/controllers/merge_requests_controller_spec.rb
index 7aebe06cf0c..8478bb3adff 100644
--- a/spec/controllers/merge_requests_controller_spec.rb
+++ b/spec/controllers/merge_requests_controller_spec.rb
@@ -7,7 +7,7 @@ describe MergeRequestsController do
before do
sign_in(user)
- project.add_access(user, :read, :admin)
+ project.team << [user, :master]
MergeRequestsController.any_instance.stub(validates_merge_request: true)
end
diff --git a/spec/controllers/tree_controller_spec.rb b/spec/controllers/tree_controller_spec.rb
index b9295537d01..81c7656d07a 100644
--- a/spec/controllers/tree_controller_spec.rb
+++ b/spec/controllers/tree_controller_spec.rb
@@ -7,7 +7,7 @@ describe TreeController do
before do
sign_in(user)
- project.add_access(user, :read, :admin)
+ project.team << [user, :master]
project.stub(:branches).and_return(['master', 'foo/bar/baz'])
project.stub(:tags).and_return(['v1.0.0', 'v2.0.0'])
diff --git a/spec/factories.rb b/spec/factories.rb
index ca75e507077..593b8350fda 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -9,7 +9,7 @@ FactoryGirl.define do
sequence(:url) { Faker::Internet.uri('http') }
- factory :user, aliases: [:author, :assignee, :owner] do
+ factory :user, aliases: [:author, :assignee, :owner, :creator] do
email { Faker::Internet.email }
name
username { Faker::Internet.user_name }
@@ -26,7 +26,7 @@ FactoryGirl.define do
factory :project do
sequence(:name) { |n| "project#{n}" }
path { name.downcase.gsub(/\s/, '_') }
- owner
+ creator
end
factory :group do
@@ -37,7 +37,7 @@ FactoryGirl.define do
end
factory :namespace do
- sequence(:name) { |n| "group#{n}" }
+ sequence(:name) { |n| "namespace#{n}" }
path { name.downcase.gsub(/\s/, '_') }
owner
end
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index b792e0c86f6..497a5f17846 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -4,7 +4,7 @@ describe GitlabMarkdownHelper do
let!(:project) { create(:project) }
let(:user) { create(:user, username: 'gfm') }
- let(:commit) { CommitDecorator.decorate(project.commit) }
+ let(:commit) { CommitDecorator.decorate(project.repository.commit) }
let(:issue) { create(:issue, project: project) }
let(:merge_request) { create(:merge_request, project: project) }
let(:snippet) { create(:snippet, project: project) }
@@ -85,7 +85,7 @@ describe GitlabMarkdownHelper do
let(:expected) { project_team_member_path(project, member) }
before do
- project.add_access(user, :admin)
+ project.team << [user, :master]
end
it "should link using a simple name" do
@@ -314,7 +314,7 @@ describe GitlabMarkdownHelper do
end
it "should handle references in lists" do
- project.add_access(user, :admin)
+ project.team << [user, :master]
actual = "\n* dark: ##{issue.id}\n* light by @#{member.user.username}"
diff --git a/spec/lib/extracts_path_spec.rb b/spec/lib/extracts_path_spec.rb
index cf4220175a7..deb6499e008 100644
--- a/spec/lib/extracts_path_spec.rb
+++ b/spec/lib/extracts_path_spec.rb
@@ -7,7 +7,8 @@ describe ExtractsPath do
before do
@project = project
- project.stub(:ref_names).and_return(['master', 'foo/bar/baz', 'v1.0.0', 'v2.0.0'])
+ project.stub(repository: stub(ref_names: ['master', 'foo/bar/baz', 'v1.0.0', 'v2.0.0']))
+ project.stub(path_with_namespace: 'gitlab/gitlab-ci')
end
describe '#extract_ref' do
@@ -53,5 +54,24 @@ describe ExtractsPath do
extract_ref('stable/CHANGELOG').should == ['stable', 'CHANGELOG']
end
end
+
+ context "with a fullpath" do
+ it "extracts a valid branch" do
+ extract_ref('/gitlab/gitlab-ci/tree/foo/bar/baz/CHANGELOG').should == ['foo/bar/baz', 'CHANGELOG']
+ end
+
+ it "extracts a valid tag" do
+ extract_ref('/gitlab/gitlab-ci/tree/v2.0.0/CHANGELOG').should == ['v2.0.0', 'CHANGELOG']
+ end
+
+ it "extracts a valid commit SHA" do
+ extract_ref('/gitlab/gitlab-ci/tree/f4b14494ef6abf3d144c28e4af0c20143383e062/CHANGELOG').should ==
+ ['f4b14494ef6abf3d144c28e4af0c20143383e062', 'CHANGELOG']
+ end
+
+ it "extracts a timestamp" do
+ extract_ref('/gitlab/gitlab-ci/tree/v2.0.0/CHANGELOG?_=12354435').should == ['v2.0.0', 'CHANGELOG']
+ end
+ end
end
end
diff --git a/spec/lib/project_mover_spec.rb b/spec/lib/project_mover_spec.rb
index 2362bc2667b..28323b24ef6 100644
--- a/spec/lib/project_mover_spec.rb
+++ b/spec/lib/project_mover_spec.rb
@@ -5,6 +5,7 @@ describe Gitlab::ProjectMover do
before do
FileUtils.rm_rf base_path if File.exists? base_path
+ FileUtils.mkdir_p base_path
Gitlab.config.gitolite.stub(repos_path: base_path)
diff --git a/spec/roles/votes_spec.rb b/spec/lib/votes_spec.rb
index 7e49ac781c2..7e49ac781c2 100644
--- a/spec/roles/votes_spec.rb
+++ b/spec/lib/votes_spec.rb
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 58698eec9f4..e5b4cdaf330 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -60,7 +60,7 @@ describe Notify do
it_behaves_like 'an assignee email'
it 'has the correct subject' do
- should have_subject /new issue ##{issue.id} \| #{issue.title} \| #{project.name}/
+ should have_subject /#{project.name} \| new issue ##{issue.id} \| #{issue.title}/
end
it 'contains a link to the new issue' do
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index e4bc1936839..91301029e89 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Commit do
- let(:commit) { create(:project).commit }
+ let(:commit) { create(:project).repository.commit }
describe CommitDecorator do
let(:decorator) { CommitDecorator.new(commit) }
@@ -34,4 +34,65 @@ describe Commit do
end
end
end
+
+ describe "Commit info" do
+ before do
+ @committer = double(
+ email: 'mike@smith.com',
+ name: 'Mike Smith'
+ )
+
+ @author = double(
+ email: 'john@smith.com',
+ name: 'John Smith'
+ )
+
+ @raw_commit = double(
+ id: "bcf03b5de6abcf03b5de6c",
+ author: @author,
+ committer: @committer,
+ committed_date: Date.yesterday,
+ message: 'Refactoring specs'
+ )
+
+ @commit = Commit.new(@raw_commit)
+ end
+
+ it { @commit.short_id.should == "bcf03b5de6a" }
+ it { @commit.safe_message.should == @raw_commit.message }
+ it { @commit.created_at.should == @raw_commit.committed_date }
+ it { @commit.author_email.should == @author.email }
+ it { @commit.author_name.should == @author.name }
+ it { @commit.committer_name.should == @committer.name }
+ it { @commit.committer_email.should == @committer.email }
+ it { @commit.different_committer?.should be_true }
+ end
+
+ describe "Class methods" do
+ subject { Commit }
+
+ it { should respond_to(:find_or_first) }
+ it { should respond_to(:fresh_commits) }
+ it { should respond_to(:commits_with_refs) }
+ it { should respond_to(:commits_since) }
+ it { should respond_to(:commits_between) }
+ it { should respond_to(:commits) }
+ it { should respond_to(:compare) }
+ end
+
+ describe "delegation" do
+ subject { commit }
+
+ it { should respond_to(:message) }
+ it { should respond_to(:authored_date) }
+ it { should respond_to(:committed_date) }
+ it { should respond_to(:parents) }
+ it { should respond_to(:date) }
+ it { should respond_to(:committer) }
+ it { should respond_to(:author) }
+ it { should respond_to(:diffs) }
+ it { should respond_to(:tree) }
+ it { should respond_to(:id) }
+ it { should respond_to(:to_patch) }
+ end
end
diff --git a/spec/roles/issue_commonality_spec.rb b/spec/models/concerns/issuable_spec.rb
index 11f278dea10..b5d4bd7b406 100644
--- a/spec/roles/issue_commonality_spec.rb
+++ b/spec/models/concerns/issuable_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe Issue, "IssueCommonality" do
+describe Issue, "Issuable" do
let(:issue) { create(:issue) }
describe "Associations" do
diff --git a/spec/models/gitlab_ci_service_spec.rb b/spec/models/gitlab_ci_service_spec.rb
new file mode 100644
index 00000000000..b86588af1ac
--- /dev/null
+++ b/spec/models/gitlab_ci_service_spec.rb
@@ -0,0 +1,46 @@
+# == 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 GitlabCiService 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
+
+ describe 'commits methods' do
+ before do
+ @service = GitlabCiService.new
+ @service.stub(
+ service_hook: true,
+ project_url: 'http://ci.gitlab.org/projects/2',
+ token: 'verySecret'
+ )
+ end
+
+ describe :commit_status_path do
+ it { @service.commit_status_path("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c/status.json?token=verySecret"}
+ end
+
+ describe :build_page do
+ it { @service.build_page("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c"}
+ end
+ end
+end
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb
index 4c52a094386..b4fb9cd8fdd 100644
--- a/spec/models/issue_spec.rb
+++ b/spec/models/issue_spec.rb
@@ -33,8 +33,7 @@ describe Issue do
end
describe 'modules' do
- it { should include_module(IssueCommonality) }
- it { should include_module(Votes) }
+ it { should include_module(Issuable) }
end
subject { create(:issue) }
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb
index a0849401254..41f4ede5d89 100644
--- a/spec/models/merge_request_spec.rb
+++ b/spec/models/merge_request_spec.rb
@@ -33,15 +33,14 @@ describe MergeRequest do
end
describe 'modules' do
- it { should include_module(IssueCommonality) }
- it { should include_module(Votes) }
+ it { should include_module(Issuable) }
end
describe "#mr_and_commit_notes" do
let!(:merge_request) { create(:merge_request) }
before do
- merge_request.stub(:commits) { [merge_request.project.commit] }
+ merge_request.stub(:commits) { [merge_request.project.repository.commit] }
create(:note, commit_id: merge_request.commits.first.id, noteable_type: 'Commit')
create(:note, noteable: merge_request)
end
diff --git a/spec/models/milestone_spec.rb b/spec/models/milestone_spec.rb
index 431985d0d46..2ea2c56a6f7 100644
--- a/spec/models/milestone_spec.rb
+++ b/spec/models/milestone_spec.rb
@@ -40,6 +40,7 @@ describe Milestone do
end
it "should count closed issues" do
+ IssueObserver.current_user = issue.author
issue.update_attributes(closed: true)
milestone.issues << issue
milestone.percent_complete.should == 100
@@ -62,4 +63,54 @@ describe Milestone do
milestone.expires_at.should be_present
end
end
+
+ describe :expired? do
+ context "expired" do
+ before do
+ milestone.stub(due_date: Date.today.prev_year)
+ end
+
+ it { milestone.expired?.should be_true }
+ end
+
+ context "not expired" do
+ before do
+ milestone.stub(due_date: Date.today.next_year)
+ end
+
+ it { milestone.expired?.should be_false }
+ end
+ end
+
+ describe :percent_complete do
+ before do
+ milestone.stub(
+ closed_items_count: 3,
+ total_items_count: 4
+ )
+ end
+
+ it { milestone.percent_complete.should == 75 }
+ end
+
+ describe :items_count do
+ before do
+ milestone.issues << create(:issue)
+ milestone.issues << create(:issue, closed: true)
+ milestone.merge_requests << create(:merge_request)
+ end
+
+ it { milestone.closed_items_count.should == 1 }
+ it { milestone.open_items_count.should == 2 }
+ it { milestone.total_items_count.should == 3 }
+ it { milestone.is_empty?.should be_false }
+ end
+
+ describe :can_be_closed? do
+ it { milestone.can_be_closed?.should be_true }
+ end
+
+ describe :open? do
+ it { milestone.open?.should be_true }
+ end
end
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 34683e4196a..66450b244c1 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -4,7 +4,6 @@
#
# id :integer not null, primary key
# note :text
-# noteable_id :string(255)
# noteable_type :string(255)
# author_id :integer
# created_at :datetime not null
@@ -12,6 +11,8 @@
# project_id :integer
# attachment :string(255)
# line_code :string(255)
+# commit_id :string(255)
+# noteable_id :integer
#
require 'spec_helper'
@@ -33,12 +34,6 @@ describe Note do
it { should validate_presence_of(:project) }
end
- describe "Scopes" do
- it "should have a today named scope that returns ..." do
- Note.today.where_values.should == ["created_at >= '#{Date.today}'"]
- end
- end
-
describe "Voting score" do
let(:project) { create(:project) }
@@ -75,6 +70,9 @@ describe Note do
end
end
+ let(:project) { create(:project) }
+ let(:commit) { project.repository.commit }
+
describe "Commit notes" do
let!(:note) { create(:note_on_commit, note: "+1 from me") }
let!(:commit) { note.noteable }
diff --git a/spec/models/project_hooks_spec.rb b/spec/models/project_hooks_spec.rb
index df6a3831e30..60457e20c51 100644
--- a/spec/models/project_hooks_spec.rb
+++ b/spec/models/project_hooks_spec.rb
@@ -2,6 +2,7 @@ require 'spec_helper'
describe Project, "Hooks" do
let(:project) { create(:project) }
+
before do
@key = create(:key, user: project.owner)
@user = @key.user
@@ -70,8 +71,9 @@ describe Project, "Hooks" do
context "when gathering commit data" do
before do
- @oldrev, @newrev, @ref = project.fresh_commits(2).last.sha, project.fresh_commits(2).first.sha, 'refs/heads/master'
- @commit = project.fresh_commits(2).first
+ @oldrev, @newrev, @ref = project.repository.fresh_commits(2).last.sha,
+ project.repository.fresh_commits(2).first.sha, 'refs/heads/master'
+ @commit = project.repository.fresh_commits(2).first
# Fill nil/empty attributes
project.description = "This is a description"
@@ -91,7 +93,7 @@ describe Project, "Hooks" do
subject { @data[:repository] }
it { should include(name: project.name) }
- it { should include(url: project.web_url) }
+ it { should include(url: project.url_to_repo) }
it { should include(description: project.description) }
it { should include(homepage: project.web_url) }
end
diff --git a/spec/models/project_security_spec.rb b/spec/models/project_security_spec.rb
index 92c6bce08f6..1f2bd7a56ff 100644
--- a/spec/models/project_security_spec.rb
+++ b/spec/models/project_security_spec.rb
@@ -8,7 +8,7 @@ describe Project do
@u1 = create(:user)
@u2 = create(:user)
@u3 = create(:user)
- @u4 = @p1.chief
+ @u4 = @p1.owner
@abilities = Six.new
@abilities << Ability
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 83a76976098..223b9d48c01 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -9,7 +9,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# private_flag :boolean default(TRUE), not null
-# owner_id :integer
+# creator_id :integer
# default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
@@ -24,7 +24,7 @@ describe Project do
describe "Associations" do
it { should belong_to(:group) }
it { should belong_to(:namespace) }
- it { should belong_to(:owner).class_name('User') }
+ it { should belong_to(:creator).class_name('User') }
it { should have_many(:users) }
it { should have_many(:events).dependent(:destroy) }
it { should have_many(:merge_requests).dependent(:destroy) }
@@ -41,7 +41,7 @@ describe Project do
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:namespace_id) }
- it { should_not allow_mass_assignment_of(:owner_id) }
+ it { should_not allow_mass_assignment_of(:creator_id) }
it { should_not allow_mass_assignment_of(:private_flag) }
end
@@ -55,20 +55,15 @@ describe Project do
it { should validate_presence_of(:path) }
it { should validate_uniqueness_of(:path) }
it { should ensure_length_of(:path).is_within(0..255) }
- # TODO: Formats
-
it { should ensure_length_of(:description).is_within(0..2000) }
-
- # TODO: Formats
-
- it { should validate_presence_of(:owner) }
+ it { should validate_presence_of(:creator) }
it { should ensure_inclusion_of(:issues_enabled).in_array([true, false]) }
it { should ensure_inclusion_of(:wall_enabled).in_array([true, false]) }
it { should ensure_inclusion_of(:merge_requests_enabled).in_array([true, false]) }
it { should ensure_inclusion_of(:wiki_enabled).in_array([true, false]) }
it "should not allow new projects beyond user limits" do
- project.stub(:owner).and_return(double(can_create_project?: false, projects_limit: 1))
+ project.stub(:creator).and_return(double(can_create_project?: false, projects_limit: 1))
project.should_not be_valid
project.errors[:base].first.should match(/Your own projects limit is 1/)
end
@@ -80,82 +75,28 @@ describe Project do
end
describe "Respond to" do
- it { should respond_to(:public?) }
- it { should respond_to(:private?) }
it { should respond_to(:url_to_repo) }
- it { should respond_to(:path_to_repo) }
- it { should respond_to(:valid_repo?) }
it { should respond_to(:repo_exists?) }
-
- # Repository Role
- it { should respond_to(:tree) }
- it { should respond_to(:root_ref) }
- it { should respond_to(:repo) }
- it { should respond_to(:tags) }
- it { should respond_to(:commit) }
- it { should respond_to(:commits) }
- it { should respond_to(:commits_between) }
- it { should respond_to(:commits_with_refs) }
- it { should respond_to(:commits_since) }
- it { should respond_to(:commits_between) }
it { should respond_to(:satellite) }
it { should respond_to(:update_repository) }
it { should respond_to(:destroy_repository) }
- it { should respond_to(:archive_repo) }
-
- # Authority Role
- it { should respond_to(:add_access) }
- it { should respond_to(:reset_access) }
- it { should respond_to(:repository_writers) }
- it { should respond_to(:repository_masters) }
- it { should respond_to(:repository_readers) }
- it { should respond_to(:allow_read_for?) }
- it { should respond_to(:guest_access_for?) }
- it { should respond_to(:report_access_for?) }
- it { should respond_to(:dev_access_for?) }
- it { should respond_to(:master_access_for?) }
-
- # Team Role
- it { should respond_to(:team_member_by_name_or_email) }
- it { should respond_to(:team_member_by_id) }
- it { should respond_to(:add_user_to_team) }
- it { should respond_to(:add_users_to_team) }
- it { should respond_to(:add_user_id_to_team) }
- it { should respond_to(:add_users_ids_to_team) }
-
- # Project Push Role
it { should respond_to(:observe_push) }
it { should respond_to(:update_merge_requests) }
it { should respond_to(:execute_hooks) }
it { should respond_to(:post_receive_data) }
it { should respond_to(:trigger_post_receive) }
-
- # Namespaced Project Role
it { should respond_to(:transfer) }
it { should respond_to(:name_with_namespace) }
it { should respond_to(:namespace_owner) }
- it { should respond_to(:chief) }
+ it { should respond_to(:owner) }
it { should respond_to(:path_with_namespace) }
end
- describe 'modules' do
- it { should include_module(Repository) }
- it { should include_module(PushObserver) }
- it { should include_module(Authority) }
- it { should include_module(Team) }
- it { should include_module(NamespacedProject) }
- end
-
it "should return valid url to repo" do
project = Project.new(path: "somewhere")
project.url_to_repo.should == Gitlab.config.gitolite.ssh_path_prefix + "somewhere.git"
end
- it "should return path to repo" do
- project = Project.new(path: "somewhere")
- project.path_to_repo.should == Rails.root.join("tmp", "repositories", "somewhere")
- end
-
it "returns the full web URL for this repo" do
project = Project.new(path: "somewhere")
project.web_url.should == "#{Gitlab.config.gitlab.url}/somewhere"
@@ -211,4 +152,87 @@ describe Project do
@merge_request.last_commit.id.should == "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a"
end
end
+
+ describe :create_by_user do
+ before do
+ @user = create :user
+ @opts = {
+ name: "GitLab"
+ }
+ end
+
+ context 'user namespace' do
+ before do
+ @project = Project.create_by_user(@opts, @user)
+ end
+
+ it { @project.should be_valid }
+ it { @project.owner.should == @user }
+ it { @project.namespace.should == @user.namespace }
+ end
+
+ context 'user namespace' do
+ before do
+ @group = create :group, owner: @user
+ @opts.merge!(namespace_id: @group.id)
+ @project = Project.create_by_user(@opts, @user)
+ end
+
+ it { @project.should be_valid }
+ it { @project.owner.should == @user }
+ it { @project.namespace.should == @group }
+ end
+ end
+
+ describe :find_with_namespace do
+ context 'with namespace' do
+ before do
+ @group = create :group, name: 'gitlab'
+ @project = create(:project, name: 'gitlab-ci', namespace: @group)
+ end
+
+ it { Project.find_with_namespace('gitlab/gitlab-ci').should == @project }
+ it { Project.find_with_namespace('gitlab-ci').should be_nil }
+ end
+
+ context 'w/o namespace' do
+ before do
+ @project = create(:project, name: 'gitlab-ci')
+ end
+
+ it { Project.find_with_namespace('gitlab-ci').should == @project }
+ it { Project.find_with_namespace('gitlab/gitlab-ci').should be_nil }
+ end
+ end
+
+ describe :to_param do
+ context 'with namespace' do
+ before do
+ @group = create :group, name: 'gitlab'
+ @project = create(:project, name: 'gitlab-ci', namespace: @group)
+ end
+
+ it { @project.to_param.should == "gitlab/gitlab-ci" }
+ end
+
+ context 'w/o namespace' do
+ before do
+ @project = create(:project, name: 'gitlab-ci')
+ end
+
+ it { @project.to_param.should == "gitlab-ci" }
+ end
+ end
+
+ describe :repository do
+ let(:project) { create(:project) }
+
+ it "should return valid repo" do
+ project.repository.should be_kind_of(Repository)
+ end
+
+ it "should return nil" do
+ Project.new(path: "empty").repository.should be_nil
+ end
+ end
end
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 7340ce50ced..c4d2e2f49f5 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -39,13 +39,4 @@ describe ProtectedBranch do
branch.destroy
end
end
-
- describe '#commit' do
- let(:branch) { create(:protected_branch) }
-
- it 'commits itself to its project' do
- branch.project.should_receive(:commit).with(branch.name)
- branch.commit
- end
- end
end
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb
new file mode 100644
index 00000000000..71f9b964e70
--- /dev/null
+++ b/spec/models/repository_spec.rb
@@ -0,0 +1,105 @@
+require "spec_helper"
+
+describe Repository do
+ let(:project) { create(:project) }
+ let(:repository) { project.repository }
+
+ describe "Respond to" do
+ subject { repository }
+
+ it { should respond_to(:repo) }
+ it { should respond_to(:tree) }
+ it { should respond_to(:root_ref) }
+ it { should respond_to(:tags) }
+ it { should respond_to(:commit) }
+ it { should respond_to(:commits) }
+ it { should respond_to(:commits_between) }
+ it { should respond_to(:commits_with_refs) }
+ it { should respond_to(:commits_since) }
+ it { should respond_to(:commits_between) }
+ end
+
+
+ describe "#discover_default_branch" do
+ let(:master) { 'master' }
+ let(:stable) { 'stable' }
+
+ it "returns 'master' when master exists" do
+ repository.should_receive(:branch_names).at_least(:once).and_return([stable, master])
+ repository.discover_default_branch.should == 'master'
+ end
+
+ it "returns non-master when master exists but default branch is set to something else" do
+ repository.root_ref = 'stable'
+ repository.should_receive(:branch_names).at_least(:once).and_return([stable, master])
+ repository.discover_default_branch.should == 'stable'
+ end
+
+ it "returns a non-master branch when only one exists" do
+ repository.should_receive(:branch_names).at_least(:once).and_return([stable])
+ repository.discover_default_branch.should == 'stable'
+ end
+
+ it "returns nil when no branch exists" do
+ repository.should_receive(:branch_names).at_least(:once).and_return([])
+ repository.discover_default_branch.should be_nil
+ end
+ end
+
+ describe :commit do
+ it "should return first head commit if without params" do
+ repository.commit.id.should == repository.repo.commits.first.id
+ end
+
+ it "should return valid commit" do
+ repository.commit(ValidCommit::ID).should be_valid_commit
+ end
+
+ it "should return nil" do
+ repository.commit("+123_4532530XYZ").should be_nil
+ end
+ end
+
+ describe :tree do
+ before do
+ @commit = repository.commit(ValidCommit::ID)
+ end
+
+ it "should raise error w/o arguments" do
+ lambda { repository.tree }.should raise_error
+ end
+
+ it "should return root tree for commit" do
+ tree = repository.tree(@commit)
+ tree.contents.size.should == ValidCommit::FILES_COUNT
+ tree.contents.map(&:name).should == ValidCommit::FILES
+ end
+
+ it "should return root tree for commit with correct path" do
+ tree = repository.tree(@commit, ValidCommit::C_FILE_PATH)
+ tree.contents.map(&:name).should == ValidCommit::C_FILES
+ end
+
+ it "should return root tree for commit with incorrect path" do
+ repository.tree(@commit, "invalid_path").should be_nil
+ end
+ end
+
+ describe "fresh commits" do
+ it { repository.fresh_commits(3).count.should == 3 }
+ it { repository.fresh_commits.first.id.should == "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a" }
+ it { repository.fresh_commits.last.id.should == "f403da73f5e62794a0447aca879360494b08f678" }
+ end
+
+ describe "commits_between" do
+ subject do
+ commits = repository.commits_between("3a4b4fb4cde7809f033822a171b9feae19d41fff",
+ "8470d70da67355c9c009e4401746b1d5410af2e3")
+ commits.map { |c| c.id }
+ end
+
+ it { should have(3).elements }
+ it { should include("f0f14c8eaba69ebddd766498a9d0b0e79becd633") }
+ it { should_not include("bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a") }
+ end
+end
diff --git a/spec/models/system_hook_spec.rb b/spec/models/system_hook_spec.rb
index 7ae483a4003..a9ed6a5fa7c 100644
--- a/spec/models/system_hook_spec.rb
+++ b/spec/models/system_hook_spec.rb
@@ -23,53 +23,40 @@ describe SystemHook do
end
it "project_create hook" do
- with_resque do
- project = create(:project)
- end
+ project = create(:project)
WebMock.should have_requested(:post, @system_hook.url).with(body: /project_create/).once
end
it "project_destroy hook" do
project = create(:project)
- with_resque do
- project.destroy
- end
+ project.destroy
WebMock.should have_requested(:post, @system_hook.url).with(body: /project_destroy/).once
end
it "user_create hook" do
- with_resque do
- create(:user)
- end
+ create(:user)
WebMock.should have_requested(:post, @system_hook.url).with(body: /user_create/).once
end
it "user_destroy hook" do
user = create(:user)
- with_resque do
- user.destroy
- end
+ user.destroy
WebMock.should have_requested(:post, @system_hook.url).with(body: /user_destroy/).once
end
it "project_create hook" do
user = create(:user)
project = create(:project)
- with_resque do
- project.add_access(user, :admin)
- end
+ project.team << [user, :master]
WebMock.should have_requested(:post, @system_hook.url).with(body: /user_add_to_team/).once
end
it "project_destroy hook" do
user = create(:user)
project = create(:project)
- project.add_access(user, :admin)
- with_resque do
- project.users_projects.clear
- end
+ project.team << [user, :master]
+ project.users_projects.clear
WebMock.should have_requested(:post, @system_hook.url).with(body: /user_remove_from_team/).once
end
end
-
end
diff --git a/spec/models/team_spec.rb b/spec/models/team_spec.rb
new file mode 100644
index 00000000000..65ffe13b490
--- /dev/null
+++ b/spec/models/team_spec.rb
@@ -0,0 +1,18 @@
+require "spec_helper"
+
+describe Team do
+ let(:team) { create(:project).team }
+
+ describe "Respond to" do
+ subject { team }
+
+ it { should respond_to(:developers) }
+ it { should respond_to(:masters) }
+ it { should respond_to(:reporters) }
+ it { should respond_to(:guests) }
+ it { should respond_to(:repository_writers) }
+ it { should respond_to(:repository_masters) }
+ it { should respond_to(:repository_readers) }
+ end
+end
+
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index d09484f8fe0..f19c40b5fa6 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -39,7 +39,6 @@ describe User do
describe "Associations" do
it { should have_one(:namespace) }
it { should have_many(:users_projects).dependent(:destroy) }
- it { should have_many(:projects) }
it { should have_many(:groups) }
it { should have_many(:keys).dependent(:destroy) }
it { should have_many(:events).class_name('Event').dependent(:destroy) }
@@ -66,10 +65,6 @@ describe User do
it { should ensure_length_of(:bio).is_within(0..255) }
end
- describe 'modules' do
- it { should include_module(Account) }
- end
-
describe "Respond to" do
it { should respond_to(:is_admin?) }
it { should respond_to(:identifier) }
@@ -119,4 +114,83 @@ describe User do
user.authentication_token.should_not be_blank
end
end
+
+ describe 'projects' do
+ before do
+ ActiveRecord::Base.observers.enable(:user_observer)
+ @user = create :user
+ @project = create :project, namespace: @user.namespace
+ end
+
+ it { @user.authorized_projects.should include(@project) }
+ it { @user.owned_projects.should include(@project) }
+ it { @user.personal_projects.should include(@project) }
+ end
+
+ describe 'groups' do
+ before do
+ ActiveRecord::Base.observers.enable(:user_observer)
+ @user = create :user
+ @group = create :group, owner: @user
+ end
+
+ it { @user.several_namespaces?.should be_true }
+ it { @user.namespaces.should == [@user.namespace, @group] }
+ it { @user.authorized_groups.should == [@group] }
+ it { @user.owned_groups.should == [@group] }
+ end
+
+ describe 'namespaced' do
+ before do
+ ActiveRecord::Base.observers.enable(:user_observer)
+ @user = create :user
+ @project = create :project, namespace: @user.namespace
+ end
+
+ it { @user.several_namespaces?.should be_false }
+ it { @user.namespaces.should == [@user.namespace] }
+ end
+
+ describe 'blocking user' do
+ let(:user) { create(:user, name: 'John Smith') }
+
+ it "should block user" do
+ user.block
+ user.blocked.should be_true
+ end
+ end
+
+ describe 'filter' do
+ before do
+ User.delete_all
+ @user = create :user
+ @admin = create :user, admin: true
+ @blocked = create :user, blocked: true
+ end
+
+ it { User.filter("admins").should == [@admin] }
+ it { User.filter("blocked").should == [@blocked] }
+ it { User.filter("wop").should == [@user, @admin, @blocked] }
+ it { User.filter(nil).should == [@user, @admin] }
+ end
+
+ describe :not_in_project do
+ before do
+ User.delete_all
+ @user = create :user
+ @project = create :project
+ end
+
+ it { User.not_in_project(@project).should == [@user, @project.owner] }
+ end
+
+ describe 'normal user' do
+ let(:user) { create(:user, name: 'John Smith') }
+
+ it { user.is_admin?.should be_false }
+ it { user.require_ssh_key?.should be_true }
+ it { user.can_create_group?.should be_false }
+ it { user.can_create_project?.should be_true }
+ it { user.first_name.should == 'John' }
+ end
end
diff --git a/spec/models/users_project_spec.rb b/spec/models/users_project_spec.rb
index a9a1857eb69..e8f5b647ce0 100644
--- a/spec/models/users_project_spec.rb
+++ b/spec/models/users_project_spec.rb
@@ -48,10 +48,10 @@ describe UsersProject do
@user_1 = create :user
@user_2 = create :user
- @project_1.add_access @user_1, :write
- @project_2.add_access @user_2, :read
+ @project_1.team << [ @user_1, :developer ]
+ @project_2.team << [ @user_2, :reporter ]
- @status = UsersProject.import_team(@project_1, @project_2)
+ @status = @project_2.team.import(@project_1)
end
it { @status.should be_true }
@@ -69,4 +69,45 @@ describe UsersProject do
it { @project_1.users.should_not include(@user_2) }
end
end
+
+ describe :add_users_into_projects do
+ before do
+ @project_1 = create :project
+ @project_2 = create :project
+
+ @user_1 = create :user
+ @user_2 = create :user
+
+ UsersProject.add_users_into_projects(
+ [@project_1.id, @project_2.id],
+ [@user_1.id, @user_2.id],
+ UsersProject::MASTER
+ )
+ end
+
+ it { @project_1.users.should include(@user_1) }
+ it { @project_1.users.should include(@user_2) }
+
+
+ it { @project_2.users.should include(@user_1) }
+ it { @project_2.users.should include(@user_2) }
+ end
+
+ describe :truncate_teams do
+ before do
+ @project_1 = create :project
+ @project_2 = create :project
+
+ @user_1 = create :user
+ @user_2 = create :user
+
+ @project_1.team << [ @user_1, :developer]
+ @project_2.team << [ @user_2, :reporter]
+
+ UsersProject.truncate_teams([@project_1.id, @project_2.id])
+ end
+
+ it { @project_1.users.should be_empty }
+ it { @project_2.users.should be_empty }
+ end
end
diff --git a/spec/observers/issue_observer_spec.rb b/spec/observers/issue_observer_spec.rb
index bbffbd342db..700c9a3a69b 100644
--- a/spec/observers/issue_observer_spec.rb
+++ b/spec/observers/issue_observer_spec.rb
@@ -21,8 +21,7 @@ describe IssueObserver do
end
it 'sends an email to the assignee' do
- Notify.should_receive(:new_issue_email).with(issue.id).
- and_return(double(deliver: true))
+ Notify.should_receive(:new_issue_email).with(issue.id)
subject.after_create(issue)
end
@@ -71,6 +70,7 @@ describe IssueObserver do
context 'a status "closed"' do
it 'note is created if the issue is being closed' do
issue.should_receive(:is_being_closed?).and_return(true)
+ Notify.should_receive(:issue_status_changed_email).twice
Note.should_receive(:create_status_change_note).with(issue, some_user, 'closed')
subject.after_update(issue)
@@ -85,7 +85,7 @@ describe IssueObserver do
it 'notification is delivered if the issue being closed' do
issue.stub(:is_being_closed?).and_return(true)
- Notify.should_receive(:issue_status_changed_email).twice.and_return(stub(deliver: true))
+ Notify.should_receive(:issue_status_changed_email).twice
Note.should_receive(:create_status_change_note).with(issue, some_user, 'closed')
subject.after_update(issue)
@@ -104,7 +104,7 @@ describe IssueObserver do
issue_without_assignee.stub(:is_being_reassigned?).and_return(false)
issue_without_assignee.stub(:is_being_closed?).and_return(true)
issue_without_assignee.stub(:is_being_reopened?).and_return(false)
- Notify.should_receive(:issue_status_changed_email).once.and_return(stub(deliver: true))
+ Notify.should_receive(:issue_status_changed_email).once
Note.should_receive(:create_status_change_note).with(issue_without_assignee, some_user, 'closed')
subject.after_update(issue_without_assignee)
@@ -113,6 +113,7 @@ describe IssueObserver do
context 'a status "reopened"' do
it 'note is created if the issue is being reopened' do
+ Notify.should_receive(:issue_status_changed_email).twice
issue.should_receive(:is_being_reopened?).and_return(true)
Note.should_receive(:create_status_change_note).with(issue, some_user, 'reopened')
@@ -128,7 +129,7 @@ describe IssueObserver do
it 'notification is delivered if the issue being reopened' do
issue.stub(:is_being_reopened?).and_return(true)
- Notify.should_receive(:issue_status_changed_email).twice.and_return(stub(deliver: true))
+ Notify.should_receive(:issue_status_changed_email).twice
Note.should_receive(:create_status_change_note).with(issue, some_user, 'reopened')
subject.after_update(issue)
@@ -147,7 +148,7 @@ describe IssueObserver do
issue_without_assignee.stub(:is_being_reassigned?).and_return(false)
issue_without_assignee.stub(:is_being_closed?).and_return(false)
issue_without_assignee.stub(:is_being_reopened?).and_return(true)
- Notify.should_receive(:issue_status_changed_email).once.and_return(stub(deliver: true))
+ Notify.should_receive(:issue_status_changed_email).once
Note.should_receive(:create_status_change_note).with(issue_without_assignee, some_user, 'reopened')
subject.after_update(issue_without_assignee)
@@ -164,8 +165,7 @@ describe IssueObserver do
end
def it_sends_a_reassigned_email_to(recipient)
- Notify.should_receive(:reassigned_issue_email).with(recipient, issue.id, previous_assignee.id).
- and_return(double(deliver: true))
+ Notify.should_receive(:reassigned_issue_email).with(recipient, issue.id, previous_assignee.id)
end
def it_does_not_send_a_reassigned_email_to(recipient)
diff --git a/spec/observers/key_observer_spec.rb b/spec/observers/key_observer_spec.rb
index 7f2a76a320c..ae7b0f73e57 100644
--- a/spec/observers/key_observer_spec.rb
+++ b/spec/observers/key_observer_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe KeyObserver do
- before do
+ before do
@key = double('Key',
identifier: 'admin_654654',
key: '== a vaild ssh key',
@@ -15,7 +15,7 @@ describe KeyObserver do
)
@observer = KeyObserver.instance
- @observer.stub(:git_host => @gitolite)
+ @observer.stub(gitolite: @gitolite)
end
context :after_save do
@@ -25,7 +25,7 @@ describe KeyObserver do
end
end
- context :after_destroy do
+ context :after_destroy do
it do
@gitolite.should_receive(:remove_key).with(@key.identifier, @key.projects)
@observer.after_destroy(@key)
diff --git a/spec/observers/merge_request_observer_spec.rb b/spec/observers/merge_request_observer_spec.rb
index 6b15be96630..4841bf88fc5 100644
--- a/spec/observers/merge_request_observer_spec.rb
+++ b/spec/observers/merge_request_observer_spec.rb
@@ -21,9 +21,7 @@ describe MergeRequestObserver do
end
it 'sends an email to the assignee' do
- Notify.should_receive(:new_merge_request_email).with(mr.id).
- and_return(double(deliver: true))
-
+ Notify.should_receive(:new_merge_request_email).with(mr.id)
subject.after_create(mr)
end
@@ -158,8 +156,7 @@ describe MergeRequestObserver do
end
def it_sends_a_reassigned_email_to(recipient)
- Notify.should_receive(:reassigned_merge_request_email).with(recipient, mr.id, previous_assignee.id).
- and_return(double(deliver: true))
+ Notify.should_receive(:reassigned_merge_request_email).with(recipient, mr.id, previous_assignee.id)
end
def it_does_not_send_a_reassigned_email_to(recipient)
diff --git a/spec/observers/note_observer_spec.rb b/spec/observers/note_observer_spec.rb
index 7dfa9f772e9..73da2e146cb 100644
--- a/spec/observers/note_observer_spec.rb
+++ b/spec/observers/note_observer_spec.rb
@@ -4,7 +4,6 @@ describe NoteObserver do
subject { NoteObserver.instance }
let(:team_without_author) { (1..2).map { |n| double :user, id: n } }
- let(:delivery_success) { double deliver: true }
describe '#after_create' do
let(:note) { double :note }
@@ -45,13 +44,13 @@ describe NoteObserver do
note.stub(:id).and_return(42)
author = double :user, id: 1
note.stub(:commit_author).and_return(author)
- Notify.should_receive(:note_commit_email).and_return(delivery_success)
+ Notify.should_receive(:note_commit_email)
subject.after_create(note)
end
it 'does not notify the author of a commit when not flagged to notify the author' do
- Notify.should_not_receive(:note_commit_email)
+ notify.should_not_receive(:note_commit_email)
subject.after_create(note)
end
@@ -71,28 +70,28 @@ describe NoteObserver do
context 'notifies team of a new note on' do
it 'a commit' do
note.stub(:noteable_type).and_return('Commit')
- Notify.should_receive(:note_commit_email).twice.and_return(delivery_success)
+ notify.should_receive(:note_commit_email).twice
subject.send(:notify_team, note)
end
it 'an issue' do
note.stub(:noteable_type).and_return('Issue')
- Notify.should_receive(:note_issue_email).twice.and_return(delivery_success)
+ notify.should_receive(:note_issue_email).twice
subject.send(:notify_team, note)
end
it 'a wiki page' do
note.stub(:noteable_type).and_return('Wiki')
- Notify.should_receive(:note_wiki_email).twice.and_return(delivery_success)
+ notify.should_receive(:note_wiki_email).twice
subject.send(:notify_team, note)
end
it 'a merge request' do
note.stub(:noteable_type).and_return('MergeRequest')
- Notify.should_receive(:note_merge_request_email).twice.and_return(delivery_success)
+ notify.should_receive(:note_merge_request_email).twice
subject.send(:notify_team, note)
end
@@ -100,16 +99,16 @@ describe NoteObserver do
it 'a wall' do
# Note: wall posts have #noteable_type of nil
note.stub(:noteable_type).and_return(nil)
- Notify.should_receive(:note_wall_email).twice.and_return(delivery_success)
+ notify.should_receive(:note_wall_email).twice
subject.send(:notify_team, note)
end
end
it 'does nothing for a new note on a snippet' do
- note.stub(:noteable_type).and_return('Snippet')
+ note.stub(:noteable_type).and_return('Snippet')
- subject.send(:notify_team, note).should be_nil
+ subject.send(:notify_team, note).should be_nil
end
end
@@ -125,4 +124,8 @@ describe NoteObserver do
subject.send(:team_without_note_author, note).should == team_without_author
end
end
+
+ def notify
+ Notify
+ end
end
diff --git a/spec/observers/user_observer_spec.rb b/spec/observers/user_observer_spec.rb
index 4ba0f05df5d..bffa5fcfd69 100644
--- a/spec/observers/user_observer_spec.rb
+++ b/spec/observers/user_observer_spec.rb
@@ -6,31 +6,18 @@ describe UserObserver do
it 'calls #after_create when new users are created' do
new_user = build(:user)
subject.should_receive(:after_create).with(new_user)
-
- User.observers.enable :user_observer do
- new_user.save
- end
+ new_user.save
end
context 'when a new user is created' do
- let(:user) { double(:user, id: 42,
- password: 'P@ssword!',
- name: 'John',
- email: 'u@mail.local',
- username: 'root',
- create_namespace: true) }
- let(:notification) { double :notification }
-
it 'sends an email' do
- notification.should_receive(:deliver)
- Notify.should_receive(:new_user_email).with(user.id, user.password).and_return(notification)
-
- subject.after_create(user)
+ Notify.should_receive(:new_user_email)
+ create(:user)
end
it 'trigger logger' do
Gitlab::AppLogger.should_receive(:info)
- subject.after_create(user)
+ create(:user)
end
end
end
diff --git a/spec/observers/users_project_observer_spec.rb b/spec/observers/users_project_observer_spec.rb
index 548f1893848..068688b0d1d 100644
--- a/spec/observers/users_project_observer_spec.rb
+++ b/spec/observers/users_project_observer_spec.rb
@@ -3,72 +3,62 @@ require 'spec_helper'
describe UsersProjectObserver do
let(:user) { create(:user) }
let(:project) { create(:project) }
- let(:users_project) { create(:users_project,
- project: project,
- user: user )}
subject { UsersProjectObserver.instance }
describe "#after_commit" do
it "should called when UsersProject created" do
- subject.should_receive(:after_commit).once
- UsersProject.observers.enable :users_project_observer do
- create(:users_project)
- end
+ subject.should_receive(:after_commit)
+ create(:users_project)
end
it "should send email to user" do
- Notify.should_receive(:project_access_granted_email).with(users_project.id).and_return(double(deliver: true))
- subject.after_commit(users_project)
+ Notify.should_receive(:project_access_granted_email).and_return(double(deliver: true))
Event.stub(:create => true)
+
+ create(:users_project)
end
it "should create new event" do
- Event.should_receive(:create).with(
- project_id: users_project.project.id,
- action: Event::Joined,
- author_id: users_project.user.id
- )
+ Event.should_receive(:create)
- subject.after_create(users_project)
+ create(:users_project)
end
end
describe "#after_update" do
+ before do
+ @users_project = create :users_project
+ end
+
it "should called when UsersProject updated" do
- subject.should_receive(:after_commit).once
- UsersProject.observers.enable :users_project_observer do
- create(:users_project).update_attribute(:project_access, UsersProject::MASTER)
- end
+ subject.should_receive(:after_commit)
+ @users_project.update_attribute(:project_access, UsersProject::MASTER)
end
it "should send email to user" do
- Notify.should_receive(:project_access_granted_email).with(users_project.id).and_return(double(deliver: true))
- subject.after_commit(users_project)
+ Notify.should_receive(:project_access_granted_email)
+ @users_project.update_attribute(:project_access, UsersProject::MASTER)
end
+
it "should not called after UsersProject destroyed" do
subject.should_not_receive(:after_commit)
- UsersProject.observers.enable :users_project_observer do
- users_project.destroy
- end
+ @users_project.destroy
end
end
describe "#after_destroy" do
+ before do
+ @users_project = create :users_project
+ end
+
it "should called when UsersProject destroyed" do
subject.should_receive(:after_destroy)
-
- UsersProject.observers.enable :users_project_observer do
- create(:users_project).destroy
- end
+ @users_project.destroy
end
it "should create new event" do
- Event.should_receive(:create).with(
- project_id: users_project.project.id,
- action: Event::Left,
- author_id: users_project.user.id
- )
- subject.after_destroy(users_project)
+ Event.should_receive(:create)
+ @users_project.destroy
end
end
end
diff --git a/spec/requests/admin/admin_users_spec.rb b/spec/requests/admin/admin_users_spec.rb
index ca134c2d4f7..a66e85a34f9 100644
--- a/spec/requests/admin/admin_users_spec.rb
+++ b/spec/requests/admin/admin_users_spec.rb
@@ -41,7 +41,7 @@ describe "Admin::Users" do
end
it "should call send mail" do
- Notify.should_receive(:new_user_email).and_return(stub(deliver: true))
+ Notify.should_receive(:new_user_email)
User.observers.enable :user_observer do
click_button "Save"
@@ -50,9 +50,7 @@ describe "Admin::Users" do
it "should send valid email to user with email & password" do
User.observers.enable :user_observer do
- with_resque do
- click_button "Save"
- end
+ click_button "Save"
user = User.last
email = ActionMailer::Base.deliveries.last
email.subject.should have_content("Account was created")
diff --git a/spec/requests/api/issues_spec.rb b/spec/requests/api/issues_spec.rb
index 1850ecb95cc..781ebab026b 100644
--- a/spec/requests/api/issues_spec.rb
+++ b/spec/requests/api/issues_spec.rb
@@ -4,9 +4,9 @@ describe Gitlab::API do
include ApiHelpers
let(:user) { create(:user) }
- let!(:project) { create(:project, owner: user) }
+ let!(:project) { create(:project, namespace: user.namespace ) }
let!(:issue) { create(:issue, author: user, assignee: user, project: project) }
- before { project.add_access(user, :read) }
+ before { project.team << [user, :reporter] }
describe "GET /issues" do
context "when unauthenticated" do
@@ -28,7 +28,7 @@ describe Gitlab::API do
describe "GET /projects/:id/issues" do
it "should return project issues" do
- get api("/projects/#{project.path}/issues", user)
+ get api("/projects/#{project.id}/issues", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['title'].should == issue.title
@@ -37,7 +37,7 @@ describe Gitlab::API do
describe "GET /projects/:id/issues/:issue_id" do
it "should return a project issue by id" do
- get api("/projects/#{project.path}/issues/#{issue.id}", user)
+ get api("/projects/#{project.id}/issues/#{issue.id}", user)
response.status.should == 200
json_response['title'].should == issue.title
end
@@ -45,7 +45,7 @@ describe Gitlab::API do
describe "POST /projects/:id/issues" do
it "should create a new project issue" do
- post api("/projects/#{project.path}/issues", user),
+ post api("/projects/#{project.id}/issues", user),
title: 'new issue', labels: 'label, label2'
response.status.should == 201
json_response['title'].should == 'new issue'
@@ -56,7 +56,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/issues/:issue_id" do
it "should update a project issue" do
- put api("/projects/#{project.path}/issues/#{issue.id}", user),
+ put api("/projects/#{project.id}/issues/#{issue.id}", user),
title: 'updated title', labels: 'label2', closed: 1
response.status.should == 200
json_response['title'].should == 'updated title'
@@ -67,7 +67,7 @@ describe Gitlab::API do
describe "DELETE /projects/:id/issues/:issue_id" do
it "should delete a project issue" do
- delete api("/projects/#{project.path}/issues/#{issue.id}", user)
+ delete api("/projects/#{project.id}/issues/#{issue.id}", user)
response.status.should == 405
end
end
diff --git a/spec/requests/api/merge_requests_spec.rb b/spec/requests/api/merge_requests_spec.rb
index 43931aedcda..5da54154a81 100644
--- a/spec/requests/api/merge_requests_spec.rb
+++ b/spec/requests/api/merge_requests_spec.rb
@@ -4,21 +4,21 @@ describe Gitlab::API do
include ApiHelpers
let(:user) { create(:user ) }
- let!(:project) { create(:project, owner: user) }
+ let!(:project) { create(:project, namespace: user.namespace ) }
let!(:merge_request) { create(:merge_request, author: user, assignee: user, project: project, title: "Test") }
- before { project.add_access(user, :read) }
+ before { project.team << [user, :reporters] }
describe "GET /projects/:id/merge_requests" do
context "when unauthenticated" do
it "should return authentication error" do
- get api("/projects/#{project.path}/merge_requests")
+ get api("/projects/#{project.id}/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.path}/merge_requests", user)
+ get api("/projects/#{project.id}/merge_requests", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['title'].should == merge_request.title
@@ -28,7 +28,7 @@ describe Gitlab::API do
describe "GET /projects/:id/merge_request/:merge_request_id" do
it "should return merge_request" do
- get api("/projects/#{project.path}/merge_request/#{merge_request.id}", user)
+ get api("/projects/#{project.id}/merge_request/#{merge_request.id}", user)
response.status.should == 200
json_response['title'].should == merge_request.title
end
@@ -36,7 +36,7 @@ describe Gitlab::API do
describe "POST /projects/:id/merge_requests" do
it "should return merge_request" do
- post api("/projects/#{project.path}/merge_requests", user),
+ post api("/projects/#{project.id}/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'
@@ -45,7 +45,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/merge_request/:merge_request_id" do
it "should return merge_request" do
- put api("/projects/#{project.path}/merge_request/#{merge_request.id}", user), title: "New title"
+ put api("/projects/#{project.id}/merge_request/#{merge_request.id}", user), title: "New title"
response.status.should == 200
json_response['title'].should == 'New title'
end
@@ -53,7 +53,7 @@ describe Gitlab::API do
describe "POST /projects/:id/merge_request/:merge_request_id/comments" do
it "should return comment" do
- post api("/projects/#{project.path}/merge_request/#{merge_request.id}/comments", user), note: "My comment"
+ post api("/projects/#{project.id}/merge_request/#{merge_request.id}/comments", user), note: "My comment"
response.status.should == 201
json_response['note'].should == 'My comment'
end
diff --git a/spec/requests/api/milestones_spec.rb b/spec/requests/api/milestones_spec.rb
index dc96d46d894..80696671462 100644
--- a/spec/requests/api/milestones_spec.rb
+++ b/spec/requests/api/milestones_spec.rb
@@ -4,14 +4,14 @@ describe Gitlab::API do
include ApiHelpers
let(:user) { create(:user) }
- let!(:project) { create(:project, owner: user) }
+ let!(:project) { create(:project, namespace: user.namespace ) }
let!(:milestone) { create(:milestone, project: project) }
- before { project.add_access(user, :read) }
+ before { project.team << [user, :developer] }
describe "GET /projects/:id/milestones" do
it "should return project milestones" do
- get api("/projects/#{project.path}/milestones", user)
+ get api("/projects/#{project.id}/milestones", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['title'].should == milestone.title
@@ -20,7 +20,7 @@ describe Gitlab::API do
describe "GET /projects/:id/milestones/:milestone_id" do
it "should return a project milestone by id" do
- get api("/projects/#{project.path}/milestones/#{milestone.id}", user)
+ get api("/projects/#{project.id}/milestones/#{milestone.id}", user)
response.status.should == 200
json_response['title'].should == milestone.title
end
@@ -28,7 +28,7 @@ describe Gitlab::API do
describe "POST /projects/:id/milestones" do
it "should create a new project milestone" do
- post api("/projects/#{project.path}/milestones", user),
+ post api("/projects/#{project.id}/milestones", user),
title: 'new milestone'
response.status.should == 201
json_response['title'].should == 'new milestone'
@@ -38,7 +38,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/milestones/:milestone_id" do
it "should update a project milestone" do
- put api("/projects/#{project.path}/milestones/#{milestone.id}", user),
+ put api("/projects/#{project.id}/milestones/#{milestone.id}", user),
title: 'updated title'
response.status.should == 200
json_response['title'].should == 'updated title'
diff --git a/spec/requests/api/notes_spec.rb b/spec/requests/api/notes_spec.rb
index 681ba01558e..ae4fc111f63 100644
--- a/spec/requests/api/notes_spec.rb
+++ b/spec/requests/api/notes_spec.rb
@@ -4,13 +4,13 @@ describe Gitlab::API do
include ApiHelpers
let(:user) { create(:user) }
- let!(:project) { create(:project, owner: user) }
+ let!(:project) { create(:project, namespace: user.namespace ) }
let!(:issue) { create(:issue, project: project, author: user) }
let!(:snippet) { create(:snippet, project: project, author: user) }
let!(:issue_note) { create(:note, noteable: issue, project: project, author: user) }
let!(:snippet_note) { create(:note, noteable: snippet, project: project, author: user) }
let!(:wall_note) { create(:note, project: project, author: user) }
- before { project.add_access(user, :read) }
+ before { project.team << [user, :reporter] }
describe "GET /projects/:id/notes" do
context "when unauthenticated" do
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index a396516438d..c2244210bcf 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -7,11 +7,11 @@ describe Gitlab::API do
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!(:project) { create(:project, namespace: user.namespace ) }
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) }
+ before { project.team << [user, :reporter] }
describe "GET /projects" do
context "when unauthenticated" do
@@ -64,6 +64,7 @@ describe Gitlab::API do
post api("/projects", user), project
project.each_pair do |k,v|
+ next if k == :path
json_response[k.to_s].should == v
end
end
@@ -78,7 +79,7 @@ describe Gitlab::API do
end
it "should return a project by path name" do
- get api("/projects/#{project.path}", user)
+ get api("/projects/#{project.id}", user)
response.status.should == 200
json_response['name'].should == project.name
end
@@ -92,7 +93,7 @@ describe Gitlab::API do
describe "GET /projects/:id/repository/branches" do
it "should return an array of project branches" do
- get api("/projects/#{project.path}/repository/branches", user)
+ get api("/projects/#{project.id}/repository/branches", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['name'].should == project.repo.heads.sort_by(&:name).first.name
@@ -101,7 +102,7 @@ describe Gitlab::API do
describe "GET /projects/:id/repository/branches/:branch" do
it "should return the branch information for a single branch" do
- get api("/projects/#{project.path}/repository/branches/new_design", user)
+ get api("/projects/#{project.id}/repository/branches/new_design", user)
response.status.should == 200
json_response['name'].should == 'new_design'
@@ -111,7 +112,7 @@ describe Gitlab::API do
describe "GET /projects/:id/members" do
it "should return project team members" do
- get api("/projects/#{project.path}/members", user)
+ get api("/projects/#{project.id}/members", user)
response.status.should == 200
json_response.should be_an Array
json_response.count.should == 2
@@ -119,7 +120,7 @@ describe Gitlab::API do
end
it "finds team members with query string" do
- get api("/projects/#{project.path}/members", user), query: user.username
+ get api("/projects/#{project.id}/members", user), query: user.username
response.status.should == 200
json_response.should be_an Array
json_response.count.should == 1
@@ -129,7 +130,7 @@ describe Gitlab::API do
describe "GET /projects/:id/members/:user_id" do
it "should return project team member" do
- get api("/projects/#{project.path}/members/#{user.id}", user)
+ get api("/projects/#{project.id}/members/#{user.id}", user)
response.status.should == 200
json_response['email'].should == user.email
json_response['access_level'].should == UsersProject::MASTER
@@ -139,7 +140,7 @@ describe Gitlab::API do
describe "POST /projects/:id/members" do
it "should add user to project team" do
expect {
- post api("/projects/#{project.path}/members", user), user_id: user2.id,
+ post api("/projects/#{project.id}/members", user), user_id: user2.id,
access_level: UsersProject::DEVELOPER
}.to change { UsersProject.count }.by(1)
@@ -151,7 +152,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/members/:user_id" do
it "should update project team member" do
- put api("/projects/#{project.path}/members/#{user3.id}", user), access_level: UsersProject::MASTER
+ put api("/projects/#{project.id}/members/#{user3.id}", user), access_level: UsersProject::MASTER
response.status.should == 200
json_response['email'].should == user3.email
json_response['access_level'].should == UsersProject::MASTER
@@ -161,14 +162,14 @@ describe Gitlab::API do
describe "DELETE /projects/:id/members/:user_id" do
it "should remove user from project team" do
expect {
- delete api("/projects/#{project.path}/members/#{user3.id}", user)
+ delete api("/projects/#{project.id}/members/#{user3.id}", user)
}.to change { UsersProject.count }.by(-1)
end
end
describe "GET /projects/:id/hooks" do
it "should return project hooks" do
- get api("/projects/#{project.path}/hooks", user)
+ get api("/projects/#{project.id}/hooks", user)
response.status.should == 200
@@ -180,7 +181,7 @@ describe Gitlab::API do
describe "GET /projects/:id/hooks/:hook_id" do
it "should return a project hook" do
- get api("/projects/#{project.path}/hooks/#{hook.id}", user)
+ get api("/projects/#{project.id}/hooks/#{hook.id}", user)
response.status.should == 200
json_response['url'].should == hook.url
end
@@ -189,7 +190,7 @@ describe Gitlab::API do
describe "POST /projects/:id/hooks" do
it "should add hook to project" do
expect {
- post api("/projects/#{project.path}/hooks", user),
+ post api("/projects/#{project.id}/hooks", user),
"url" => "http://example.com"
}.to change {project.hooks.count}.by(1)
end
@@ -197,7 +198,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/hooks/:hook_id" do
it "should update an existing project hook" do
- put api("/projects/#{project.path}/hooks/#{hook.id}", user),
+ put api("/projects/#{project.id}/hooks/#{hook.id}", user),
url: 'http://example.org'
response.status.should == 200
json_response['url'].should == 'http://example.org'
@@ -208,7 +209,7 @@ describe Gitlab::API do
describe "DELETE /projects/:id/hooks" do
it "should delete hook from project" do
expect {
- delete api("/projects/#{project.path}/hooks", user),
+ delete api("/projects/#{project.id}/hooks", user),
hook_id: hook.id
}.to change {project.hooks.count}.by(-1)
end
@@ -216,7 +217,7 @@ describe Gitlab::API do
describe "GET /projects/:id/repository/tags" do
it "should return an array of project tags" do
- get api("/projects/#{project.path}/repository/tags", user)
+ get api("/projects/#{project.id}/repository/tags", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['name'].should == project.repo.tags.sort_by(&:name).reverse.first.name
@@ -225,20 +226,20 @@ describe Gitlab::API do
describe "GET /projects/:id/repository/commits" do
context "authorized user" do
- before { project.add_access(user2, :read) }
+ before { project.team << [user2, :reporter] }
it "should return project commits" do
- get api("/projects/#{project.path}/repository/commits", user)
+ get api("/projects/#{project.id}/repository/commits", user)
response.status.should == 200
json_response.should be_an Array
- json_response.first['id'].should == project.commit.id
+ json_response.first['id'].should == project.repository.commit.id
end
end
context "unauthorized user" do
it "should not return project commits" do
- get api("/projects/#{project.path}/repository/commits")
+ get api("/projects/#{project.id}/repository/commits")
response.status.should == 401
end
end
@@ -246,7 +247,7 @@ describe Gitlab::API do
describe "GET /projects/:id/snippets" do
it "should return an array of project snippets" do
- get api("/projects/#{project.path}/snippets", user)
+ get api("/projects/#{project.id}/snippets", user)
response.status.should == 200
json_response.should be_an Array
json_response.first['title'].should == snippet.title
@@ -255,7 +256,7 @@ describe Gitlab::API do
describe "GET /projects/:id/snippets/:snippet_id" do
it "should return a project snippet" do
- get api("/projects/#{project.path}/snippets/#{snippet.id}", user)
+ get api("/projects/#{project.id}/snippets/#{snippet.id}", user)
response.status.should == 200
json_response['title'].should == snippet.title
end
@@ -263,7 +264,7 @@ describe Gitlab::API do
describe "POST /projects/:id/snippets" do
it "should create a new project snippet" do
- post api("/projects/#{project.path}/snippets", user),
+ post api("/projects/#{project.id}/snippets", user),
title: 'api test', file_name: 'sample.rb', code: 'test'
response.status.should == 201
json_response['title'].should == 'api test'
@@ -272,7 +273,7 @@ describe Gitlab::API do
describe "PUT /projects/:id/snippets/:shippet_id" do
it "should update an existing project snippet" do
- put api("/projects/#{project.path}/snippets/#{snippet.id}", user),
+ put api("/projects/#{project.id}/snippets/#{snippet.id}", user),
code: 'updated code'
response.status.should == 200
json_response['title'].should == 'example'
@@ -283,31 +284,31 @@ describe Gitlab::API do
describe "DELETE /projects/:id/snippets/:snippet_id" do
it "should delete existing project snippet" do
expect {
- delete api("/projects/#{project.path}/snippets/#{snippet.id}", user)
+ delete api("/projects/#{project.id}/snippets/#{snippet.id}", user)
}.to change { Snippet.count }.by(-1)
end
end
describe "GET /projects/:id/snippets/:snippet_id/raw" do
it "should get a raw project snippet" do
- get api("/projects/#{project.path}/snippets/#{snippet.id}/raw", user)
+ get api("/projects/#{project.id}/snippets/#{snippet.id}/raw", user)
response.status.should == 200
end
end
describe "GET /projects/:id/:sha/blob" do
it "should get the raw file contents" do
- get api("/projects/#{project.path}/repository/commits/master/blob?filepath=README.md", user)
+ get api("/projects/#{project.id}/repository/commits/master/blob?filepath=README.md", user)
response.status.should == 200
end
it "should return 404 for invalid branch_name" do
- get api("/projects/#{project.path}/repository/commits/invalid_branch_name/blob?filepath=README.md", user)
+ get api("/projects/#{project.id}/repository/commits/invalid_branch_name/blob?filepath=README.md", user)
response.status.should == 404
end
it "should return 404 for invalid file" do
- get api("/projects/#{project.path}/repository/commits/master/blob?filepath=README.invalid", user)
+ get api("/projects/#{project.id}/repository/commits/master/blob?filepath=README.invalid", user)
response.status.should == 404
end
end
diff --git a/spec/requests/atom/issues_spec.rb b/spec/requests/atom/issues_spec.rb
index 29f88f3f1c3..0488c1f2266 100644
--- a/spec/requests/atom/issues_spec.rb
+++ b/spec/requests/atom/issues_spec.rb
@@ -3,10 +3,10 @@ require 'spec_helper'
describe "Issues Feed" do
describe "GET /issues" do
let!(:user) { create(:user) }
- let!(:project) { create(:project, owner: user) }
+ let!(:project) { create(:project, namespace: user.namespace) }
let!(:issue) { create(:issue, author: user, project: project) }
- before { project.add_access(user, :read, :write) }
+ before { project.team << [user, :developer] }
context "when authenticated" do
it "should render atom feed" do
diff --git a/spec/requests/gitlab_flavored_markdown_spec.rb b/spec/requests/gitlab_flavored_markdown_spec.rb
index 7f61c6aaa73..78b8c0c513f 100644
--- a/spec/requests/gitlab_flavored_markdown_spec.rb
+++ b/spec/requests/gitlab_flavored_markdown_spec.rb
@@ -6,7 +6,7 @@ describe "Gitlab Flavored Markdown" do
let(:merge_request) { create(:merge_request, project: project) }
let(:fred) do
u = create(:user, name: "fred")
- project.add_access(u, :admin)
+ project.team << [u, :master]
u
end
@@ -33,11 +33,11 @@ describe "Gitlab Flavored Markdown" do
project.repo.gc_auto
end
- let(:commit) { project.commits(@branch_name).first }
+ let(:commit) { project.repository.commits(@branch_name).first }
before do
login_as :user
- project.add_access(@user, :read, :write)
+ project.team << [@user, :developer]
end
describe "for commits" do
diff --git a/spec/requests/issues_spec.rb b/spec/requests/issues_spec.rb
index 0814108523b..2e94ffd0020 100644
--- a/spec/requests/issues_spec.rb
+++ b/spec/requests/issues_spec.rb
@@ -7,8 +7,7 @@ describe "Issues" do
login_as :user
user2 = create(:user)
- project.add_access(@user, :read, :write)
- project.add_access(user2, :read, :write)
+ project.team << [[@user, user2], :developer]
end
describe "Edit issue" do
diff --git a/spec/requests/projects_deploy_keys_spec.rb b/spec/requests/projects_deploy_keys_spec.rb
index 35323f556f9..25b1da9ebd8 100644
--- a/spec/requests/projects_deploy_keys_spec.rb
+++ b/spec/requests/projects_deploy_keys_spec.rb
@@ -5,7 +5,7 @@ describe "Projects", "DeployKeys" do
before do
login_as :user
- project.add_access(@user, :read, :write, :admin)
+ project.team << [@user, :master]
end
describe "GET /keys" do
diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb
index e097f0805fc..7bc48260935 100644
--- a/spec/requests/projects_spec.rb
+++ b/spec/requests/projects_spec.rb
@@ -3,63 +3,10 @@ require 'spec_helper'
describe "Projects" do
before { login_as :user }
- describe "GET /projects/show" do
- before do
- @project = create(:project, owner: @user)
- @project.add_access(@user, :read)
-
- visit project_path(@project)
- end
-
- it "should be correct path" do
- current_path.should == project_path(@project)
- end
- end
-
- describe "GET /projects/:id/edit" do
- before do
- @project = create(:project)
- @project.add_access(@user, :admin, :read)
-
- visit edit_project_path(@project)
- end
-
- it "should be correct path" do
- current_path.should == edit_project_path(@project)
- end
-
- it "should have labels for new project" do
- page.should have_content("Project name is")
- page.should have_content("Advanced settings:")
- page.should have_content("Features:")
- end
- end
-
- describe "PUT /projects/:id" do
- before do
- @project = create(:project, owner: @user)
- @project.add_access(@user, :admin, :read)
-
- visit edit_project_path(@project)
-
- fill_in 'project_name', with: 'Awesome'
- click_button "Save"
- @project = @project.reload
- end
-
- it "should be correct path" do
- current_path.should == edit_project_path(@project)
- end
-
- it "should show project" do
- page.should have_content("Awesome")
- end
- end
-
describe "DELETE /projects/:id" do
before do
- @project = create(:project, owner: @user)
- @project.add_access(@user, :read, :admin)
+ @project = create(:project, namespace: @user.namespace)
+ @project.team << [@user, :master]
visit edit_project_path(@project)
end
diff --git a/spec/requests/search_spec.rb b/spec/requests/search_spec.rb
index 17cc0d39946..e338f359f88 100644
--- a/spec/requests/search_spec.rb
+++ b/spec/requests/search_spec.rb
@@ -4,7 +4,7 @@ describe "Search" do
before do
login_as :user
@project = create(:project)
- @project.add_access(@user, :read)
+ @project.team << [@user, :reporter]
visit search_path
fill_in "search", with: @project.name[0..3]
click_button "Search"
diff --git a/spec/requests/security/project_access_spec.rb b/spec/requests/security/project_access_spec.rb
index 060a276b740..a35175102ec 100644
--- a/spec/requests/security/project_access_spec.rb
+++ b/spec/requests/security/project_access_spec.rb
@@ -22,10 +22,10 @@ describe "Application access" do
before do
# full access
- project.users_projects.create(user: master, project_access: UsersProject::MASTER)
+ project.team << [master, :master]
# readonly
- project.users_projects.create(user: reporter, project_access: UsersProject::REPORTER)
+ project.team << [reporter, :reporter]
end
describe "GET /project_code" do
@@ -40,7 +40,7 @@ describe "Application access" do
end
describe "GET /project_code/tree/master" do
- subject { project_tree_path(project, project.root_ref) }
+ subject { project_tree_path(project, project.repository.root_ref) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
@@ -51,7 +51,7 @@ describe "Application access" do
end
describe "GET /project_code/commits/master" do
- subject { project_commits_path(project, project.root_ref, limit: 1) }
+ subject { project_commits_path(project, project.repository.root_ref, limit: 1) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
@@ -62,7 +62,7 @@ describe "Application access" do
end
describe "GET /project_code/commit/:sha" do
- subject { project_commit_path(project, project.commit) }
+ subject { project_commit_path(project, project.repository.commit) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
@@ -107,7 +107,7 @@ describe "Application access" do
describe "GET /project_code/blob" do
before do
- commit = project.commit
+ commit = project.repository.commit
path = commit.tree.contents.select { |i| i.is_a?(Grit::Blob)}.first.name
@blob_path = project_blob_path(project, File.join(commit.id, path))
end
diff --git a/spec/requests/snippets_spec.rb b/spec/requests/snippets_spec.rb
index b231b940a84..770e34dc07c 100644
--- a/spec/requests/snippets_spec.rb
+++ b/spec/requests/snippets_spec.rb
@@ -5,7 +5,7 @@ describe "Snippets" do
before do
login_as :user
- project.add_access(@user, :read, :write)
+ project.team << [@user, :developer]
end
describe "GET /snippets" do
@@ -26,7 +26,7 @@ describe "Snippets" do
before do
# admin access to remove snippet
@user.users_projects.destroy_all
- project.add_access(@user, :read, :write, :admin)
+ project.team << [@user, :master]
visit edit_project_snippet_path(project, @snippet)
end
diff --git a/spec/roles/account_role_spec.rb b/spec/roles/account_role_spec.rb
deleted file mode 100644
index 4b214551453..00000000000
--- a/spec/roles/account_role_spec.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-require 'spec_helper'
-
-describe User, "Account" do
- describe 'normal user' do
- let(:user) { create(:user, name: 'John Smith') }
-
- it { user.is_admin?.should be_false }
- it { user.require_ssh_key?.should be_true }
- it { user.can_create_group?.should be_false }
- it { user.can_create_project?.should be_true }
- it { user.first_name.should == 'John' }
- end
-
- describe 'blocking user' do
- let(:user) { create(:user, name: 'John Smith') }
-
- it "should block user" do
- user.block
- user.blocked.should be_true
- end
- end
-
- describe 'projects' do
- before do
- ActiveRecord::Base.observers.enable(:user_observer)
- @user = create :user
- @project = create :project, namespace: @user.namespace
- end
-
- it { @user.authorized_projects.should include(@project) }
- it { @user.my_own_projects.should include(@project) }
- end
-
- describe 'namespaced' do
- before do
- ActiveRecord::Base.observers.enable(:user_observer)
- @user = create :user
- @project = create :project, namespace: @user.namespace
- end
-
- it { @user.several_namespaces?.should be_false }
- it { @user.namespaces.should == [@user.namespace] }
- end
-end
diff --git a/spec/roles/repository_spec.rb b/spec/roles/repository_spec.rb
deleted file mode 100644
index e1d01cbfeaf..00000000000
--- a/spec/roles/repository_spec.rb
+++ /dev/null
@@ -1,159 +0,0 @@
-require 'spec_helper'
-
-describe Project, "Repository" do
- let(:project) { create(:project) }
-
- describe "#empty_repo?" do
- it "should return true if the repo doesn't exist" do
- project.stub(repo_exists?: false, has_commits?: true)
- project.should be_empty_repo
- end
-
- it "should return true if the repo has commits" do
- project.stub(repo_exists?: true, has_commits?: false)
- project.should be_empty_repo
- end
-
- it "should return false if the repo exists and has commits" do
- project.stub(repo_exists?: true, has_commits?: true)
- project.should_not be_empty_repo
- end
- end
-
- describe "#discover_default_branch" do
- let(:master) { 'master' }
- let(:stable) { 'stable' }
-
- it "returns 'master' when master exists" do
- project.should_receive(:branch_names).at_least(:once).and_return([stable, master])
- project.discover_default_branch.should == 'master'
- end
-
- it "returns non-master when master exists but default branch is set to something else" do
- project.default_branch = 'stable'
- project.should_receive(:branch_names).at_least(:once).and_return([stable, master])
- project.discover_default_branch.should == 'stable'
- end
-
- it "returns a non-master branch when only one exists" do
- project.should_receive(:branch_names).at_least(:once).and_return([stable])
- project.discover_default_branch.should == 'stable'
- end
-
- it "returns nil when no branch exists" do
- project.should_receive(:branch_names).at_least(:once).and_return([])
- project.discover_default_branch.should be_nil
- end
- end
-
- describe "#root_ref" do
- it "returns default_branch when set" do
- project.default_branch = 'stable'
- project.root_ref.should == 'stable'
- end
-
- it "returns 'master' when default_branch is nil" do
- project.default_branch = nil
- project.root_ref.should == 'master'
- end
- end
-
- describe "#root_ref?" do
- it "returns true when branch is root_ref" do
- project.default_branch = 'stable'
- project.root_ref?('stable').should be_true
- end
-
- it "returns false when branch is not root_ref" do
- project.default_branch = nil
- project.root_ref?('stable').should be_false
- end
- end
-
- describe :repo do
- it "should return valid repo" do
- project.repo.should be_kind_of(Grit::Repo)
- end
-
- it "should return nil" do
- lambda { Project.new(path: "invalid").repo }.should raise_error(Grit::NoSuchPathError)
- end
-
- it "should return nil" do
- lambda { Project.new.repo }.should raise_error(TypeError)
- end
- end
-
- describe :commit do
- it "should return first head commit if without params" do
- project.commit.id.should == project.repo.commits.first.id
- end
-
- it "should return valid commit" do
- project.commit(ValidCommit::ID).should be_valid_commit
- end
-
- it "should return nil" do
- project.commit("+123_4532530XYZ").should be_nil
- end
- end
-
- describe :tree do
- before do
- @commit = project.commit(ValidCommit::ID)
- end
-
- it "should raise error w/o arguments" do
- lambda { project.tree }.should raise_error
- end
-
- it "should return root tree for commit" do
- tree = project.tree(@commit)
- tree.contents.size.should == ValidCommit::FILES_COUNT
- tree.contents.map(&:name).should == ValidCommit::FILES
- end
-
- it "should return root tree for commit with correct path" do
- tree = project.tree(@commit, ValidCommit::C_FILE_PATH)
- tree.contents.map(&:name).should == ValidCommit::C_FILES
- end
-
- it "should return root tree for commit with incorrect path" do
- project.tree(@commit, "invalid_path").should be_nil
- end
- end
-
- describe "fresh commits" do
- let(:project) { create(:project) }
-
- it { project.fresh_commits(3).count.should == 3 }
- it { project.fresh_commits.first.id.should == "bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a" }
- it { project.fresh_commits.last.id.should == "f403da73f5e62794a0447aca879360494b08f678" }
- end
-
- describe "commits_between" do
- let(:project) { create(:project) }
-
- subject do
- commits = project.commits_between("3a4b4fb4cde7809f033822a171b9feae19d41fff",
- "8470d70da67355c9c009e4401746b1d5410af2e3")
- commits.map { |c| c.id }
- end
-
- it { should have(3).elements }
- it { should include("f0f14c8eaba69ebddd766498a9d0b0e79becd633") }
- it { should_not include("bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a") }
- end
-
- describe :valid_repo? do
- it "should be valid repo" do
- project = create(:project)
- project.valid_repo?.should be_true
- end
-
- it "should be invalid repo" do
- project = Project.new(name: "ok_name", path: "/INVALID_PATH/", path: "NEOK")
- project.valid_repo?.should be_false
- end
- end
-end
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index 09e11588164..6171141648c 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -191,17 +191,17 @@ describe ProtectedBranchesController, "routing" do
end
end
-# switch_project_refs GET /:project_id/switch(.:format) refs#switch
-# logs_tree_project_ref GET /:project_id/:id/logs_tree(.:format) refs#logs_tree
-# logs_file_project_ref GET /:project_id/:id/logs_tree/:path(.:format) refs#logs_tree
+# switch_project_refs GET /:project_id/refs/switch(.:format) refs#switch
+# logs_tree_project_ref GET /:project_id/refs/:id/logs_tree(.:format) refs#logs_tree
+# logs_file_project_ref GET /:project_id/refs/:id/logs_tree/:path(.:format) refs#logs_tree
describe RefsController, "routing" do
it "to #switch" do
- get("/gitlabhq/switch").should route_to('refs#switch', project_id: 'gitlabhq')
+ get("/gitlabhq/refs/switch").should route_to('refs#switch', project_id: 'gitlabhq')
end
it "to #logs_tree" do
- get("/gitlabhq/stable/logs_tree").should route_to('refs#logs_tree', project_id: 'gitlabhq', id: 'stable')
- get("/gitlabhq/stable/logs_tree/foo/bar/baz").should route_to('refs#logs_tree', project_id: 'gitlabhq', id: 'stable', path: 'foo/bar/baz')
+ get("/gitlabhq/refs/stable/logs_tree").should route_to('refs#logs_tree', project_id: 'gitlabhq', id: 'stable')
+ get("/gitlabhq/refs/stable/logs_tree/foo/bar/baz").should route_to('refs#logs_tree', project_id: 'gitlabhq', id: 'stable', path: 'foo/bar/baz')
end
end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9f066c0e7f3..dbac3c54901 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,5 @@
-unless ENV['CI']
- require 'simplecov'
- SimpleCov.start 'rails'
-end
+require 'simplecov' unless ENV['CI']
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
@@ -11,6 +9,7 @@ require 'capybara/rails'
require 'capybara/rspec'
require 'webmock/rspec'
require 'email_spec'
+require 'sidekiq/testing/inline'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
@@ -37,13 +36,10 @@ RSpec.configure do |config|
config.before do
stub_gitolite!
- # !!! Observers disabled by default in tests
- ActiveRecord::Base.observers.disable(:all)
- # ActiveRecord::Base.observers.enable(:all)
-
# Use tmp dir for FS manipulations
- Gitlab.config.gitolite.stub(repos_path: Rails.root.join('tmp', 'test-git-base-path'))
- FileUtils.rm_rf Gitlab.config.gitolite.repos_path
- FileUtils.mkdir_p Gitlab.config.gitolite.repos_path
+ temp_repos_path = Rails.root.join('tmp', 'test-git-base-path')
+ Gitlab.config.gitolite.stub(repos_path: temp_repos_path)
+ FileUtils.rm_rf temp_repos_path
+ FileUtils.mkdir_p temp_repos_path
end
end
diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb
index 5bf3ea46099..e6e194d70f5 100644
--- a/spec/support/stubbed_repository.rb
+++ b/spec/support/stubbed_repository.rb
@@ -1,15 +1,14 @@
+require "repository"
+require "project"
+
# Stubs out all Git repository access done by models so that specs can run
# against fake repositories without Grit complaining that they don't exist.
-module StubbedRepository
- def path_to_repo
- if new_record? || path == 'newproject'
- # There are a couple Project specs and features that expect the Project's
- # path to be in the returned path, so let's patronize them.
- Rails.root.join('tmp', 'repositories', path)
+class Project
+ def repository
+ if path == "empty" || !path
+ nil
else
- # For everything else, just give it the path to one of our real seeded
- # repos.
- Rails.root.join('tmp', 'repositories', 'gitlabhq')
+ GitLabTestRepo.new(path_with_namespace)
end
end
@@ -28,4 +27,8 @@ module StubbedRepository
end
end
-Project.send(:include, StubbedRepository)
+class GitLabTestRepo < Repository
+ def repo
+ @repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq'))
+ end
+end
diff --git a/spec/tasks/gitlab/backup_rake_spec.rb b/spec/tasks/gitlab/backup_rake_spec.rb
index b17521e0148..babbf2916f8 100644
--- a/spec/tasks/gitlab/backup_rake_spec.rb
+++ b/spec/tasks/gitlab/backup_rake_spec.rb
@@ -3,6 +3,7 @@ require 'rake'
describe 'gitlab:app namespace rake task' do
before :all do
+ Rake.application.rake_require "tasks/gitlab/task_helpers"
Rake.application.rake_require "tasks/gitlab/backup"
# empty task as env is already loaded
Rake::Task.define_task :environment
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb
index 26b461c3825..f408c89afdd 100644
--- a/spec/workers/post_receive_spec.rb
+++ b/spec/workers/post_receive_spec.rb
@@ -4,7 +4,7 @@ describe PostReceive do
context "as a resque worker" do
it "reponds to #perform" do
- PostReceive.should respond_to(:perform)
+ PostReceive.new.should respond_to(:perform)
end
end
@@ -15,7 +15,7 @@ describe PostReceive do
it "fetches the correct project" do
Project.should_receive(:find_with_namespace).with(project.path_with_namespace).and_return(project)
- PostReceive.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id)
+ PostReceive.new.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id)
end
it "does not run if the author is not in the project" do
@@ -24,7 +24,7 @@ describe PostReceive do
project.should_not_receive(:observe_push)
project.should_not_receive(:execute_hooks)
- PostReceive.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id).should be_false
+ PostReceive.new.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id).should be_false
end
it "asks the project to trigger all hooks" do
@@ -34,7 +34,7 @@ describe PostReceive do
project.should_receive(:update_merge_requests)
project.should_receive(:observe_push)
- PostReceive.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id)
+ PostReceive.new.perform(pwd(project), 'sha-old', 'sha-new', 'refs/heads/master', key_id)
end
end
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index a7e1e152bd2..805423bc70d 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -57,7 +57,9 @@
BranchGraph.prototype.collectColors = function(){
for (var k = 0; k < this.mspace; k++) {
- this.colors.push(Raphael.getColor());
+ this.colors.push(Raphael.getColor(.8));
+ // Skipping a few colors in the spectrum to get more contrast between colors
+ Raphael.getColor();Raphael.getColor();
}
};
@@ -83,7 +85,7 @@
if(cuday != this.days[mm][0]){
// Dates
r.text(offsetX + mm * 20, 31, this.days[mm][0]).attr({
- font: "12px Monaco, Arial",
+ font: "12px Monaco, monospace",
fill: "#DDD"
});
cuday = this.days[mm][0];
@@ -91,7 +93,7 @@
if(cumonth != this.days[mm][1]){
// Months
r.text(offsetX + mm * 20, 11, this.days[mm][1]).attr({
- font: "12px Monaco, Arial",
+ font: "12px Monaco, monospace",
fill: "#EEE"
});
cumonth = this.days[mm][1];
@@ -101,29 +103,16 @@
for (i = 0; i < this.commitCount; i++) {
var x = offsetX + 20 * this.commits[i].time
- , y = offsetY + 20 * this.commits[i].space;
+ , y = offsetY + 20 * this.commits[i].space
+ , c;
+
+ // Draw dot
r.circle(x, y, 3).attr({
fill: this.colors[this.commits[i].space],
stroke: "none"
});
- if (this.commits[i].refs != null && this.commits[i].refs != "") {
- var longrefs = this.commits[i].refs
- , shortrefs = this.commits[i].refs;
- if (shortrefs.length > 15){
- shortrefs = shortrefs.substr(0,13) + "...";
- }
- var t = r.text(x+5, y+8, shortrefs).attr({
- font: "12px Monaco, Arial",
- fill: "#666",
- title: longrefs,
- cursor: "pointer",
- rotation: "90"
- });
-
- var textbox = t.getBBox();
- t.translate(textbox.height/-4, textbox.width/2);
- }
- var c;
+
+ // Draw lines
for (var j = 0, jj = this.commits[i].parents.length; j < jj; j++) {
c = this.preparedCommits[this.commits[i].parents[j][0]];
if (c) {
@@ -153,6 +142,11 @@
}
}
}
+
+ if (this.commits[i].refs) {
+ this.appendLabel(x, y, this.commits[i].refs);
+ }
+
this.appendAnchor(top, this.commits[i], x, y);
}
top.toFront();
@@ -206,7 +200,57 @@
});
};
- BranchGraph.prototype.appendAnchor = function(top, c, x, y) {
+ BranchGraph.prototype.appendLabel = function(x, y, refs){
+ var r = this.raphael
+ , shortrefs = refs
+ , text, textbox, rect;
+
+ if (shortrefs.length > 17){
+ // Truncate if longer than 15 chars
+ shortrefs = shortrefs.substr(0,15) + "…";
+ }
+
+ text = r.text(x+5, y+8 + 10, shortrefs).attr({
+ font: "10px Monaco, monospace",
+ fill: "#FFF",
+ title: refs
+ });
+
+ textbox = text.getBBox();
+ text.transform([
+ 't', textbox.height/-4, textbox.width/2 + 5,
+ 'r90'
+ ]);
+
+ // Create rectangle based on the size of the textbox
+ rect = r.rect(x, y, textbox.width + 15, textbox.height + 5, 4).attr({
+ "fill": "#000",
+ "fill-opacity": .7,
+ "stroke": "none"
+ });
+
+ triangle = r.path([
+ 'M', x, y + 5,
+ 'L', x + 4, y + 15,
+ 'L', x - 4, y + 15,
+ 'Z'
+ ]).attr({
+ "fill": "#000",
+ "fill-opacity": .7,
+ "stroke": "none"
+ });
+
+ // Rotate and reposition rectangle over text
+ rect.transform([
+ 'r', 90, x, y,
+ 't', 15, -9
+ ]);
+
+ // Set text to front
+ text.toFront();
+ };
+
+ BranchGraph.prototype.appendAnchor = function(top, commit, x, y) {
var r = this.raphael
, options = this.options
, anchor;
@@ -216,16 +260,13 @@
cursor: "pointer"
})
.click(function(){
- window.location = options.commit_url.replace('%s', c.id);
+ window.location = options.commit_url.replace('%s', commit.id);
})
.hover(function(){
- var text = r.text(100, 100, c.author + "\n \n" + c.id + "\n \n" + c.message).attr({
- fill: "#fff"
- });
- this.popup = r.tooltip(x, y + 5, text, 0);
- top.push(this.popup.insertBefore(this));
+ this.tooltip = r.commitTooltip(x, y + 5, commit);
+ top.push(this.tooltip.insertBefore(this));
}, function(){
- this.popup && this.popup.remove() && delete this.popup;
+ this.tooltip && this.tooltip.remove() && delete this.tooltip;
});
top.push(anchor);
};
@@ -233,23 +274,81 @@
this.BranchGraph = BranchGraph;
}(this);
-Raphael.fn.tooltip = function (x, y, set, dir, size) {
- dir = dir == null ? 2 : dir;
- size = size || 5;
- x = Math.round(x);
- y = Math.round(y);
- var mmax = Math.max
- , bb = set.getBBox()
- , w = Math.round(bb.width / 2)
- , h = Math.round(bb.height / 2)
- , dx = [0, w + size * 2, 0, -w - size * 2]
- , dy = [-h * 2 - size * 3, -h - size, 0, -h - size]
- , p = ["M", x - dx[dir], y - dy[dir], "l", -size, (dir == 2) * -size, -mmax(w - size, 0), 0, "a", size, size, 0, 0, 1, -size, -size,
- "l", 0, -mmax(h - size, 0), (dir == 3) * -size, -size, (dir == 3) * size, -size, 0, -mmax(h - size, 0), "a", size, size, 0, 0, 1, size, -size,
- "l", mmax(w - size, 0), 0, size, !dir * -size, size, !dir * size, mmax(w - size, 0), 0, "a", size, size, 0, 0, 1, size, size,
- "l", 0, mmax(h - size, 0), (dir == 1) * size, size, (dir == 1) * -size, size, 0, mmax(h - size, 0), "a", size, size, 0, 0, 1, -size, size,
- "l", -mmax(w - size, 0), 0, "z"].join(",")
- , xy = [{x: x, y: y + size * 2 + h}, {x: x - size * 2 - w, y: y}, {x: x, y: y - size * 2 - h}, {x: x + size * 2 + w, y: y}][dir];
- set.translate(xy.x - w - bb.x, xy.y - h - bb.y);
- return this.set(this.path(p).attr({fill: "#234", stroke: "none"}).insertBefore(set.node ? set : set[0]), set);
+Raphael.fn.commitTooltip = function(x, y, commit){
+ var nameText, idText, messageText
+ , boxWidth = 300
+ , boxHeight = 200;
+
+ nameText = this.text(x, y + 10, commit.author.name);
+ idText = this.text(x, y + 35, commit.id);
+ messageText = this.text(x, y + 50, commit.message);
+
+ textSet = this.set(nameText, idText, messageText).attr({
+ "text-anchor": "start",
+ "font": "12px Monaco, monospace"
+ });
+
+ nameText.attr({
+ "font": "14px Arial",
+ "font-weight": "bold"
+ });
+
+ idText.attr({
+ "fill": "#AAA"
+ });
+
+ textWrap(messageText, boxWidth - 50);
+
+ var rect = this.rect(x - 10, y - 10, boxWidth, 100, 4).attr({
+ "fill": "#FFF",
+ "stroke": "#000",
+ "stroke-linecap": "round",
+ "stroke-width": 2
+ });
+ var tooltip = this.set(rect, textSet);
+
+ rect.attr({
+ "height" : tooltip.getBBox().height + 10,
+ "width" : tooltip.getBBox().width + 10
+ });
+
+ tooltip.transform([
+ 't', 20, 20
+ ]);
+
+ return tooltip;
};
+
+function textWrap(t, width) {
+ var content = t.attr("text");
+ var abc = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ t.attr({
+ "text" : abc
+ });
+ var letterWidth = t.getBBox().width / abc.length;
+
+ t.attr({
+ "text" : content
+ });
+
+ var words = content.split(" ");
+ var x = 0, s = [];
+ for ( var i = 0; i < words.length; i++) {
+
+ var l = words[i].length;
+ if (x + (l * letterWidth) > width) {
+ s.push("\n");
+ x = 0;
+ }
+ x += l * letterWidth;
+ s.push(words[i] + " ");
+ }
+ t.attr({
+ "text" : s.join("")
+ });
+ var b = t.getBBox()
+ , h = Math.abs(b.y2) - Math.abs(b.y) + 1;
+ t.attr({
+ "y": b.y + h
+ });
+} \ No newline at end of file
diff --git a/vendor/assets/javascripts/g.bar-min.js b/vendor/assets/javascripts/g.bar-min.js
index 42f452af350..7620dabda74 100644
--- a/vendor/assets/javascripts/g.bar-min.js
+++ b/vendor/assets/javascripts/g.bar-min.js
@@ -3,5 +3,6 @@
*
* Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
+ * From: https://github.com/jhurt/g.raphael/blob/master/g.bar.js
*/
-(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
+(function(){function c(c,d,e,f,g,h,i,j){var k,l={round:"round",sharp:"sharp",soft:"soft",square:"square"};if(g&&!f||!g&&!e)return i?"":j.path();switch(h=l[h]||"square",f=Math.round(f),e=Math.round(e),c=Math.round(c),d=Math.round(d),h){case"round":if(g)m=~~(e/2),m>f?(m=f,k=["M",c-~~(e/2),d,"l",0,0,"a",~~(e/2),m,0,0,1,e,0,"l",0,0,"z"]):k=["M",c-m,d,"l",0,m-f,"a",m,m,0,1,1,e,0,"l",0,f-m,"z"];else{var m=~~(f/2);m>e?(m=e,k=["M",c+.5,d+.5-~~(f/2),"l",0,0,"a",m,~~(f/2),0,0,1,0,f,"l",0,0,"z"]):k=["M",c+.5,d+.5-m,"l",e-m,0,"a",m,m,0,1,1,0,f,"l",m-e,0,"z"]}break;case"sharp":if(g)n=~~(e/2),k=["M",c+n,d,"l",-e,0,0,-b(f-n,0),n,-a(n,f),n,a(n,f),n,"z"];else{var n=~~(f/2);k=["M",c,d+n,"l",0,-f,b(e-n,0),0,a(n,e),n,-a(n,e),n+(f>2*n),"z"]}break;case"square":k=g?["M",c+~~(e/2),d,"l",1-e,0,0,-f,e-1,0,"z"]:["M",c,d+~~(f/2),"l",0,-f,e,0,0,f,"z"];break;case"soft":g?(m=a(Math.round(e/5),f),k=["M",c-~~(e/2),d,"l",0,m-f,"a",m,m,0,0,1,m,-m,"l",e-2*m,0,"a",m,m,0,0,1,m,m,"l",0,f-m,"z"]):(m=a(e,Math.round(f/5)),k=["M",c+.5,d+.5-~~(f/2),"l",e-m,0,"a",m,m,0,0,1,m,m,"l",0,f-2*m,"a",m,m,0,0,1,-m,m,"l",m-e,0,"z"])}return i?k.join(","):j.path(k)}function d(a,b,d,e,f,g,h){h=h||{};var i=this,j=h.type||"square",k=parseFloat(h.gutter||"20%"),l=a.set(),m=a.set(),n=a.set(),o=a.set(),p=Math.max.apply(Math,g),q=[],r=0,s=h.colors||i.colors,t=g.length;if(Raphael.is(g[0],"array")){p=[],r=t,t=0;for(var u=g.length;u--;)m.push(a.set()),p.push(Math.max.apply(Math,g[u])),t=Math.max(t,g[u].length);if(h.stacked)for(var u=t;u--;){for(var v=0,w=g.length;w--;)v+=+g[w][u]||0;q.push(v)}for(var u=g.length;u--;)if(t>g[u].length)for(var w=t;w--;)g[u].push(0);p=Math.max.apply(Math,h.stacked?q:p)}p=h.to||p;var x=100*(e/(t*(100+k)+k)),y=x*k/100,z=null==h.vgutter?20:h.vgutter,A=[],B=b+y,C=(f-2*z)/p;h.stretch||(y=Math.round(y),x=Math.floor(x)),!h.stacked&&(x/=r||1);for(var u=0;t>u;u++){A=[];for(var w=0;(r||1)>w;w++){var D=Math.round((r?g[w][u]:g[u])*C),E=d+f-z-D,F=c(Math.round(B+x/2),E+D,x,D,!0,j,null,a).attr({stroke:"none",fill:s[r?w:u]});r?m[w].push(F):m.push(F),F.y=E,F.x=Math.round(B+x/2),F.w=x,F.h=D,F.value=r?g[w][u]:g[u],h.stacked?A.push(F):B+=x}if(h.stacked){var G;o.push(G=a.rect(A[0].x-A[0].w/2,d,x,f).attr(i.shim)),G.bars=a.set();for(var H=0,I=A.length;I--;)A[I].toFront();for(var I=0,J=A.length;J>I;I++){var K,F=A[I],D=(H+F.value)*C,L=c(F.x,d+f-z-.5*!!H,x,D,!0,j,1,a);G.bars.push(F),H&&F.attr({path:L}),F.h=D,F.y=d+f-z-.5*!!H-D,n.push(K=a.rect(F.x-F.w/2,F.y,x,F.value*C).attr(i.shim)),K.bar=F,K.value=F.value,H+=F.value}B+=x}B+=y}if(o.toFront(),B=b+y,!h.stacked)for(var u=0;t>u;u++){for(var w=0;(r||1)>w;w++){var K;n.push(K=a.rect(Math.round(B),d+z,x,f-z).attr(i.shim)),K.bar=r?m[w][u]:m[u],K.value=K.bar.value,B+=x}B+=y}return l.label=function(b,c){b=b||[],this.labels=a.set();var e,j=-1/0;if(h.stacked){for(var k=0;t>k;k++)for(var l=0,o=0;(r||1)>o;o++)if(l+=r?g[o][k]:g[k],o==r-1){var q=i.labelise(b[k],l,p);e=a.text(m[o][k].x,d+f-z/2,q).attr(i.txtattr).attr({fill:h.legendcolor||"#000","text-anchor":"start"}).insertBefore(n[k*(r||1)+o]);var s=e.getBBox();j>s.x-7?e.remove():(this.labels.push(e),j=s.x+s.width)}}else for(var k=0;t>k;k++)for(var o=0;(r||1)>o;o++){var q=i.labelise(r?b[o]&&b[o][k]:b[k],r?g[o][k]:g[k],p);e=a.text(m[o][k].x-x/2,c?d+f-z/2:m[o][k].y-10,q).attr(i.txtattr).attr({fill:h.legendcolor||"#000","text-anchor":"start"}).insertBefore(n[k*(r||1)+o]);var s=e.getBBox();e.translate((x-s.width)/2,1),j>s.x-7?e.remove():(this.labels.push(e),j=s.x+s.width)}return this},l.hover=function(a,b){return o.hide(),n.show(),n.mouseover(a).mouseout(b),this},l.hoverColumn=function(a,b){return n.hide(),o.show(),b=b||function(){},o.mouseover(a).mouseout(b),this},l.click=function(a){return o.hide(),n.show(),n.click(a),this},l.each=function(a){if(!Raphael.is(a,"function"))return this;for(var b=n.length;b--;)a.call(n[b]);return this},l.eachColumn=function(a){if(!Raphael.is(a,"function"))return this;for(var b=o.length;b--;)a.call(o[b]);return this},l.clickColumn=function(a){return n.hide(),o.show(),o.click(a),this},l.push(m,n,o),l.bars=m,l.covers=n,l}function e(a,b,d,e,f,g,h){h=h||{};var i=this,j=h.type||"square",k=parseFloat(h.gutter||"20%"),l=a.set(),m=a.set(),n=a.set(),o=a.set(),p=Math.max.apply(Math,g),q=[],r=0,s=h.colors||i.colors,t=g.length;if(Raphael.is(g[0],"array")){p=[],r=t,t=0;for(var u=g.length;u--;)m.push(a.set()),p.push(Math.max.apply(Math,g[u])),t=Math.max(t,g[u].length);if(h.stacked)for(var u=t;u--;){for(var v=0,w=g.length;w--;)v+=+g[w][u]||0;q.push(v)}for(var u=g.length;u--;)if(t>g[u].length)for(var w=t;w--;)g[u].push(0);p=Math.max.apply(Math,h.stacked?q:p)}p=h.to||p;var x=Math.floor(100*(f/(t*(100+k)+k))),y=Math.floor(x*k/100),z=[],A=d+y,B=(e-1)/p;!h.stacked&&(x/=r||1);for(var u=0;t>u;u++){z=[];for(var w=0;(r||1)>w;w++){var C=r?g[w][u]:g[u],D=c(b,A+x/2,Math.round(C*B),x-1,!1,j,null,a).attr({stroke:"none",fill:s[r?w:u]});r?m[w].push(D):m.push(D),D.x=b+Math.round(C*B),D.y=A+x/2,D.w=Math.round(C*B),D.h=x,D.value=+C,h.stacked?z.push(D):A+=x}if(h.stacked){var E=a.rect(b,z[0].y-z[0].h/2,e,x).attr(i.shim);o.push(E),E.bars=a.set();for(var F=0,G=z.length;G--;)z[G].toFront();for(var G=0,H=z.length;H>G;G++){var I,D=z[G],C=Math.round((F+D.value)*B),J=c(b,D.y,C,x-1,!1,j,1,a);E.bars.push(D),F&&D.attr({path:J}),D.w=C,D.x=b+C,n.push(I=a.rect(b+F*B,D.y-D.h/2,D.value*B,x).attr(i.shim)),I.bar=D,F+=D.value}A+=x}A+=y}if(o.toFront(),A=d+y,!h.stacked)for(var u=0;t>u;u++){for(var w=0;(r||1)>w;w++){var I=a.rect(b,A,e,x).attr(i.shim);n.push(I),I.bar=r?m[w][u]:m[u],I.value=I.bar.value,A+=x}A+=y}return l.label=function(c,d){c=c||[],this.labels=a.set();for(var e=0;t>e;e++)for(var f=0;r>f;f++){var o,j=i.labelise(r?c[f]&&c[f][e]:c[e],r?g[f][e]:g[e],p),k=d?m[f][e].x-x/2+3:b+5;this.labels.push(o=a.text(k,m[f][e].y,j).attr(i.txtattr).attr({fill:h.legendcolor||"#000","text-anchor":"start"}).insertBefore(n[0])),b+5>o.getBBox().x?o.attr({x:b+5,"text-anchor":"start"}):m[f][e].label=o}return this},l.hover=function(a,b){return o.hide(),n.show(),b=b||function(){},n.mouseover(a).mouseout(b),this},l.hoverColumn=function(a,b){return n.hide(),o.show(),b=b||function(){},o.mouseover(a).mouseout(b),this},l.each=function(a){if(!Raphael.is(a,"function"))return this;for(var b=n.length;b--;)a.call(n[b]);return this},l.eachColumn=function(a){if(!Raphael.is(a,"function"))return this;for(var b=o.length;b--;)a.call(o[b]);return this},l.click=function(a){return o.hide(),n.show(),n.click(a),this},l.clickColumn=function(a){return n.hide(),o.show(),o.click(a),this},l.push(m,n,o),l.bars=m,l.covers=n,l}var a=Math.min,b=Math.max,f=function(){};f.prototype=Raphael.g,e.prototype=d.prototype=new f,Raphael.fn.hbarchart=function(a,b,c,d,f,g){return new e(this,a,b,c,d,f,g)},Raphael.fn.barchart=function(a,b,c,e,f,g){return new d(this,a,b,c,e,f,g)}})(); \ No newline at end of file
diff --git a/vendor/assets/javascripts/g.raphael-min.js b/vendor/assets/javascripts/g.raphael-min.js
index 932904f9acf..f8b381c623b 100644
--- a/vendor/assets/javascripts/g.raphael-min.js
+++ b/vendor/assets/javascripts/g.raphael-min.js
@@ -4,25 +4,4 @@
* 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
+Raphael.el.popup=function(a,b,c,d){var f,g,h,i,j,e=this.paper||this[0].paper;if(e){switch(this.type){case"text":case"circle":case"ellipse":h=!0;break;default:h=!1}a=null==a?"up":a,b=b||5,f=this.getBBox(),c="number"==typeof c?c:h?f.x+f.width/2:f.x,d="number"==typeof d?d:h?f.y+f.height/2:f.y,i=Math.max(f.width/2-b,0),j=Math.max(f.height/2-b,0),this.translate(c-f.x-(h?f.width/2:0),d-f.y-(h?f.height/2:0)),f=this.getBBox();var k={up:["M",c,d,"l",-b,-b,-i,0,"a",b,b,0,0,1,-b,-b,"l",0,-f.height,"a",b,b,0,0,1,b,-b,"l",2*b+2*i,0,"a",b,b,0,0,1,b,b,"l",0,f.height,"a",b,b,0,0,1,-b,b,"l",-i,0,"z"].join(","),down:["M",c,d,"l",b,b,i,0,"a",b,b,0,0,1,b,b,"l",0,f.height,"a",b,b,0,0,1,-b,b,"l",-(2*b+2*i),0,"a",b,b,0,0,1,-b,-b,"l",0,-f.height,"a",b,b,0,0,1,b,-b,"l",i,0,"z"].join(","),left:["M",c,d,"l",-b,b,0,j,"a",b,b,0,0,1,-b,b,"l",-f.width,0,"a",b,b,0,0,1,-b,-b,"l",0,-(2*b+2*j),"a",b,b,0,0,1,b,-b,"l",f.width,0,"a",b,b,0,0,1,b,b,"l",0,j,"z"].join(","),right:["M",c,d,"l",b,-b,0,-j,"a",b,b,0,0,1,b,-b,"l",f.width,0,"a",b,b,0,0,1,b,b,"l",0,2*b+2*j,"a",b,b,0,0,1,-b,b,"l",-f.width,0,"a",b,b,0,0,1,-b,-b,"l",0,-j,"z"].join(",")};return g={up:{x:-!h*(f.width/2),y:2*-b-(h?f.height/2:f.height)},down:{x:-!h*(f.width/2),y:2*b+(h?f.height/2:f.height)},left:{x:2*-b-(h?f.width/2:f.width),y:-!h*(f.height/2)},right:{x:2*b+(h?f.width/2:f.width),y:-!h*(f.height/2)}}[a],this.translate(g.x,g.y),e.path(k[a]).attr({fill:"#000",stroke:"none"}).insertBefore(this.node?this:this[0])}},Raphael.el.tag=function(a,b,c,d){var e=3,f=this.paper||this[0].paper;if(f){var i,j,k,g=f.path().attr({fill:"#000",stroke:"#000"}),h=this.getBBox();switch(this.type){case"text":case"circle":case"ellipse":k=!0;break;default:k=!1}return a=a||0,c="number"==typeof c?c:k?h.x+h.width/2:h.x,d="number"==typeof d?d:k?h.y+h.height/2:h.y,b=null==b?5:b,j=.5522*b,h.height>=2*b?g.attr({path:["M",c,d+b,"a",b,b,0,1,1,0,2*-b,b,b,0,1,1,0,2*b,"m",0,2*-b-e,"a",b+e,b+e,0,1,0,0,2*(b+e),"L",c+b+e,d+h.height/2+e,"l",h.width+2*e,0,0,-h.height-2*e,-h.width-2*e,0,"L",c,d-b-e].join(",")}):(i=Math.sqrt(Math.pow(b+e,2)-Math.pow(h.height/2+e,2)),g.attr({path:["M",c,d+b,"c",-j,0,-b,j-b,-b,-b,0,-j,b-j,-b,b,-b,j,0,b,b-j,b,b,0,j,j-b,b,-b,b,"M",c+i,d-h.height/2-e,"a",b+e,b+e,0,1,0,0,h.height+2*e,"l",b+e-i+h.width+2*e,0,0,-h.height-2*e,"L",c+i,d-h.height/2-e].join(",")})),a=360-a,g.rotate(a,c,d),this.attrs?(this.attr(this.attrs.x?"x":"cx",c+b+e+(k?h.width/2:"text"==this.type?h.width:0)).attr("y",k?d:d-h.height/2),this.rotate(a,c,d),a>90&&270>a&&this.attr(this.attrs.x?"x":"cx",c-b-e-(k?h.width/2:h.width)).rotate(180,c,d)):a>90&&270>a?(this.translate(c-h.x-h.width-b-e,d-h.y-h.height/2),this.rotate(a-180,h.x+h.width+b+e,h.y+h.height/2)):(this.translate(c-h.x+b+e,d-h.y-h.height/2),this.rotate(a,h.x-b-e,h.y+h.height/2)),g.insertBefore(this.node?this:this[0])}},Raphael.el.drop=function(a,b,c){var f,g,h,i,j,d=this.getBBox(),e=this.paper||this[0].paper;if(e){switch(this.type){case"text":case"circle":case"ellipse":f=!0;break;default:f=!1}return a=a||0,b="number"==typeof b?b:f?d.x+d.width/2:d.x,c="number"==typeof c?c:f?d.y+d.height/2:d.y,g=Math.max(d.width,d.height)+Math.min(d.width,d.height),h=e.path(["M",b,c,"l",g,0,"A",.4*g,.4*g,0,1,0,b+.7*g,c-.7*g,"z"]).attr({fill:"#000",stroke:"none"}).rotate(22.5-a,b,c),a=(a+90)*Math.PI/180,i=b+g*Math.sin(a)-(f?0:d.width/2),j=c+g*Math.cos(a)-(f?0:d.height/2),this.attrs?this.attr(this.attrs.x?"x":"cx",i).attr(this.attrs.y?"y":"cy",j):this.translate(i-d.x,j-d.y),h.insertBefore(this.node?this:this[0])}},Raphael.el.flag=function(a,b,c){var d=3,e=this.paper||this[0].paper;if(e){var i,f=e.path().attr({fill:"#000",stroke:"#000"}),g=this.getBBox(),h=g.height/2;switch(this.type){case"text":case"circle":case"ellipse":i=!0;break;default:i=!1}return a=a||0,b="number"==typeof b?b:i?g.x+g.width/2:g.x,c="number"==typeof c?c:i?g.y+g.height/2:g.y,f.attr({path:["M",b,c,"l",h+d,-h-d,g.width+2*d,0,0,g.height+2*d,-g.width-2*d,0,"z"].join(",")}),a=360-a,f.rotate(a,b,c),this.attrs?(this.attr(this.attrs.x?"x":"cx",b+h+d+(i?g.width/2:"text"==this.type?g.width:0)).attr("y",i?c:c-g.height/2),this.rotate(a,b,c),a>90&&270>a&&this.attr(this.attrs.x?"x":"cx",b-h-d-(i?g.width/2:g.width)).rotate(180,b,c)):a>90&&270>a?(this.translate(b-g.x-g.width-h-d,c-g.y-g.height/2),this.rotate(a-180,g.x+g.width+h+d,g.y+g.height/2)):(this.translate(b-g.x+h+d,c-g.y-g.height/2),this.rotate(a,g.x-h-d,g.y+g.height/2)),f.insertBefore(this.node?this:this[0])}},Raphael.el.label=function(){var a=this.getBBox(),b=this.paper||this[0].paper,c=Math.min(20,a.width+10,a.height+10)/2;if(b)return b.rect(a.x-c/2,a.y-c/2,a.width+c,a.height+c,c).attr({stroke:"none",fill:"#000"}).insertBefore(this.node?this:this[0])},Raphael.el.blob=function(a,b,c){var g,h,i,d=this.getBBox(),e=Math.PI/180,f=this.paper||this[0].paper;if(f){switch(this.type){case"text":case"circle":case"ellipse":h=!0;break;default:h=!1}g=f.path().attr({fill:"#000",stroke:"none"}),a=(+a+1?a:45)+90,i=Math.min(d.height,d.width),b="number"==typeof b?b:h?d.x+d.width/2:d.x,c="number"==typeof c?c:h?d.y+d.height/2:d.y;var j=Math.max(d.width+i,25*i/12),k=Math.max(d.height+i,25*i/12),l=b+i*Math.sin((a-22.5)*e),m=c+i*Math.cos((a-22.5)*e),n=b+i*Math.sin((a+22.5)*e),o=c+i*Math.cos((a+22.5)*e),p=(n-l)/2,q=(o-m)/2,r=j/2,s=k/2,t=-Math.sqrt(Math.abs(r*r*s*s-r*r*q*q-s*s*p*p)/(r*r*q*q+s*s*p*p)),u=t*r*q/s+(n+l)/2,v=t*-s*p/r+(o+m)/2;return g.attr({x:u,y:v,path:["M",b,c,"L",n,o,"A",r,s,0,1,1,l,m,"z"].join(",")}),this.translate(u-d.x-d.width/2,v-d.y-d.height/2),g.insertBefore(this.node?this:this[0])}},Raphael.fn.label=function(a,b,c){var d=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),d.push(c.label(),c)},Raphael.fn.popup=function(a,b,c,d,e){var f=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),f.push(c.popup(d,e),c)},Raphael.fn.tag=function(a,b,c,d,e){var f=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),f.push(c.tag(d,e),c)},Raphael.fn.flag=function(a,b,c,d){var e=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),e.push(c.flag(d),c)},Raphael.fn.drop=function(a,b,c,d){var e=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),e.push(c.drop(d),c)},Raphael.fn.blob=function(a,b,c,d){var e=this.set();return c=this.text(a,b,c).attr(Raphael.g.txtattr),e.push(c.blob(d),c)},Raphael.el.lighter=function(a){a=a||2;var b=[this.attrs.fill,this.attrs.stroke];return this.fs=this.fs||[b[0],b[1]],b[0]=Raphael.rgb2hsb(Raphael.getRGB(b[0]).hex),b[1]=Raphael.rgb2hsb(Raphael.getRGB(b[1]).hex),b[0].b=Math.min(b[0].b*a,1),b[0].s=b[0].s/a,b[1].b=Math.min(b[1].b*a,1),b[1].s=b[1].s/a,this.attr({fill:"hsb("+[b[0].h,b[0].s,b[0].b]+")",stroke:"hsb("+[b[1].h,b[1].s,b[1].b]+")"}),this},Raphael.el.darker=function(a){a=a||2;var b=[this.attrs.fill,this.attrs.stroke];return this.fs=this.fs||[b[0],b[1]],b[0]=Raphael.rgb2hsb(Raphael.getRGB(b[0]).hex),b[1]=Raphael.rgb2hsb(Raphael.getRGB(b[1]).hex),b[0].s=Math.min(b[0].s*a,1),b[0].b=b[0].b/a,b[1].s=Math.min(b[1].s*a,1),b[1].b=b[1].b/a,this.attr({fill:"hsb("+[b[0].h,b[0].s,b[0].b]+")",stroke:"hsb("+[b[1].h,b[1].s,b[1].b]+")"}),this},Raphael.el.resetBrightness=function(){return this.fs&&(this.attr({fill:this.fs[0],stroke:this.fs[1]}),delete this.fs),this},function(){var a=["lighter","darker","resetBrightness"],b=["popup","tag","flag","label","drop","blob"];for(var c in b)(function(a){Raphael.st[a]=function(){return Raphael.el[a].apply(this,arguments)}})(b[c]);for(var c in a)(function(a){Raphael.st[a]=function(){for(var b=0;this.length>b;b++)this[b][a].apply(this[b],arguments);return this}})(a[c])}(),Raphael.g={shim:{stroke:"none",fill:"#000","fill-opacity":0},txtattr:{font:"12px Arial, sans-serif",fill:"#fff"},colors:function(){for(var a=[.6,.2,.05,.1333,.75,0],b=[],c=0;10>c;c++)a.length>c?b.push("hsb("+a[c]+",.75, .75)"):b.push("hsb("+a[c-a.length]+", 1, .5)");return b}(),snapEnds:function(a,b,c){function f(a){return.25>Math.abs(a-.5)?~~a+.5:Math.round(a)}var d=a,e=b;if(d==e)return{from:d,to:e,power:0};var g=(e-d)/c,h=~~g,i=h,j=0;if(h){for(;i;)j--,i=~~(g*Math.pow(10,j))/Math.pow(10,j);j++}else{if(0!=g&&isFinite(g))for(;!h;)j=j||1,h=~~(g*Math.pow(10,j))/Math.pow(10,j),j++;else j=1;j&&j--}return e=f(b*Math.pow(10,j))/Math.pow(10,j),b>e&&(e=f((b+.5)*Math.pow(10,j))/Math.pow(10,j)),d=f((a-(j>0?0:.5))*Math.pow(10,j))/Math.pow(10,j),{from:d,to:e,power:j}},axis:function(a,b,c,d,e,f,g,h,i,j,k){j=null==j?2:j,i=i||"t",f=f||10,k=arguments[arguments.length-1];var t,l="|"==i||" "==i?["M",a+.5,b,"l",0,.001]:1==g||3==g?["M",a+.5,b,"l",0,-c]:["M",a,b+.5,"l",c,0],m=this.snapEnds(d,e,f),n=m.from,o=m.to,p=m.power,q=0,r={font:"11px 'Fontin Sans', Fontin-Sans, sans-serif"},s=k.set();t=(o-n)/f;var u=n,v=p>0?p:0;if(z=c/f,1==+g||3==+g){for(var w=b,x=(g-1?1:-1)*(j+3+!!(g-1));w>=b-c;)"-"!=i&&" "!=i&&(l=l.concat(["M",a-("+"==i||"|"==i?j:2*!(g-1)*j),w+.5,"l",2*j+1,0])),s.push(k.text(a+x,w,h&&h[q++]||(Math.round(u)==u?u:+u.toFixed(v))).attr(r).attr({"text-anchor":g-1?"start":"end"})),u+=t,w-=z;Math.round(w+z-(b-c))&&("-"!=i&&" "!=i&&(l=l.concat(["M",a-("+"==i||"|"==i?j:2*!(g-1)*j),b-c+.5,"l",2*j+1,0])),s.push(k.text(a+x,b-c,h&&h[q]||(Math.round(u)==u?u:+u.toFixed(v))).attr(r).attr({"text-anchor":g-1?"start":"end"})))}else{u=n,v=(p>0)*p,x=(g?-1:1)*(j+9+!g);for(var y=a,z=c/f,A=0,B=0;a+c>=y;){"-"!=i&&" "!=i&&(l=l.concat(["M",y+.5,b-("+"==i?j:2*!!g*j),"l",0,2*j+1])),s.push(A=k.text(y,b+x,h&&h[q++]||(Math.round(u)==u?u:+u.toFixed(v))).attr(r));var C=A.getBBox();B>=C.x-5?s.pop(s.length-1).remove():B=C.x+C.width,u+=t,y+=z}Math.round(y-z-a-c)&&("-"!=i&&" "!=i&&(l=l.concat(["M",a+c+.5,b-("+"==i?j:2*!!g*j),"l",0,2*j+1])),s.push(k.text(a+c,b+x,h&&h[q]||(Math.round(u)==u?u:+u.toFixed(v))).attr(r)))}var D=k.path(l);return D.text=s,D.all=k.set([D,s]),D.remove=function(){this.text.remove(),this.constructor.prototype.remove.call(this)},D},labelise:function(a,b,c){return a?(a+"").replace(/(##+(?:\.#+)?)|(%%+(?:\.%+)?)/g,function(a,d,e){return d?(+b).toFixed(d.replace(/^#+\.?/g,"").length):e?(100*b/c).toFixed(e.replace(/^%+\.?/g,"").length)+"%":void 0}):(+b).toFixed(0)}}; \ No newline at end of file