path # lines of code
config.ru 4
public/500.html 13
public/static.css 18
public/404.html 14
public/deploy.html 34
public/422.html 14
script/upgrade.rb 2
spec/services/create_commit_service_spec.rb 114
spec/services/event_service_spec.rb 26
spec/services/create_trigger_request_service_spec.rb 40
spec/services/web_hook_service_spec.rb 32
spec/services/register_build_service_spec.rb 73
spec/services/create_project_service_spec.rb 33
spec/services/image_for_build_service_spec.rb 36
spec/models/user_spec.rb 82
spec/models/trigger_spec.rb 14
spec/models/web_hook_spec.rb 41
spec/models/network_spec.rb 43
spec/models/project_spec.rb 143
spec/models/build_spec.rb 241
spec/models/project_services/slack_message_spec.rb 67
spec/models/project_services/slack_service_spec.rb 36
spec/models/project_services/hip_chat_message_spec.rb 60
spec/models/project_services/hip_chat_service_spec.rb 45
spec/models/runner_spec.rb 41
spec/models/commit_spec.rb 202
spec/models/service_spec.rb 26
spec/models/variable_spec.rb 25
spec/models/mail_service_spec.rb 132
spec/factories/trigger_requests.rb 11
spec/factories/events.rb 10
spec/factories/runner_projects.rb 6
spec/factories/users.rb 4
spec/factories/projects.rb 21
spec/factories/triggers.rb 7
spec/factories/web_hook.rb 6
spec/factories/commits.rb 54
spec/factories/builds.rb 17
spec/factories/runners.rb 14
spec/support/stub_gitlab_data.rb 5
spec/support/db_cleaner.rb 17
spec/support/login_helpers.rb 16
spec/support/capybara.rb 14
spec/support/api_helpers.rb 11
spec/support/setup_builds_storage.rb 14
spec/support/stub_gitlab_calls.rb 62
spec/support/webmock.rb 3
spec/support/monkey_patches/oauth2.rb 7
spec/controllers/projects_controller_spec.rb 85
spec/controllers/commits_controller_spec.rb 22
spec/features/builds_spec.rb 47
spec/features/admin/builds_spec.rb 56
spec/features/admin/runners_spec.rb 51
spec/features/admin/projects_spec.rb 15
spec/features/admin/events_spec.rb 16
spec/features/runners_spec.rb 74
spec/features/commits_spec.rb 53
spec/features/projects_spec.rb 45
spec/features/events_spec.rb 16
spec/features/lint_spec.rb 25
spec/features/variables_spec.rb 21
spec/features/triggers_spec.rb 22
spec/mailers/notify_spec.rb 28
spec/helpers/runners_helper_spec.rb 15
spec/helpers/user_sessions_helper_spec.rb 56
spec/helpers/user_helper_spec.rb 38
spec/helpers/application_helper_spec.rb 32
spec/spec_helper.rb 26
spec/lib/charts_spec.rb 12
spec/lib/ansi2html_spec.rb 100
spec/lib/upgrader_spec.rb 34
spec/lib/gitlab_ci_yaml_processor_spec.rb 259
spec/requests/builds_spec.rb 15
spec/requests/api/builds_spec.rb 87
spec/requests/api/runners_spec.rb 64
spec/requests/api/forks_spec.rb 50
spec/requests/api/commits_spec.rb 54
spec/requests/api/projects_spec.rb 200
spec/requests/api/triggers_spec.rb 66
spec/requests/commits_spec.rb 14
config/initializers/state_machine_patch.rb 7
config/initializers/cookies_serializer.rb 1
config/initializers/3_sidekiq.rb 18
config/initializers/1_settings.rb 44
config/initializers/6_rack_profiler.rb 4
config/initializers/backtrace_silencers.rb 1
config/initializers/session_store.rb 1
config/initializers/haml.rb 1
config/initializers/secret_token.rb 28
config/initializers/connection_fix.rb 18
config/initializers/mime_types.rb 1
config/initializers/2_app.rb 13
config/initializers/inflections.rb 1
config/initializers/wrap_parameters.rb 6
config/schedule.rb 3
config/application.rb 14
config/boot.rb 3
config/environments/production.rb 17
config/environments/development.rb 13
config/routes.rb 78
config/environment.rb 2
config/database.yml.mysql 37
app/services/create_trigger_request_service.rb 13
app/services/event_service.rb 26
app/services/register_build_service.rb 25
app/services/web_hook_service.rb 31
app/services/create_commit_service.rb 38
app/services/image_for_build_service.rb 24
app/services/create_project_service.rb 24
app/views/services/_form.html.haml 48
app/views/services/index.html.haml 21
app/views/services/edit.html.haml 1
app/views/commits/show.html.haml 84
app/views/commits/_commit.html.haml 25
app/views/charts/_builds.haml 36
app/views/charts/show.html.haml 4
app/views/charts/_build_times.haml 19
app/views/charts/_overall.haml 19
app/views/layouts/empty.html.haml 11
app/views/layouts/admin.html.haml 16
app/views/layouts/_nav.html.haml 29
app/views/layouts/_nav_admin.html.haml 28
app/views/layouts/notify.html.haml 17
app/views/layouts/project.html.haml 25
app/views/layouts/_head.html.haml 10
app/views/layouts/application.html.haml 12
app/views/layouts/_info.html.haml 8
app/views/layouts/_nav_project.html.haml 40
app/views/builds/show.html.haml 150
app/views/builds/_build.html.haml 38
app/views/admin/runner_projects/index.html.haml 54
app/views/admin/builds/_build.html.haml 24
app/views/admin/builds/index.html.haml 21
app/views/admin/application_settings/show.html.haml 3
app/views/admin/application_settings/_form.html.haml 22
app/views/admin/runners/show.html.haml 106
app/views/admin/runners/index.html.haml 44
app/views/admin/runners/_runner.html.haml 46
app/views/admin/runners/update.js.haml 2
app/views/admin/events/index.html.haml 16
app/views/admin/projects/index.html.haml 11
app/views/admin/projects/_project.html.haml 28
app/views/web_hooks/index.html.haml 86
app/views/notify/build_fail_email.text.erb 7
app/views/notify/build_success_email.text.erb 7
app/views/notify/build_fail_email.html.haml 17
app/views/notify/build_success_email.html.haml 17
app/views/lints/show.html.haml 19
app/views/lints/_create.html.haml 34
app/views/lints/create.js.haml 2
app/views/triggers/_trigger.html.haml 12
app/views/triggers/index.html.haml 54
app/views/runners/show.html.haml 60
app/views/runners/index.html.haml 22
app/views/runners/_runner.html.haml 33
app/views/runners/edit.html.haml 27
app/views/runners/_specific_runners.html.haml 24
app/views/runners/_shared_runners.html.haml 21
app/views/errors/show.haml 2
app/views/kaminari/_page.html.haml 2
app/views/kaminari/_gap.html.haml 2
app/views/kaminari/_prev_page.html.haml 2
app/views/kaminari/_paginator.html.haml 11
app/views/kaminari/_first_page.html.haml 2
app/views/kaminari/_last_page.html.haml 2
app/views/kaminari/_next_page.html.haml 2
app/views/user_sessions/show.html.haml 12
app/views/user_sessions/new.html.haml 7
app/views/variables/show.html.haml 30
app/views/helps/show.html.haml 35
app/views/helps/oauth2.html.haml 16
app/views/events/index.html.haml 17
app/views/projects/show.html.haml 45
app/views/projects/gitlab.html.haml 28
app/views/projects/_form.html.haml 92
app/views/projects/index.html.haml 20
app/views/projects/edit.html.haml 19
app/views/projects/_no_runners.html.haml 7
app/views/projects/_info.html.haml 2
app/views/projects/_gl_projects.html.haml 15
app/views/projects/_public.html.haml 19
app/views/projects/_project.html.haml 22
app/views/projects/_search.html.haml 16
app/views/shared/_no_runners.html.haml 5
app/views/shared/_guide.html.haml 14
app/models/service.rb 58
app/models/user.rb 72
app/models/user_session.rb 18
app/models/event.rb 8
app/models/trigger.rb 17
app/models/build.rb 202
app/models/project_services/slack_message.rb 78
app/models/project_services/hip_chat_service.rb 65
app/models/project_services/mail_service.rb 54
app/models/project_services/hip_chat_message.rb 63
app/models/project_services/slack_service.rb 53
app/models/variable.rb 6
app/models/runner_project.rb 5
app/models/commit.rb 201
app/models/runner.rb 43
app/models/project.rb 141
app/models/web_hook.rb 24
app/models/network.rb 90
app/models/application_setting.rb 11
app/models/trigger_request.rb 6
app/models/project_status.rb 35
app/assets/javascripts/build.coffee 36
app/assets/javascripts/pager.js.coffee 38
app/assets/javascripts/application.js.coffee 44
app/assets/javascripts/projects.js.coffee 5
app/assets/stylesheets/main/fonts.scss 1
app/assets/stylesheets/main/layout.scss 14
app/assets/stylesheets/main/mixins.scss 28
app/assets/stylesheets/main/variables.scss 17
app/assets/stylesheets/application.scss 11
app/assets/stylesheets/generic/buttons.scss 6
app/assets/stylesheets/generic/typography.scss 48
app/assets/stylesheets/generic/xterm.scss 895
app/assets/stylesheets/generic/callout.scss 34
app/assets/stylesheets/generic/avatar.scss 25
app/assets/stylesheets/generic/common.scss 157
app/assets/stylesheets/generic/forms.scss 24
app/assets/stylesheets/generic/tables.scss 20
app/assets/stylesheets/sections/projects.scss 51
app/assets/stylesheets/sections/runners.scss 28
app/assets/stylesheets/sections/builds.scss 48
app/assets/stylesheets/sections/lint.scss 8
app/assets/stylesheets/sections/navbar.scss 45
app/assets/stylesheets/sections/setup.scss 10
app/assets/stylesheets/sections/login.scss 11
app/workers/hip_chat_notifier_worker.rb 15
app/workers/web_hook_worker.rb 6
app/workers/slack_notifier_worker.rb 7
app/controllers/variables_controller.rb 24
app/controllers/runners_controller.rb 56
app/controllers/charts_controller.rb 18
app/controllers/builds_controller.rb 58
app/controllers/services_controller.rb 45
app/controllers/application_controller.rb 101
app/controllers/web_hooks_controller.rb 39
app/controllers/triggers_controller.rb 32
app/controllers/admin/runners_controller.rb 54
app/controllers/admin/builds_controller.rb 9
app/controllers/admin/application_controller.rb 5
app/controllers/admin/projects_controller.rb 13
app/controllers/admin/application_settings_controller.rb 24
app/controllers/admin/runner_projects_controller.rb 25
app/controllers/admin/events_controller.rb 6
app/controllers/projects_controller.rb 103
app/controllers/commits_controller.rb 28
app/controllers/lints_controller.rb 22
app/controllers/runner_projects_controller.rb 24
app/controllers/helps_controller.rb 12
app/controllers/user_sessions_controller.rb 50
app/controllers/events_controller.rb 14
app/mailers/notify.rb 20
app/mailers/emails/builds.rb 14
app/helpers/runners_helper.rb 18
app/helpers/gitlab_helper.rb 28
app/helpers/user_helper.rb 12
app/helpers/routes_helper.rb 23
app/helpers/user_sessions_helper.rb 26
app/helpers/icons_helper.rb 9
app/helpers/builds_helper.rb 34
app/helpers/commits_helper.rb 21
app/helpers/triggers_helper.rb 5
app/helpers/application_helper.rb 63
app/helpers/projects_helper.rb 27
db/seeds.rb 1
db/migrate/limits_to_mysql.rb 7
db/migrate/20150320001810_create_event_table.rb 14
db/migrate/20150528011001_add_fields_to_builds.rb 6
db/migrate/20121224092350_add_schedule_to_projects.rb 6
db/migrate/20141001125939_add_coverage_parser.rb 5
db/migrate/20150306131416_add_contacted_at_to_runner.rb 5
db/migrate/20141204133321_create_service.rb 14
db/migrate/20150806091503_add_committed_at_to_commits.rb 6
db/migrate/20150703125244_add_encrypted_value_to_variables.rb 7
db/migrate/20121116144312_add_before_sha_to_build.rb 5
db/migrate/20130129121754_add_public_flag_to_project.rb 5
db/migrate/20150504010150_migrate_url_to_path.rb 10
db/migrate/20141031141708_add_commit_indicies.rb 9
db/migrate/20150710113851_migrate_deploy_to_job_type_for_builds.rb 6
db/migrate/20150806091655_update_committed_at_with_created_at.rb 5
db/migrate/20150528011012_move_job_name_to_build.rb 9
db/migrate/20150415142013_add_deleted_at_to_jobs.rb 6
db/migrate/20150819162227_add_commit_id_to_trigger_requests.rb 7
db/migrate/20150806102457_add_trigger_to_builds.rb 5
db/migrate/20150113001834_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb 12
db/migrate/20150324001123_add_settings_for_shared_runners.rb 6
db/migrate/20150710113836_add_job_type_to_builds.rb 5
db/migrate/20141201153755_remove_invalid_build.rb 5
db/migrate/20150417000045_cleanup_the_build_model.rb 9
db/migrate/20130531133603_add_runner_id_to_build.rb 5
db/migrate/20150824202238_add_index_for_committed_at_and_id.rb 5
db/migrate/20141001132129_add_coverage_to_build.rb 5
db/migrate/20150602000240_change_default_build_timeout.rb 8
db/migrate/20150204001035_build_missing_services.rb 16
db/migrate/20150306135341_add_active_to_runner.rb 5
db/migrate/20130114153451_change_schedule_invertal.rb 24
db/migrate/20130531112551_add_data_field_to_build.rb 5
db/migrate/20121101091638_devise_create_users.rb 19
db/migrate/20150111062026_add_filter_to_jobs.rb 6
db/migrate/20131120155545_add_email_notification_fields_to_project.rb 7
db/migrate/20141103135037_add_parallel_to_build.rb 11
db/migrate/20150226001835_add_job_type_to_job.rb 6
db/migrate/20141127153745_remove_scripts_from_project.rb 5
db/migrate/20150601043231_migrate_jobs_to_yaml.rb 69
db/migrate/20130603144959_create_runner_projects.rb 9
db/migrate/20150721204649_truncate_sessions.rb 8
db/migrate/20150707134456_add_allow_failure_to_builds.rb 5
db/migrate/20150504010250_rename_gitlab_url_to_path.rb 5
db/migrate/20140909142245_add_skip_refs_to_projects.rb 5
db/migrate/20150605002131_create_variables.rb 10
db/migrate/20150113001833_add_missing_unique_indices.acts_as_taggable_on_engine.rb 16
db/migrate/20131023103430_add_allow_git_fetch_to_project.rb 5
db/migrate/20150113001832_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb 20
db/migrate/20121106143042_add_ref_functionality.rb 9
db/migrate/20130531125905_create_runners.rb 9
db/migrate/20130531122131_remove_path_field_from_project.rb 7
db/migrate/20141104130024_migrate_jobs.rb 11
db/migrate/20150803142346_rename_job_type_to_stage_builds.rb 8
db/migrate/20130603161449_add_project_gitlab_id_to_project.rb 5
db/migrate/20121101121639_add_token_to_project.rb 5
db/migrate/20141103151359_add_commands_to_build.rb 5
db/migrate/20150508011360_add_info_fields_to_runner.rb 9
db/migrate/20150630091815_add_options_to_build.rb 5
db/migrate/20130710164015_add_db_index.rb 7
db/migrate/20130603144030_add_more_fields_to_project.rb 5
db/migrate/20150310001733_rename_committer_to_pusher.rb 5
db/migrate/20140506091853_remove_public_key_from_runner.rb 5
db/migrate/20150616001155_add_errors_to_commit.rb 5
db/migrate/20150703125325_encrypt_variables.rb 9
db/migrate/20141031114419_migrate_build_to_commits.rb 19
db/migrate/20150324001227_migrate_shared_runners.rb 8
db/migrate/20130816201200_change_push_data_limit.rb 5
db/migrate/20150529012113_add_tag_to_commits.rb 5
db/migrate/20130906175737_add_sessions_table.rb 11
db/migrate/20141028162820_add_sha_index_to_build.rb 6
db/migrate/20121115094430_increate_trace_colunm_limit.rb 7
db/migrate/20150806102222_create_trigger.rb 11
db/migrate/20150729145246_create_application_settings.rb 9
db/migrate/20150921081619_rename_taggings_idx.rb 8
db/migrate/20130705171042_add_description_to_runner.rb 5
db/migrate/20150806105404_create_trigger_request.rb 9
db/migrate/20130603130920_remove_users_table.rb 5
db/migrate/20121108174237_add_started_at_to_build.rb 5
db/migrate/20150914102123_migrate_ci_tables.rb 19
db/migrate/20141104153744_add_name_to_job.rb 5
db/migrate/20121004140911_create_projects.rb 13
db/migrate/20150113001835_add_missing_taggable_index.acts_as_taggable_on_engine.rb 8
db/migrate/20130628142321_add_index_project_id_to_builds.rb 5
db/migrate/20121108160657_add_gitlab_url_to_project.rb 5
db/migrate/20141103162726_add_job_id_to_build.rb 5
db/migrate/20150330001111_disable_shared_runners.rb 7
db/migrate/20140130121538_rename_project_fields.rb 5
db/migrate/20121004165038_create_builds.rb 14
db/migrate/20150601043220_add_yaml_to_projects.rb 8
db/migrate/20140222210357_create_web_hook.rb 9
db/migrate/20121115132252_add_tmp_file_to_build.rb 5
db/migrate/20140823225019_create_commits_from_builds.rb 13
db/schema.rb 184
lib/api/projects.rb 108
lib/api/triggers.rb 30
lib/api/api.rb 25
lib/api/entities.rb 34
lib/api/helpers.rb 87
lib/api/commits.rb 25
lib/api/forks.rb 24
lib/api/builds.rb 31
lib/api/runners.rb 38
lib/git.rb 3
lib/support/mysql-postgresql-converter/db_converter.py 189
lib/version_info.rb 45
lib/gitlab_ci_yaml_processor.rb 154
lib/ansi2html.rb 173
lib/tasks/add_limits_mysql.rake 6
lib/tasks/schedule_builds.rake 4
lib/tasks/cleanup.rake 6
lib/tasks/setup.rake 5
lib/tasks/brakeman.rake 9
lib/tasks/info.rake 48
lib/tasks/cache.rake 6
lib/tasks/sidekiq.rake 10
lib/tasks/backup.rake 67
lib/current_settings.rb 18
lib/backup/database.rb 117
lib/backup/manager.rb 122
lib/backup/builds.rb 32
lib/scheduler.rb 13
lib/charts.rb 58
lib/static_model.rb 33
lib/upgrader.rb 80