houston-core 0.5.0.beta1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +0 -2
  3. data/.gitignore +3 -0
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +63 -62
  6. data/README.md +13 -121
  7. data/app/adapters/houston/adapters/ci_server/errors.rb +4 -4
  8. data/app/adapters/houston/adapters/ci_server/jenkins_adapter/job.rb +50 -50
  9. data/app/adapters/houston/adapters/ci_server/jenkins_adapter.rb +4 -4
  10. data/app/adapters/houston/adapters/ci_server/none_adapter/job.rb +5 -5
  11. data/app/adapters/houston/adapters/ci_server/none_adapter.rb +4 -4
  12. data/app/adapters/houston/adapters/deployment/engineyard.rb +20 -20
  13. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/app.rb +14 -14
  14. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/connection.rb +41 -41
  15. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb +6 -6
  16. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb +25 -25
  17. data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +20 -20
  18. data/app/adapters/houston/adapters/error_tracker/none_adapter.rb +8 -8
  19. data/app/adapters/houston/adapters/error_tracker/null_app.rb +13 -13
  20. data/app/adapters/houston/adapters/ticket_tracker/errors.rb +5 -5
  21. data/app/adapters/houston/adapters/ticket_tracker/github_adapter/connection.rb +41 -41
  22. data/app/adapters/houston/adapters/ticket_tracker/github_adapter/issue.rb +22 -22
  23. data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +7 -7
  24. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/connection.rb +13 -13
  25. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/ticket.rb +15 -15
  26. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter.rb +4 -4
  27. data/app/adapters/houston/adapters/ticket_tracker/none_adapter.rb +4 -4
  28. data/app/adapters/houston/adapters/ticket_tracker/null_connection.rb +13 -13
  29. data/app/adapters/houston/adapters/ticket_tracker/null_ticket.rb +19 -19
  30. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/connection.rb +54 -54
  31. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/milestone.rb +10 -10
  32. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/ticket.rb +59 -59
  33. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +9 -9
  34. data/app/adapters/houston/adapters/version_control/commit.rb +4 -4
  35. data/app/adapters/houston/adapters/version_control/errors.rb +9 -9
  36. data/app/adapters/houston/adapters/version_control/git_adapter/github_repo.rb +15 -15
  37. data/app/adapters/houston/adapters/version_control/git_adapter/remote_repo.rb +53 -30
  38. data/app/adapters/houston/adapters/version_control/git_adapter/repo.rb +60 -55
  39. data/app/adapters/houston/adapters/version_control/git_adapter.rb +22 -22
  40. data/app/adapters/houston/adapters/version_control/none_adapter.rb +4 -4
  41. data/app/adapters/houston/adapters/version_control/null_commit.rb +4 -4
  42. data/app/adapters/houston/adapters/version_control/null_repo.rb +18 -18
  43. data/app/adapters/houston/adapters.rb +10 -10
  44. data/app/assets/javascripts/app/boot.coffee +5 -5
  45. data/app/assets/javascripts/app/infinite_scroll.coffee +6 -6
  46. data/app/assets/javascripts/app/models/commit.coffee +1 -1
  47. data/app/assets/javascripts/app/models/release.coffee +1 -1
  48. data/app/assets/javascripts/app/models/task.coffee +1 -1
  49. data/app/assets/javascripts/app/models/tester.coffee +1 -1
  50. data/app/assets/javascripts/app/models/testing_note.coffee +2 -2
  51. data/app/assets/javascripts/app/models/ticket.coffee +24 -24
  52. data/app/assets/javascripts/app/models/user.coffee +1 -1
  53. data/app/assets/javascripts/app/releases.coffee +6 -6
  54. data/app/assets/javascripts/app/stacked_area_graph.coffee +22 -22
  55. data/app/assets/javascripts/app/stacked_bar_graph.coffee +20 -20
  56. data/app/assets/javascripts/app/table_row_expander.coffee +10 -10
  57. data/app/assets/javascripts/app/ticket_tracker_refresh.coffee +19 -19
  58. data/app/assets/javascripts/app/views/_show_sprint_view.coffee +14 -14
  59. data/app/assets/javascripts/app/views/_tickets_view.coffee +8 -8
  60. data/app/assets/javascripts/app/views/all_tickets_view.coffee +1 -2
  61. data/app/assets/javascripts/app/views/commit_view.coffee +2 -2
  62. data/app/assets/javascripts/app/views/edit_sprint_view.coffee +36 -36
  63. data/app/assets/javascripts/app/views/find_or_create_ticket_view.coffee +3 -3
  64. data/app/assets/javascripts/app/views/keyboard_shortcuts_modal.coffee +14 -14
  65. data/app/assets/javascripts/app/views/new_ticket_modal.coffee +4 -4
  66. data/app/assets/javascripts/app/views/new_ticket_view.coffee +34 -34
  67. data/app/assets/javascripts/app/views/problems_view.coffee +8 -8
  68. data/app/assets/javascripts/app/views/reports_view.coffee +5 -5
  69. data/app/assets/javascripts/app/views/testing_note_view.coffee +10 -10
  70. data/app/assets/javascripts/app/views/testing_report_view.coffee +7 -7
  71. data/app/assets/javascripts/app/views/testing_ticket_view.coffee +36 -36
  72. data/app/assets/javascripts/app/views/ticket_modal_view.coffee +5 -5
  73. data/app/assets/javascripts/core/app.coffee +22 -22
  74. data/app/assets/javascripts/core/burndown_chart.coffee +21 -21
  75. data/app/assets/javascripts/core/errors.coffee +2 -2
  76. data/app/assets/javascripts/core/handlebars_helpers.coffee +6 -6
  77. data/app/assets/javascripts/core/jquery_extensions.coffee +28 -28
  78. data/app/assets/javascripts/dashboard/refresher.coffee +4 -4
  79. data/app/assets/stylesheets/application/ansi.scss +2 -2
  80. data/app/assets/stylesheets/application/commit.scss +1 -1
  81. data/app/assets/stylesheets/application/exceptions.scss +3 -3
  82. data/app/assets/stylesheets/application/find_or_create_ticket.scss +2 -2
  83. data/app/assets/stylesheets/application/follow_up.scss +2 -2
  84. data/app/assets/stylesheets/application/forms.scss +2 -2
  85. data/app/assets/stylesheets/application/freight_train.css.scss +5 -5
  86. data/app/assets/stylesheets/application/full_screen.scss +2 -2
  87. data/app/assets/stylesheets/application/infinite_scroll.scss +1 -1
  88. data/app/assets/stylesheets/application/keyboard_shortcuts.scss +3 -3
  89. data/app/assets/stylesheets/application/markdown.scss +2 -2
  90. data/app/assets/stylesheets/application/navigation.scss +15 -15
  91. data/app/assets/stylesheets/application/new_ticket_view.scss +16 -16
  92. data/app/assets/stylesheets/application/omnibar.scss +6 -6
  93. data/app/assets/stylesheets/application/project_banner_buttons.scss +6 -6
  94. data/app/assets/stylesheets/application/project_tiles.scss +2 -2
  95. data/app/assets/stylesheets/application/projects.css.scss +3 -3
  96. data/app/assets/stylesheets/application/pull_requests.scss +6 -6
  97. data/app/assets/stylesheets/application/queue.scss +2 -2
  98. data/app/assets/stylesheets/application/release_form.scss +10 -10
  99. data/app/assets/stylesheets/application/releases.scss +32 -39
  100. data/app/assets/stylesheets/application/sortable_table.scss +6 -6
  101. data/app/assets/stylesheets/application/sprint.scss +6 -6
  102. data/app/assets/stylesheets/application/tables.scss +6 -6
  103. data/app/assets/stylesheets/application/test_run.scss +16 -16
  104. data/app/assets/stylesheets/application/ticket.scss +13 -13
  105. data/app/assets/stylesheets/application/ticket_modal.scss +19 -19
  106. data/app/assets/stylesheets/application/tickets.scss +2 -2
  107. data/app/assets/stylesheets/application/timeline.scss +30 -30
  108. data/app/assets/stylesheets/application/tips.scss +1 -1
  109. data/app/assets/stylesheets/application/typeahead.scss +4 -4
  110. data/app/assets/stylesheets/application/uploading.scss +13 -13
  111. data/app/assets/stylesheets/application/welcome.scss +3 -3
  112. data/app/assets/stylesheets/core/burndown_chart.scss +11 -11
  113. data/app/assets/stylesheets/core/misc.scss +8 -8
  114. data/app/assets/stylesheets/core/overrides.scss +2 -2
  115. data/app/assets/stylesheets/core/scores.scss +26 -26
  116. data/app/assets/stylesheets/dashboard/dashboard.scss +16 -16
  117. data/app/assets/stylesheets/print.css.scss +3 -3
  118. data/app/concerns/commit_synchronizer.rb +24 -24
  119. data/app/concerns/feature_state.rb +7 -7
  120. data/app/concerns/feature_support.rb +4 -4
  121. data/app/concerns/historical_weekly_stats.rb +4 -4
  122. data/app/concerns/milestone_synchronizer.rb +14 -14
  123. data/app/concerns/nosync.rb +4 -4
  124. data/app/concerns/project_adapter.rb +22 -22
  125. data/app/concerns/retirement.rb +7 -7
  126. data/app/concerns/ticket_synchronizer.rb +31 -31
  127. data/app/concerns/unique_add.rb +2 -2
  128. data/app/controllers/api/v1/sprint_tasks_controller.rb +19 -19
  129. data/app/controllers/api/v1/ticket_tasks_controller.rb +14 -14
  130. data/app/controllers/application_controller.rb +46 -40
  131. data/app/controllers/commits_controller.rb +10 -10
  132. data/app/controllers/deploys_controller.rb +11 -11
  133. data/app/controllers/home_controller.rb +4 -4
  134. data/app/controllers/jobs_controller.rb +3 -3
  135. data/app/controllers/oauth_consumers_controller.rb +1 -1
  136. data/app/controllers/omnibar_controller.rb +6 -6
  137. data/app/controllers/project_exceptions_controller.rb +11 -11
  138. data/app/controllers/project_hooks_controller.rb +7 -7
  139. data/app/controllers/project_options_controller.rb +8 -8
  140. data/app/controllers/project_pretickets_controller.rb +6 -6
  141. data/app/controllers/project_roles_controller.rb +7 -7
  142. data/app/controllers/project_tickets_controller.rb +28 -28
  143. data/app/controllers/project_tickets_sync_controller.rb +8 -8
  144. data/app/controllers/projects_controller.rb +29 -29
  145. data/app/controllers/releases_controller.rb +25 -25
  146. data/app/controllers/reports_controller.rb +36 -36
  147. data/app/controllers/sessions_controller.rb +2 -2
  148. data/app/controllers/settings_controller.rb +3 -3
  149. data/app/controllers/sprint_task_locks_controller.rb +11 -11
  150. data/app/controllers/sprints_controller.rb +25 -25
  151. data/app/controllers/tasks_controller.rb +10 -10
  152. data/app/controllers/test_runs_controller.rb +8 -8
  153. data/app/controllers/tester_bar_controller.rb +2 -2
  154. data/app/controllers/testing_notes_controller.rb +15 -15
  155. data/app/controllers/testing_report_controller.rb +14 -14
  156. data/app/controllers/tickets_controller.rb +9 -9
  157. data/app/controllers/uploads_controller.rb +9 -9
  158. data/app/controllers/user_credentials_controller.rb +4 -4
  159. data/app/controllers/user_options_controller.rb +6 -6
  160. data/app/controllers/users_controller.rb +34 -34
  161. data/app/controllers/welcome_controller.rb +6 -6
  162. data/app/helpers/ansi_helper.rb +4 -4
  163. data/app/helpers/application_helper.rb +26 -26
  164. data/app/helpers/avatar_helper.rb +12 -12
  165. data/app/helpers/backtrace_helper.rb +2 -2
  166. data/app/helpers/breadcrumbs_helper.rb +9 -9
  167. data/app/helpers/commit_helper.rb +16 -12
  168. data/app/helpers/demo_helper.rb +4 -4
  169. data/app/helpers/email_helper.rb +3 -3
  170. data/app/helpers/emoji_helper.rb +1 -1
  171. data/app/helpers/excel_helpers.rb +2 -2
  172. data/app/helpers/exposure_helper.rb +3 -3
  173. data/app/helpers/flash_message_helper.rb +6 -6
  174. data/app/helpers/maintenance_light_helper.rb +3 -3
  175. data/app/helpers/markdown_helper.rb +3 -3
  176. data/app/helpers/navigation_helper.rb +12 -12
  177. data/app/helpers/project_helper.rb +5 -5
  178. data/app/helpers/release_helper.rb +9 -9
  179. data/app/helpers/score_card_helper.rb +16 -16
  180. data/app/helpers/sprint_helper.rb +2 -2
  181. data/app/helpers/static_chart_helper.rb +2 -2
  182. data/app/helpers/test_run_helper.rb +6 -6
  183. data/app/helpers/ticket_helper.rb +14 -14
  184. data/app/helpers/timeline_helper.rb +5 -5
  185. data/app/helpers/url_helper.rb +26 -26
  186. data/app/helpers/user_helper.rb +6 -6
  187. data/app/helpers/version_helper.rb +4 -4
  188. data/app/interactors/test_run_comparer.rb +9 -9
  189. data/app/interactors/ticket_report.rb +7 -7
  190. data/app/jobs/sync_all_tickets_job.rb +13 -13
  191. data/app/jobs/sync_commits_job.rb +3 -3
  192. data/app/jobs/sync_project_tickets_job.rb +9 -9
  193. data/app/mailers/deploy_notification.rb +9 -9
  194. data/app/mailers/project_notification.rb +29 -29
  195. data/app/mailers/view_mailer.rb +20 -38
  196. data/app/models/ability.rb +21 -21
  197. data/app/models/activity_feed.rb +25 -25
  198. data/app/models/antecedent.rb +3 -3
  199. data/app/models/code_climate/coverage_report.rb +25 -25
  200. data/app/models/commit.rb +77 -82
  201. data/app/models/consumer_token.rb +2 -2
  202. data/app/models/deploy.rb +31 -27
  203. data/app/models/environment.rb +12 -12
  204. data/app/models/github/commit_status_report.rb +16 -16
  205. data/app/models/github/pull_request.rb +35 -12
  206. data/app/models/github/pull_request_event.rb +6 -5
  207. data/app/models/github_token.rb +2 -2
  208. data/app/models/historical_head.rb +2 -2
  209. data/app/models/key_dependency.rb +17 -17
  210. data/app/models/maintenance_light.rb +3 -3
  211. data/app/models/measurement.rb +22 -22
  212. data/app/models/menu_item.rb +5 -5
  213. data/app/models/menu_item_divider.rb +1 -1
  214. data/app/models/milestone.rb +27 -27
  215. data/app/models/output_stream.rb +4 -4
  216. data/app/models/post_receive_payload.rb +7 -7
  217. data/app/models/project.rb +93 -89
  218. data/app/models/project_dependencies.rb +9 -9
  219. data/app/models/project_dependency.rb +33 -33
  220. data/app/models/project_menu_item.rb +3 -3
  221. data/app/models/release.rb +60 -60
  222. data/app/models/release_change.rb +18 -18
  223. data/app/models/role.rb +15 -15
  224. data/app/models/rubygems/gem.rb +21 -21
  225. data/app/models/run_tests_on_post_receive.rb +36 -36
  226. data/app/models/setting.rb +3 -3
  227. data/app/models/settings.rb +8 -8
  228. data/app/models/source_file_coverage.rb +2 -2
  229. data/app/models/sprint.rb +19 -19
  230. data/app/models/sprint_report.rb +7 -7
  231. data/app/models/sprint_task.rb +8 -8
  232. data/app/models/static_chart/area.rb +19 -19
  233. data/app/models/static_chart.rb +35 -35
  234. data/app/models/task.rb +64 -64
  235. data/app/models/test_error.rb +2 -2
  236. data/app/models/test_result.rb +7 -0
  237. data/app/models/test_run.rb +75 -79
  238. data/app/models/test_run_statistics.rb +18 -19
  239. data/app/models/testing_note.rb +19 -19
  240. data/app/models/ticket.rb +104 -104
  241. data/app/models/ticket_antecedent.rb +11 -11
  242. data/app/models/ticket_comment.rb +6 -6
  243. data/app/models/ticket_committer.rb +3 -3
  244. data/app/models/ticket_tag.rb +6 -6
  245. data/app/models/user.rb +44 -44
  246. data/app/models/user_credentials.rb +11 -11
  247. data/app/models/value_statement.rb +3 -3
  248. data/app/presenters/commit_presenter.rb +6 -6
  249. data/app/presenters/one_or_many.rb +4 -4
  250. data/app/presenters/problem_presenter.rb +8 -8
  251. data/app/presenters/release_presenter.rb +4 -4
  252. data/app/presenters/sprint_task_presenter.rb +9 -9
  253. data/app/presenters/task_presenter.rb +8 -8
  254. data/app/presenters/tasks_excel_presenter.rb +6 -6
  255. data/app/presenters/tester_presenter.rb +3 -3
  256. data/app/presenters/testing_note_presenter.rb +4 -4
  257. data/app/presenters/testing_report_ticket_presenter.rb +9 -9
  258. data/app/presenters/ticket_presenter.rb +4 -4
  259. data/app/views/deploys/show.html.erb +8 -0
  260. data/app/views/jobs/show.html.erb +0 -34
  261. data/app/views/layouts/application.html.erb +1 -0
  262. data/app/views/layouts/minimal.html.erb +1 -0
  263. data/app/views/projects/_form.html.erb +0 -7
  264. data/app/views/releases/_form.html.erb +9 -3
  265. data/app/views/releases/index.html.erb +1 -1
  266. data/config/application.rb +1 -2
  267. data/config/database.yml +3 -3
  268. data/config/environments/production.rb +1 -1
  269. data/config/environments/test.rb +1 -1
  270. data/config/initializers/action_view_field_error_proc.rb +3 -3
  271. data/config/initializers/constants.rb +3 -3
  272. data/config/initializers/devise.rb +8 -8
  273. data/config/initializers/hard_coded_knowledge.rb +3 -3
  274. data/config/initializers/houston_async.rb +2 -2
  275. data/config/initializers/houston_report_exception.rb +3 -3
  276. data/config/initializers/houston_try.rb +3 -3
  277. data/config/initializers/sync_commits_on_post_receive.rb +0 -5
  278. data/config/routes.rb +108 -108
  279. data/db/migrate/20120417175450_devise_create_users.rb +2 -2
  280. data/db/migrate/20120501230243_add_unfuddle_id_to_tickets.rb +1 -1
  281. data/db/migrate/20120504143615_link_tickets_and_releases.rb +3 -3
  282. data/db/migrate/20120626150333_add_last_release_at_to_tickets.rb +2 -2
  283. data/db/migrate/20120626151320_link_tickets_and_commits.rb +2 -2
  284. data/db/migrate/20120626152020_add_committer_email_to_commits.rb +2 -2
  285. data/db/migrate/20120715230922_create_user_notifications.rb +3 -3
  286. data/db/migrate/20120716010743_add_user_to_releases.rb +3 -3
  287. data/db/migrate/20120726231754_link_projects_and_maintainers.rb +2 -2
  288. data/db/migrate/20120826022643_add_authentication_token_to_users.rb +2 -2
  289. data/db/migrate/20120920023251_add_administrator_to_users.rb +3 -3
  290. data/db/migrate/20121026014457_split_users_name_into_first_and_last.rb +2 -2
  291. data/db/migrate/20121027160548_create_deploys.rb +1 -1
  292. data/db/migrate/20121222170917_add_version_control_adapter_to_projects.rb +2 -2
  293. data/db/migrate/20121222223635_add_ticket_tracking_adapter_to_projects.rb +2 -2
  294. data/db/migrate/20121224212623_rename_environments.rb +3 -3
  295. data/db/migrate/20121225175106_replace_environment_id_with_environment_name.rb +8 -8
  296. data/db/migrate/20121230174234_create_test_runs.rb +3 -3
  297. data/db/migrate/20130119203853_remove_cached_queries_from_projects.rb +1 -1
  298. data/db/migrate/20130119204608_add_extended_attributes_to_tickets.rb +10 -10
  299. data/db/migrate/20130120182026_create_ticket_prerequisites.rb +2 -2
  300. data/db/migrate/20130312224911_create_errors.rb +1 -1
  301. data/db/migrate/20130407195450_create_roles.rb +2 -2
  302. data/db/migrate/20130407200624_populate_roles.rb +9 -9
  303. data/db/migrate/20130407220039_add_project_id_to_testing_notes.rb +6 -6
  304. data/db/migrate/20130407220937_add_project_id_to_commits.rb +6 -6
  305. data/db/migrate/20130416020627_add_environments_subscribed_to_to_users.rb +3 -3
  306. data/db/migrate/20130420174126_add_error_tracker_name_to_projects.rb +2 -2
  307. data/db/migrate/20130427223925_create_project_quotas.rb +2 -2
  308. data/db/migrate/20130504014802_add_extended_attributes_to_projects.rb +3 -3
  309. data/db/migrate/20130504135741_add_antecedents_to_tickets.rb +6 -6
  310. data/db/migrate/20130505144446_add_tags_to_tickets.rb +1 -1
  311. data/db/migrate/20130505162039_add_type_to_tickets.rb +1 -1
  312. data/db/migrate/20130505212838_add_closed_at_to_tickets.rb +1 -1
  313. data/db/migrate/20130519163615_create_user_credentials.rb +2 -2
  314. data/db/migrate/20130526024851_give_default_values_for_counts_from_test_runs.rb +2 -2
  315. data/db/migrate/20130710233849_add_authored_at_to_commits.rb +10 -10
  316. data/db/migrate/20130711013156_link_commits_and_users.rb +6 -6
  317. data/db/migrate/20130806143651_link_commits_and_releases.rb +2 -2
  318. data/db/migrate/20130921141449_create_milestones.rb +3 -3
  319. data/db/migrate/20131004185618_add_first_release_at_to_tickets.rb +2 -2
  320. data/db/migrate/20131012152403_create_sprints.rb +3 -3
  321. data/db/migrate/20131112010815_delete_duplicate_commits.rb +7 -7
  322. data/db/migrate/20140217160450_add_email_addresses_to_users.rb +3 -3
  323. data/db/migrate/20140327020121_drop_ticket_prerequisites.rb +1 -1
  324. data/db/migrate/20140406183224_remove_new_relic_id_from_projects.rb +1 -1
  325. data/db/migrate/20140406230121_delete_automatically_generated_messages_for_releases.rb +1 -1
  326. data/db/migrate/20140407010111_drop_sprints_project_id.rb +1 -1
  327. data/db/migrate/20140418133005_change_ticket_antecedents_to_text_array.rb +1 -1
  328. data/db/migrate/20140425141946_embed_changes_in_releases.rb +3 -3
  329. data/db/migrate/20140515174322_create_tasks.rb +3 -3
  330. data/db/migrate/20140516012049_create_tasks_for_existing_tickets.rb +1 -1
  331. data/db/migrate/20140517012626_prevent_hstore_fields_from_being_null.rb +2 -2
  332. data/db/migrate/20140521014652_allow_task_descriptions_to_be_null.rb +1 -1
  333. data/db/migrate/20140526155845_add_commit_id_to_deploys.rb +5 -5
  334. data/db/migrate/20140526162645_add_commit_before_id_and_commit_after_id_to_releases.rb +4 -4
  335. data/db/migrate/20140526180608_associate_remaining_deploys_and_releases.rb +12 -12
  336. data/db/migrate/20140724231918_create_sprints_tasks.rb +3 -3
  337. data/db/migrate/20140824194031_add_project_id_to_tasks.rb +1 -1
  338. data/db/migrate/20140824194526_add_completed_at_to_tasks.rb +3 -3
  339. data/db/migrate/20140824211249_require_sprints_to_be_unique.rb +1 -1
  340. data/db/migrate/20140907012329_drop_table_changes.rb +1 -1
  341. data/db/migrate/20140907013836_drop_table_errors.rb +1 -1
  342. data/db/migrate/20140921190022_add_checked_out_to_sprints_tasks.rb +2 -2
  343. data/db/migrate/20140921201441_drop_users_name.rb +1 -1
  344. data/db/migrate/20140925021043_rename_deploys_commit_to_sha.rb +1 -1
  345. data/db/migrate/20140929004347_create_historical_heads.rb +4 -4
  346. data/db/migrate/20141027194819_make_users_environments_subscribed_to_an_array.rb +2 -2
  347. data/db/migrate/20141226171730_create_measurements.rb +1 -1
  348. data/db/migrate/20150119154013_drop_unused_fields_from_milestones.rb +1 -1
  349. data/db/migrate/20150222205616_add_features_to_projects.rb +2 -2
  350. data/db/migrate/20150323004452_add_deploys_completed_at.rb +1 -1
  351. data/db/migrate/20150805180939_add_commit_id_to_test_runs.rb +1 -1
  352. data/db/migrate/20150808161805_create_test_results.rb +1 -1
  353. data/db/migrate/20150809132417_rename_test_results_regression_to_difference.rb +1 -1
  354. data/db/migrate/20150927014445_required_pull_requests_to_be_unique_by_project_and_number.rb +13 -0
  355. data/db/structure.sql +9 -0
  356. data/houston.gemspec +23 -26
  357. data/lib/configuration.rb +0 -5
  358. data/lib/core_ext/duration.rb +4 -4
  359. data/lib/core_ext/hash.rb +17 -17
  360. data/lib/houston/version.rb +1 -1
  361. data/lib/houston_server.rb +6 -6
  362. data/lib/parallel_enumerable.rb +16 -16
  363. data/lib/tasks/specific_tests.rake +37 -0
  364. metadata +91 -107
  365. data/app/interactors/push_gemfile_to_gemnasium.rb +0 -88
  366. data/app/models/gemnasium/alert.rb +0 -25
  367. data/app/views/welcome/_tdl.html.erb +0 -31
  368. data/config/initializers/houston_tdl.rb +0 -104
@@ -17,7 +17,7 @@ th.vertical {
17
17
  max-width: 28px;
18
18
  padding: 4px 0;
19
19
  white-space: normal;
20
-
20
+
21
21
  > span {
22
22
  display: block;
23
23
  writing-mode: tb-rl;
@@ -30,7 +30,7 @@ th.vertical {
30
30
  width: 3em;
31
31
  text-overflow: ellipsis;
32
32
  white-space: nowrap;
33
-
33
+
34
34
  position: relative;
35
35
  left: -7px;
36
36
  top: -15px;
@@ -48,21 +48,21 @@ tr.selected > td { background-color: #ffe; }
48
48
  border-top: 1px solid #ddd;
49
49
  border-bottom: none;
50
50
  }
51
-
51
+
52
52
  tbody > tr {
53
53
  cursor: pointer;
54
-
54
+
55
55
  &.expanded {
56
56
  td {
57
57
  color: #eee !important;
58
58
  border-top: 2px solid #222 !important;
59
59
  background-color: #505050 !important;
60
-
60
+
61
61
  a:hover { color: rgb(2, 160, 240); }
62
62
  .label-inverse { background-color: black; }
63
63
  }
64
64
  }
65
-
65
+
66
66
  &.expansion {
67
67
  td {
68
68
  border-top: none;
@@ -16,14 +16,14 @@ h2.test-result-banner {
16
16
  margin-top: 48px;
17
17
  background-color: #ffc;
18
18
  font-weight: 200;
19
-
19
+
20
20
  margin: 12px -48px 48px;
21
21
  padding: 16px 64px;
22
-
22
+
23
23
  p {
24
24
  font-size: 1.5em;
25
25
  margin: 0;
26
-
26
+
27
27
  .test-result-committer { font-weight: 800; }
28
28
  img { width: 1em; height: 1em; }
29
29
  }
@@ -40,12 +40,12 @@ h2.test-result-banner {
40
40
  color: white;
41
41
  margin: 0 0.2em;
42
42
  padding: 0;
43
-
43
+
44
44
  &.pass { @include badge-style(#5DB64C); letter-spacing: 0.088em; } // grass
45
45
  &.error { @include badge-style(#DDC522); letter-spacing: 0.088em; } // mustard
46
46
  &.aborted { @include badge-style(#888888); letter-spacing: 0.088em; } // gray
47
47
  &.fail { @include badge-style(#E24E32); letter-spacing: 0.160em; } // tomato
48
-
48
+
49
49
  a {
50
50
  display: block;
51
51
  height: 100%;
@@ -59,30 +59,30 @@ h2.test-result-banner {
59
59
  margin-top: 48px;
60
60
  padding-left: 12px;
61
61
  border-top: 1px solid #e6e6e6;
62
-
62
+
63
63
  margin-bottom: 48px;
64
64
  padding-bottom: 20px;
65
65
  border-bottom: 1px solid #e6e6e6;
66
-
66
+
67
67
  font-size: 15px;
68
68
  line-height: 1.38em;
69
-
69
+
70
70
  .tests {
71
71
  margin: 0;
72
72
  padding: 0;
73
73
  }
74
-
74
+
75
75
  .test {
76
76
  display: block;
77
77
  margin: 0;
78
78
  padding: 0.18em 0 0.18em 5.25em;
79
79
  text-indent: -4em;
80
-
80
+
81
81
  &.fail { background-color: rgba(226, 78, 50, 0.15); }
82
82
  &.error { background-color: rgb(252, 247, 207); }
83
83
  &.skip { }
84
84
  }
85
-
85
+
86
86
  .test-suite-name {
87
87
  padding: 0;
88
88
  margin: 1.5em 0 0.75em 0;
@@ -90,19 +90,19 @@ h2.test-result-banner {
90
90
  font-weight: 500;
91
91
  color: #686868;
92
92
  }
93
-
93
+
94
94
  .test-duration {
95
95
  font-size: 0.88em;
96
96
  color: #aaa;
97
97
  white-space: nowrap;
98
98
  }
99
-
99
+
100
100
  .test-backtrace {
101
101
  font-size: 0.88em;
102
102
  margin: 0.5em 0;
103
103
  padding: 0 0 0 2em;
104
104
  }
105
-
105
+
106
106
  .test-backtrace-line {
107
107
  list-style-type: none;
108
108
  text-indent: -2em;
@@ -119,7 +119,7 @@ h2.test-result-banner {
119
119
  color: white;
120
120
  font-weight: 800;
121
121
  text-indent: 0;
122
-
122
+
123
123
  &.pass { color: #5DB64C; } // grass
124
124
  &.fail { color: #E24E32; } // tomato
125
125
  &.skip { color: #239ce7; } // sky
@@ -134,7 +134,7 @@ h2.test-result-banner {
134
134
  display: inline-block;
135
135
  vertical-align: top;
136
136
  position: relative;
137
- top: 40px;
137
+ top: 40px;
138
138
 
139
139
  p { display: block; margin: 0 0 1.33em; }
140
140
  }
@@ -8,14 +8,14 @@
8
8
  .ticket-view {
9
9
  max-width: 960px;
10
10
  margin: 0 auto;
11
-
11
+
12
12
  .ticket-header {
13
13
  position: relative;
14
-
14
+
15
15
  > h2 {
16
16
  margin: 0 0 0 104px;
17
17
  }
18
-
18
+
19
19
  &::after {
20
20
  content: '.';
21
21
  clear: both;
@@ -23,7 +23,7 @@
23
23
  display: block;
24
24
  height: 1em;
25
25
  }
26
-
26
+
27
27
  .ticket-tracker-link {
28
28
  position: absolute;
29
29
  right: 1.5em;
@@ -38,20 +38,20 @@
38
38
  font-weight: 400;
39
39
  font-weight: 200;
40
40
  color: #ccc;
41
-
41
+
42
42
  position: absolute;
43
43
  width: 96px;
44
44
  left: 0;
45
45
  top: -1px;
46
46
  }
47
-
47
+
48
48
  .ticket-state-position {
49
49
  position: absolute;
50
50
  width: 96px;
51
51
  text-align: right;
52
52
  top: 35px;
53
53
  }
54
-
54
+
55
55
  .ticket-state {
56
56
  color: white;
57
57
  padding: 2px 6px;
@@ -69,21 +69,21 @@
69
69
  background: #5DB64C; // grass
70
70
  &::before { content: '\f10c'; }
71
71
  &::after { content: ' Open'; }
72
- }
72
+ }
73
73
  &.closed {
74
74
  background: #E24E32; // tomato
75
75
  &::before { content: '\f05e'; }
76
76
  &::after { content: ' Closed'; }
77
77
  }
78
-
78
+
79
79
  &.hover {
80
80
  cursor: pointer;
81
-
81
+
82
82
  &.open {
83
83
  background: #999;
84
84
  &::before { content: '\f05e'; }
85
85
  &::after { content: ' Closed'; }
86
- }
86
+ }
87
87
  &.closed {
88
88
  background: #999;
89
89
  &::before { content: '\f10c'; }
@@ -91,8 +91,8 @@
91
91
  }
92
92
  }
93
93
  }
94
-
95
-
94
+
95
+
96
96
  .ticket-summary {
97
97
  display: block;
98
98
  font-weight: 200;
@@ -9,20 +9,20 @@ body.noscroll {
9
9
  left: 4%;
10
10
  right: 4%;
11
11
  bottom: 4%;
12
-
12
+
13
13
  .modal-header {
14
14
  line-height: 1em;
15
15
  font-weight: 400;
16
16
  color: #D1D1D1;
17
17
  padding: 6px 15px;
18
18
  text-align: center;
19
-
19
+
20
20
  position: absolute;
21
21
  left: 0;
22
22
  right: 0;
23
23
  z-index: 8;
24
24
  }
25
-
25
+
26
26
  button.close {
27
27
  z-index: 9999;
28
28
  position: absolute;
@@ -30,7 +30,7 @@ body.noscroll {
30
30
  right: 4px;
31
31
  padding: 7px;
32
32
  }
33
-
33
+
34
34
  .modal-body {
35
35
  max-height: none;
36
36
  max-width: none;
@@ -39,7 +39,7 @@ body.noscroll {
39
39
  padding: 36px 0 0 0;
40
40
  margin: 0;
41
41
  }
42
-
42
+
43
43
  .ticket-body {
44
44
  position: absolute;
45
45
  top: 110px;
@@ -47,23 +47,23 @@ body.noscroll {
47
47
  right: 0;
48
48
  bottom: 0;
49
49
  }
50
-
50
+
51
51
  .uploader,
52
52
  .buttons { margin-bottom: 0; }
53
-
53
+
54
54
  .ticket-header {
55
55
  z-index: 5;
56
56
  background: white;
57
57
  border-top-left-radius: 6px;
58
58
  border-top-right-radius: 6px;
59
59
  }
60
-
60
+
61
61
  .ticket-summary .show {
62
62
  white-space: nowrap;
63
63
  overflow: hidden;
64
64
  text-overflow: ellipsis;
65
65
  }
66
-
66
+
67
67
  .primary-frame {
68
68
  box-sizing: border-box;
69
69
  padding: 0 0 0 66px;
@@ -75,34 +75,34 @@ body.noscroll {
75
75
  bottom: 0;
76
76
  left: 0;
77
77
  width: 100%;
78
-
78
+
79
79
  .show {
80
80
  padding: 15px;
81
81
  box-sizing: border-box;
82
82
  min-height: 100%;
83
83
  border-bottom-right-radius: 6px;
84
84
  }
85
-
85
+
86
86
  textarea {
87
87
  padding: 15px;
88
88
  border: none;
89
89
  border-radius: 0;
90
90
  margin: 0;
91
91
  }
92
-
92
+
93
93
  .buttons {
94
94
  padding: 15px;
95
95
  background: #e4e4e4;
96
96
  border-bottom-right-radius: 6px;
97
97
  }
98
-
98
+
99
99
  hr { margin: 2em -15px; }
100
100
  }
101
-
101
+
102
102
  .task-frame {
103
103
  display: none;
104
104
  }
105
-
105
+
106
106
  .ticket-audit-frame {
107
107
  position: absolute;
108
108
  top: 0;
@@ -117,22 +117,22 @@ body.noscroll {
117
117
  background: white;
118
118
  z-index: 4;
119
119
  padding-right: 0;
120
-
120
+
121
121
  &:hover {
122
122
  width: 320px;
123
123
  padding-right: 16px;
124
124
  overflow-y: auto;
125
125
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.15);
126
126
  }
127
-
127
+
128
128
  .ticket-audit-timeline { width: 320px; }
129
129
  }
130
-
130
+
131
131
  .ticket-body.show-task-frame {
132
132
  .primary-frame {
133
133
  width: 60%;
134
134
  }
135
-
135
+
136
136
  .task-frame {
137
137
  box-sizing: border-box;
138
138
  display: block;
@@ -19,14 +19,14 @@
19
19
  &.ticket-number {
20
20
  text-align: right;
21
21
  }
22
-
22
+
23
23
  &.ticket-reporter {
24
24
  width: 24px;
25
25
  min-width: 24px;
26
26
  max-width: 24px;
27
27
  padding-right: 0;
28
28
  }
29
-
29
+
30
30
  &.ticket-opened, &.ticket-closed, &.date {
31
31
  line-height: 1em;
32
32
  text-align: right;
@@ -1,7 +1,7 @@
1
1
  $lightGray: #eee;
2
2
 
3
3
  .timeline {
4
-
4
+
5
5
  .timeline-date {
6
6
  width: 38px;
7
7
  font-size: 0.75em;
@@ -13,7 +13,7 @@ $lightGray: #eee;
13
13
  line-height: 1em;
14
14
  position: relative;
15
15
  color: #888;
16
-
16
+
17
17
  &::after {
18
18
  content: '.';
19
19
  width: 8px;
@@ -25,18 +25,18 @@ $lightGray: #eee;
25
25
  right: 0;
26
26
  top: 1.25em;
27
27
  }
28
-
28
+
29
29
  .weekday { display: block; }
30
30
  .year { display: none; }
31
31
  }
32
-
32
+
33
33
  .timeline-date-gap {
34
34
  margin-left: 50px;
35
35
  padding-left: 12px;
36
36
  border-left: dashed 2px $lightGray;
37
37
  height: 48px;
38
38
  }
39
-
39
+
40
40
  .timeline-event {
41
41
  margin-left: 50px;
42
42
  padding: 4px 4px 4px 16px;
@@ -45,7 +45,7 @@ $lightGray: #eee;
45
45
  font-size: 0.92em;
46
46
  text-indent: -21px;
47
47
  line-height: 1.25em;
48
-
48
+
49
49
  .timeline-event-time {
50
50
  font-size: 10px;
51
51
  text-align: right;
@@ -55,21 +55,21 @@ $lightGray: #eee;
55
55
  top: 10px;
56
56
  color: $lightGray;
57
57
  }
58
-
58
+
59
59
  a {
60
60
  color: #333;
61
61
  font-weight: 200;
62
-
62
+
63
63
  &:hover {
64
64
  text-decoration: none;
65
65
  background: #EDF9FF;
66
66
  }
67
-
67
+
68
68
  b { font-weight: 400; }
69
69
  }
70
-
70
+
71
71
  .ticket-number a { color: #0088cc !important; }
72
-
72
+
73
73
  .bubble {
74
74
  border-radius: 13px;
75
75
  width: 13px;
@@ -79,7 +79,7 @@ $lightGray: #eee;
79
79
  text-indent: 0;
80
80
  margin: 0 4px;
81
81
  }
82
-
82
+
83
83
  .timeline-event-type {
84
84
  color: white;
85
85
  font-size: 9px;
@@ -91,7 +91,7 @@ $lightGray: #eee;
91
91
  left: 1px;
92
92
  text-align: center;
93
93
  }
94
-
94
+
95
95
  &::after {
96
96
  content: '.';
97
97
  width: 7px;
@@ -105,7 +105,7 @@ $lightGray: #eee;
105
105
  left: -6px;
106
106
  top: 10px;
107
107
  }
108
-
108
+
109
109
  &::before {
110
110
  content: '.';
111
111
  width: 12px;
@@ -117,16 +117,16 @@ $lightGray: #eee;
117
117
  left: 0;
118
118
  top: 14px;
119
119
  }
120
-
120
+
121
121
  &.timeline-event-audit {
122
122
  padding-left: 37px;
123
-
123
+
124
124
  em {
125
125
  background: #ffd;
126
126
  font-style: normal;
127
127
  }
128
128
  }
129
-
129
+
130
130
  &.timeline-event-release,
131
131
  &.timeline-event-ticket-created,
132
132
  &.timeline-event-ticket-closed {
@@ -134,14 +134,14 @@ $lightGray: #eee;
134
134
  text-indent: -57px;
135
135
  padding-left: 70px;
136
136
  }
137
-
137
+
138
138
  &.timeline-event-release {
139
139
  font-size: 1.10em;
140
-
140
+
141
141
  a { font-weight: 400;
142
142
  b { font-weight: 800; }
143
143
  }
144
-
144
+
145
145
  .bubble {
146
146
  width: 21px;
147
147
  height: 21px;
@@ -150,21 +150,21 @@ $lightGray: #eee;
150
150
  top: 6px;
151
151
  margin-right: -4px;
152
152
  }
153
-
153
+
154
154
  .timeline-event-type {
155
155
  font-size: 15px;
156
156
  left: 2px;
157
157
  top: 3px;
158
158
  }
159
-
159
+
160
160
  .timeline-event-time {
161
161
  top: 14px;
162
162
  }
163
-
163
+
164
164
  &::before { top: 19px; width: 8px; }
165
165
  &::after { top: 15px; }
166
166
  }
167
-
167
+
168
168
  .timeline-event-actor {
169
169
  width: 20px;
170
170
  display: inline-block;
@@ -173,8 +173,8 @@ $lightGray: #eee;
173
173
  position: relative;
174
174
  top: -1px;
175
175
  }
176
-
177
- .commit-range {
176
+
177
+ .commit-range {
178
178
  display: block;
179
179
  position: absolute;
180
180
  top: 11px;
@@ -182,18 +182,18 @@ $lightGray: #eee;
182
182
  text-indent: 0;
183
183
  font-size: 10px;
184
184
  letter-spacing: 1px;
185
-
185
+
186
186
  a { color: #0088cc !important; }
187
187
  }
188
-
188
+
189
189
  .ticket-resolution {
190
190
  font-size: 0.88em;
191
191
  font-weight: 800;
192
192
  color: #aaa;
193
-
193
+
194
194
  &::after { content: ':'; }
195
195
  }
196
-
196
+
197
197
  .ticket-number {
198
198
  display: block;
199
199
  position: absolute;
@@ -1,5 +1,5 @@
1
1
  .tip {
2
2
  margin: 2em 0.25em 0;
3
-
3
+
4
4
  h6 { margin: 0; padding: 0; }
5
5
  }
@@ -1,7 +1,7 @@
1
1
  ul.typeahead {
2
2
  li { overflow: hidden; }
3
-
4
- .task-typeahead-sequence {
3
+
4
+ .task-typeahead-sequence {
5
5
  float: left;
6
6
  display: block;
7
7
  position: relative;
@@ -15,14 +15,14 @@ ul.typeahead {
15
15
  vertical-align: middle;
16
16
  color: #ccc;
17
17
  }
18
-
18
+
19
19
  .task-typeahead-project {
20
20
  display: block;
21
21
  font-size: 10px;
22
22
  line-height: 1em;
23
23
  b { font-size: 9px; }
24
24
  }
25
-
25
+
26
26
  .task-typeahead-number {
27
27
  font-weight: 200;
28
28
  }
@@ -18,20 +18,20 @@
18
18
  -moz-transition: border linear .2s, box-shadow linear .2s;
19
19
  -o-transition: border linear .2s, box-shadow linear .2s;
20
20
  transition: border linear .2s, box-shadow linear .2s;
21
-
21
+
22
22
  &.dz-drag-hover, &.uploading {
23
23
  border-color: rgb(74, 199, 18);
24
24
  -webkit-box-shadow: inset 0 1px 1px rgba(74, 199, 18, 0.075);
25
25
  -moz-box-shadow: inset 0 1px 1px rgba(74, 199, 18, 0.075);
26
26
  box-shadow: inset 0 1px 1px rgba(74, 199, 18, 0.075);
27
-
27
+
28
28
  .drag-and-drop, .upload-progress {
29
29
  background: #F4FCF2;
30
30
  color: #85BB6D;
31
31
  border-color: #C5DDBB;
32
32
  }
33
33
  }
34
-
34
+
35
35
  &.dz-drag-hover::after {
36
36
  position: fixed;
37
37
  font-family: 'FontAwesome';
@@ -44,7 +44,7 @@
44
44
  color: rgba(74, 199, 18, 0.1);
45
45
  z-index: 1001; // right over the drag helpers
46
46
  }
47
-
47
+
48
48
  textarea {
49
49
  box-sizing: border-box;
50
50
  -webkit-border-radius: 0;
@@ -53,7 +53,7 @@
53
53
  border: none;
54
54
  background: transparent;
55
55
  margin: 0;
56
-
56
+
57
57
  &:focus {
58
58
  outline: 0;
59
59
  outline: thin dotted \9;
@@ -62,9 +62,9 @@
62
62
  box-shadow: none;
63
63
  }
64
64
  }
65
-
65
+
66
66
  .dz-selector { cursor: pointer; }
67
-
67
+
68
68
  .drag-and-drop, .upload-progress, .upload-error {
69
69
  padding: 4px 6px;
70
70
  background: #f4f4f4;
@@ -74,28 +74,28 @@
74
74
  -moz-border-radius: 0 0 4px 4px;
75
75
  border-radius: 0 0 4px 4px;
76
76
  font-size: 0.9em;
77
-
77
+
78
78
  -webkit-transition: border linear .2s, color linear .2s, background linear .2s;
79
79
  -moz-transition: border linear .2s, color linear .2s, background linear .2s;
80
80
  -o-transition: border linear .2s, color linear .2s, background linear .2s;
81
81
  transition: border linear .2s, color linear .2s, background linear .2s;
82
82
  }
83
-
83
+
84
84
  .upload-progress { display: none; }
85
85
  .upload-error { display: none; }
86
-
86
+
87
87
  .upload-error .message { color: rgb(160, 64, 64); }
88
-
88
+
89
89
  &.uploading {
90
90
  .drag-and-drop { display: none; }
91
91
  .upload-progress { display: block; }
92
92
  }
93
-
93
+
94
94
  &.error {
95
95
  .drag-and-drop { display: none; }
96
96
  .upload-progress { display: none; }
97
97
  .upload-error { display: block; }
98
98
  }
99
-
99
+
100
100
  .dz-preview { display: none; }
101
101
  }